Helios Engine 0.1.0
A modular ECS based data-oriented C++23 game engine
 
Loading...
Searching...
No Matches
helios::app::PreUpdate Struct Reference

PreUpdate schedule - runs before the main update. More...

#include <schedules.hpp>

Static Public Member Functions

static constexpr ScheduleId GetStage () noexcept
 
static constexpr auto Before () noexcept -> std::array< ScheduleId, 1 >
 
static constexpr auto After () noexcept -> std::array< ScheduleId, 1 >
 
static constexpr std::string_view GetName () noexcept
 

Detailed Description

PreUpdate schedule - runs before the main update.

Runs after First schedule in the UpdateStage (executes every frame). Used for pre-processing tasks that must complete before main update logic. Executes: After(First) and Before(Update)

Definition at line 173 of file schedules.hpp.

Member Function Documentation

◆ After()

static constexpr auto helios::app::PreUpdate::After ( ) -> std::array<ScheduleId, 1>
inlinestaticconstexprnoexcept
Examples
/home/runner/work/HeliosEngine/HeliosEngine/src/core/include/helios/core/app/schedules.hpp.

Definition at line 176 of file schedules.hpp.

176{ return {ScheduleIdOf<First>()}; }

◆ Before()

constexpr auto helios::app::PreUpdate::Before ( ) -> std::array<ScheduleId, 1>
staticconstexprnoexcept
Examples
/home/runner/work/HeliosEngine/HeliosEngine/src/core/include/helios/core/app/schedules.hpp.

Definition at line 226 of file schedules.hpp.

226 {
227 return {ScheduleIdOf<Update>()};
228}

◆ GetName()

static constexpr std::string_view helios::app::PreUpdate::GetName ( )
inlinestaticconstexprnoexcept

◆ GetStage()

static constexpr ScheduleId helios::app::PreUpdate::GetStage ( )
inlinestaticconstexprnoexcept
Examples
/home/runner/work/HeliosEngine/HeliosEngine/src/core/include/helios/core/app/schedules.hpp.

Definition at line 174 of file schedules.hpp.

174{ return ScheduleIdOf<UpdateStage>(); }