LanguageEnglish
  • C#

GpuBvhBuildOptions.maxLeafSize

public uint maxLeafSize;

Description

The maximum number of primitives allowed in a leaf node.

If this value is more than 1, the BVH builder can pack multiple triangles into a node, but it only does so when the increase preserves the traversal performance. Default value: 1.


Did you find this page useful? Please give it a rating: