기술 자료

Unity Engine

Unity Engine

WebGLPowerPreference

An enum containing different power preference hints for the WebGL context.
읽는 시간 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

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.