D3D11DDIARG_CREATEDEPTHSTENCILVIEW structure

The D3D11DDIARG_CREATEDEPTHSTENCILVIEW structure describes the depth-stencil view to create.

Syntax


typedef struct D3D11DDIARG_CREATEDEPTHSTENCILVIEW {
  D3D10DDI_HRESOURCE    hDrvResource;
  DXGI_FORMAT           Format;
  D3D10DDIRESOURCE_TYPE ResourceDimension;
  UINT                  Flags;
  union {
    D3D10DDIARG_TEX1D_DEPTHSTENCILVIEW   Tex1D;
    D3D10DDIARG_TEX2D_DEPTHSTENCILVIEW   Tex2D;
    D3D10DDIARG_TEXCUBE_DEPTHSTENCILVIEW TexCube;
  };
} D3D11DDIARG_CREATEDEPTHSTENCILVIEW;

Members

hDrvResource

[in] A handle to the base depth stencil resource.

Format

[in] A DXGI_FORMAT-typed value that indicates the pixel format of the depth-stencil view.

ResourceDimension

[in] A D3D10DDIRESOURCE_TYPE-typed value that indicates the resource type and dimensionality of the base resource.

Flags

[in] A valid bitwise OR of D3D11_DDI_CREATEDEPTHSTENCILVIEW_FLAG-typed values that indicates the type of depth-stencil view to create.

Tex1D

[in] If the value in the ResourceDimension member is set to D3D10DDIRESOURCE_TEXTURE1D, a member in the union that is contained in D3D10DDIARG_CREATEDEPTHSTENCILVIEW that can hold a D3D10DDIARG_TEX1D_DEPTHSTENCILVIEW structure for a one-dimensional texture.

Tex2D

[in] If the value in the ResourceDimension member is set to D3D10DDIRESOURCE_TEXTURE2D, a member in the union that is contained in D3D10DDIARG_CREATEDEPTHSTENCILVIEW that can hold a D3D10DDIARG_TEX2D_DEPTHSTENCILVIEW structure for a two-dimensional texture.

TexCube

[in] If the value in the ResourceDimension member is set to D3D10DDIRESOURCE_TEXTURECUBE, a member in the union that is contained in D3D10DDIARG_CREATEDEPTHSTENCILVIEW that can hold a D3D10DDIARG_TEXCUBE_DEPTHSTENCILVIEW structure for a cube texture.

Requirements

Version

D3D11DDIARG_CREATEDEPTHSTENCILVIEW is supported beginning with the Windows 7 operating system.

Header

D3d10umddi.h (include D3d10umddi.h)

See also

CalcPrivateDepthStencilViewSize(D3D11)
CreateDepthStencilView(D3D11)
D3D10DDIARG_TEX1D_DEPTHSTENCILVIEW
D3D10DDIARG_TEX2D_DEPTHSTENCILVIEW
D3D10DDIARG_TEXCUBE_DEPTHSTENCILVIEW
D3D10DDIRESOURCE_TYPE
D3D11_DDI_CREATEDEPTHSTENCILVIEW_FLAG

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft