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

    Module data/points/points-progressive-loader

    Progressive Points loader for multi-additive-LOD datasets.

    Wraps N PointsSpatialIndexLoader instances (one per additive_<i> subgroup) using the Composite pattern. Implements the same PointsDataLoader (aka DataLoader) interface so the scene loader's update loop works unchanged.

    Loading strategy mirrors GSplatsProgressiveLoader:

    • On each updateView() call, loads LODs sequentially starting from LOD 0.
    • Stops at the first LOD whose load exceeds the cache-hit threshold (the shared CACHE_HIT_THRESHOLD_MS in loaders/progressive/constants — one threshold across all geometry types).
    • After returning, fires a prefetch for the next unloaded LOD so the refinement loop hits a warm cache on the next call.

    LODs are additive: LOD 0 contains the coarsest subset, each subsequent LOD adds more elements. The loader concatenates loaded LODs into a single LoadedPointsData.

    PointsProgressiveLoader