RavEngine
Loading...
Searching...
No Matches
physx::Gu::BuildStats Struct Reference

Contains AABB-tree build statistics. More...

#include <GuAABBTreeBuildStats.h>

Public Member Functions

PX_FORCE_INLINE void reset ()
 
PX_FORCE_INLINE void setCount (PxU32 nb)
 
PX_FORCE_INLINE void increaseCount (PxU32 nb)
 
PX_FORCE_INLINE PxU32 getCount () const
 

Public Attributes

PxU32 mCount
 Number of nodes created.
 
PxU32 mTotalPrims
 

Detailed Description

Contains AABB-tree build statistics.

Member Data Documentation

◆ mTotalPrims

PxU32 physx::Gu::BuildStats::mTotalPrims

Total accumulated number of primitives. Should be much higher than the source number of prims, since it accumulates all prims covered by each node (i.e. internal nodes too, not just leaf ones)


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