C/C++ SDK / C ABI · Editor / KroysServiceCallbacks
KroysServiceCallbacks
A per-frame editor service (editor->RegisterService).
Kindstruct
Headerkroys/kroys_plugin.h
Members4
Functions1
DECLARATION
Declaration
Declared in kroys/kroys_plugin.h.
kroys_plugin.h
typedef struct KroysServiceCallbacks { ... } KroysServiceCallbacks;
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.
#uint32_t reserved;Padding reserved for later use; leave it 0.
#void* userData;Plugin-owned pointer passed back unchanged to every callback of this table; the host never dereferences it.
Functions
#void (KROYS_CALL* Tick)(void* userData, float deltaSeconds);Runs once per editor frame (main thread).
Members
uint32_t structSize; uint32_t reserved; void* userData; void (KROYS_CALL* Tick)(void* userData, float deltaSeconds);
KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.