Version: 2022.3
LanguageEnglish
  • C#

TextureMipmapLimitGroups

class in UnityEngine

/

Implemented in:UnityEngine.CoreModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Script interface for texture mipmap limit groups.

Use this class to add, remove or detect texture mipmap limit groups in C#.

Additional resources: TextureMipmapLimitSettings, QualitySettings.globalTextureMipmapLimit.

Static Methods

CreateGroup(Editor Only) Attempts to create a texture mipmap limit group with the indicated groupName.
GetGroupsRetrieves a string array containing the name of all texture mipmap limit groups available in the project.
HasGroupChecks whether a texture mipmap limit group with the indicated groupName exists in the project. This operation fails and throws an exception if groupName is null.
RemoveGroup(Editor Only) Attempts to remove a texture mipmap limit group with the indicated groupName.