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

    Module data/scene-loader/lod-load-stats

    Debug-only per-stage timing for lazy and additive LOD level loads.

    The per-frame LOD selector and its lazy ensureLoaded loads run OUTSIDE any updateView cycle, so the UpdateProfiler / data-loading-monitor never sees them — during pure camera navigation the monitor shows nothing. This standalone accumulator fills that gap: it records the wall-clock cost of each stage of a lazy level load (fetch/decode, projection+pack, GPU commit, release), plus each additive ladder level load keyed by geometry type, level index, and residency.

    Disabled by default (zero cost). Enabled only under ?debug by installDebugInterface, which also exposes window.__luxarDebug.getLodLoadStats() / resetLodLoadStats().

    LodLoadStatSnapshot
    setLodLoadStatsEnabled
    lodLoadStatsEnabled
    recordLodLoadStage
    timeLodStage
    timeLodStageWithResult
    timeLodStageSync
    snapshotLodLoadStats
    resetLodLoadStats