THREE.JS / FOUNDATIONS 332
Reuse the readback.
One persistent ReadbackBuffer receives two aligned subranges from a compute-written storage buffer. The lab proves mapping ownership, offset/count reads, reuse after release, and final disposal.
Initializing readback probe—
Checking WebGPU persistent readback support.
The probe is waiting for a compute dispatch.
- path
- —
- source
- —
- slices
- —
- reads
- —
- reuse
- —
- mapped
- —
Contract: one WebGPU ReadbackBuffer with 16-byte aligned offset/count reads. A second read while mapped must reject; release() makes the same target reusable. This does not claim WebGL2 equivalence, render-target readback, or a throughput benchmark.
Persistent readback is WebGPU-only here.No WebGL2 fallback is run; this lab stays honest about the GPU mapping lifecycle.
Readback buffer initialization failed.The WebGPU probe could not initialize.
The route follows the official ReadbackBuffer, Renderer.getArrayBufferAsync(), and StorageBufferAttribute surfaces.
LAB 332 / READBACK BUFFER