Kohi Game Engine
|
Represents a registered system. Function pointers for init, shutdown and (optionally) update are held here, as well as state for the system. More...
#include <systems_manager.h>
Data Fields | |
u64 | state_size |
The size of the state for the system. More... | |
void * | state |
The state for the system. More... | |
PFN_system_initialize | initialize |
A function pointer for the initialization routine. Required. More... | |
PFN_system_shutdown | shutdown |
A function pointer for the shutdown routine. Required. More... | |
PFN_system_update | update |
A function pointer for the system's update routine, called every frame. Optional. More... | |
Represents a registered system. Function pointers for init, shutdown and (optionally) update are held here, as well as state for the system.
PFN_system_initialize initialize |
A function pointer for the initialization routine. Required.
PFN_system_shutdown shutdown |
A function pointer for the shutdown routine. Required.
void* state |
The state for the system.
u64 state_size |
The size of the state for the system.
PFN_system_update update |
A function pointer for the system's update routine, called every frame. Optional.