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

    Interface LODGroupRegistryOwner

    Narrow view of the SceneLoader a registry factory may read. The registry's freshness (getViewVersion) and eviction (getResidentBytes) deps must observe the loader that OWNS the registry — routing them through getSceneLoader('default') read the wrong loader's state for any non-default instance (multi-loader embedding).

    interface LODGroupRegistryOwner {
        currentViewVersion: number;
        gpuBufferPool: GPUBufferPool | null;
        archiveFault: ArchiveFaultError | null;
        hasNetworkFailureUnder(path: string): boolean;
        requestReprocess(paths?: readonly string[]): void;
        isUpdateInProgress(): boolean;
        isLoadPassInProgress(): boolean;
    }
    Index
    currentViewVersion: number

    Monotonic view-update version of the owning loader.

    gpuBufferPool: GPUBufferPool | null

    The owning loader's GPU buffer pool (null pre-setup / pooling off).

    archiveFault: ArchiveFaultError | null

    Current archive fault latched by the owning loader, if any.

    • Whether this path or one of its descendants has a network failure.

      Parameters

      • path: string

      Returns boolean

    • Re-run the owning loader's current view state. With paths (partition node paths whose parts just re-entered the frustum) only loaders at or under those paths are swept; omitted/empty = every loader. Never bumps the view version — see _updateVersion.

      Parameters

      • Optionalpaths: readonly string[]

      Returns void

    • Whether the owning loader currently has an update or refinement pass in flight.

      Returns boolean

    • Whether a view PASS is in flight or queued — a refinement hold does NOT count. The registry gates partition resyncs on this rather than on isUpdateInProgress: a resync arriving during a refinement hold is parked and cancels into its own pass, whereas waiting for the hold to end left re-entering parts on a stale slice for as long as the ladders kept streaming (minutes on a slow link).

      Returns boolean