materialsystem/cmatlightmaps.cpp
void CMatLightmaps::ResetMaterialLightmapPageInfo( void )
{
	for (MaterialHandle_t i = GetMaterialDict()->FirstMaterial(); i != GetMaterialDict()->InvalidMaterial(); i = GetMaterialDict()->NextMaterial(i) )
	{
		IMaterialInternal *pMaterial = GetMaterialInternal(i);
		pMaterial->SetMinLightmapPageID( 9999 );
		pMaterial->SetMaxLightmapPageID( -9999 );
		pMaterial->SetNeedsWhiteLightmap( false );
	}
}
//-----------------------------------------------------------------------------
// Resets the lightmap page info for each material
//-----------------------------------------------------------------------------
Resets the lightmap page info for each material
Resets the lightmap page info for each material
void CMatLightmaps::ResetMaterialLightmapPageInfo( void )
{
	for (MaterialHandle_t i = GetMaterialDict()->FirstMaterial(); i != GetMaterialDict()->InvalidMaterial(); i = GetMaterialDict()->NextMaterial(i) )
	{
		IMaterialInternal *pMaterial = GetMaterialInternal(i);
		pMaterial->SetMinLightmapPageID( 9999 );
		pMaterial->SetMaxLightmapPageID( -9999 );
		pMaterial->SetNeedsWhiteLightmap( false );
	}
}
void CMatLightmaps :: ResetMaterialLightmapPageInfo ( void ) { for ( MaterialHandle_t i = GetMaterialDict ( ) -> FirstMaterial ( ) ; i != GetMaterialDict ( ) -> InvalidMaterial ( ) ; i = GetMaterialDict ( ) -> NextMaterial ( i ) ) { IMaterialInternal * pMaterial = GetMaterialInternal ( i ) ; pMaterial -> SetMinLightmapPageID ( 9999 ) ; pMaterial -> SetMaxLightmapPageID ( -9999 ) ; pMaterial -> SetNeedsWhiteLightmap ( false ) ; } }
Resets the lightmap page info for each material
Resets the lightmap page info for each material