D3D10_CLEAR_FLAG enumeration (d3d10.h)
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
} ;
Constants
D3D10_CLEAR_DEPTH Value: 0x1L Clear the depth buffer. |
D3D10_CLEAR_STENCIL Value: 0x2L Clear the stencil buffer. |
Remarks
These flags can be bitwise ORed together.
Requirements
Requirement | Value |
---|---|
Header | d3d10.h |