3 ms·
You're still going to be updating at 60 FPS which will absolutely murder your battery on a mobile device. These are meant for use in games that already do this
by DagAgren 6y ago
You're still going to be updating at 60 FPS which will absolutely murder your battery on a mobile device.
These are meant for use in games that already do this. They are not suitable for building regular apps.
- maeln 6y agoThey are perfectly suitable for regular app. You don't need to update them at 60fps, you have the entire control of the rendering state, so you could decide to update the gui whenever it is needed and not at a constant fps.
- FraKtus 6y agoYou can update when you want and only on changes if it works better for your case.
- ducktective 6y agoI think Nuklear had an option for dynamic update rate. Not sure though
- flohofwoe 6y agoThe common solution is to only update rendering when input happens, and otherwise sleep. That's fairly common for ImGui applications outside games (in games it doesn't make sense of course, since those usually render each frame anyway).