Properties:
| Name | Type | Description |
|---|---|---|
forceFallbackAdapter |
boolean |
Force the use of the fallback adapter |
powerPreference |
GpuPowerPreference |
An optional hint indicating what configuration of GPU is suitable for the WebGPU context,
can be |
Members
Force the use of the fallback adapter
An optional hint indicating what configuration of GPU is suitable for the WebGPU context,
can be 'high-performance' or 'low-power'.
Setting to 'high-performance' will prioritize rendering performance over power consumption,
while setting to 'low-power' will prioritize power saving over rendering performance.