google / filament

Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, and WebGL2
https://google.github.io/filament/
Apache License 2.0
17.44k stars 1.84k forks source link

Allow rendering thread to pause #7675

Closed elizagamedev closed 4 months ago

elizagamedev commented 4 months ago

This PR adds a new pause() option to the Engine Builder 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.

github-actions[bot] commented 4 months ago

Please add a release note line to NEW_RELEASE_NOTES.md. If this PR does not warrant a release note, add the 'internal' label to this PR.

elizagamedev commented 4 months ago

Okay, everything is addressed properly, I think.