![]() |
![]() |
![]() |
BaseTexture.GenerateMipSubLevels Method |
Language: |
Generates mipmap sublevels.
Visual Basic .NET Public Sub GenerateMipSubLevels() C# public void GenerateMipSubLevels(); Managed C++ public: void GenerateMipSubLevels(); JScript .NET public function GenerateMipSubLevels();
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.
CubeTexture, Texture, VolumeTexture
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center