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

> ## Name

> ClearDepth - 3D API clear depth

> ## Usage

> ClearDepth = float(z)

> ## Valid Enumerants

> z: floating point value

> ## Description

> Specify the value used by to clear the depth buffer. See the OpenGL glClearDepth manual page for details. See the D3DCLEAR_ZBUFFER flag description for the IDirect3DDevice9::Clear method.

> The standard reset callback sets the ClearDepth state to float(1).

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

> ClearColor, ClearStencil