D3D11_TEX2D_ARRAY_RTV Structure

Specifies the subresources from an array of 2D textures to use in a render-target view.

Syntax

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

Members

MipSlice
The index of the mipmap level to use mip slice.

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

ArraySize
Number of textures in the array to use in the render target view, starting from FirstArraySlice.

Remarks

This structure is one member of a render-target-view description (see D3D11_RENDER_TARGET_VIEW_DESC).

Requirements

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