Example #1
0
 public void RemoveProcess(PostProcessEffect effect)
 {
     while (effects.Contains(effect) == true)
     {
         effects.Remove(effect);
     }
 }
Example #2
0
 public void AddProcess(PostProcessEffect effect)
 {
     effects.Add(effect);
     if (effect.IsInitialized == false)
     {
         effect.Initialize();
         effect.IsInitialized = true;
     }
 }