effect-motion
API ReferencethreeNamespacesRendererVariables

TypeId

const TypeId: "~three/Renderer";

Variable: TypeId

const TypeId: "~three/Renderer";

Defined in: packages/three/src/Renderer.ts:28

The GPU renderer — a scoped handle over three's WebGPURenderer.

Remarks

make hands back a renderer whose async initialization has already completed, so nothing downstream has to await a device that might not be ready. On scope close it drains the GPU queue before disposing, which is what prevents the "destroyed texture used in a submit" errors that disposing mid-flight would otherwise produce.

Work that touches the GPU — render, readRenderTarget, compile — is an Effect, typed as ThreeException. Sizing and output-target bookkeeping cannot fail, so those stay synchronous and chain through .pipe.

On this page