materialsystem/cmaterialsystem.cpp
void CMaterialSystem::AddRestoreFunc( MaterialBufferRestoreFunc_t func )
{
	// Shouldn't have two copies in our list
	Assert( m_RestoreFunc.Find( func ) == -1 );
	m_RestoreFunc.AddToTail( func );
}
//-----------------------------------------------------------------------------
// Installs a function to be called when we need to restore vertex buffers
//-----------------------------------------------------------------------------
Installs a function to be called when we need to restore vertex buffers
Installs a function to be called when we need to restore vertex buffers
void CMaterialSystem::AddRestoreFunc( MaterialBufferRestoreFunc_t func )
{
	Assert( m_RestoreFunc.Find( func ) == -1 );
	m_RestoreFunc.AddToTail( func );
}
void CMaterialSystem :: AddRestoreFunc ( MaterialBufferRestoreFunc_t func ) { Assert ( m_RestoreFunc . Find ( func ) == -1 ) ; m_RestoreFunc . AddToTail ( func ) ; }
Installs a function to be called when we need to restore vertex buffers
Installs a function to be called when we need to restore vertex buffers
// Shouldn't have two copies in our list