streamingTextureDiscardUnusedMips
This property forces the streaming Texture system to discard all unused mipmaps instead of caching them until the Texture memory budget is exceeded. This is useful when you profile or write tests to keep a predictable set of Textures in memory.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static bool streamingTextureDiscardUnusedMips { get; set; }
Remarks
Additional Resources: Texture.streamingTextureForceLoadAll.