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_DSV_FLAG enumeration

Depth-stencil view options.

Syntax


typedef enum D3D11_DSV_FLAG { 
  D3D11_DSV_READ_ONLY_DEPTH    = 0x1L,
  D3D11_DSV_READ_ONLY_STENCIL  = 0x2L
} D3D11_DSV_FLAG;

Constants

D3D11_DSV_READ_ONLY_DEPTH

Indicates that depth values are read only.

D3D11_DSV_READ_ONLY_STENCIL

Indicates that stencil values are read only.

Remarks

This enumeration is used by D3D11_DEPTH_STENCIL_VIEW_DESC.

Limiting a depth-stencil buffer to read-only access allows more than one depth-stencil view to be bound to the pipeline simultaneously, since it is not possible to have a read/write conflicts between separate views.

Requirements

Header

D3D11.h

See also

Resource Enumerations

 

 

Show:
© 2017 Microsoft