KROYSDOCS
HomeWhat's newv0.1.0
C/C++ SDK / C ABI · Runtime (system graph) / KroysSystemCallbacks

KroysSystemCallbacks

What a system runs.

Kindstruct
Headerkroys/kroys_plugin.h
Members4
Functions1
DECLARATION

Declaration

Declared in kroys/kroys_plugin.h.

kroys_plugin.h
typedef struct KroysSystemCallbacks { ... } KroysSystemCallbacks;
REFERENCE

Members

Fields
#uint32_t structSize;

Size of this struct as the writer compiled it (sizeof); the reader uses it to detect members appended by later minor versions.

field
#uint32_t reserved;

Padding reserved for later use; leave it 0.

field
#void* userData;

Plugin-owned pointer passed back unchanged to every callback of this table; the host never dereferences it.

field
Functions
#void (KROYS_CALL* Tick)(void* userData, const KroysTickArgs* args);

Runs once per phase step (fixed or frame) on the game thread.

function pointer
Members
uint32_t structSize;
uint32_t reserved;
void* userData;
void (KROYS_CALL* Tick)(void* userData, const KroysTickArgs* args);

KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.