Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17560

Where to put GUI when update and render are on separate threads?

$
0
0

Continuing on multithreading exploration, I can't figure out where the GUI should live in a nice way. Most GUI libraries just avoid threading entirely, the two I am aware of and suited for games, CEGUI, and ImGui included. At least with the provided rendering implementations.

I wasn't able to find any example code or really any questions on the topic (a few about multi-threading the UI itself, not what I want), and am wondering if I missed a simple solution to this?

Should the entire GUI (along with handling mouse/keyboard/etc. input) be with the rendering? Or …


Viewing all articles
Browse latest Browse all 17560

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>