Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
AABBTreeBuilderStats Struct Reference

#include <AABBTreeBuilder.h>

Public Attributes

Splitter stats
TriangleSplitter::Stats mSplitterStats
 Stats returned by the triangle splitter algorithm. More...
 
Tree structure
float mSAHCost = 0.0f
 Surface Area Heuristic cost of this tree. More...
 
int mMinDepth = 0
 Minimal depth of tree (number of nodes) More...
 
int mMaxDepth = 0
 Maximum depth of tree (number of nodes) More...
 
int mNodeCount = 0
 Number of nodes in the tree. More...
 
int mLeafNodeCount = 0
 Number of leaf nodes (that contain triangles) More...
 
Configured stats
int mMaxTrianglesPerLeaf = 0
 Configured max triangles per leaf. More...
 
Actual stats
int mTreeMinTrianglesPerLeaf = 0
 Minimal amount of triangles in a leaf. More...
 
int mTreeMaxTrianglesPerLeaf = 0
 Maximal amount of triangles in a leaf. More...
 
float mTreeAvgTrianglesPerLeaf = 0.0f
 Average amount of triangles in leaf nodes. More...
 

Member Data Documentation

◆ mLeafNodeCount

int AABBTreeBuilderStats::mLeafNodeCount = 0

Number of leaf nodes (that contain triangles)

◆ mMaxDepth

int AABBTreeBuilderStats::mMaxDepth = 0

Maximum depth of tree (number of nodes)

◆ mMaxTrianglesPerLeaf

int AABBTreeBuilderStats::mMaxTrianglesPerLeaf = 0

Configured max triangles per leaf.

◆ mMinDepth

int AABBTreeBuilderStats::mMinDepth = 0

Minimal depth of tree (number of nodes)

◆ mNodeCount

int AABBTreeBuilderStats::mNodeCount = 0

Number of nodes in the tree.

◆ mSAHCost

float AABBTreeBuilderStats::mSAHCost = 0.0f

Surface Area Heuristic cost of this tree.

◆ mSplitterStats

TriangleSplitter::Stats AABBTreeBuilderStats::mSplitterStats

Stats returned by the triangle splitter algorithm.

◆ mTreeAvgTrianglesPerLeaf

float AABBTreeBuilderStats::mTreeAvgTrianglesPerLeaf = 0.0f

Average amount of triangles in leaf nodes.

◆ mTreeMaxTrianglesPerLeaf

int AABBTreeBuilderStats::mTreeMaxTrianglesPerLeaf = 0

Maximal amount of triangles in a leaf.

◆ mTreeMinTrianglesPerLeaf

int AABBTreeBuilderStats::mTreeMinTrianglesPerLeaf = 0

Minimal amount of triangles in a leaf.


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