Function setDepthRange

Synopsis

#include <Source/Falcor/Scene/Camera/Camera.h>

void setDepthRange(float nearZ, float farZ)

Description

Set the camera's depth range.

Source

Lines 154-154 in Source/Falcor/Scene/Camera/Camera.h.

void setDepthRange(float nearZ, float farZ) { mData.farZ = farZ;  mData.nearZ = nearZ; mDirty = true; }





Add Discussion as Guest

Log in to DocsForge