:D Awesome, thanks both of you - actually, the combination of both suggestions does the trick:
a) I detect the unfocusing of the window with isWindowActive() and whenever the window isn't active I use sleep(10)
b) when the mouse focus is elsewhere in the GUI, I also set the scene to sleep(10), and ...
Search found 2 matches
- Wed Nov 27, 2019 1:07 pm
- Forum: Beginners Help
- Topic: Stop rendering and save battery power
- Replies: 3
- Views: 831
- Mon Nov 25, 2019 7:59 am
- Forum: Beginners Help
- Topic: Stop rendering and save battery power
- Replies: 3
- Views: 831
Stop rendering and save battery power
Hi there,
first of all, hi to the community (I'm new to Irrlicht) and a big compliment about this engine! Awesome.
Quick general question: when a scene is not moved by a user and not animated itself, is it possible to prevent render updates so that the graphics card won't have to refresh the view ...
first of all, hi to the community (I'm new to Irrlicht) and a big compliment about this engine! Awesome.
Quick general question: when a scene is not moved by a user and not animated itself, is it possible to prevent render updates so that the graphics card won't have to refresh the view ...