D3D10_CULL_MODE enumeration (d3d10.h)

Indicates triangles facing a particular direction are not drawn.

Syntax

typedef enum D3D10_CULL_MODE {
  D3D10_CULL_NONE = 1,
  D3D10_CULL_FRONT = 2,
  D3D10_CULL_BACK = 3
} ;

Constants

 
D3D10_CULL_NONE
Value: 1
Always draw all triangles.
D3D10_CULL_FRONT
Value: 2
Do not draw triangles that are front-facing.
D3D10_CULL_BACK
Value: 3
Do not draw triangles that are back-facing.

Remarks

This enumeration is part of a rasterizer-state object description (see D3D10_RASTERIZER_DESC).

Requirements

Requirement Value
Header d3d10.h

See also

Core Enumerations