[]
ID2D1EffectImpl
[Guid("a248fd3f-3e6c-4e63-9f03-7f68ecc91db9")]
public class CustomEffectNative : ComObjectCallback, IUnknown, ICustomEffect, ICallbackable, IDisposable
Initializes a new instance of the CustomEffectNative class.
public CustomEffectNative(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
HRESULT ID2D1EffectImpl::Initialize([In] ID2D1EffectContext* effectContext,[In] ID2D1TransformGraph* transformGraph)
public void Initialize(EffectContext effectContext, TransformGraph transformGraph)
effectContext
EffectContexttransformGraph
TransformGraphHRESULT ID2D1EffectImpl::PrepareForRender([In] D2D1_CHANGE_TYPE changeType)
public void PrepareForRender(ChangeType changeType)
changeType
ChangeTypeHRESULT ID2D1EffectImpl::SetGraph([In] ID2D1TransformGraph* transformGraph)
public int SetGraph(TransformGraph transformGraph)
transformGraph
TransformGraphPerforms an explicit conversion from System.IntPtr to CustomEffectNative.
public static explicit operator CustomEffectNative(IntPtr nativePointer)
nativePointer
System.IntPtr