D3D11_TEX2D_ARRAY_DSV Structure

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
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

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

Requirements

Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).