ECS/Project/Project/Resources/ResourceManager/TextureResourceManager/TextureResourceManager.cpp
//	Return the Texture, specified by name.
Return the Texture, specified by name.
Return the Texture specified by name .
std::shared_ptr<TextureData> TextureResourceManager::getTexture(std::string currentTextureName)
{
	auto textureIterator = mapNameToTextureData.find(currentTextureName);
	if (textureIterator != mapNameToTextureData.end())
	{
		Return the associated the TextureData.
		return textureIterator->second;
	}
	else
	{
		TO DO
		Throw did not find TextureData error.
		return NULL;
	}
}
std :: shared_ptr < TextureData > TextureResourceManager :: getTexture ( std :: string currentTextureName ) { auto textureIterator = mapNameToTextureData . find ( currentTextureName ) ; if ( textureIterator != mapNameToTextureData . end ( ) ) { return textureIterator -> second ; } else { return NULL ; } }
Return the Texture, specified by name.
Return the Texture specified by name .
//	Find the Texture. //	 //	Return the associated the TextureData. //	TO DO //	Throw did not find TextureData error.