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 |
|
|---|
See also
Show: