Table of Contents

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, IInternalImpl, IObjectRef, IIsDisposed, IDisposable
Inheritance
PassthroughEffect
Implements
Inherited Members

Remarks

Note that changes to the Precision property will have no effect. Use the PrecisionEffect for this purpose instead.

Constructors

PassthroughEffect(IDeviceEffectFactory)