LogoPixi’VN
pixi-jsType aliases

Type Alias: GpuPowerPreference

> GpuPowerPreference = "low-power" | "high-performance"

Defined in: node_modules/pixi.js/lib/rendering/renderers/types.d.ts:59

The GPU power preference for the WebGPU context. This is an optional hint indicating what configuration of GPU is suitable for the WebGPU context,

  • 'high-performance' will prioritize rendering performance over power consumption,
  • 'low-power' will prioritize power saving over rendering performance.

Advanced