D3D10DDIARG_TEX3D_SHADERRESOURCEVIEW structure (d3d10umddi.h)

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 {
  [in] UINT MostDetailedMip;
  [in] UINT MipLevels;
} D3D10DDIARG_TEX3D_SHADERRESOURCEVIEW;

Members

[in] MostDetailedMip

The identifier of the most detailed MIP-map.

[in] MipLevels

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

Requirement Value
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