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

First schedule - runs first in the UpdateStage. 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, 0 >
 
static constexpr std::string_view GetName () noexcept
 

Detailed Description

First schedule - runs first in the UpdateStage.

First schedule in the UpdateStage (executes every frame). Runs after the MainStage and before PreUpdate. Used for tasks that need to run at the very beginning of the update phase. Executes: Before(PreUpdate)

Definition at line 160 of file schedules.hpp.

Member Function Documentation

◆ After()

static constexpr auto helios::app::First::After ( ) -> std::array<ScheduleId, 0>
inlinestaticconstexprnoexcept

◆ Before()

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

Definition at line 222 of file schedules.hpp.

222 {
223 return {ScheduleIdOf<PreUpdate>()};
224}

◆ GetName()

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

◆ GetStage()

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

Definition at line 161 of file schedules.hpp.

161{ return ScheduleIdOf<UpdateStage>(); }