Exemple #1
0
 /// <summary>
 /// Configure the pass with the source and destination to execute on.
 /// </summary>
 /// <param name="source">Source Render Target</param>
 /// <param name="destination">Destination Render Targt</param>
 public void Setup(RenderTargetHandle source, RenderTargetHandle destination)
 {
     this.source      = source;
     this.destination = destination;
     this.AllocateRT  = !destination.HasInternalRenderTargetId();
     this.MssaSamples = -1;
 }