Move FactoryDelegate type to better location

このコミットが含まれているのは:
Sergio Pedri committed 2022-11-29 22:34:06 +01:00
1 親 40e022cf2c
コミット eaac9269b2
2ファイル変更
+8 -8

検索条件に一致するファイルはありません

+8
ファイルの表示
@@ -19,6 +19,14 @@ namespace ComputeSharp.D2D1.Interop.Effects;
/// </summary>
internal unsafe partial struct PixelShaderEffect
{
/// <summary>
/// A wrapper for an effect factory.
/// </summary>
/// <param name="effectImpl">The resulting effect factory.</param>
/// <returns>The <c>HRESULT</c> for the operation.</returns>
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
private delegate int FactoryDelegate(IUnknown** effectImpl);
/// <summary>
/// A generic pixel shader implementation.
/// </summary>
-8
ファイルの表示
@@ -19,14 +19,6 @@ namespace ComputeSharp.D2D1.Interop.Effects;
/// </summary>
internal unsafe partial struct PixelShaderEffect
{
/// <summary>
/// A wrapper for an effect factory.
/// </summary>
/// <param name="effectImpl">The resulting effect factory.</param>
/// <returns>The <c>HRESULT</c> for the operation.</returns>
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
private delegate int FactoryDelegate(IUnknown** effectImpl);
#if !NET6_0_OR_GREATER
/// <inheritdoc cref="QueryInterface"/>
[UnmanagedFunctionPointer(CallingConvention.StdCall)]