D3D10DDIARG_CREATEDEPTHSTENCILVIEW structure (d3d10umddi.h)

The D3D10DDIARG_CREATEDEPTHSTENCILVIEW structure describes the depth stencil view to create.

Syntax

typedef struct D3D10DDIARG_CREATEDEPTHSTENCILVIEW {
  [in] D3D10DDI_HRESOURCE    hDrvResource;
  [in] DXGI_FORMAT           Format;
  [in] D3D10DDIRESOURCE_TYPE ResourceDimension;
  union {
    [in] D3D10DDIARG_TEX1D_DEPTHSTENCILVIEW   Tex1D;
    [in] D3D10DDIARG_TEX2D_DEPTHSTENCILVIEW   Tex2D;
    [in] D3D10DDIARG_TEXCUBE_DEPTHSTENCILVIEW TexCube;
  };
} D3D10DDIARG_CREATEDEPTHSTENCILVIEW;

Members

[in] hDrvResource

A handle to the base depth stencil resource.

[in] Format

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

[in] ResourceDimension

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

[in] Tex1D

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.

[in] Tex2D

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.

[in] TexCube

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

Requirement Value
Minimum supported client Windows Vista
Header d3d10umddi.h (include D3d10umddi.h)

See also

CalcPrivateDepthStencilViewSize

CreateDepthStencilView

D3D10DDIARG_TEX1D_DEPTHSTENCILVIEW

D3D10DDIARG_TEX2D_DEPTHSTENCILVIEW

D3D10DDIARG_TEXCUBE_DEPTHSTENCILVIEW

D3D10DDIRESOURCE_TYPE