|
RavEngine
|
AABB-tree, N primitives/leaf. More...
#include <GuAABBTree.h>
Public Member Functions | |
| PX_PHYSX_COMMON_API bool | build (const AABBTreeBuildParams ¶ms, NodeAllocator &nodeAllocator) |
| PX_PHYSX_COMMON_API PxU32 | progressiveBuild (const AABBTreeBuildParams ¶ms, NodeAllocator &nodeAllocator, BuildStats &stats, PxU32 progress, PxU32 limit) |
| PX_PHYSX_COMMON_API void | release (bool clearRefitMap=true) |
| PX_PHYSX_COMMON_API void | mergeTree (const AABBTreeMergeData &tree) |
| PX_PHYSX_COMMON_API void | initTree (const AABBTreeMergeData &tree) |
| PX_FORCE_INLINE PxU32 | getTotalPrims () const |
| PX_PHYSX_COMMON_API void | shiftOrigin (const PxVec3 &shift) |
| PX_PHYSX_COMMON_API void | shiftIndices (PxU32 offset) |
Public Member Functions inherited from physx::Gu::BVHPartialRefitData | |
| PX_PHYSX_COMMON_API void | releasePartialRefitData (bool clearRefitMap) |
| PX_PHYSX_COMMON_API void | markNodeForRefit (TreeNodeIndex nodeIndex) |
| PX_PHYSX_COMMON_API void | refitMarkedNodes (const PxBounds3 *boxes) |
| PX_FORCE_INLINE PxU32 * | getUpdateMap () |
| void | createUpdateMap (PxU32 nbObjects) |
Public Member Functions inherited from physx::Gu::BVHCoreData | |
| PX_FORCE_INLINE PxU32 | getNbIndices () const |
| PX_FORCE_INLINE const PxU32 * | getIndices () const |
| PX_FORCE_INLINE PxU32 * | getIndices () |
| PX_FORCE_INLINE void | setIndices (PxU32 *indices) |
| PX_FORCE_INLINE PxU32 | getNbNodes () const |
| PX_FORCE_INLINE const BVHNode * | getNodes () const |
| PX_FORCE_INLINE BVHNode * | getNodes () |
| PX_PHYSX_COMMON_API void | fullRefit (const PxBounds3 *boxes) |
Public Member Functions inherited from physx::PxUserAllocated | |
| PX_INLINE void * | operator new (size_t, void *address) |
| PX_INLINE void | operator delete (void *, void *) |
| template<typename Alloc > | |
| PX_INLINE void * | operator new (size_t size, Alloc alloc, const char *fileName, int line) |
| template<typename Alloc > | |
| PX_INLINE void * | operator new (size_t size, size_t, Alloc alloc, const char *fileName, int line) |
| template<typename Alloc > | |
| PX_INLINE void * | operator new[] (size_t size, Alloc alloc, const char *fileName, int line) |
| template<typename Alloc > | |
| PX_INLINE void * | operator new[] (size_t size, size_t, Alloc alloc, const char *fileName, int line) |
| template<typename Alloc > | |
| PX_INLINE void | operator delete (void *ptr, Alloc alloc, const char *fileName, int line) |
| template<typename Alloc > | |
| PX_INLINE void | operator delete[] (void *ptr, Alloc alloc, const char *fileName, int line) |
| PX_INLINE void | operator delete (void *ptr) |
| PX_INLINE void | operator delete[] (void *ptr) |
Additional Inherited Members | |
Public Attributes inherited from physx::Gu::BVHCoreData | |
| PxU32 | mNbIndices |
| Nb indices. | |
| PxU32 | mNbNodes |
| Number of nodes in the tree. | |
| BVHNode * | mNodes |
| Linear pool of nodes. | |
| PxU32 * | mIndices |
| Indices in the app list. Indices are reorganized during build (permutation). | |
Protected Member Functions inherited from physx::Gu::BVHPartialRefitData | |
| PxU32 * | getParentIndices () |
Protected Attributes inherited from physx::Gu::BVHPartialRefitData | |
| PxU32 * | mParentIndices |
| PT: hot/cold split, keep parent data in separate array. | |
| PxU32 * | mUpdateMap |
| PT: Local index to tree node index. | |
| BitArray | mRefitBitmask |
| bit is set for each node index in markForRefit | |
| PxU32 | mRefitHighestSetWord |
AABB-tree, N primitives/leaf.