D3D11_TEX2D_ARRAY_RTV structure (d3d11.h)

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

Type: UINT

The index of the mipmap level to use mip slice.

FirstArraySlice

Type: UINT

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

ArraySize

Type: UINT

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

Requirement Value
Header d3d11.h

See also

Resource Structures