WebGLPowerPreference
An enum containing different power preference hints for the WebGL context.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Enum
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public enum WebGLPowerPreference
Remarks
This enum is used within the WebGL platform to hint to the underlying WebGL implementation how to choose its GPU configuration in multi-gpu systems.
Fields
Value | Description |
|---|---|
| Default | The WebGL implementation is left to decide which GPU configuration is most suitable. |
| HighPerformance | Requests the WebGL implementation prioritizes rendering performance. |
| LowPower | Requests the WebGL implementation prioritizes power savings. |