updateWindow

fnvoid updateWindow(UpdateFunc updateFunc, CallFunc finishFunc = null) @trusted

Starts the main window loop. Accepts an update function and optional debug callbacks. Returns when the update function returns true. Avoid calling this function manually.