enqueue_virtual_event
September 8th 2024
Push an event to the core to be processed as if it were a real event
Signature
b32
enqueue_virtual_event(Application_Links* app,
Input_Event* event);
Parameters
app
the standard custom layer context pointer
event
a pointer to an event struct that contains the information that will be in the virtual event
Return
on success, when the event specified is validly formed, non-zero is returned, otherwise zero is returned
Details
All virtual events are triggered after all directly enqueued commands, before the next real event, and before the current frame renders.