materialsystem/cmaterialsystem.cpp
void CMaterialSystem::AddEndFramePriorToNextContextFunc( EndFramePriorToNextContextFunc_t func )
{
	// Shouldn't have two copies in our list
	Assert( m_EndFramePriorToNextContextFunc.Find( func ) == m_EndFramePriorToNextContextFunc.InvalidIndex() );
	m_EndFramePriorToNextContextFunc.AddToTail( func );
}
//-----------------------------------------------------------------------------
// // Installs a function to be called when we need to perform operation before next rendering context is started
//-----------------------------------------------------------------------------
Installs a function to be called when we need to perform operation before next rendering context is started
Installs a function to be called when we need to perform operation before next rendering context is started
void CMaterialSystem::AddEndFramePriorToNextContextFunc( EndFramePriorToNextContextFunc_t func )
{
	Assert( m_EndFramePriorToNextContextFunc.Find( func ) == m_EndFramePriorToNextContextFunc.InvalidIndex() );
	m_EndFramePriorToNextContextFunc.AddToTail( func );
}
void CMaterialSystem :: AddEndFramePriorToNextContextFunc ( EndFramePriorToNextContextFunc_t func ) { Assert ( m_EndFramePriorToNextContextFunc . Find ( func ) == m_EndFramePriorToNextContextFunc . InvalidIndex ( ) ) ; m_EndFramePriorToNextContextFunc . AddToTail ( func ) ; }
Installs a function to be called when we need to perform operation before next rendering context is started
Installs a function to be called when we need to perform operation before next rendering context is started
// Shouldn't have two copies in our list