D3D12_TEX2D_DSV structure (d3d12.h)
Describes the subresource from a 2D texture that is accessible to a depth-stencil view.
C++
typedef struct D3D12_TEX2D_DSV {
UINT MipSlice;
} D3D12_TEX2D_DSV;
MipSlice
The index of the first mipmap level to use.
Use this structure with a D3D12_DEPTH_STENCIL_VIEW_DESC structure to view the resource as a 2D texture.
Requirement | Value |
---|---|
Header | d3d12.h |