D3D11_TEXCUBE_ARRAY_SRV Structure

Specifies the subresources from an array of cube textures to use in a shader-resource view.

Syntax

typedef struct D3D11_TEXCUBE_ARRAY_SRV {
    UINT MostDetailedMip;
    UINT MipLevels;
    UINT First2DArrayFace;
    UINT NumCubes;
} D3D11_TEXCUBE_ARRAY_SRV;  

Members

MostDetailedMip
Index of the most detailed mipmap level to use; this number is between 0 and MipLevels (from the original TextureCube for which ID3D11Device::CreateShaderResourceView creates a view) -1.

MipLevels

The maximum number of mipmap levels for the view of the texture. See the remarks in D3D11_TEX1D_SRV.

Set to -1 to indicate all the mipmap levels from MostDetailedMip on down to least detailed.

First2DArrayFace
Index of the first 2D texture to use.

NumCubes
Number of cube textures in the array.

Remarks

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

Requirements

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