Create. Render. Release.
The official memory test deliberately creates a sphere, CanvasTexture, and Lambert material during every animation frame, then disposes the prior resources. This lab makes that ownership boundary observable and adds the source-shaped optional native AO/outline graph.
Preparing the dynamic resource lifecycle.
- backend
- —
- graph
- —
- mesh
- —
- disposed
- —
- texture
- —
- sample
- WAITING
Start/stop controls the per-frame create → render → dispose cycle; graph rebuild disposes every optional native node first.
WebGPURenderernative initialization pendingRenderPipeline / MRT / AO / Outlineoptional native graphInspectoropt-in via ?inspector=1Per-cycle resource disposal is live. Inspector is opt-in; whole-example fidelity remains separate.
Derived from the official WebGPU Memory Test I and its pinned source. Use ?backend=webgl for the explicitly labeled direct-render reference or ?inspector=1 to attach the optional Inspector.
THREE.JS FOUNDATIONS LAB / WEBGPU MEMORY TEST