Exemple #1
0
 public PostProcessingEffect AddPostProcessingEffect(PostProcessingEffect effect)
 {
     effect.Setup(this);
     postProcessingEffects.Add(effect);
     return(effect);
 }
Exemple #2
0
 public PostProcessingEffect SetPostProcessingEffect(int index, PostProcessingEffect effect)
 {
     effect.Setup(this);
     postProcessingEffects.Insert(index, effect);
     return(effect);
 }
Exemple #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);
 }