ReadonlybackendThe backend this instance reports — always 'cpu-wasm' unless overridden.
Stream the container's tiles, decoding each on the calling thread and yielding them in index order.
An async iterable of DecodedTile — a DecodedSplatTile
or DecodedPointTile of quantized structure-of-arrays typed arrays
(newly owned by JS, ready to transfer and upload to the GPU).
The provided signal's abort reason if aborted before a tile is
produced; also rejects on wasm init failure (see open).
Release decoder resources. No-op: the in-process path holds nothing between calls.
Parse the BVC container header (cheap — no per-tile geometry decode).
The full .bvc container bytes.
The DecodedModel: profile ('splat' or 'pointcloud'),
meta (per-axis scale/offset for points, or fractional-bits/SH-degree for
splats), and tileCount. Pass it (with the same bytes) to decodeTiles.
The in-process (
cpu-wasm) BVC decoder: parses the container header on open and streams quantized per-tile geometry from decodeTiles, all on the calling thread.Remarks
For large scenes prefer BvcWorkerDecoder (same contract, decode fanned out to a worker pool), or let createBvcDecoder pick the best backend for the runtime. Decoded tiles are quantized structure-of-arrays typed arrays; dequantization happens downstream in the GPU shaders.
Example