@pmndrs/bvh
    Preparing search index...

    Class GpuBvhRefitKernels

    The refit's pipelines and their bind-group layout, compiled once and shared by any number of GpuBvhRefits on the same device.

    Index
    layout: GPUBindGroupLayout
    • get compiled(): {
          clear: GPUComputePipeline;
          climb: GPUComputePipeline;
          repair: GPUComputePipeline;
      }

      The pipelines; throws before prepare has finished.

      Returns {
          clear: GPUComputePipeline;
          climb: GPUComputePipeline;
          repair: GPUComputePipeline;
      }

    • Compiles the kernels (asynchronously, so the main thread doesn't stall); later calls share the first.

      Returns Promise<void>