Version: 2021.3
LanguageEnglish
  • C#

Texture2D.ignoreMipmapLimit

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

public bool ignoreMipmapLimit;

Description

This property causes a texture to ignore the QualitySettings.masterTextureLimit.

When this property is true, Unity always uploads the texture to the GPU at full resolution, disregarding the active quality setting's master texture limit.

When this property is false, the texture respects the active quality setting's master texture limit.

When changing this property, if this causes the actual mipmap limit for this texture to change, then the texture will be reuploaded to the GPU. If the texture has no mipmaps, this property has no effect. Note that this can only be toggled at runtime if the Texture is readable.