Const
Word positions inside a node. Matches the WGSL BvhNode:
BvhNode
leftMin: vec3f, leftIndex: u32, leftMax: vec3f, rightIndex: u32, rightMin: vec3f, leftCount: u32, rightMax: vec3f, rightCount: u32,
A child with count > 0 is a leaf holding count primitives starting at index. A child with count == 0 is an inner node at index. The same object as GPU_LAYOUT_NODE_WORD, which the GPU refit writes too.
count > 0
count
index
count == 0
Readonly
Word positions inside a node. Matches the WGSL
BvhNode:A child with
count > 0is a leaf holdingcountprimitives starting atindex. A child withcount == 0is an inner node atindex. The same object as GPU_LAYOUT_NODE_WORD, which the GPU refit writes too.