virtual ZRESULT setAlphaTest( bool bTestEnabled, 
                              DWORD refValue, 
                              DWORD cmpFunc, 
                              bool* pInherit=NULL)=0;

Description

Sets alpha-test options set on material.

Parameters:
bTestEnabled
Enables (true) or disables (false) alpha-test on this material.
refValue
Alpha-test reference value.
cmpFunc
Comparison function to use. It should be one of D3DCMP_* values from DirectX SDK.
pInherit
Optional argument with an address of boolean variable which indicates (if set to true) whether material should inherit alpha-test from parent material.
See Also:
Interface overview and methods
getAlphaTest method