D3D11_CULL_MODE Enumeration

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
} D3D11_CULL_MODE;  

Constants

Constant Description
D3D11_CULL_NONE Always draw all triangles.
D3D11_CULL_FRONT Do not draw triangles that are front-facing.
D3D11_CULL_BACK Do not draw triangles that are back-facing.

Remarks

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

Requirements

Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).