ursina icon indicating copy to clipboard operation
ursina copied to clipboard

Texture unload

Open bkmeneguello opened this issue 5 years ago • 0 comments

I'm implementing a photo slideshow, loading photos in quads, but the texture memory is never unloaded, the only workaround I found is to call

def on_destroy():
  self.texture._texture.releaseAll()

But this seems to be not ideal. This should be automatic, maybe allowing to call destroy on Texture.

bkmeneguello avatar Feb 13 '21 21:02 bkmeneguello