Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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_ZEROValue: 0 Turn off writes to the depth-stencil buffer. |
D3D12_DEPTH_WRITE_MASK_ALLValue: 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 |