Partager via


D3DMCULL

A version of this page is also available for

Windows Embedded CE 6.0 R3

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

Reference

Direct3D Mobile Enumerations
D3DMRENDERSTATETYPE

Concepts

Back-Face Culling