Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

RenderTexture.generateMips

var generateMips: bool;
bool generateMips;
generateMips as bool

Description

Should mipmap levels be generated automatically?

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

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

See Also: useMipMap.