文档

Unity Engine

Unity Engine

currentTextureMemory

The amount of memory that all Textures in the scene use.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static ulong currentTextureMemory { get; }

Remarks

Provides a snapshot of the amount of memory used while the mipmap streaming and budget are applied. The amount of memory used trends toward Texture.targetTextureMemory as the Texture mipmaps are loaded or unloaded. Additional Resources: Texture.targetTextureMemory.