D3D12_DEPTH_WRITE_MASK Enumeration

Identifies the portion of a depth-stencil buffer for writing depth data.

Syntax

typedef enum D3D12_DEPTH_WRITE_MASK {
  D3D12_DEPTH_WRITE_MASK_ZERO,
  D3D12_DEPTH_WRITE_MASK_ALL
} ;

Constants

D3D12_DEPTH_WRITE_MASK_ZERO Turn off writes to the depth-stencil buffer.
D3D12_DEPTH_WRITE_MASK_ALL Turn on writes to the depth-stencil buffer.

Remarks

This enum is used by the D3D12_DEPTH_STENCIL_DESC structure.

Requirements

   
Header d3d12.h

See Also

CD3DX12_DEPTH_STENCIL_DESC

Core Enumerations