GetTotalReservedMemory()
Returns the amount of reserved system memory.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Profiling
- Assembly: UnityEngine.CoreModule
public static uint GetTotalReservedMemory()
Returns
Type | Description |
|---|---|
| uint |
Remarks
Unity requests the amount of memory that the game will use. Profiler.GetTotalReservedMemory is the full amount that Unity currently has. Part of this memory is used by the game using Profiler.GetTotalAllocatedMemory, and the remainer is stored and unused.
Additional Resources: Profiler.GetTotalAllocatedMemory, Profiler.GetTotalUnusedReservedMemory.