Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
ContactConstraintManager::ContactAllocator Class Reference

Contacts are allocated in a lock free hash map. More...

#include <ContactConstraintManager.h>

Inheritance diagram for ContactConstraintManager::ContactAllocator:
LFHMAllocatorContext NonCopyable

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...
 

Detailed Description

Contacts are allocated in a lock free hash map.

Member Function Documentation

◆ LFHMAllocatorContext()

LFHMAllocatorContext::LFHMAllocatorContext ( LFHMAllocator inAllocator,
uint32  inBlockSize 
)
inline

Construct a new allocator context.

Member Data Documentation

◆ mErrors

EPhysicsUpdateError ContactConstraintManager::ContactAllocator::mErrors = EPhysicsUpdateError::None

Errors reported on this allocator.

◆ mNumBodyPairs

uint ContactConstraintManager::ContactAllocator::mNumBodyPairs = 0

Total number of body pairs added using this allocator.

◆ mNumManifolds

uint ContactConstraintManager::ContactAllocator::mNumManifolds = 0

Total number of manifolds added using this allocator.


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