ReadonlyclearGets the clear color of the renderer.
Optional ReadonlygpuWebGPU Device (only for WebGPU renderer)
The global post-processing volume/group.
ReadonlyqualityGets the global quality settings of the renderer.
ReadonlytypeThe type of the renderer.
Optional ReadonlywebglWebGL Context (for WebGL1/2 renderers)
OptionaldestroyDestroys the renderer and releases its resources.
Initializes the renderer.
Optionalattributes: Record<string, unknown>Optionalconfig: EngineOptionsSets the active render target for off-screen rendering. If null, the renderer targets the screen/post-processing buffer.
The target to render into.
OptionalactiveCubeFace: numberOptional. Which face (0-5) of the RenderTargetCube to render into.
Sets the size of the render viewport.
Interface for all renderer implementations.