Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

D3D11_DEPTH_WRITE_MASK enumeration

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
} D3D11_DEPTH_WRITE_MASK;

Constants

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.

Requirements

Header

D3D11.h

See also

Core Enumerations

 

 

Show:
© 2017 Microsoft