[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.CustomEffectNative

Class CustomEffectNative

Namespace
GrapeCity.Documents.DX.Direct2D
Assembly
GcDocs.DX.Windows.dll

ID2D1EffectImpl

[Guid("a248fd3f-3e6c-4e63-9f03-7f68ecc91db9")]
public class CustomEffectNative : ComObjectCallback, IUnknown, ICustomEffect, ICallbackable, IDisposable
Inheritance
object
CustomEffectNative
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

CustomEffectNative(IntPtr)

Initializes a new instance of the CustomEffectNative class.

public CustomEffectNative(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

Initialize(EffectContext, TransformGraph)

HRESULT ID2D1EffectImpl::Initialize([In] ID2D1EffectContext* effectContext,[In] ID2D1TransformGraph* transformGraph)

public void Initialize(EffectContext effectContext, TransformGraph transformGraph)

Parameters

effectContext EffectContext
transformGraph TransformGraph

PrepareForRender(ChangeType)

HRESULT ID2D1EffectImpl::PrepareForRender([In] D2D1_CHANGE_TYPE changeType)

public void PrepareForRender(ChangeType changeType)

Parameters

changeType ChangeType

SetGraph(TransformGraph)

HRESULT ID2D1EffectImpl::SetGraph([In] ID2D1TransformGraph* transformGraph)

public int SetGraph(TransformGraph transformGraph)

Parameters

transformGraph TransformGraph

Returns

int

Operators

explicit operator CustomEffectNative(IntPtr)

Performs an explicit conversion from System.IntPtr to CustomEffectNative.

public static explicit operator CustomEffectNative(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

CustomEffectNative