diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.For{T}.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.For{T}.cs index 0befc486..b96e0ed8 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.For{T}.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.For{T}.cs @@ -19,6 +19,14 @@ namespace ComputeSharp.D2D1.Interop.Effects; /// internal unsafe partial struct PixelShaderEffect { + /// + /// A wrapper for an effect factory. + /// + /// The resulting effect factory. + /// The HRESULT for the operation. + [UnmanagedFunctionPointer(CallingConvention.StdCall)] + private delegate int FactoryDelegate(IUnknown** effectImpl); + /// /// A generic pixel shader implementation. /// diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.cs index b2257fa5..5c05a70a 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.cs @@ -19,14 +19,6 @@ namespace ComputeSharp.D2D1.Interop.Effects; /// internal unsafe partial struct PixelShaderEffect { - /// - /// A wrapper for an effect factory. - /// - /// The resulting effect factory. - /// The HRESULT for the operation. - [UnmanagedFunctionPointer(CallingConvention.StdCall)] - private delegate int FactoryDelegate(IUnknown** effectImpl); - #if !NET6_0_OR_GREATER /// [UnmanagedFunctionPointer(CallingConvention.StdCall)]