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.useMipMap

var useMipMap: bool;
bool useMipMap;
useMipMap as bool

Description

Use mipmaps on a render texture?

When set to true, rendering into this render texture will create and generate mipmap levels. By default render textures don't have mipmaps. This flag can be used only on render textures that have power-of-two size.

By default the mipmaps will be automatically generated. If you want to render into texture mip levels manually, set generateMips to false.