D3D11_TEX2D_DSV Structure
Syntax
typedef struct D3D11_TEX2D_DSV {
UINT MipSlice;
UINT FirstArraySlice;
UINT ArraySize;
} D3D11_TEX2D_DSV;
Parameters
-
MipSlice
UINT
The mipmap slice to use. -
FirstArraySlice
UINT
The first array slice to use. -
ArraySize
UINT
The number of array slices to use.
Remarks
The D3D11_TEX2D_DSV structure specifies the subresource elements of a 2D texture to use in a depth-stencil view.
For a depth-stencil view, the subresource is typically a single mipmap level. The MipSlice member indicates which mipmap level to use.
If the texture is an array texture, the FirstArraySlice and ArraySize members specify which slices of the array are accessible through this depth-stencil view.
Requirements
| Header | Min supported client | Min supported server |
|---|---|---|
| d3d11.h | Windows 7 (supported for Windows 7 with KB10 on Windows 7 SP1) | Windows 7 (supported for Windows 7 with KB10 on Windows 7 SP1) |