D3D12_DEPTH_WRITE_MASK enumeration (d3d12.h)
Identifies the portion of a depth-stencil buffer for writing depth data.
Syntax
typedef enum D3D12_DEPTH_WRITE_MASK {
D3D12_DEPTH_WRITE_MASK_ZERO = 0,
D3D12_DEPTH_WRITE_MASK_ALL = 1
} ;
Constants
D3D12_DEPTH_WRITE_MASK_ZERO Value: 0 Turn off writes to the depth-stencil buffer. |
D3D12_DEPTH_WRITE_MASK_ALL Value: 1 Turn on writes to the depth-stencil buffer. |
Remarks
This enum is used by the D3D12_DEPTH_STENCIL_DESC structure.
Requirements
Requirement | Value |
---|---|
Header | d3d12.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