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

    Interface SliceCacheEntry

    One cached per-slice entry.

    payload is opaque (the owning loader's cloned decoded-slice snapshot); bytes is the retained size the loader measured, used for LRU accounting.

    interface SliceCacheEntry {
        payload: unknown;
        bytes: number;
        ladderDepth?: number;
        totalLadderDepth?: number;
    }
    Index
    payload: unknown

    Opaque cloned per-slice payload; the owning loader casts it back.

    bytes: number

    Total retained bytes (sum of the snapshot's typed-array byteLengths).

    ladderDepth?: number

    Stored additive prefix depth, when the entry represents a ladder.

    totalLadderDepth?: number

    Total additive ladder depth for the node that produced this entry.