# WebGLPowerPreference

> An enum containing different power preference hints for the WebGL context.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
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](/engine/6000.7/script-reference/unityeditor/webglpowerpreference/default.md)                 | The WebGL implementation is left to decide which GPU configuration is most suitable. |
| [HighPerformance](/engine/6000.7/script-reference/unityeditor/webglpowerpreference/highperformance.md) | Requests the WebGL implementation prioritizes rendering performance.                 |
| [LowPower](/engine/6000.7/script-reference/unityeditor/webglpowerpreference/lowpower.md)               | Requests the WebGL implementation prioritizes power savings.                         |
