예제 #1
0
 public void EndPixelWorking()
 {
     if (pixelWorking != null)
     {
         pixelWorking?.Dispose();
         pixelWorking = null;
     }
 }
예제 #2
0
 public override void AfterRendering(SceneData scene)
 {
     bufferBitmap.Blit(new System.Windows.Rect(0, 0, bufferBitmap.Width, bufferBitmap.Height), RightBitmap, new System.Windows.Rect(0, 0, RightBitmap.Width, RightBitmap.Height), WriteableBitmapExtensions.BlendMode.Additive);
     rightContext.Dispose();
     leftContext.Dispose();
 }
예제 #3
0
 public override void AfterRendering(SceneData scene)
 {
     bufferContext.Dispose();
 }