This PR adds a new pause() option to the EngineBuilder and a new function setPaused() to the Engine. While paused, the rendering thread will pause indefinitely for commands as if none are available. As soon as the rendering thread is unpaused, the commands are immediately executed.
This PR adds a new
pause()
option to theEngine
Builder
and a new functionsetPaused()
to theEngine
. While paused, the rendering thread will pause indefinitely for commands as if none are available. As soon as the rendering thread is unpaused, the commands are immediately executed.