public bool ApplyTextureAliases( Dictionary<string, string> aliasList, bool apply )
{
// iterate through all TextureUnitStates and apply texture aliases
bool testResult = false;
foreach ( TextureUnitState tus in textureUnitStates )
{
if ( tus.ApplyTextureAliases( aliasList, apply ) )
testResult = true;
}
return testResult;
}