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.
Gets a compact summary of GPU memory owned by the WebGPU renderer.
Gets the lightweight WebGPU render inspector.
Enable the returned inspector to collect per-frame draw-call and CPU timing stats for the current WebGPU render path.
Gets summary stats for the last rendered frame of a View.
Zero-based Viewer View index.
Last frame stats for the View, or null when no frame stats are available.
Performs a renderer-backed pick in a View.
Supports triangle mesh object picking, surface hit details, and first-pass vertex/edge snapping using renderer-side decoded triangle data.
View whose canvas coordinates are being picked.
Picking options and canvas coordinates.
The picked result, null when nothing was hit, or an SDK error result.
Enables or disables the renderer-owned infinite ground grid.
Disabled by default for bare renderer use. Studio enables it during initialization for its default scene reference plane.
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 ViewManager, matching the composition used by WebGLRenderer.