Okey.
I think, this is target of branch:
“Initial lazy rendering for GUI applications – attempt to only render?
? when the UI is updated, or when otherwise told by a call to Renderer::SetRenderFrame.”
It is also possible to do this by using Render-To-Texture. Scorvi’s C++ Editor does this, and by extension my branch also does this (though not by default, the option is there). It should be possible to implement in Angelscript as well.
I’ve just added “engine.maxFps = 60;” into editor.as , sure, not as efficent as blender’s 0-5, but at least my GPU fan won’t buzz like it is about to takeoff.
I got the same effect as a FPS in Blender.
When I tested the one game engine,
if the application window is not in focus - all the contents of the window
is updated only when cursor is moved over.
When the cursor does not move anything not updated (including animation, particle effects, etc.) FPS - from 0 to the limit.