Homesplat-transform API Reference - v3.0.0
    Preparing search index...

    Type Alias ChunkSourceMetadata

    Static description of a ChunkSource's contents — what's in it and how it's laid out. Populated at open() time; never changes thereafter.

    chunkSize is the gaussian count per chunk; all chunks are this size except the final one in each LOD, which holds lodCounts[lod] % chunkSize gaussians (or chunkSize if the count divides evenly).

    layouts exposes the byte stride and named field map for each available layer, used by callers when acquiring ChunkData buffers from a ChunkDataPool.

    LOD is a structural axis: a chunk belongs to exactly one LOD. Sources never carry a per-gaussian LOD tag.

    type ChunkSourceMetadata = {
        availableLayers: ReadonlySet<ChunkLayer>;
        chunkSize: number;
        extraColumns: ReadonlyArray<ExtraColumn>;
        layouts: Readonly<Partial<Record<ChunkLayer, LayerLayout>>>;
        lodCounts: ReadonlyArray<number>;
        numChunks: ReadonlyArray<number>;
        shBands: SHBands;
        transform: Transform;
    }
    Index
    availableLayers: ReadonlySet<ChunkLayer>

    Which layers the source can serve.

    chunkSize: number

    Gaussians per chunk (all chunks are this size except the last per LOD).

    extraColumns: ReadonlyArray<ExtraColumn>

    Extra non-standard columns mapped to the other layer.

    Per-layer stride + field map. Keyed by layer; only present for available layers.

    lodCounts: ReadonlyArray<number>

    Gaussian counts per LOD. lodCounts[0] matches numGaussians.

    numChunks: ReadonlyArray<number>

    Number of chunks per LOD: Math.ceil(lodCounts[lod] / chunkSize).

    shBands: SHBands

    SH band count present in the source.

    transform: Transform

    Coordinate-space transform; applied lazily when consumed.