D3D10_1DDIARG_TEXCUBE_SHADERRESOURCEVIEW - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3d10umddi-d3d10_1ddiarg_texcube_shaderresourceview)

D3D10_1DDIARG_TEXCUBE_SHADERRESOURCEVIEW structure

Description

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.

Members

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.

Remarks

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

See also

CalcPrivateShaderResourceViewSize(D3D10_1)

CreateShaderResourceView(D3D10_1)

D3D10DDIARG_CREATERESOURCE

D3D10_1DDIARG_CREATESHADERRESOURCEVIEW