Jolt Physics
A multi core friendly Game Physics Engine
|
#include <JobSystemSingleThreaded.h>
Public Member Functions | |
virtual JPH_OVERRIDE_NEW_DELETE void | AddJob (const JobHandle &inJob) override |
virtual void | AddJobs (const JobHandle *inHandles, uint inNumHandles) override |
Public Member Functions inherited from NonCopyable | |
NonCopyable ()=default | |
NonCopyable (const NonCopyable &)=delete | |
void | operator= (const NonCopyable &)=delete |
Protected Member Functions | |
virtual void | OnJobFinished (Job *inJob) override |
Called by a Job to mark that it is finished. | |
Protected Member Functions inherited from JobSystem::Barrier | |
virtual | ~Barrier ()=default |
Destructor, you should call JobSystem::DestroyBarrier instead of destructing this object directly. | |
|
inlineoverridevirtual |
Add a job to this barrier Note that jobs can keep being added to the barrier while waiting for the barrier
Implements JobSystem::Barrier.
|
inlineoverridevirtual |
Add multiple jobs to this barrier Note that jobs can keep being added to the barrier while waiting for the barrier
Implements JobSystem::Barrier.
|
inlineoverrideprotectedvirtual |
Called by a Job to mark that it is finished.
Implements JobSystem::Barrier.