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

defaultOptions GpuContextOptions static

The default options for the GpuDeviceSystem.

Properties:
Name Type Default Description
forceFallbackAdapter boolean false

Force the use of the fallback adapter

powerPreference default

WebGPUOptions.powerPreference

gpu GPU

The GPU device

Methods

contextChange (gpu) void protected

Handle the context change event

Name Type Description
gpu GPU