// d3d10umddi.h
typedef struct D3D10_1DDIARG_TEXCUBE_SHADERRESOURCEVIEW {
[in] UINT MostDetailedMip;
[in] UINT MipLevels;
[in] UINT First2DArrayFace;
[in] UINT NumCubes;
} D3D10_1DDIARG_TEXCUBE_SHADERRESOURCEVIEW;
View the official Windows Driver Kit DDI referenceNo description available.
The D3D10_1DDIARG_TEXCUBE_SHADERRESOURCEVIEW structure describes cube textures that are used to create a shader resource view in a call to the CreateShaderResourceView(D3D10_1) function.
MostDetailedMip [in]The identifier of the most detailed MIP-map.
MipLevels [in]The number of MIP-map levels for the texture.
First2DArrayFace [in]The identifier of the first 2-D texture that comprises one or more cube textures.
NumCubes [in]The number of cube textures for a shader resource view.
The value in the First2DArrayFace member added with 6 multiplied by the number in the NumCubes member must be less than or equal to the value in the ArraySize member of the D3D10DDIARG_CREATERESOURCE structure for the shader resource whose view is created in a call to the driver's CreateShaderResourceView(D3D10_1) function. That is, the following calculation applies:
::First2DArrayFace + 6 * ::NumCubes <= Resource ::ArraySize
CalcPrivateShaderResourceViewSize(D3D10_1)
CreateShaderResourceView(D3D10_1)
D3D10_1DDIARG_CREATESHADERRESOURCEVIEW