Specifies how to interpret the compare function result.
typedef enum D3D12XBOX_HISTENCIL_COMPARE_FUNCTION
{
D3D12XBOX_HISTENCIL_COMPARE_FUNCTION_NEVER = 0x0,
D3D12XBOX_HISTENCIL_COMPARE_FUNCTION_LESS = 0x1,
D3D12XBOX_HISTENCIL_COMPARE_FUNCTION_EQUAL = 0x2,
D3D12XBOX_HISTENCIL_COMPARE_FUNCTION_LEQUAL = 0x3,
D3D12XBOX_HISTENCIL_COMPARE_FUNCTION_GREATER = 0x4,
D3D12XBOX_HISTENCIL_COMPARE_FUNCTION_NOTEQUAL = 0x5,
D3D12XBOX_HISTENCIL_COMPARE_FUNCTION_GEQUAL = 0x6,
D3D12XBOX_HISTENCIL_COMPARE_FUNCTION_ALWAYS = 0x7
} D3D12XBOX_HISTENCIL_COMPARE_FUNCTION;
| Constant | Description |
|---|---|
| D3D12XBOX_HISTENCIL_COMPARE_FUNCTION_NEVER | Never pass. |
| D3D12XBOX_HISTENCIL_COMPARE_FUNCTION_LESS | Pass if left < right. |
| D3D12XBOX_HISTENCIL_COMPARE_FUNCTION_EQUAL | Pass if left = right. |
| D3D12XBOX_HISTENCIL_COMPARE_FUNCTION_LEQUAL | Pass if left <= right. |
| D3D12XBOX_HISTENCIL_COMPARE_FUNCTION_GREATER | Pass if left > right. |
| D3D12XBOX_HISTENCIL_COMPARE_FUNCTION_NOTEQUAL | Pass if left != right. |
| D3D12XBOX_HISTENCIL_COMPARE_FUNCTION_GEQUAL | Pass if left >= right. |
| D3D12XBOX_HISTENCIL_COMPARE_FUNCTION_ALWAYS | Always pass. |
This enumeration is used by the D3D12XBOX_HISTENCIL_COMPARE_STATE structure.
Header: Declared in d3d12_x.h.