ReadonlyeventsLifecycle, context, render, and error events emitted by the renderer.
Enables backend error logging when supported by the implementation.
ReadonlyrenderingWhether the renderer currently has active rendering state.
ReadonlyviewerViewer currently attached to the renderer, or null when detached.
Attaches a Viewer to the renderer.
Implementations usually subscribe to Viewer and Scene events during this call, allocate backend state, and start rendering when the Viewer has a Scene.
Viewer to render.
An SDK result indicating whether attachment succeeded.
Permanently releases renderer resources.
A destroyed renderer should not be reused.
Detaches the current Viewer, if any, and releases Viewer-bound state.
Performs a renderer-backed pick in a View.
This is the path used for pick modes that require backend readback, such as snapping to vertices or edges.
View whose canvas coordinates are being picked.
Picking options and canvas coordinates.
An SDK result containing the pick hit, or a renderer error.
Backend-neutral renderer contract.
This is the surface expected by higher-level viewer, Studio, and spatial picking code. Concrete backends such as WebGL or WebGPU can expose richer backend-specific APIs in their own modules while still satisfying this shared contract.