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

> ## Name

> ClearColor - 3D API clear color

> ## Usage

> ClearColor = float4(r, g, b, a)

> ## Valid Enumerants

> r, g, b, a: floating point values

> ## Description

> Specify the values used by to clear the color buffers. See the OpenGL glClearColor manual page for details. See the D3DCLEAR_TARGET flag description for the IDirect3DDevice9::Clear method.

> The standard reset callback sets the ClearColor state to float4(0, 0, 0, 0).

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

> ClearDepth, ClearStencil