Blender V5.0
BVHBuildHelper Struct Reference

Public Attributes

int tree_type
int leafs_num
int leafs_per_child [32]
int branches_on_level [32]
int remain_leafs

Detailed Description

Definition at line 553 of file BLI_kdopbvh.cc.

Member Data Documentation

◆ branches_on_level

int BVHBuildHelper::branches_on_level[32]

Number of nodes at depth N (tree_type^N).

Definition at line 560 of file BLI_kdopbvh.cc.

◆ leafs_num

int BVHBuildHelper::leafs_num

Definition at line 555 of file BLI_kdopbvh.cc.

◆ leafs_per_child

int BVHBuildHelper::leafs_per_child[32]

Min number of leafs that are achievable from a node at depth N.

Definition at line 558 of file BLI_kdopbvh.cc.

◆ remain_leafs

int BVHBuildHelper::remain_leafs

Number of leafs that are placed on the level that is not 100% filled

Definition at line 563 of file BLI_kdopbvh.cc.

◆ tree_type

int BVHBuildHelper::tree_type

Definition at line 554 of file BLI_kdopbvh.cc.


The documentation for this struct was generated from the following file: