IFClite TypeScript API
    Preparing search index...

    Interface GaussianRowSource

    interface GaussianRowSource {
        count: number;
        effectiveShDegree: GaussianShDegree;
        maxAbsShCoefficient: number;
        sphericalHarmonicsDegree: GaussianShDegree;
        read(
            visit: (
                chunk: NormalizedGaussianAttributes,
                rowStart: number,
            ) => void | Promise<void>,
            signal?: AbortSignal,
        ): Promise<void>;
    }
    Index
    count: number
    effectiveShDegree: GaussianShDegree

    Highest band holding a non-zero coefficient; packing at it is exact.

    maxAbsShCoefficient: number

    Largest |SH coefficient| over all rows; decides the GPU coefficient encoding before any upload.

    sphericalHarmonicsDegree: GaussianShDegree

    Degree of the coefficient rows each chunk carries.

    • The rows must not change while the asset exists: the SH degrees and coefficient range above are decided once, and every re-read must deliver the same values.

      Visit every row once, in order, as normalized source-local chunks (rowStart counts from 0). Chunks may be views; the visitor copies what it keeps. Each call reads afresh, so it may be repeated. Rejects when signal aborts.

      Parameters

      Returns Promise<void>