BaseTexture.GenerateMipSubLevels() Method (Microsoft.DirectX.Direct3D)

Generates mipmap sublevels.

Definition

Visual Basic Public Sub GenerateMipSubLevels()
C# public void GenerateMipSubLevels();
C++ public:
void GenerateMipSubLevels();
JScript public function GenerateMipSubLevels();

Remarks

An application can generate mipmap sublevels at any time by calling BaseTexture.GenerateMipSubLevels. To have mipmap sublevels generated automatically at texture creation time, specify AutoGenerateMipMap when calling the Texture, CubeTexture, and VolumeTexture constructors. For more information about usage constants, see Usage.

Applies To

CubeTexture, Texture, VolumeTexture

See Also