D3D10_TEX2D_ARRAY_SRV structure (d3d10.h)

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

Syntax

typedef struct D3D10_TEX2D_ARRAY_SRV {
  UINT MostDetailedMip;
  UINT MipLevels;
  UINT FirstArraySlice;
  UINT ArraySize;
} D3D10_TEX2D_ARRAY_SRV;

Members

MostDetailedMip

Type: UINT

Index of the most detailed mipmap level to use; this number is between 0 and MipLevels -1.

MipLevels

Type: UINT

Number of subtextures to access.

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.

Remarks

This structure is one member of a shader-resource-view description (see D3D10_SHADER_RESOURCE_VIEW_DESC).

Requirements

Requirement Value
Header d3d10.h

See also

Resource Structures