D3D11_DEPTH_WRITE_MASK enumeration (d3d11.h)

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

Syntax

typedef enum D3D11_DEPTH_WRITE_MASK {
  D3D11_DEPTH_WRITE_MASK_ZERO = 0,
  D3D11_DEPTH_WRITE_MASK_ALL = 1
} ;

Constants

 
D3D11_DEPTH_WRITE_MASK_ZERO
Value: 0
Turn off writes to the depth-stencil buffer.
D3D11_DEPTH_WRITE_MASK_ALL
Value: 1
Turn on writes to the depth-stencil buffer.

Requirements

Requirement Value
Header d3d11.h

See also

Core Enumerations