fast-mesh-wasm
    Preparing search index...

    Interface SceneSnapshot

    An immutable view of a store's scene; replaced (never mutated) on change.

    interface SceneSnapshot {
        error?: FastMeshError;
        history: { canRedo: boolean; canUndo: boolean };
        meshes: ReadonlyMap<MeshHandle, MeshState>;
        revision: number;
        sections: ReadonlyMap<SectionHandle, SectionState>;
        selection: MeshHandle | null;
        status: "idle" | "error" | "computing";
    }
    Index

    The first error, when status is "error".

    history: { canRedo: boolean; canUndo: boolean }
    meshes: ReadonlyMap<MeshHandle, MeshState>
    revision: number

    Increases with every new snapshot.

    sections: ReadonlyMap<SectionHandle, SectionState>
    selection: MeshHandle | null
    status: "idle" | "error" | "computing"

    "error" when any mesh, section or the history has an error, else "computing" while any is pending.