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.

Parameters:
  • id – The BVH identifier

  • group – The group identifier

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.