targetTextureMemory
Total texture memory usage in bytes after applying the memory budget and loading all textures.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static ulong targetTextureMemory { get; }
Remarks
Indicates the memory allocated to textures in the scene after loading all textures and applying the Texture memory budget, considering mipmap streaming settings. As Unity loads or unloads texture mipmaps, the Texture.currentTextureMemory value approaches the .
targetTextureMemoryThe value only considers instances of Texture2D and CubeMap textures. It does not include any other texture types. Furthermore, it does not track any 2D and CubeMap textures created internally by the Unity Editor.