GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::physics::ScheduleStepOptions< N > Struct Template Reference

Options for scheduling a step of a Simulation. More...

#include <GREM/physics/Simulation.hpp>

Public Attributes

FunctionView< void(Scheduler< N > &scheduler)> addPreBroadphaseUpdateTasks
 Callback for scheduling additional user-defined tasks to be executed before updating the broadphase.
FunctionView< void(Scheduler< N > &scheduler)> addPostBroadphaseUpdateTasks
 Callback for scheduling additional user-defined tasks to be executed after updating the broadphase.
FunctionView< void(Scheduler< N > &scheduler)> addPreCollisionDetectionTasks
 Callback for scheduling additional user-defined tasks to be executed before collision detection.
FunctionView< void(Scheduler< N > &scheduler)> addPostCollisionDetectionTasks
 Callback for scheduling additional user-defined tasks to be executed after collision detection.
FunctionView< void(Scheduler< N > &scheduler)> addPreSolverTasks
 Callback for scheduling additional user-defined tasks to be executed before any iterations of the constraint solver.
FunctionView< void(Scheduler< N > &scheduler)> addPreSolverIterationTasks
 Callback for scheduling additional user-defined tasks to be executed before each iteration of the constraint solver.
FunctionView< void(Scheduler< N > &scheduler)> addPostSolverIterationTasks
 Callback for scheduling additional user-defined tasks to be executed after each iteration of the constraint solver.
FunctionView< void(Scheduler< N > &scheduler)> addPostSolverTasks
 Callback for scheduling additional user-defined tasks to be executed after all iterations of the constraint solver.
FunctionView< void(Scheduler< N > &scheduler)> addPreRestitutionTasks
 Callback for scheduling additional user-defined tasks to be executed before applying contact restitution.
FunctionView< void(Scheduler< N > &scheduler)> addPostRestitutionTasks
 Callback for scheduling additional user-defined tasks to be executed after applying contact restitution.

Detailed Description

template<size_t N>
struct grem::physics::ScheduleStepOptions< N >

Options for scheduling a step of a Simulation.

Template Parameters
Nnumber of dimensions of the world space (must be 2 or 3).

Member Data Documentation

◆ addPreBroadphaseUpdateTasks

template<size_t N>
FunctionView<void(Scheduler<N>& scheduler)> grem::physics::ScheduleStepOptions< N >::addPreBroadphaseUpdateTasks
Initial value:
= [](Scheduler<N>&) -> void {
}
execution::Scheduler< EntityRegistry< N >, ResourceRegistry< N > > Scheduler
Scheduler used by a Simulation.
Definition Simulation.hpp:332

Callback for scheduling additional user-defined tasks to be executed before updating the broadphase.

◆ addPostBroadphaseUpdateTasks

template<size_t N>
FunctionView<void(Scheduler<N>& scheduler)> grem::physics::ScheduleStepOptions< N >::addPostBroadphaseUpdateTasks
Initial value:
= [](Scheduler<N>&) -> void {
}

Callback for scheduling additional user-defined tasks to be executed after updating the broadphase.

◆ addPreCollisionDetectionTasks

template<size_t N>
FunctionView<void(Scheduler<N>& scheduler)> grem::physics::ScheduleStepOptions< N >::addPreCollisionDetectionTasks
Initial value:
= [](Scheduler<N>&) -> void {
}

Callback for scheduling additional user-defined tasks to be executed before collision detection.

◆ addPostCollisionDetectionTasks

template<size_t N>
FunctionView<void(Scheduler<N>& scheduler)> grem::physics::ScheduleStepOptions< N >::addPostCollisionDetectionTasks
Initial value:
= [](Scheduler<N>&) -> void {
}

Callback for scheduling additional user-defined tasks to be executed after collision detection.

◆ addPreSolverTasks

template<size_t N>
FunctionView<void(Scheduler<N>& scheduler)> grem::physics::ScheduleStepOptions< N >::addPreSolverTasks
Initial value:
= [](Scheduler<N>&) -> void {
}

Callback for scheduling additional user-defined tasks to be executed before any iterations of the constraint solver.

◆ addPreSolverIterationTasks

template<size_t N>
FunctionView<void(Scheduler<N>& scheduler)> grem::physics::ScheduleStepOptions< N >::addPreSolverIterationTasks
Initial value:
= [](Scheduler<N>&) -> void {
}

Callback for scheduling additional user-defined tasks to be executed before each iteration of the constraint solver.

◆ addPostSolverIterationTasks

template<size_t N>
FunctionView<void(Scheduler<N>& scheduler)> grem::physics::ScheduleStepOptions< N >::addPostSolverIterationTasks
Initial value:
= [](Scheduler<N>&) -> void {
}

Callback for scheduling additional user-defined tasks to be executed after each iteration of the constraint solver.

◆ addPostSolverTasks

template<size_t N>
FunctionView<void(Scheduler<N>& scheduler)> grem::physics::ScheduleStepOptions< N >::addPostSolverTasks
Initial value:
= [](Scheduler<N>&) -> void {
}

Callback for scheduling additional user-defined tasks to be executed after all iterations of the constraint solver.

◆ addPreRestitutionTasks

template<size_t N>
FunctionView<void(Scheduler<N>& scheduler)> grem::physics::ScheduleStepOptions< N >::addPreRestitutionTasks
Initial value:
= [](Scheduler<N>&) -> void {
}

Callback for scheduling additional user-defined tasks to be executed before applying contact restitution.

◆ addPostRestitutionTasks

template<size_t N>
FunctionView<void(Scheduler<N>& scheduler)> grem::physics::ScheduleStepOptions< N >::addPostRestitutionTasks
Initial value:
= [](Scheduler<N>&) -> void {
}

Callback for scheduling additional user-defined tasks to be executed after applying contact restitution.


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