ECS/Project/Project/Renderers/RendererResourceManagers/RendererTextureManager/RendererTextureManager.cpp
//	Return a pointer to the RendererTextureData.
Return a pointer to the RendererTextureData.
Return a pointer to the RendererTextureData .
std::shared_ptr<const RendererTextureData> RendererTextureManager::viewTexture(std::string requestedTextureName) const
{
	auto itr = mapNameToTextureData.find(requestedTextureName);
	if (itr != mapNameToTextureData.end())
	{
		return itr->second;
	}
	else
	{
		return NULL;
	}
}
std :: shared_ptr < const RendererTextureData > RendererTextureManager :: viewTexture ( std :: string requestedTextureName ) const { auto itr = mapNameToTextureData . find ( requestedTextureName ) ; if ( itr != mapNameToTextureData . end ( ) ) { return itr -> second ; } else { return NULL ; } }
Return a pointer to the RendererTextureData.
Return a pointer to the RendererTextureData .
//	Find the Texture Data associated with the requested texture name. //	Check if there is actually any texture data associated wtih the texture name. //	Returh the Data. //	Return NULL if there is no texture data.