文档

Unity Engine

Unity Engine

streamingMipmapsMemoryBudget

The total amount of memory (in megabytes, or in bytes, depending on your platform) to be used by streaming and non-streaming textures.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static float streamingMipmapsMemoryBudget { get; set; }

Remarks

Non-streaming textures will always be loaded at the largest mipmap level (even if that exceeds the budget). Streaming textures will pick the smallest mipmap level possible to try to hit the memory budget.