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

> ## Name

> ColorVertex - 3D API color vertex

> ## Usage

> ColorVertex = bool(enable)

> ## Valid Enumerants

> enable: true, false

> ## Description

> Enable/disable material parameter tracking of the current color. See the GL_COLOR_MATERIAL description on the OpenGL glEnable manual page for details. See the D3DRS_COLORVERTEX render state description for DirectX 9.

> The standard reset callback sets the ColorVertex state to bool(false).

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

> ColorMaterial, AmbientMaterialSource, DiffuseMaterialSource, EmissiveMaterialSource, SpecularMaterialSource