D3D11_CULL_MODE enumeration (d3d11.h)
Indicates triangles facing a particular direction are not drawn.
Syntax
typedef enum D3D11_CULL_MODE {
D3D11_CULL_NONE = 1,
D3D11_CULL_FRONT = 2,
D3D11_CULL_BACK = 3
} ;
Constants
D3D11_CULL_NONE Value: 1 Always draw all triangles. |
D3D11_CULL_FRONT Value: 2 Do not draw triangles that are front-facing. |
D3D11_CULL_BACK Value: 3 Do not draw triangles that are back-facing. |
Remarks
This enumeration is part of a rasterizer-state object description (see D3D11_RASTERIZER_DESC).
Requirements
Requirement | Value |
---|---|
Header | d3d11.h |