I am using the RPC “viewport.image.push” combined with a manual camera update to query for an image of the updated rendering. It takes more than 1s in localhost configuration to get the image. I looked at the explanation and it is because the image is “stale” so I need to wait for another one.
In my case, where I just move the camera and calling the RPC manually, I would like to force the flushing to occur. It makes the process very fast and transparent on the client side. Is there a way to do it? If not, could we have a method like InvalidateCache but setting the
nullptr to force the flush?
Thanks for your help