![]() |
Jolt Physics
A multi core friendly Game Physics Engine
|
Specialization that locks multiple bodies for writing to. More...
#include <BodyLockMulti.h>
Additional Inherited Members | |
Public Types inherited from BodyLockMultiBase< true, Body > | |
| using | MutexMask |
| Redefine MutexMask. | |
Public Member Functions inherited from BodyLockMultiBase< true, Body > | |
| BodyLockMultiBase (const BodyLockInterface &inBodyLockInterface, const BodyID *inBodyIDs, int inNumber) | |
| Constructor will lock the bodies. | |
| void | ReleaseLocks () |
| Explicitly release the locks on all bodies (normally this is done in the destructor) | |
| ~BodyLockMultiBase () | |
| Destructor will unlock the bodies. | |
| int | GetNumBodies () const |
| Returns the number of bodies that were locked. | |
| Body * | GetBody (int inBodyIndex) const |
| Access the body (returns null if body was not properly locked) | |
Public Member Functions inherited from NonCopyable | |
| NonCopyable ()=default | |
| NonCopyable (const NonCopyable &)=delete | |
| void | operator= (const NonCopyable &)=delete |
Specialization that locks multiple bodies for writing to.