Sturcture for holding statistics about the BVH.
More...
#include <BVH.hpp>
Sturcture for holding statistics about the BVH.
Definition at line 81 of file BVH.hpp.
FW::BVH::Stats::Stats |
( |
| ) |
|
|
inline |
Constructor.
Definition at line 86 of file BVH.hpp.
Resets the statistics to the default values.
Definition at line 91 of file BVH.hpp.
void FW::BVH::Stats::print |
( |
void |
| ) |
const |
|
inline |
Prints the statistics to the console.
Definition at line 96 of file BVH.hpp.
S32 FW::BVH::Stats::branchingFactor |
Number of children nodes per one parent node.
Definition at line 99 of file BVH.hpp.
S32 FW::BVH::Stats::numChildNodes |
Total number of children nodes.
Definition at line 102 of file BVH.hpp.
S32 FW::BVH::Stats::numInnerNodes |
Total number of inner nodes.
Definition at line 100 of file BVH.hpp.
S32 FW::BVH::Stats::numLeafNodes |
Total number of leaf nodes.
Definition at line 101 of file BVH.hpp.
S32 FW::BVH::Stats::numTris |
Total number of triangles.
Definition at line 103 of file BVH.hpp.
F32 FW::BVH::Stats::SAHCost |
Total sah cost of the BVH.
Definition at line 98 of file BVH.hpp.
The documentation for this struct was generated from the following file: