Table of Contents

Class DeviceEffectProperties

Namespace
PaintDotNet.Direct2D1.Effects
Assembly
PaintDotNet.Windows.Core.dll
public abstract class DeviceEffectProperties
Inheritance
DeviceEffectProperties
Derived
Inherited Members

Properties

Author

The author of the effect.

Cached

The output of the effect should be cached.
The default value is false.

Category

The category of the effect.

ClassID

Implemented by the derived class to specify the effect's class ID (CLSID) when registering and creating the effect and for binding to an IDeviceEffectProperties.
Note that this is different than the ID property accessor, which queries the IDeviceEffectProperties for the actual runtime effect class ID.
Overriding this property is only necessary in advanced scenarios, such as when wrapping an existing effect (e.g. built-in Direct2D effects), or when working with CustomEffects that have their own generic type arguments (e.g. PixelShaderEffect).

Description

The description of the effect.

DisplayName

The name of the effect.

ID

The CLSID/EffectID of the effect.

MaxInputCount

The maximum number of inputs supported by the effect.

MinInputCount

The minimum number of inputs supported by the effect.

Precision

The buffer precision of the effect output.
The default value is Unknown, which permits Direct2D to automatically select the precision based on the inputs or other ambient information. See Precision and numerical clipping in effect graphs for more information.

Storage

Methods

CreateBooleanPropertyAccessor(int)
CreateClassIDPropertyAccessor(int)
CreateColorContextPropertyAccessor(int)
CreateColorRgb96FloatAsVector3FloatPropertyAccessor(int)
CreateColorRgba128FloatAsVector4FloatPropertyAccessor(int)
CreateEnumPropertyAccessor<TEnum>(int)
CreateFloatPropertyAccessor(int)
CreateInputAccessor(int)
CreateInt32PropertyAccessor(int)
CreateMatrix3x2FloatPropertyAccessor(int)
CreateMatrix4x4FloatPropertyAccessor(int)
CreateMatrix5x4FloatPropertyAccessor(int)
CreateObjectRefPropertyAccessor<T>(int)
CreatePoint2FloatAsVector2FloatPropertyAccessor(int)
CreatePoint3FloatAsVector3FloatPropertyAccessor(int)
CreateReadOnlyListAsBlobPropertyAccessor<T>(int)
CreateRectFloatAsVector4FloatPropertyAccessor(int)
CreateSizeFloatAsVector2FloatPropertyAccessor(int)
CreateStringPropertyAccessor(int)
CreateUInt32PropertyAccessor(int)
CreateValueAsBlobPropertyAccessor<T>(int)
CreateVector2FloatPropertyAccessor(int)
CreateVector3FloatPropertyAccessor(int)
CreateVector4FloatPropertyAccessor(int)