ReadonlyavailableWhich layers the source can serve.
ReadonlychunkGaussians per chunk (all chunks are this size except the last per LOD).
ReadonlyextraExtra non-standard columns mapped to the other layer.
ReadonlylayoutsPer-layer stride + field map. Keyed by layer; only present for available layers.
ReadonlylodGaussian counts per LOD. lodCounts[0] matches numGaussians.
ReadonlynumNumber of chunks per LOD: Math.ceil(lodCounts[lod] / chunkSize).
ReadonlyshSH band count present in the source.
ReadonlytransformCoordinate-space transform; applied lazily when consumed.
Static description of a ChunkSource's contents — what's in it and how it's laid out. Populated at
open()time; never changes thereafter.chunkSizeis the gaussian count per chunk; all chunks are this size except the final one in each LOD, which holdslodCounts[lod] % chunkSizegaussians (orchunkSizeif the count divides evenly).layoutsexposes the byte stride and named field map for each available layer, used by callers when acquiringChunkDatabuffers from a ChunkDataPool.LOD is a structural axis: a chunk belongs to exactly one LOD. Sources never carry a per-gaussian LOD tag.