Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
PhysicsSystem::BodiesToSleep Class Reference
Inheritance diagram for PhysicsSystem::BodiesToSleep:
NonCopyable

Public Member Functions

 BodiesToSleep (BodyManager &inBodyManager, BodyID *inBodiesToSleepBuffer)
 
 ~BodiesToSleep ()
 
void PutToSleep (const BodyID *inBegin, const BodyID *inEnd)
 
- Public Member Functions inherited from NonCopyable
 NonCopyable ()=default
 
 NonCopyable (const NonCopyable &)=delete
 
void operator= (const NonCopyable &)=delete
 

Static Public Attributes

static constexpr int cBodiesToSleepSize = 512
 
static constexpr int cMaxBodiesToPutInBuffer = 128
 

Constructor & Destructor Documentation

◆ BodiesToSleep()

PhysicsSystem::BodiesToSleep::BodiesToSleep ( BodyManager inBodyManager,
BodyID inBodiesToSleepBuffer 
)
inline

◆ ~BodiesToSleep()

PhysicsSystem::BodiesToSleep::~BodiesToSleep ( )
inline

Member Function Documentation

◆ PutToSleep()

void PhysicsSystem::BodiesToSleep::PutToSleep ( const BodyID inBegin,
const BodyID inEnd 
)
inline

Member Data Documentation

◆ cBodiesToSleepSize

constexpr int PhysicsSystem::BodiesToSleep::cBodiesToSleepSize = 512
staticconstexpr

◆ cMaxBodiesToPutInBuffer

constexpr int PhysicsSystem::BodiesToSleep::cMaxBodiesToPutInBuffer = 128
staticconstexpr

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