memoryGrowthMode
The growth mode for WASM heap memory.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor
public static WebGLMemoryGrowthMode memoryGrowthMode { get; set; }
Remarks
The growth mode controls at which rate WASM heap memory grows if more memory is allocated than what is currently available (Recommended default: Geometric). The growth mode None results in a fixed heap memory size. The growth mode Linear increases the heap by a constant amount. The growth mode Geometric increases the heap by a given percentage.