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