CommitListener

sg_commit_listener

Used with function sg_add_commit_listener() to add a callback which will be called in sg_commit(). This is useful for libraries building on top of sokol-gfx to be notified about when a frame ends (instead of having to guess, or add a manual 'new-frame' function

Members

Variables

func
void function(void*) func;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
user_data
void* user_data;
Undocumented in source.

Meta