@pmndrs/bvh
    Preparing search index...

    Interface BvhBuildRequest

    Per-build options of BvhWorkerPool.build, besides the tree's own.

    interface BvhBuildRequest {
        onStart?: () => void;
        signal?: AbortSignal;
        transferInput?: boolean;
    }
    Index
    onStart?: () => void

    Called once when a worker (or the calling thread) takes this build, after it waited in the queue.

    signal?: AbortSignal

    Cancels the build. A build still waiting for a worker never starts; one already running finishes in its worker (a tinybvh build can't be interrupted) and its result is dropped. Either way the promise rejects with an AbortError at once.

    transferInput?: boolean

    Overrides the pool's transferInput for this build.