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

Main schedule - main thread execution. More...

#include <schedules.hpp>

Static Public Member Functions

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

Detailed Description

Main schedule - main thread execution.

Main schedule in the MainStage (executes every frame). Used for tasks that must run on the main thread. Examples: window event handling, input polling, main thread UI updates.

Definition at line 135 of file schedules.hpp.

Member Function Documentation

◆ After()

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

◆ Before()

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

◆ GetName()

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

◆ GetStage()

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

Definition at line 136 of file schedules.hpp.

136{ return ScheduleIdOf<MainStage>(); }