D3D11_TEX2D_ARRAY_DSV structure (d3d11.h)

Specifies the subresources from an array 2D textures that are accessible to a depth-stencil view.

Syntax

typedef struct D3D11_TEX2D_ARRAY_DSV {
  UINT MipSlice;
  UINT FirstArraySlice;
  UINT ArraySize;
} D3D11_TEX2D_ARRAY_DSV;

Members

MipSlice

Type: UINT

The index of the first mipmap level to use.

FirstArraySlice

Type: UINT

The index of the first texture to use in an array of textures.

ArraySize

Type: UINT

Number of textures to use.

Remarks

This structure is one member of a depth-stencil-view description (see D3D11_DEPTH_STENCIL_VIEW_DESC).

Requirements

Requirement Value
Header d3d11.h

See also

Resource Structures