MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / unload

Method unload

OgreMain/src/OgreResourceManager.cpp:240–249  ·  view source on GitHub ↗

-----------------------------------------------------------------------

Source from the content-addressed store, hash-verified

238 size_t ResourceManager::getMemoryBudget() const { return mMemoryBudget; }
239 //-----------------------------------------------------------------------
240 void ResourceManager::unload( const String &name )
241 {
242 ResourcePtr res = getResourceByName( name );
243
244 if( res )
245 {
246 // Unload resource
247 res->unload();
248 }
249 }
250 //-----------------------------------------------------------------------
251 void ResourceManager::unload( ResourceHandle handle )
252 {

Callers 2

unloadAllMethod · 0.45
checkUsageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected