Identify the portion of a depth-stencil buffer for writing depth data.
typedef enum D3D11_DEPTH_WRITE_MASK
{
D3D11_DEPTH_WRITE_MASK_ZERO = 0,
D3D11_DEPTH_WRITE_MASK_ALL = 1
} D3D11_DEPTH_WRITE_MASK;
| Constant | Description |
|---|---|
| D3D11_DEPTH_WRITE_MASK_ZERO | Turn off writes to the depth-stencil buffer. |
| D3D11_DEPTH_WRITE_MASK_ALL | Turn on writes to the depth-stencil buffer. |
Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).