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

    Structural type for a loader that supports predictive prefetch. The concrete spatial-index loaders implement prefetchChunkBoundary; loaders without chunk metadata can expose prefetchChunks for the historical one-step behavior. The base loader interfaces don't declare either method, so this structural type avoids coupling scene-loader.ts to concrete loader classes.

    interface PrefetchableLoader {
        prefetchChunks?: (vs: ViewState) => Promise<void>;
        prefetchChunkBoundary?: (
            current: ViewState,
            predicted: ViewState,
        ) => Promise<void>;
    }
    Index
    prefetchChunks?: (vs: ViewState) => Promise<void>
    prefetchChunkBoundary?: (
        current: ViewState,
        predicted: ViewState,
    ) => Promise<void>