Share via


D3DCULL

This enumeration defines the supported culling modes.

typedef enum _D3DCULL {
  D3DCULL_NONE = 1,
  D3DCULL_CW = 2,
  D3DCULL_CCW = 3,
  D3DCULL_FORCE_DWORD = 0x7fffffff
} D3DCULL;

Constants

  • D3DCULL_NONE
    Do not cull back faces.
  • D3DCULL_CW
    Cull back faces with clockwise vertices.
  • D3DCULL_CCW
    Cull back faces with counterclockwise vertices.
  • D3DCULL_FORCE_DWORD
    Forces this enumeration to compile to 32 bits in size. This value is not used.

Remarks

The values in this enumerated type are used by the D3DRS_CULLMODE render state. The culling modes define how back faces are culled when rendering a geometry.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: D3d8types.h.

See Also

D3DRENDERSTATETYPE | D3DCAPS8

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.