@pmndrs/bvh
    Preparing search index...

    Interface GpuTreeBatchResult

    What one batch gave, once its stats were read back.

    interface GpuTreeBatchResult {
        buildMs: number;
        built: readonly GpuBuiltTree[];
        failure: string | null;
        gpuMs?: number | null;
        refused: readonly GpuRefusedTree[];
    }
    Index
    buildMs: number

    Milliseconds from the submit to the stats on the CPU (the build plus the readback's latency).

    built: readonly GpuBuiltTree[]
    failure: string | null

    Why the whole batch failed (it couldn't start, or its readback failed), or null. Its meshes are then all in refused.

    gpuMs?: number | null

    GPU milliseconds of the batch's compute pass, from timestamps (timestamps: true on a device with timestamp-query), else null or absent.

    refused: readonly GpuRefusedTree[]