D3D10_DDI_COMPARISON_FUNC enumeration (d3d10umddi.h)

The D3D10_DDI_COMPARISON_FUNC enumeration type contains values that identify the comparison function to perform.

Syntax

typedef enum D3D10_DDI_COMPARISON_FUNC {
  D3D10_DDI_COMPARISON_NEVER,
  D3D10_DDI_COMPARISON_LESS,
  D3D10_DDI_COMPARISON_EQUAL,
  D3D10_DDI_COMPARISON_LESS_EQUAL,
  D3D10_DDI_COMPARISON_GREATER,
  D3D10_DDI_COMPARISON_NOT_EQUAL,
  D3D10_DDI_COMPARISON_GREATER_EQUAL,
  D3D10_DDI_COMPARISON_ALWAYS
} ;

Constants

 
D3D10_DDI_COMPARISON_NEVER
The comparison never succeeds.
D3D10_DDI_COMPARISON_LESS
The comparison is a less-than operation.
D3D10_DDI_COMPARISON_EQUAL
The comparison is an equal-to operation.
D3D10_DDI_COMPARISON_LESS_EQUAL
The comparison is a less-than or equal-to operation.
D3D10_DDI_COMPARISON_GREATER
The comparison is a greater-than operation.
D3D10_DDI_COMPARISON_NOT_EQUAL
The comparison is a not-equal-to operation.
D3D10_DDI_COMPARISON_GREATER_EQUAL
The comparison is a greater-than or equal-to operation.
D3D10_DDI_COMPARISON_ALWAYS
The comparison always succeeds.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3d10umddi.h (include D3d10umddi.h)

See also

D3D10_DDI_DEPTH_STENCILOP_DESC

D3D10_DDI_DEPTH_STENCIL_DESC