Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

DefaultThe WebGL implementation is left to decide which GPU configuration is most suitable.
HighPerformanceRequests the WebGL implementation prioritizes rendering performance.
LowPowerRequests the WebGL implementation prioritizes power savings.