public void EndPixelWorking() { if (pixelWorking != null) { pixelWorking?.Dispose(); pixelWorking = null; } }
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(); }
public override void AfterRendering(SceneData scene) { bufferContext.Dispose(); }