?/TD>
Microsoft DirectX 9.0

IDirect3DTexture9::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 IDirect3DTexture9::GenerateMipSubLevels. To have mipmap sublevels generated automatically at texture creation time, 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


© 2002 Microsoft Corporation. All rights reserved.