D3D12_TEX2D_ARRAY_RTV structure

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

Syntax

typedef struct D3D12_TEX2D_ARRAY_RTV {
  UINT MipSlice;
  UINT FirstArraySlice;
  UINT ArraySize;
  UINT PlaneSlice;
} D3D12_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.

PlaneSlice

The index (plane slice number) of the plane to use in an array of textures.

Remarks

Use this structure with a D3D12_RENDER_TARGET_VIEW_DESC structure to view the resource as an array of 2D textures.

Requirements

   
Header d3d12.h

See also

Core Structures