@pmndrs/bvh
    Preparing search index...

    Interface GpuTopLevelOptions

    interface GpuTopLevelOptions {
        buildIn?: "worker" | "main";
        diagnostics?: boolean;
        label?: string;
        qualityCheckIntervalMs?: number;
        rebuildCostRatio?: number;
        warn?: (message: string) => void;
    }
    Index
    buildIn?: "worker" | "main"

    worker (default) builds shapes in a module worker; main on this thread (on a later turn).

    diagnostics?: boolean

    Read the refit's stats back for counters and warnings. Off by default: then nothing is ever read back.

    label?: string
    qualityCheckIntervalMs?: number
    rebuildCostRatio?: number
    warn?: (message: string) => void

    Where a refit that had to be repaired is reported (once). Defaults to console.warn.