@pmndrs/bvh
    Preparing search index...

    Class ClosestPointBatchKernel

    Runs batches of closest-point queries over a scene (bvhClosestPoint, the trace module with queries: true): points in, the nearest triangle point of the whole scene out, per query. Group 0 is the scene, as for TraceBatchKernel; group 1 the batch's queries and results (and its mask).

    Index
    positionLayout: PositionLayout
    rayMasks: boolean
    triangleLeaves: GpuLayoutTriangleLeaves
    • Frees the mask uniforms. The pipeline needs no freeing.

      Returns void