materialsystem/cmaterialsystem.cpp
bool CMaterialSystem::AddOnLevelShutdownFunc( OnLevelShutdownFunc_t func, void * pUserData )
{
	COnLevelShutdownFunc instance(func, pUserData);
	int i = m_OnLevelShutdownFuncs.Find( instance );
	if (i != -1)
	{
		return false;
	}
	m_OnLevelShutdownFuncs.AddToTail(instance);
	return true;
}
// Installs a function to be called when the level is shuts down
Installs a function to be called when the level is shuts down
Installs a function to be called when the level is shuts down
bool CMaterialSystem::AddOnLevelShutdownFunc( OnLevelShutdownFunc_t func, void * pUserData )
{
	COnLevelShutdownFunc instance(func, pUserData);
	int i = m_OnLevelShutdownFuncs.Find( instance );
	if (i != -1)
	{
		return false;
	}
	m_OnLevelShutdownFuncs.AddToTail(instance);
	return true;
}
bool CMaterialSystem :: AddOnLevelShutdownFunc ( OnLevelShutdownFunc_t func , void * pUserData ) { COnLevelShutdownFunc instance ( func , pUserData ) ; int i = m_OnLevelShutdownFuncs . Find ( instance ) ; if ( i != -1 ) { return false ; } m_OnLevelShutdownFuncs . AddToTail ( instance ) ; return true ; }
Installs a function to be called when the level is shuts down
Installs a function to be called when the level is shuts down