ursina
ursina copied to clipboard
Texture unload
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.