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

> ## Name

> AlphaRef - 3D API alpha ref

> ## Usage

> AlphaRef = float(ref)

> ## Valid Enumerants

> ref: floating point value

> ## Description

> Specify the alpha reference value. See the OpenGL glAlphaFunc manual page for details. See the D3DRS_ALPHAREF render state description for DirectX 9.

> The standard reset callback sets the AlphaRef state to float(0).

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

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