Skip to content

API > RenderTexture > autoGenerateMips


RenderTexture.autoGenerateMips⚓︎

Name Type
autoGenerateMips boolean

Description⚓︎

Mipmap levels are generated automatically when this flag is set.

Extra Detail⚓︎

When a render texture is with mipmaps (useMipMap), then by default rendering into it generates all the mipmap levels. The mipmap generation happens automatically only after rendering into this render texture; when active render target is switched to some other render texture.