Legacy Documentation: Version 5.3
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

RenderTexture.generateMips

Switch to Manual
public bool generateMips;

Description

Should mipmap levels be generated automatically?

When a render texture is with mipmaps (useMipMap), then by default rendering into it generates all the mipmap levels.

If you want to render into mip levels manually, set this variable to false.

See Also: useMipMap.