warp.bvh_get_group_root#

warp.bvh_get_group_root(id: uint64, group: int32) int#
  • Kernel

Get the root of a group in a BVH.

Returns the root node index for the specified group. If the group does not exist, returns -1 (sentinel for the BVH global root). Pass -1 to BVH queries to traverse from the global root.

param id:

The BVH identifier

param group:

The group identifier