func (me *FxImageBase) gpuSync(tex ugl.Texture) (err error) { if err = tex.Recreate(); err == nil { me.glSynced = true } return }
func (me *FxImageBase) gpuDelete(glTex ugl.Texture) { glTex.Dispose() me.glSynced = false }