CONST_D3DPCMPCAPSFLAGS
Defines comparison capabilities.
Enum CONST_D3DPCMPCAPSFLAGS
D3DPCMPCAPS_NEVER = 1
D3DPCMPCAPS_LESS = 2
D3DPCMPCAPS_EQUAL = 4
D3DPCMPCAPS_LESSEQUAL = 8
D3DPCMPCAPS_GREATER = 16 (&H10)
D3DPCMPCAPS_NOTEQUAL = 32 (&H20)
D3DPCMPCAPS_GREATEREQUAL = 64 (&H40)
D3DPCMPCAPS_ALWAYS = 128 (&H80)
End Enum
Constants
- D3DPCMPCAPS_NEVER
- Always fail the test.
- D3DPCMPCAPS_LESS
- Pass the test if the new value is less than the current value.
- D3DPCMPCAPS_EQUAL
- Pass the test if the new value equals the current value.
- D3DPCMPCAPS_LESSEQUAL
- Pass the test if the new value is less than or equal to the current value.
- D3DPCMPCAPS_GREATER
- Pass the test if the new value is greater than the current value.
- D3DPCMPCAPS_NOTEQUAL
- Pass the test if the new value does not equal the current value.
- D3DPCMPCAPS_GREATEREQUAL
- Pass the test if the new value is greater than or equal to the current value.
- D3DPCMPCAPS_ALWAYS
- Always pass the test.
Remarks
The values in this enumeration define the supported compare functions for the AlphaCmpCaps and ZCmpCaps members of D3DCAPS8.
See Also
D3DCAPS8