@pmndrs/bvh
    Preparing search index...

    Class TraceBatchKernel

    Runs batches of rays through the trace module. Group 0 is the scene; group 1 is the batch's rays and results (and, with ray masks, its mask). One kernel serves any number of scenes.

    Index
    counters: boolean = false

    Results are BvhWalkCounts records (counters: true).

    hitNormal: boolean

    Closest-hit records are 40 bytes (true) or the compact 24.

    positionLayout: PositionLayout
    rayMasks: boolean
    triangleLeaves: GpuLayoutTriangleLeaves
    • Frees the mask uniforms. The pipelines need no freeing.

      Returns void