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

Configuration for the fixed timestep runner. More...

#include <runners.hpp>

Public Attributes

float fixed_delta_seconds = 1.0F / 60.0F
 Fixed timestep in seconds (default: 60 FPS)
 
uint32_t max_substeps = 10
 Maximum physics substeps per frame to prevent spiral of death.
 
bool update_time_resource = true
 Whether to automatically update the Time resource.
 

Detailed Description

Configuration for the fixed timestep runner.

Definition at line 217 of file runners.hpp.

Member Data Documentation

◆ fixed_delta_seconds

float helios::app::FixedTimestepRunnerConfig::fixed_delta_seconds = 1.0F / 60.0F

Fixed timestep in seconds (default: 60 FPS)

Examples
/home/runner/work/HeliosEngine/HeliosEngine/src/core/include/helios/core/app/runners.hpp.

Definition at line 218 of file runners.hpp.

◆ max_substeps

uint32_t helios::app::FixedTimestepRunnerConfig::max_substeps = 10

Maximum physics substeps per frame to prevent spiral of death.

Examples
/home/runner/work/HeliosEngine/HeliosEngine/src/core/include/helios/core/app/runners.hpp.

Definition at line 219 of file runners.hpp.

◆ update_time_resource

bool helios::app::FixedTimestepRunnerConfig::update_time_resource = true

Whether to automatically update the Time resource.

Examples
/home/runner/work/HeliosEngine/HeliosEngine/src/core/include/helios/core/app/runners.hpp.

Definition at line 220 of file runners.hpp.