Platform SDK: DirectX

CONST_D3DCAPSCMP

The CONST_D3DCAPSCMP enumeration defines comparison capabilities for depth-buffer comparisons and alpha-testing. These flags are combined and present in the lZCmpCaps and lAlphaCmpCaps members of the D3DPRIMCAPS type.

Enum CONST_D3DCAPSCMP
    D3DPCMPCAPS_ALWAYS = 128 
    D3DPCMPCAPS_EQUAL = 4 
    D3DPCMPCAPS_GREATER = 16 
    D3DPCMPCAPS_GREATEREQUAL = 64 
    D3DPCMPCAPS_LESS = 2 
    D3DPCMPCAPS_LESSEQUAL = 8 
    D3DPCMPCAPS_NEVER = 1 
    D3DPCMPCAPS_NOTEQUAL = 32 
End Enum
D3DPCMPCAPS_ALWAYS
Always pass the comparison.
D3DPCMPCAPS_EQUAL
Pass the comparison if the new value equals the current value.
D3DPCMPCAPS_GREATER
Pass the comparison if the new value is greater than the current value.
D3DPCMPCAPS_GREATEREQUAL
Pass the comparison if the new value is greater than or equal to the current value.
D3DPCMPCAPS_LESS
Pass the comparison if the new value is less than the current value.
D3DPCMPCAPS_LESSEQUAL
Pass the comparison if the new value is less than or equal to the current value.
D3DPCMPCAPS_NEVER
Always fail the comparison.
D3DPCMPCAPS_NOTEQUAL
Pass the comparison if the new value does not equal the current value.