D3D11_DDI_CREATEDEPTHSTENCILVIEW_FLAG enumeration (d3d10umddi.h)

The D3D11_DDI_CREATEDEPTHSTENCILVIEW_FLAG enumeration type contains values that identify the type of depth-stencil view to create through a call to the driver's CreateDepthStencilView(D3D11) function.

Syntax

typedef enum D3D11_DDI_CREATEDEPTHSTENCILVIEW_FLAG {
  D3D11_DDI_CREATE_DSV_READ_ONLY_DEPTH,
  D3D11_DDI_CREATE_DSV_READ_ONLY_STENCIL,
  D3D11_DDI_CREATE_DSV_FLAG_MASK
} ;

Constants

 
D3D11_DDI_CREATE_DSV_READ_ONLY_DEPTH
The driver should create a read-only depth view.
D3D11_DDI_CREATE_DSV_READ_ONLY_STENCIL
The driver should create a read-only stencil view.
D3D11_DDI_CREATE_DSV_FLAG_MASK
A mask value that indicates the valid bitfields in a bitwise OR combination of the values from this enumeration.

Remarks

D3D11_DDI_CREATEDEPTHSTENCILVIEW_FLAG values are specified in the Flags member of the D3D11DDIARG_CREATEDEPTHSTENCILVIEW structure to indicate the type of depth-stencil view to create.

Requirements

Requirement Value
Minimum supported client D3D11_DDI_CREATEDEPTHSTENCILVIEW_FLAG is supported beginning with the Windows 7 operating system.
Header d3d10umddi.h (include D3d10umddi.h)

See also

CreateDepthStencilView(D3D11)

D3D11DDIARG_CREATEDEPTHSTENCILVIEW