Method RegisterEffectFromBlob
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.Framework.dll
RegisterEffectFromBlob(IDirect2DFactory, ReadOnlyMemory<byte>)
Register an effect from a blob that contains the serialized parameters for ID2D1Factory1::RegisterEffectFromStream().
public static void RegisterEffectFromBlob(this IDirect2DFactory factory, ReadOnlyMemory<byte> blob)
Parameters
factory
IDirect2DFactoryblob
ReadOnlyMemory<byte>
Remarks
This method supports the D2D1EffectRegistrationData.V1 format from ComputeSharp.D2D1 version 2.0.