D3D12_TEX2D_ARRAY_DSV structure (d3d12.h)

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

Syntax

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

Members

MipSlice

The index of the first mipmap level to use.

FirstArraySlice

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

ArraySize

Number of textures to use.

Remarks

Use this structure with a D3D12_DEPTH_STENCIL_VIEW_DESC structure to view the resource as an array of 2D textures.

Requirements

Requirement Value
Header d3d12.h

See also

Core Structures