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

    Consecutive-failure bookkeeping shared by the four per-geometry refinement wrappers (Points / Lines / GSplats / Mesh). Each loader owns one tracker and:

    • skips loaders whose path isExhausted,
    • calls recordSuccess after a loader's step completes,
    • calls recordFailure in its catch — when it returns true the loader just crossed the cap and the wrapper logs a final "giving up" line,
    • excludes exhausted paths from its anyHasMoreLODs aggregation so the generic loop can terminate and release the lock.
    Index
    failCounts: Map<string, number> = ...
    exhaustedPaths: Set<string> = ...
    maxConsecutiveFailures: number = MAX_CONSECUTIVE_REFINEMENT_FAILURES
    • Record one failure for path. Returns true exactly when this failure crosses the cap (the caller logs the one-time "giving up" line).

      Parameters

      • path: string

      Returns boolean