Expand Minimize

D3D10_DDI_COMPARISON_FUNC enumeration

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          = 1,
  D3D10_DDI_COMPARISON_LESS           = 2,
  D3D10_DDI_COMPARISON_EQUAL          = 3,
  D3D10_DDI_COMPARISON_LESS_EQUAL     = 4,
  D3D10_DDI_COMPARISON_GREATER        = 5,
  D3D10_DDI_COMPARISON_NOT_EQUAL      = 6,
  D3D10_DDI_COMPARISON_GREATER_EQUAL  = 7,
  D3D10_DDI_COMPARISON_ALWAYS         = 8
} D3D10_DDI_COMPARISON_FUNC;

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

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3d10umddi.h (include D3d10umddi.h)

See also

D3D10_DDI_DEPTH_STENCIL_DESC
D3D10_DDI_DEPTH_STENCILOP_DESC

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft