Class PassthroughEffect
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Framework.dll
This effect does not modify the input, serving instead as a passthrough node. This can be used to adjust caching, or simply as a way to wrap an IDeviceImage (such as an ICommandList or IDeviceBitmap) as an effect. This permits providing an IDeviceImage to another component, while retaining the ability to change the image without communicating with the other component (ICommandLists are immutable, and IDeviceBitmaps cannot be resized or have their pixel format changed).
public sealed class PassthroughEffect : CustomEffect<PassthroughEffect.Props>, ISerializable, IDeviceEffect, IDeviceImage, IDirect2DResource, IFactoryProperty, IDeviceEffectProperties, IObjectRef, IIsDisposed, IDisposable, IInternalImpl
- Inheritance
-
PassthroughEffect
- Implements
- Inherited Members
Remarks
Note that changes to the Precision property will have no effect. Use the PrecisionEffect for this purpose instead.