D3D10_TEX2D_ARRAY_RTV structure (d3d10.h)

Specifies the subresource(s) from an array of 2D textures to use in a render-target view.

Syntax

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

Members

MipSlice

Type: UINT

The index of the mipmap level to use (see mip slice).

FirstArraySlice

Type: UINT

The index of the first texture to use in an array of textures (see array slice)

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 D3D10_RENDER_TARGET_VIEW_DESC).

Requirements

Requirement Value
Header d3d10.h

See also

Resource Structures