ECS/Project/Project/Renderers/RendererResourceManagers/RendererLightManager/RendererLightManager.cpp
//	Delete the Light specified by Name.
Delete the Light specified by Name.
Delete the Light specified by Name .
void RendererLightManager::deleteLight(std::string deadLightName)
{
	auto lightIterator = mapNameToLightData.find(deadLightName);
	if (lightIterator != mapNameToLightData.end())
	{
		mapNameToLightData.erase(lightIterator);
	}
	else
	{
	}
}
void RendererLightManager :: deleteLight ( std :: string deadLightName ) { auto lightIterator = mapNameToLightData . find ( deadLightName ) ; if ( lightIterator != mapNameToLightData . end ( ) ) { mapNameToLightData . erase ( lightIterator ) ; } else { } }
Delete the Light specified by Name.
Delete the Light specified by Name .
//	Find the Light by name. //	Check if the Light exists. //	Erase the Light. //	TO DO //	Throw does not exist error.