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

    Class ResidencyAccumulator

    Accumulates chunk hit/miss outcomes for a single load operation.

    A loader sets a fresh accumulator as the proxy's active probe before a demand load, runs the load, then reads allResident to decide whether the next LOD level can be loaded in the same frame.

    Implements

    Index
    hits: number = 0
    misses: number = 0
    • get allResident(): boolean

      True when no chunk missed the cache. A load that touched no chunks (e.g. an empty spatial query, or attributes served by broadcast/array_ref codecs that bypass the proxy) is treated as resident — conservative: it never reports a false miss that would stall progressive refinement.

      Returns boolean