BaseTexture.GenerateMipSubLevels Method

Language:

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


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center