Nebula
Loading...
Searching...
No Matches
Game::TimeSourceCreateInfo Struct Reference

#include <timesource.h>

Detailed Description

Used to create a timesource.

Public Attributes

uint32_t hash = 0
 time source hash number. Ex. 'ABC1'
Timing::Time fixedFrameTime = 0.0
 when non-zero the time source advances in fixed steps instead of following real frame time
IndexT maxStepsPerFrame = 5
 how many fixed steps the source can accumulate per frame. Guards against the spiral of death

Member Data Documentation

◆ fixedFrameTime

Timing::Time Game::TimeSourceCreateInfo::fixedFrameTime = 0.0

when non-zero the time source advances in fixed steps instead of following real frame time

◆ hash

uint32_t Game::TimeSourceCreateInfo::hash = 0

time source hash number. Ex. 'ABC1'

◆ maxStepsPerFrame

IndexT Game::TimeSourceCreateInfo::maxStepsPerFrame = 5

how many fixed steps the source can accumulate per frame. Guards against the spiral of death


The documentation for this struct was generated from the following file: