@pmndrs/bvh
    Preparing search index...

    Class GpuFirstTrees

    H-PLOC first trees (FirstTreeBuilder) on a device with subgroups.

    Implements

    Index
    • hploc is for tests: an H-PLOC builder stand-in.

      Parameters

      • device: GPUDevice
      • options: {
            hploc?: HplocBatchBuilder;
            label?: string;
            triangleLeaves?: "records" | "indexed";
        } = {}

      Returns GpuFirstTrees

    • get queuedBatches(): number

      Capped batches queued and not started (for tests and diagnostics).

      Returns number