Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

D3D12_CULL_MODE enumeration (d3d12.h)

Specifies triangles facing a particular direction are not drawn.

Syntax

typedef enum D3D12_CULL_MODE {
 D3D12_CULL_MODE_NONE = 1,
 D3D12_CULL_MODE_FRONT = 2,
 D3D12_CULL_MODE_BACK = 3
} ;

Constants

 
D3D12_CULL_MODE_NONE
Value: 1
Always draw all triangles.
D3D12_CULL_MODE_FRONT
Value: 2
Do not draw triangles that are front-facing.
D3D12_CULL_MODE_BACK
Value: 3
Do not draw triangles that are back-facing.

Remarks

Cull mode is specified in a D3D12_RASTERIZER_DESC structure.

Requirements

Requirement Value
Header d3d12.h

See also

CD3DX12_RASTERIZER_DESC

Core Enumerations


Feedback

Was this page helpful?

Additional resources