Backend-neutral renderer contracts shared by WebGL, future WebGPU, and
higher-level viewer integrations.
This module describes the stable shape that viewer, Studio, presentation,
and spatial-picking code can use without depending on a concrete renderer
backend. Applications normally instantiate a backend such as
WebGLRenderer, while reusable
tooling can depend on the interfaces exported here.
Backend-specific diagnostics, debug hooks, memory internals, shader
inspection, and render-bin statistics are intentionally outside this
contract. Use the concrete backend module, such as
WebGLRenderer, for those
implementation-specific APIs.
Renderer Contract
Backend-neutral renderer contracts shared by WebGL, future WebGPU, and higher-level viewer integrations.
This module describes the stable shape that viewer, Studio, presentation, and spatial-picking code can use without depending on a concrete renderer backend. Applications normally instantiate a backend such as WebGLRenderer, while reusable tooling can depend on the interfaces exported here.
Usage
The contract covers:
Backend-specific diagnostics, debug hooks, memory internals, shader inspection, and render-bin statistics are intentionally outside this contract. Use the concrete backend module, such as WebGLRenderer, for those implementation-specific APIs.