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

This enumeration defines the possible values for the D3DMRS_CULLMODE render state. For more information, see D3DMRENDERSTATETYPE.

Syntax

typedef enum _D3DMCULL {
  D3DMCULL_NONE		= 1,
  D3DMCULL_CW		= 2,
  D3DMCULL_CCW		 = 3,
  D3DMCULL_FORCE_ULONG = 0x7fffffff,
} D3DMCULL;

Elements

D3DMCULL_NONE

Indicates that no culling is performed and all primitives are passed through the transformation pipeline.

D3DMCULL_CW

Indicates that primitives with a clockwise winding order are culled and not passed through the transformation pipeline.

D3DMCULL_CCW

Indicates that primitives with counter-clockwise winding order are culled and not passed through the transformation pipeline.

D3DMCULL_FORCE_ULONG

Forces the compiler to interpret the enumeration as a ULONG value. This value is not used directly in Direct3D Mobile programming.

Requirements

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

See Also