Free Texture memory

Started by gamenewer, March 24, 2015, 03:16:22 PM

Previous topic - Next topic

gamenewer

Hello Egon,  How to free the  texture memory?  I use  removeAndUnload method, but I'm not sure if this clean up the texture used memory. 
another question, I have some common texture and some  scene texture , I only free the scene texture and not free the common texture,  I use preWarm  method for every new scene start,  If this  cost more  memory for common texture ?

Thanks !

EgonOlsen

removeAndUnload is fine. And no, doing a preWarm on an already uploaded texture does no harm.