Topic was automatically imported from the old Question2Answer platform.
Asked By
sleepprogger
Old Version
Published before Godot 3 was released.
Is there a proper way to request ONE update from an Viewport by code if Update Mode is set to Never or Once ?
I am using it to render to a texture (just in case that matters).
Calling set_render_target_update_mode(Viewport.RENDER_TARGET_UPDATE_ONCE) when an update is required works but it doesn’t feel like this is the intended way.
It is strange, but it appears that’s all there is. The updates to the viewport seem to be called internally. The only thing available to script to access them is the update mode method.