Refresh materials in a stageview

Hi !
I’m not super sure this is the right place to post about that, sorry if it’s not right.

For a quick test on a project I’m trying my hand at making a quick painting software for a very specific need, and doing it in Python/Qt. Using a stageview is pretty amazing, extremely convenient.
In my current needs, I’d have to constantly save pictures and feed them back to the view but so far I can’t find a way to do a full refresh by code and grab that texture change.
My only way right now is to toggle a usingscenematerials with a keyboard shortcut. Once off, and brought back on the texture is refreshed. But no other commands like refreshView or refreshGL seems to work. I would guess if I was in Unreal or any gameengine I’d have to wait for a frame and trigger that again maybe

Is there any way to do that ?

Thanks a lot !