Example #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;
 }
Example #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;
 }