Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


powerPreference

The power preference hint to provide to the WebGL context to help decide which GPU to use in multi-gpu systems. Note that this is just a hint, and some WebGL implementations may choose to ignore it.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static WebGLPowerPreference powerPreference { get; set; }