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

    Interface SourceWarmupState

    Per-source-material state: the compile-time fingerprint the keepers were built against, the keepers pinning the programs, the objects sharing the material, and the material's dispose listener.

    interface SourceWarmupState {
        fingerprint: string;
        keepers: Set<Material<MaterialEventMap>>;
        objects: Set<Object3D<Object3DEventMap>>;
        disposeHandler: () => void;
        variants: Map<string, { mode: BlendingModeName; side?: Side }>;
    }
    Index
    fingerprint: string
    keepers: Set<Material<MaterialEventMap>>
    objects: Set<Object3D<Object3DEventMap>>
    disposeHandler: () => void
    variants: Map<string, { mode: BlendingModeName; side?: Side }>

    Program variants this source USES (variant fingerprint → blend mode and side), whether it owns the keeper for them or shares one compiled for an identical material on another node. Released in clearSource.