Version: 2022.2

WebGLPowerPreference

enumeration

切换到手册

描述

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

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.

变量

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