Creates a WebGPU renderer.
Optional renderer configuration.
ReadonlyeventsEvents emitted by this renderer.
Enables or disables logging of renderer errors to the console.
Whether this renderer currently has active rendering state.
Whether this renderer has an injected/acquired WebGPU device or the current runtime exposes the browser WebGPU entry point.
Viewer currently attached to this renderer.
Attaches a Viewer to this renderer.
Use create or pass a pre-created device before calling this
method. Device creation is asynchronous and cannot happen inside the
backend-neutral synchronous renderer contract.
Viewer to attach.
SDK result indicating whether attachment succeeded.
Permanently releases renderer resources.
Detaches the current Viewer, if any.
Performs a renderer-backed pick in a View.
Picking is not implemented until the WebGPU rendering pipeline exists.
View whose canvas coordinates are being picked.
Picking options and canvas coordinates.
An SDK error result.
StaticcreateCreates a WebGPU renderer after asynchronously requesting a device.
The shared Renderer.attachViewer contract is synchronous, while browser WebGPU device creation is asynchronous. This factory bridges that mismatch: call it first, then attach the returned renderer normally.
Optional WebGPU adapter/device and renderer settings.
SDK result containing an initialized renderer.
StaticisWhether the current runtime exposes the browser WebGPU entry point.
WebGPU renderer backend.
This public class owns viewer attachment, event wiring, device acquisition, and backend-neutral renderer contracts. Per-view WebGPU canvas state, GPU buffers, pipelines, and draw submission are owned by the internal WebGPUViewManager, matching the composition used by WebGLRenderer.