IDirect3DBaseTexture9::GenerateMipSubLevels

Generate mipmap sublevels.

VOID GenerateMipSubLevels();

Parameters

None.

Return Values

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.

Requirements

Header: Declared in D3d9.h.

See Also

IDirect3DBaseTexture9::GetAutoGenFilterType, IDirect3DBaseTexture9::SetAutoGenFilterType