Class: GpuDeviceSystem

GpuDeviceSystem

System plugin to the renderer to manage the context.

new GpuDeviceSystem (renderer)

Name Type Description
renderer WebGPURenderer

The renderer this System works for.

Implements

Members

forceFallbackAdapter boolean static

Force the use of the fallback adapter

Default Value:
  • false

powerPreference static

WebGPUOptions.powerPreference

Default Value:
  • default

Methods

contextChange (gpu) void protected

Handle the context change event

Name Type Description
gpu GPU