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

#include <frameevent.h>

Detailed Description

Used to register a frame event in the frame pipeline.

Public Attributes

int order = 100
 sorting order of the event in the pipeline
Util::StringAtom name
 name of the event, processors are attached to it with ProcessorBuilder::On
Timing::Time fixedStep = 0.0
 0 means the event runs once per app frame.
uint32_t timeSourceHash = 0
 time source the fixed steps come from. Only used when fixedStep is non-zero

Member Data Documentation

◆ fixedStep

Timing::Time Game::FrameEventCreateInfo::fixedStep = 0.0

0 means the event runs once per app frame.

When non-zero the event runs once for every fixed step the time source has available this frame

◆ name

Util::StringAtom Game::FrameEventCreateInfo::name

name of the event, processors are attached to it with ProcessorBuilder::On

◆ order

int Game::FrameEventCreateInfo::order = 100

sorting order of the event in the pipeline

◆ timeSourceHash

uint32_t Game::FrameEventCreateInfo::timeSourceHash = 0

time source the fixed steps come from. Only used when fixedStep is non-zero


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