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

> ## Name

> ColorArg2 - 3D API color arg2

> ## Usage

> ColorArg2 = int(second)

> ## Valid Enumerants

> second: Constant, Current, Diffuse, SelectMask, Specular, Temp, Texture, TFactor

> ## Description

> Specify that this texture-stage state is the second color argument for the stage. See the D3DTSS_COLORARG2 texture stage state description for DirectX 9.

> The standard reset callback sets the ColorArg2 state to int(Current).

> ## Opengl Functionality Requirements

> Not applicable.

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

> AlphaArg0, AlphaArg1, AlphaArg2, AlphaBlendEnable, AlphaFunc, AlphaOp, AlphaRef, AlphaTestEnable, ColorArg0, ColorArg1, ColorOp, BlendOpAlpha