Making image in GUILayout.Box update only every frame

I’m currently updating a Texture2D every frame and displaying it in a GUILayout.Box in OnGUI. The problem with this is, because OnGUI updates about twice as fast as Update, you can see the image as it is in the middle of being written, making it very choppy. Is it possible to make it update the image only every frame?

can you use 2 textures?
one you change while in Update()
the other in OnGUI() when it Repaints, just copy the pixels from 1st texture?

if possible, use one texture… but in Update() dont change it then… just set a boolean that OnGUI() can check. :wink: