Luxar Viewer API Documentation - v2026.10.22
    Preparing search index...

    Scratch sizes for a capacity, in bytes.

    interface ScratchPlan {
        capacity: number;
        elementBytes: number;
        histogramBytes: number;
        levelTotalsBytes: readonly number[];
        totalBytes: number;
    }
    Index
    capacity: number

    Elements the scratch holds, rounded up to whole blocks.

    elementBytes: number

    Bytes of each of the four element-sized buffers (two key, two value).

    histogramBytes: number

    Bytes of the histogram.

    levelTotalsBytes: readonly number[]

    Bytes of each scan level's totals, finest first.

    totalBytes: number

    Everything above: four element buffers, the histogram and the totals.