memoryGrowthMode
The growth mode for WASM heap memory.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
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.