Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The following table shows values that are used in the ZCmpCaps, AlphaCmpCaps, and StencilCmpCapsmembers of the D3DMCAPSstructure to describe which comparison modes the device supports (see D3DMCMPFUNC).

Value Description

D3DMPCMPCAPS_NEVER

Indicates that the device supports D3DMCMP_NEVER.

D3DMPCMPCAPS_LESS

Indicates that the device supports D3DMCMP_LESS.

D3DMPCMPCAPS_EQUAL

Indicates that the device supports D3DMCMP_EQUAL.

D3DMPCMPCAPS_LESSEQUAL

Indicates that the device supports D3DMCMP_LESSEQUAL.

D3DMPCMPCAPS_GREATER

Indicates that the device supports D3DMCMP_GREATER.

D3DMPCMPCAPS_NOTEQUAL

Indicates that the device supports D3DMCMP_NOTEQUAL.

D3DMPCMPCAPS_GREATEREQUAL

Indicates that the device supports D3DMCMP_GREATEREQUAL.

D3DMPCMPCAPS_ALWAYS

Indicates that the device supports D3DMCMP_ALWAYS.

Requirements

Header d3dmcaps.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also