@pmndrs/bvh
    Preparing search index...

    Function sdfKernelWgsl

    • The SDF kernel: the trace module (group 0, queries: true) and its own group 1, BvhSdfParams at binding 0 and the output at binding 1. Entry point bvhSdfGenerate, workgroups of 4 x 4 x 4 voxels. bvhSdfValue(point) is the per-voxel function.

      Parameters

      Returns string