materialsystem/ctexture.cpp
void CTexture::SetTextureRegenerator( ITextureRegenerator *pTextureRegen, bool releaseExisting )
{
	// NOTE: These can only be used by procedural textures
	Assert( IsProcedural() );

	if ( m_pTextureRegenerator && releaseExisting )
	{
		m_pTextureRegenerator->Release();
	}
	m_pTextureRegenerator = pTextureRegen; 
}
//-----------------------------------------------------------------------------
// Used to modify the texture bits (procedural textures only)
//-----------------------------------------------------------------------------
Used to modify the texture bits (procedural textures only)
Used to modify the texture bits ( procedural textures only )
void CTexture::SetTextureRegenerator( ITextureRegenerator *pTextureRegen, bool releaseExisting )
{
	Assert( IsProcedural() );
	if ( m_pTextureRegenerator && releaseExisting )
	{
		m_pTextureRegenerator->Release();
	}
	m_pTextureRegenerator = pTextureRegen; 
}
void CTexture :: SetTextureRegenerator ( ITextureRegenerator * pTextureRegen , bool releaseExisting ) { Assert ( IsProcedural ( ) ) ; if ( m_pTextureRegenerator && releaseExisting ) { m_pTextureRegenerator -> Release ( ) ; } m_pTextureRegenerator = pTextureRegen ; }
Used to modify the texture bits (procedural textures only)
Used to modify the texture bits ( procedural textures only )
// NOTE: These can only be used by procedural textures