Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


useMipMap

Render texture has mipmaps when this flag is set.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public bool useMipMap { get; set; }

Remarks

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 RenderTexture.autoGenerateMips to false.