D3D11_DSV_FLAG enumeration (d3d11.h)
Depth-stencil view options.
Syntax
typedef enum D3D11_DSV_FLAG {
D3D11_DSV_READ_ONLY_DEPTH = 0x1L,
D3D11_DSV_READ_ONLY_STENCIL = 0x2L
} ;
Constants
D3D11_DSV_READ_ONLY_DEPTH Value: 0x1L Indicates that depth values are read only. |
D3D11_DSV_READ_ONLY_STENCIL Value: 0x2L 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
Requirement | Value |
---|---|
Header | d3d11.h |