Table of Contents

Class GpuDrawingEffect

Namespace
PaintDotNet.Effects.Gpu
Assembly
PaintDotNet.Effects.Core.dll

The base class for Direct2D GPU effects that use drawing commands (e.g. DrawBitmap, FillRectangle).

public abstract class GpuDrawingEffect : GpuImageEffect, ISerializable, IGpuDrawingEffect, IGpuImageEffect, IGpuEffect2, IGpuEffect, IEffect, IObjectRef, IIsDisposed, IDisposable
Inheritance
GpuDrawingEffect
Implements
Derived
Inherited Members
Extension Methods

Constructors

GpuDrawingEffect(string, IBitmapSource, string?, GpuDrawingEffectOptions)
GpuDrawingEffect(string, Image, string?, GpuDrawingEffectOptions)
GpuDrawingEffect(string, string?, GpuDrawingEffectOptions)

Methods

OnCreateOutput(IDeviceContext)

Creates and returns the IDeviceImage that will be used for rendering.

OnDraw(IDeviceContext)
OnInitializeRenderInfo(IGpuDrawingEffectRenderInfo)
OnInitializeRenderInfo(IGpuImageEffectRenderInfo)
OnInspectTokenChanges(EffectConfigToken, EffectConfigToken)
OnUpdateOutput(IDeviceContext)