This topic has not yet been rated - Rate this topic

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

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.