Just a simple question. Does unload free memory? And if not, how can i properly unload the ressource? And how can I unload a Mesh, its Texture, its Skeleton, etc...?
I'm trying to implement a simple asset streamer.
Does Resource.unload free its memory?
-
- Goblin
- Posts: 253
- Joined: Sat Sep 28, 2013 3:46 pm
- x 10
-
- Goblin
- Posts: 253
- Joined: Sat Sep 28, 2013 3:46 pm
- x 10
Re: Does Resource.unload free its memory?
I thought this was a simple question. Or did I break any rules.
Just in case I wasn't clear:
I want to know, if the unload method of a ressource (mesh for example) frees the memory of that ressource, or if it just overwrites it. And if theres a way to recursively delete its textures, materials etc.. automaticly with it.
Just in case I wasn't clear:
I want to know, if the unload method of a ressource (mesh for example) frees the memory of that ressource, or if it just overwrites it. And if theres a way to recursively delete its textures, materials etc.. automaticly with it.
- c6burns
- Beholder
- Posts: 1512
- Joined: Fri Feb 22, 2013 4:44 am
- Location: Deep behind enemy lines
- x 138
Re: Does Resource.unload free its memory?
Ogre::ResourceManager::unload remarks: Unloaded resources are not removed, they simply free up their memory as much as they can and wait to be reloaded.
-
- Goblin
- Posts: 253
- Joined: Sat Sep 28, 2013 3:46 pm
- x 10
Re: Does Resource.unload free its memory?
K, thx.Have a nice weekend!