WebGLPowerPreference
An enum containing different power preference hints for the WebGL context.
阅读时间1 分钟最后更新于 1 个月前
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. |