D3D10_CLEAR_FLAG enumeration

Specifies the parts of the depth stencil to clear. Usually used with ID3D10Device::ClearDepthStencilView.

Syntax


typedef enum D3D10_CLEAR_FLAG { 
  D3D10_CLEAR_DEPTH    = 0x1L,
  D3D10_CLEAR_STENCIL  = 0x2L
} D3D10_CLEAR_FLAG;

Constants

D3D10_CLEAR_DEPTH

Clear the depth buffer.

D3D10_CLEAR_STENCIL

Clear the stencil buffer.

Remarks

These flags can be bitwise ORed together.

Requirements

Header

D3D10.h

See also

Core Enumerations

 

 

Community Additions

ADD
Show:
© 2014 Microsoft