jPCT-AE - a 3d engine for Android > Support

how to clear entir cache from md2 model loading??

<< < (2/2)

EgonOlsen:
No. One call to removeAndUnload is sufficient. However, i still don't see the need to go through all this hassle. Just don't reload your data on resume of the Activity. Or at least leave the textures untouched. The TextureManager will keep track of the textures. That's the reason why it's there. There's no need to constantly remove and add a texture. If you absolutely have to, call unload to remove it from the GPU's memory, but leave it inside the TextureManager.

Navigation

[0] Message Index

[*] Previous page

Go to full version