예제 #1
0
 public PostProcessingEffect AddPostProcessingEffect(PostProcessingEffect effect)
 {
     effect.Setup(this);
     postProcessingEffects.Add(effect);
     return(effect);
 }
예제 #2
0
 public PostProcessingEffect SetPostProcessingEffect(int index, PostProcessingEffect effect)
 {
     effect.Setup(this);
     postProcessingEffects.Insert(index, effect);
     return(effect);
 }
예제 #3
0
 /// <summary>
 /// Apply a Post Processing FX
 /// </summary>
 /// <param name="effect">the effect to be applyied</param>
 public void ApplyPostProcessingEffect(PostProcessingEffect effect)
 {
     effect.Apply(this);
 }