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.
 
Tree structure
float mSAHCost = 0.0f
 Surface Area Heuristic cost of this tree.
 
int mMinDepth = 0
 Minimal depth of tree (number of nodes)
 
int mMaxDepth = 0
 Maximum depth of tree (number of nodes)
 
int mNodeCount = 0
 Number of nodes in the tree.
 
int mLeafNodeCount = 0
 Number of leaf nodes (that contain triangles)
 
Configured stats
int mMaxTrianglesPerLeaf = 0
 Configured max triangles per leaf.
 
Actual stats
int mTreeMinTrianglesPerLeaf = 0
 Minimal amount of triangles in a leaf.
 
int mTreeMaxTrianglesPerLeaf = 0
 Maximal amount of triangles in a leaf.
 
float mTreeAvgTrianglesPerLeaf = 0.0f
 Average amount of triangles in leaf nodes.
 

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: