Jolt Physics
A multi core friendly Game Physics Engine
|
Contacts are allocated in a lock free hash map. More...
#include <ContactConstraintManager.h>
Public Member Functions | |
LFHMAllocatorContext (LFHMAllocator &inAllocator, uint32 inBlockSize) | |
Construct a new allocator context. | |
Public Member Functions inherited from LFHMAllocatorContext | |
LFHMAllocatorContext (LFHMAllocator &inAllocator, uint32 inBlockSize) | |
Construct a new allocator context. | |
bool | Allocate (uint32 inSize, uint32 inAlignment, uint32 &outWriteOffset) |
Allocate data block. | |
Public Member Functions inherited from NonCopyable | |
NonCopyable ()=default | |
NonCopyable (const NonCopyable &)=delete | |
void | operator= (const NonCopyable &)=delete |
Public Attributes | |
uint | mNumBodyPairs = 0 |
Total number of body pairs added using this allocator. | |
uint | mNumManifolds = 0 |
Total number of manifolds added using this allocator. | |
EPhysicsUpdateError | mErrors = EPhysicsUpdateError::None |
Errors reported on this allocator. | |
Contacts are allocated in a lock free hash map.
|
inline |
Construct a new allocator context.
EPhysicsUpdateError ContactConstraintManager::ContactAllocator::mErrors = EPhysicsUpdateError::None |
Errors reported on this allocator.
uint ContactConstraintManager::ContactAllocator::mNumBodyPairs = 0 |
Total number of body pairs added using this allocator.
uint ContactConstraintManager::ContactAllocator::mNumManifolds = 0 |
Total number of manifolds added using this allocator.