fast-mesh-wasm
    Preparing search index...

    Function useMeshDisplay

    • A mesh's display and its setter (store.setDisplay). The toggle-button pattern is pressed = state.desired.coloring !== null, with busy = state.status === "computing". A mesh not in the store (removed, or rendered on the server) reads as REMOVED_MESH_STATE: "idle", default display. The setter throws UNKNOWN_MESH for such a mesh.

      Parameters

      Returns [MeshDisplay, (patch: Partial<DisplayState>) => void]