updateWindow
fn
void updateWindow(alias updateWindowLoop, alias finishWindowLoop)() @trustedUpdates the window every frame with the given function. Returns when the given function returns true.