Nebula
Loading...
Searching...
No Matches
Game::FrameEvent::Callback Struct Reference

#include <frameevent.h>

Detailed Description

A callback which runs once per event run.

Callbacks are executed in order together with the batches, which is what lets a callback sit between the processors of the event

Public Attributes

int order = 100
 sorting order within the frame event
ProcessorPhase phase = PlayPhase
 which world mode the callback is allowed to run in
std::function< void(World *)> func

Member Data Documentation

◆ func

std::function<void(World*)> Game::FrameEvent::Callback::func

◆ order

int Game::FrameEvent::Callback::order = 100

sorting order within the frame event

◆ phase

ProcessorPhase Game::FrameEvent::Callback::phase = PlayPhase

which world mode the callback is allowed to run in


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