Aiv.Fast2D.PostProcessingEffect.Apply C# (CSharp) Method

Apply() public method

public Apply ( Aiv.Fast2D.Window window ) : void
window Aiv.Fast2D.Window
return void
        public void Apply(Window window)
        {
            screenMesh.DrawTexture(renderTexture);
        }

Usage Example

Exemplo n.º 1
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);
 }