D3D12_CULL_MODE Enumeration

Specifies triangles facing a particular direction are not drawn.

Syntax

typedef enum D3D12_CULL_MODE {
  D3D12_CULL_MODE_NONE,
  D3D12_CULL_MODE_FRONT,
  D3D12_CULL_MODE_BACK
} ;

Constants

D3D12_CULL_MODE_NONE Always draw all triangles.
D3D12_CULL_MODE_FRONT Do not draw triangles that are front-facing.
D3D12_CULL_MODE_BACK Do not draw triangles that are back-facing.

Remarks

Cull mode is specified in a D3D12_RASTERIZER_DESC structure.

Requirements

   
Header d3d12.h

See Also

CD3DX12_RASTERIZER_DESC

Core Enumerations