Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

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

D3D11.h

See also

Core Enumerations

 

 

Show:
© 2017 Microsoft