D3D10DDIARG_TEX3D_SHADERRESOURCEVIEW structure

The D3D10DDIARG_TEX3D_SHADERRESOURCEVIEW structure describes a three-dimensional (3-D) texture that is used to create a shader resource view in a call to the CreateShaderResourceView function.

Syntax

typedef struct D3D10DDIARG_TEX3D_SHADERRESOURCEVIEW {
  UINT MostDetailedMip;
  UINT MipLevels;
} D3D10DDIARG_TEX3D_SHADERRESOURCEVIEW;

Members

MostDetailedMip

[in] The identifier of the most detailed MIP-map.

MipLevels

[in] The number of MIP-map levels for the texture.

Remarks

If the MipLevels member is set to -1, the MIP-maps in the texture start from the MIP-map that is set in the MostDetailedMip member.

Requirements

   
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3d10umddi.h (include D3d10umddi.h)

See Also

CalcPrivateShaderResourceViewSize

CreateShaderResourceView

D3D10DDIARG_CREATESHADERRESOURCEVIEW