IDirect3DBaseTexture9::GenerateMipSubLevels method (d3d9helper.h)

Generate mipmap sublevels.

Syntax

void GenerateMipSubLevels();

Return value

None

Remarks

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

Requirements

Requirement Value
Target Platform Windows
Header d3d9helper.h (include D3D9.h)
Library D3D9.lib

See also

GetAutoGenFilterType

IDirect3DBaseTexture9

SetAutoGenFilterType