updateWindow

fnvoid updateWindow(alias updateWindowLoop, alias finishWindowLoop)() @trusted

Updates the window every frame with the given function. Returns when the given function returns true.