Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

D3D11_CLEAR_FLAG enumeration

Specifies the parts of the depth stencil to clear.

Syntax


typedef enum D3D11_CLEAR_FLAG { 
  D3D11_CLEAR_DEPTH    = 0x1L,
  D3D11_CLEAR_STENCIL  = 0x2L
} D3D11_CLEAR_FLAG;

Constants

D3D11_CLEAR_DEPTH

Clear the depth buffer.

D3D11_CLEAR_STENCIL

Clear the stencil buffer.

Remarks

These flags are used when calling ID3D11DeviceContext::ClearDepthStencilView; the flags can be combined with a bitwise OR.

Requirements

Header

D3D11.h

See also

Core Enumerations

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.