ECS/Project/Project/Renderers/RendererResourceManagers/RendererLightManager/RendererLightManager.cpp
//	Return a const pointer to the light.
Return a const pointer to the light.
Return a const pointer to the light .
std::shared_ptr<const RendererLightData> RendererLightManager::viewLight(std::string requestedLightName)
{
	auto lightIterator = mapNameToLightData.find(requestedLightName);
	if (lightIterator != mapNameToLightData.end())
	{
		return lightIterator->second;
	}
	else
	{
		return NULL;
	}
}
std :: shared_ptr < const RendererLightData > RendererLightManager :: viewLight ( std :: string requestedLightName ) { auto lightIterator = mapNameToLightData . find ( requestedLightName ) ; if ( lightIterator != mapNameToLightData . end ( ) ) { return lightIterator -> second ; } else { return NULL ; } }
Return a const pointer to the light.
Return a const pointer to the light .
//	Find the Light. //	Check if the Light actually exists. //	Return the Light. //	Throw does not exist error.