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

Update schedule - main update logic. 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

Update schedule - main update logic.

Main update schedule in the UpdateStage (executes every frame). Used for core game/simulation logic. Executes: After(PreUpdate) and Before(PostUpdate)

Definition at line 186 of file schedules.hpp.

Member Function Documentation

◆ After()

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

Definition at line 189 of file schedules.hpp.

189{ return {ScheduleIdOf<PreUpdate>()}; }

◆ Before()

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

Definition at line 230 of file schedules.hpp.

230 {
231 return {ScheduleIdOf<PostUpdate>()};
232}

◆ GetName()

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

◆ GetStage()

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

Definition at line 187 of file schedules.hpp.

187{ return ScheduleIdOf<UpdateStage>(); }