Beispiel #1
0
 /// <summary>
 /// Sets two input textures
 /// </summary>
 /// <param name="imageEffect">The post effect.</param>
 /// <param name="texture">The texture.</param>
 /// <param name="texture2">The texture2.</param>
 /// <param name="texture3">The texture3.</param>
 public static void SetInput(this ImageEffectBase imageEffect, Texture texture, Texture texture2, Texture texture3)
 {
     imageEffect.SetInput(0, texture);
     imageEffect.SetInput(1, texture2);
     imageEffect.SetInput(2, texture3);
 }
Beispiel #2
0
 /// <summary>
 /// Sets an input texture
 /// </summary>
 /// <param name="imageEffect">The post effect.</param>
 /// <param name="texture">The texture.</param>
 public static void SetInput(this ImageEffectBase imageEffect, Texture texture)
 {
     imageEffect.SetInput(0, texture);
 }