@pmndrs/bvh
    Preparing search index...

    Interface BvhWorkerPool

    interface BvhWorkerPool {
        inlineReason: string | null;
        size: number;
        stats: BvhWorkerPoolStats;
        usesWorkers: boolean;
        build(
            geometry: MeshGeometry,
            options?: MeshBvhBuildOptions,
            request?: BvhBuildRequest,
        ): Promise<MeshBvh>;
        dispose(): void;
    }
    Index
    inlineReason: string | null

    Why builds run inline: worker: 'never', no Worker here, or the error of the worker that couldn't start or load ('auto' then builds inline). Null while builds run in workers.

    size: number

    The most builds that run at once: the pool's size, or 1 inline.

    usesWorkers: boolean

    Whether builds run in workers (false: inline, on the calling thread).

    • Stops every worker. Builds still queued or running reject.

      Returns void