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. More... | |
Public Member Functions inherited from LFHMAllocatorContext | |
LFHMAllocatorContext (LFHMAllocator &inAllocator, uint32 inBlockSize) | |
Construct a new allocator context. More... | |
bool | Allocate (uint32 inSize, uint32 inAlignment, uint32 &outWriteOffset) |
Allocate data block. More... | |
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. More... | |
uint | mNumManifolds = 0 |
Total number of manifolds added using this allocator. More... | |
EPhysicsUpdateError | mErrors = EPhysicsUpdateError::None |
Errors reported on this allocator. More... | |
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.