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

    Interface SpatialFacadeCtx

    Per-loader context for the shared facade helpers. Built once in each loader's constructor; every field is a stable reference or a this-bound accessor, so the ctx never goes stale.

    interface SpatialFacadeCtx {
        metrics: FacadeMetrics;
        activeQueries: Map<string, QueryInfo>;
        loader: LoaderType;
        path: string;
        sliceCache: SliceCache | null;
        nextQueryId(): number;
        accumulatorMemoryMB(): number;
        emit(event: MonitorEvent): void;
    }
    Index
    metrics: FacadeMetrics

    The loader's live metrics record (mutated in place).

    activeQueries: Map<string, QueryInfo>

    The loader's active-query map (mutated in place).

    loader: LoaderType

    Loader type literal for emitted events.

    path: string

    Node path (S-cache namespace + event payload).

    sliceCache: SliceCache | null

    Shared S-cache; null for progressive sub-LOD instances.