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

> ## Name

> AlphaTestEnable - 3D API alpha test enable

> ## Usage

> AlphaTestEnable = bool(enable)

> ## Valid Enumerants

> enable: true, false

> ## Description

> Enable/disable alpha testing. See the GL_ALPHA_TEST description on the OpenGL glEnable manual page for details. See the D3DRS_ALPHATESTENABLE render state description for DirectX 9.

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

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

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