GLWindow.sendMessage

void sendMessage(gstgl.types.GLWindowCB callback)

Invoke callback with data on the window thread. callback is guaranteed to have executed when this function returns.

Parameters

callbackfunction to invoke