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

    How a loader wraps a resolved array_ref target — normally with its L0 proxy (wrapWithCache(array, l0, targetPath, hooks)), so target reads hit the decompressed-chunk cache exactly like the loader's own attribute arrays. Injected (rather than imported) so this module stays free of the cache module and its config import.

    interface RefTargetWrapper {
        wrap(
            array: Array<DataType, Readable>,
            targetPath: string,
        ): Array<DataType, Readable>;
        epoch(): number;
    }
    Index