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

> ## Name

> ColorMatrix - 3D API color matrix

> ## Usage

> ColorMatrix = float4x4(f1, f2, f3, f4, ... , f13, f14, f15, f16)

> ## Valid Enumerants

> fi: floating point values

> ## Description

> Set the values of the color matrix. See the GL_COLOR description on the OpenGL glMatrixMode manual page for details.

> The standard reset callback sets the ColorMatrix state to the identity matrix.

> ## Opengl Functionality Requirements

> Support for extension ARB_imaging.

> ## Direct3D Functionality Requirements

> Not applicable.

> ## See Also

> ColorTransform