DepthRange
Keywords: DepthRange, NVIDIA, NVIDIA Cg Toolkit, Cg Toolkit, Shader, Shader Programming, GPU Shader Programming, GPU Program

> ## Name

> DepthRange - 3D API depth range

> ## Usage

> DepthRange = float2(near, far)

> ## Valid Enumerants

> near, far: floating point values

> ## Description

> Specify the mapping of the near and far clipping planes to window coordinates. See the OpenGL glDepthRange manual page for details. See the IDirect3DDevice9::SetViewport method for details.

> The standard reset callback sets the DepthRange state to float2(0, 1).

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

> DepthBias, DepthBounds, DepthBoundsEnable, DepthClampEnable, DepthFunc, DepthMask, DepthTestEnable