D3D12DDI_COMPARISON_FUNC enumeration (d3d12umddi.h)

Indicates the type of comparison to perform.

Syntax

typedef enum D3D12DDI_COMPARISON_FUNC {
  D3D12DDI_COMPARISON_FUNC_NEVER,
  D3D12DDI_COMPARISON_FUNC_LESS,
  D3D12DDI_COMPARISON_FUNC_EQUAL,
  D3D12DDI_COMPARISON_FUNC_LESS_EQUAL,
  D3D12DDI_COMPARISON_FUNC_GREATER,
  D3D12DDI_COMPARISON_FUNC_NOT_EQUAL,
  D3D12DDI_COMPARISON_FUNC_GREATER_EQUAL,
  D3D12DDI_COMPARISON_FUNC_ALWAYS
} ;

Constants

 
D3D12DDI_COMPARISON_FUNC_NEVER
Do not compare.
D3D12DDI_COMPARISON_FUNC_LESS
Less than.
D3D12DDI_COMPARISON_FUNC_EQUAL
Equals.
D3D12DDI_COMPARISON_FUNC_LESS_EQUAL
Less than or equal to.
D3D12DDI_COMPARISON_FUNC_GREATER
Greater than.
D3D12DDI_COMPARISON_FUNC_NOT_EQUAL
Not equal to.
D3D12DDI_COMPARISON_FUNC_GREATER_EQUAL
Greater than or equal to.
D3D12DDI_COMPARISON_FUNC_ALWAYS
Always compare.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809
Header d3d12umddi.h