InternalInternalrendererCollection of renderer objects that control visibility, highlighting, selection, X-ray effects, and color adjustments for SceneObjects within this Renderer.
InternalAttaches a SceneModel to this Renderer.
This method establishes rendering hooks for the SceneModel’s elements, allowing real-time state updates.
The SceneModel to attach.
void if successful.
InternalAttaches a View to this Renderer.
This enables rendering of all previously or subsequently created SceneModels for the new View.
The View to attach.
void if successful.
InternalBegins snapshot mode for the given View.
The View index. This matches !View.viewIndex | View.viewIndex on a View that is currently attached to this Renderer.
Optionalparams: { height: number; width: number }Snapshot configuration.
InternalClears the Renderer for the specified View.
The View index. This matches !View.viewIndex | View.viewIndex on a View that is currently attached to this Renderer.
void if successful.
InternalDetaches the specified SceneModel from this Renderer.
Cleans up associated rendering resources.
The SceneModel to detach.
void if successful.
Ends snapshot mode and restores normal rendering.
InternalRetrieves the rendering capabilities of this Renderer.
An object to store the retrieved capabilities.
InternalChecks if a new frame needs to be rendered for the specified attached View.
The View index. This matches !View.viewIndex | View.viewIndex on a View that is currently attached to this Renderer.
boolean indicating if rendering is required.
InternalChecks if Screen Space Ambient Occlusion (SAO) is supported by this Renderer.
boolean indicating SAO support.
InternalPerforms object picking within a View.
The View index. This matches !View.viewIndex | View.viewIndex on a View that is currently attached to this Renderer.
Picking parameters.
OptionalpickResult: PickResultOptional pre-allocated PickResult.
A PickResult or if object successfully picked.
InternalRetrieves an image of the snapshot canvas as a data URI.
The image data URI.
Returns an HTMLCanvasElement containing a snapshot image.
The snapshot canvas.
InternalRenders a frame for the specified View.
The View index. This matches !View.viewIndex | View.viewIndex on a View that is currently attached to this Renderer.
Rendering parameters.
void if successful.
InternalRenders a snapshot frame of the current scene state.
InternalEnables or disables edge enhancement for the specified attached View.
The View index. This matches !View.viewIndex | View.viewIndex on a View that is currently attached to this Renderer.
Whether to enable edge enhancement.
void if successful.
InternalRequests a new frame to be rendered for the given View.
OptionalviewIndex: numberThe View index. This matches !View.viewIndex | View.viewIndex on a View that is currently attached to this Renderer.
void if successful.
InternalTriggers a shader rebuild for the specified View.
The View index. This matches !View.viewIndex | View.viewIndex on a View that is currently attached to this Renderer.
void if successful.
InternalEnables or disables Physically-Based Rendering (PBR) for the specified attached View.
The View index. This matches !View.viewIndex | View.viewIndex on a View that is currently attached to this Renderer.
Whether to enable PBR.
void if successful.
InternalEnables or disables Screen Space Ambient Occlusion (SAO) for the specified attached View.
The View index. This matches !View.viewIndex | View.viewIndex on a View that is currently attached to this Renderer.
Whether to enable SAO.
void if successful.
InternalToggles the rendering of transparent objects for a specified View.
The View index. This matches !View.viewIndex | View.viewIndex on a View that is currently attached to this Renderer.
Determines whether transparency is enabled.
void if successful.
Interface defining the rendering strategy used internally by a Viewer.
A Viewer integrates with an implementation of this interface to manage and render geometry and materials using a supported browser 3D graphics API, such as WebGL or WebGPU.
Example Usage