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

Method findResourceNameStr

OgreMain/src/OgreTextureGpuManager.cpp:1472–1484  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1470 }
1471 //-----------------------------------------------------------------------------------
1472 const String *TextureGpuManager::findResourceNameStr( IdString idName ) const
1473 {
1474 const String *retVal = 0;
1475
1476 mEntriesMutex.lock();
1477 ResourceEntryMap::const_iterator itor = mEntries.find( idName );
1478
1479 if( itor != mEntries.end() )
1480 retVal = &itor->second.name;
1481 mEntriesMutex.unlock();
1482
1483 return retVal;
1484 }
1485 //-----------------------------------------------------------------------------------
1486 const String *TextureGpuManager::findResourceGroupStr( IdString idName ) const
1487 {

Callers 4

saveTextureMethod · 0.80
saveTextureMethod · 0.80
exportDecalTexMethod · 0.80

Calls 4

lockMethod · 0.45
findMethod · 0.45
endMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected