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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for