Ejemplo n.º 1
0
 /// <summary>
 /// tries to apply the formulas in the text boxes.
 /// throws an exception on failure
 /// </summary>
 public void ApplyFormulas()
 {
     Color.Apply();
     Alpha.Apply();
     model.UseFilter = useFilter;
     prevHasChanged  = false;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// tries to apply the formulas in the text boxes.
 /// throws an exception on failure
 /// </summary>
 public void ApplyFormulas()
 {
     Color.Apply();
     Alpha.Apply();
     model.UseFilter        = useFilter;
     model.RecomputeMipmaps = recomputeMipmaps;
     prevHasChanged         = false;
 }