@pmndrs/bvh
    Preparing search index...

    Interface GpuAnyHits

    An any-hit batch's results.

    interface GpuAnyHits {
        blockedCount: number;
        count: number;
        gpuMs: number | null;
        results: Uint32Array;
        wallMs: number;
        blocked(index: number): boolean;
    }

    Hierarchy (View Summary)

    Index
    blockedCount: number

    Rays blocked.

    count: number
    gpuMs: number | null

    GPU milliseconds of the dispatch (timestamps), or null without timestamp-query (or with timestamps: false).

    results: Uint32Array

    One word per ray: 1 blocked, 0 clear.

    wallMs: number

    CPU wall milliseconds from the submit to the results on the CPU (dispatch plus readback).

    • Whether ray index is blocked.

      Parameters

      • index: number

      Returns boolean