/// <summary>
 /// Repeats the given effect n times
 /// </summary>
 /// <param name="effect"></param>
 /// <param name="repetitions"></param>
 public RepeaterEffect(RenderEffect effect, int repetitions)
 {
     if (effect == null)
         effect = RenderEffect.None;
     this.Effect = effect;
     Repetitions = repetitions;
 }
 /// <summary>
 /// Repeats the given effect once
 /// </summary>
 /// <param name="effect"></param>
 public RepeaterEffect(RenderEffect effect)
     : this(effect, 1)
 {
 }