Merge pull request #402 from Sergio0694/dev/bump-d3d12ma

Bump D3D12MA to 2.0.1.1
このコミットが含まれているのは:
Sergio Pedri authored and GitHub committed 2022-10-21 12:07:07 -07:00
コミット bd1f921b37
3ファイル変更
+16 -3

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

+1 -1
ファイルの表示
@@ -24,7 +24,7 @@
<!-- .NET 6 uses the NuGet packages for TerraFX -->
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="TerraFX.Interop.D3D12MemoryAllocator" Version="2.0.1" />
<PackageReference Include="TerraFX.Interop.D3D12MemoryAllocator" Version="2.0.1.1" />
</ItemGroup>
<!-- .NET Standard 2.0 uses a local fork -->
+8 -1
ファイルの表示
@@ -3,6 +3,10 @@ using System.Buffers;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Threading;
#if NET6_0_OR_GREATER
using CommunityToolkit.Diagnostics;
using TerraFX.Interop;
#endif
using TerraFX.Interop.Windows;
using static TerraFX.Interop.Windows.E;
using static TerraFX.Interop.Windows.IID;
@@ -46,7 +50,10 @@ unsafe partial class IWICStreamExtensions
: IUnknown.Interface
#endif
{
#if !NET6_0_OR_GREATER
#if NET6_0_OR_GREATER
/// <inheritdoc/>
static Guid* INativeGuid.NativeGuid => (Guid*)ThrowHelper.ThrowNotSupportedException<nint>();
#else
/// <inheritdoc cref="QueryInterface"/>
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
private delegate int QueryInterfaceDelegate(IBufferWriterWrapper* @this, Guid* riid, void** ppvObject);
+7 -1
ファイルの表示
@@ -4,6 +4,9 @@ using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Threading;
using CommunityToolkit.Diagnostics;
#if NET6_0_OR_GREATER
using TerraFX.Interop;
#endif
using TerraFX.Interop.Windows;
using static TerraFX.Interop.Windows.E;
using static TerraFX.Interop.Windows.IID;
@@ -49,7 +52,10 @@ internal static unsafe partial class IWICStreamExtensions
: IUnknown.Interface
#endif
{
#if !NET6_0_OR_GREATER
#if NET6_0_OR_GREATER
/// <inheritdoc/>
static Guid* INativeGuid.NativeGuid => (Guid*)ThrowHelper.ThrowNotSupportedException<nint>();
#else
/// <inheritdoc cref="QueryInterface"/>
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
private delegate int QueryInterfaceDelegate(IStreamWrapper* @this, Guid* riid, void** ppvObject);