Package com.ms.com.directX |
|
 Previous |
 Microsoft Packages |
 Index |
 Next |
D3DCMP_ Values
Defines the supported compare functions for the D3DRENDERSTATE_ZFUNC and D3DRENDERSTATE_ALPHAFUNC values.
- D3DCMP_NEVER
- Always fail the test.
- D3DCMP_LESS
- Accept the new pixel if its value is less than the value of the current pixel.
- D3DCMP_EQUAL
- Accept the new pixel if its value equals the value of the current pixel.
- D3DCMP_LESSEQUAL
- Accept the new pixel if its value is less than or equal to the value of the current pixel.
- D3DCMP_GREATER
- Accept the new pixel if its value is greater than the value of the current pixel.
- D3DCMP_NOTEQUAL
- Accept the new pixel if its value does not equal the value of the current pixel.
- D3DCMP_GREATEREQUAL
- Accept the new pixel if its value is greater than or equal to the value of the current pixel.
- D3DCMP_ALWAYS
- Always pass the test.