Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


WebGLMemoryGrowthMode

An enum containing different memory growth modes.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Enum
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public enum WebGLMemoryGrowthMode

Remarks

This enum is used within the WebGL platform to define how the WASM memory heap grows.

Fields

Value

Description

GeometricThe WASM memory heap is increased by a geometric factor.
LinearThe WASM memory heap is increased by constant increments.
NoneThe WASM memory heap has a fixed size.