Expand Minimize

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

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3d10umddi.h (include D3d10umddi.h)

See also

CalcPrivateShaderResourceViewSize
CreateShaderResourceView
D3D10DDIARG_CREATESHADERRESOURCEVIEW

 

 

Send comments about this topic to Microsoft

顯示:
© 2014 Microsoft