d3d9.dllGenerateMipSubLevels
Microsoft DirectX 9.0 SDK Update (October 2004)

IDirect3DBaseTexture9::GenerateMipSubLevels Method


Generate mipmap sublevels.

Syntax

VOID GenerateMipSubLevels(VOID);

Return Value

No return value.

Remarks

An application can generate mipmap sublevels at any time by calling IDirect3DBaseTexture9::GenerateMipSubLevels. To have mipmap sublevels generated automatically at texture creation time (see Automatic Generation of Mipmaps), specify D3DUSAGE_AUTOGENMIPMAP during IDirect3DDevice9::CreateTexture, IDirect3DDevice9::CreateCubeTexture, and IDirect3DDevice9::CreateVolumeTexture. For more information about usage constants, see D3DUSAGE.

See Also

IDirect3DBaseTexture9::GetAutoGenFilterType, IDirect3DBaseTexture9::SetAutoGenFilterType


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.