D3D12_TEX2D_DSV structure

Describes the subresource from a 2D texture that is accessible to a depth-stencil view.

Syntax

typedef struct D3D12_TEX2D_DSV {
  UINT MipSlice;
} D3D12_TEX2D_DSV;

Members

MipSlice

The index of the first mipmap level to use.

Remarks

Use this structure with a D3D12_DEPTH_STENCIL_VIEW_DESC structure to view the resource as a 2D texture.

Requirements

   
Header d3d12.h

See Also

Core Structures