Generator: Improve struct and com types usage in methods (IE: VSSetConstantBuffers vs RSSetViewports)

This commit is contained in:
Amer Koleci
2022-09-07 17:18:28 +02:00
parent 731df7be11
commit ad8d77857d
4 changed files with 907 additions and 872 deletions

View File

@@ -1,9 +1,7 @@
// Copyright © Amer Koleci and Contributors. // Copyright © Amer Koleci and Contributors.
// Licensed under the MIT License (MIT). See LICENSE in the repository root for more information. // Licensed under the MIT License (MIT). See LICENSE in the repository root for more information.
using System.ComponentModel.DataAnnotations;
using System.Globalization; using System.Globalization;
using System.Linq;
using System.Text; using System.Text;
using Newtonsoft.Json; using Newtonsoft.Json;
@@ -276,7 +274,14 @@ public static class Program
private static readonly Dictionary<string, string> s_mapFunctionParameters = new() private static readonly Dictionary<string, string> s_mapFunctionParameters = new()
{ {
{ "ID3D11DeviceContext::Map::MapFlags", "D3D11_MAP_FLAG" } // DXGI
{ "IDXGIDevice::CreateSurface::Usage", "DXGI_USAGE" },
{ "IDXGIOutput::GetDisplayModeList::Flags", "DXGI_ENUM_MODES" },
// D3D11
{ "ID3D11DeviceContext::Map::MapFlags", "D3D11_MAP_FLAG" },
// D3D12
}; };
private static readonly HashSet<string> s_visitedEnums = new(); private static readonly HashSet<string> s_visitedEnums = new();
@@ -621,7 +626,6 @@ public static class Program
parameterType = NormalizeTypeName(writer.Api, parameterType); parameterType = NormalizeTypeName(writer.Api, parameterType);
string parameterName = parameter.Name; string parameterName = parameter.Name;
bool isOptional = parameter.Attrs.Any(item => item is string str && str == "Optional"); bool isOptional = parameter.Attrs.Any(item => item is string str && str == "Optional");
if (parameter.Attrs.Any(item => item is string str && str == "ComOutPtr")) if (parameter.Attrs.Any(item => item is string str && str == "ComOutPtr"))
{ {
@@ -1162,11 +1166,6 @@ public static class Program
StringBuilder argumentsNameBuilder = new(); StringBuilder argumentsNameBuilder = new();
int parameterIndex = 0; int parameterIndex = 0;
if (method.Name == "RegisterDestructionCallback")
{
Console.WriteLine();
}
foreach (ApiParameter parameter in method.Params) foreach (ApiParameter parameter in method.Params)
{ {
bool asPointer = false; bool asPointer = false;
@@ -1194,6 +1193,8 @@ public static class Program
if (s_mapFunctionParameters.TryGetValue(parameterNameLookup, out string? remapType)) if (s_mapFunctionParameters.TryGetValue(parameterNameLookup, out string? remapType))
{ {
parameterType = GetTypeName($"{writer.Api}.{remapType}"); parameterType = GetTypeName($"{writer.Api}.{remapType}");
// TODO: Marshal enum types to base type
} }
else else
{ {
@@ -1204,6 +1205,11 @@ public static class Program
parameterType = NormalizeTypeName(writer.Api, parameterType); parameterType = NormalizeTypeName(writer.Api, parameterType);
string parameterName = parameter.Name; string parameterName = parameter.Name;
if (method.Name == "RSSetScissorRects" && parameterName == "pRects")
{
}
bool isOptional = parameter.Attrs.Any(item => item is string str && str == "Optional"); bool isOptional = parameter.Attrs.Any(item => item is string str && str == "Optional");
if (parameter.Attrs.Any(item => item is string str && str == "ComOutPtr")) if (parameter.Attrs.Any(item => item is string str && str == "ComOutPtr"))
{ {
@@ -1214,10 +1220,10 @@ public static class Program
} }
argumentBuilder.Append(parameterType).Append(' ').Append(parameterName); argumentBuilder.Append(parameterType).Append(' ').Append(parameterName);
if (isOptional == true) //if (isOptional == true)
{ //{
//argumentBuilder.Append(" = default"); //argumentBuilder.Append(" = default");
} //}
argumentsTypesBuilder.Append(parameterType); argumentsTypesBuilder.Append(parameterType);
argumentsNameBuilder.Append(parameterName); argumentsNameBuilder.Append(parameterName);
@@ -1569,17 +1575,28 @@ public static class Program
return $"new Guid({a}, {b}, {c}, {d}, {e}, {f}, {g}, {h}, {i}, {j}, {k})"; return $"new Guid({a}, {b}, {c}, {d}, {e}, {f}, {g}, {h}, {i}, {j}, {k})";
} }
private static string GetApiName(ApiDataType dataType)
{
if (dataType.Kind != "ApiRef")
{
throw new InvalidOperationException();
}
string apiName = dataType.Api;
if (dataType.Parents?.Length > 0)
{
apiName += ".";
apiName += string.Join(".", dataType.Parents);
}
return apiName;
}
private static string GetTypeName(ApiDataType dataType, bool asPointer = false) private static string GetTypeName(ApiDataType dataType, bool asPointer = false)
{ {
if (dataType.Kind == "ApiRef") if (dataType.Kind == "ApiRef")
{ {
string apiName = dataType.Api; string apiName = GetApiName(dataType);
if (dataType.Parents?.Length > 0)
{
apiName += ".";
apiName += string.Join(".", dataType.Parents);
}
string typeName = GetTypeName($"{apiName}.{dataType.Name}"); string typeName = GetTypeName($"{apiName}.{dataType.Name}");
return asPointer ? typeName + "*" : typeName; return asPointer ? typeName + "*" : typeName;
} }
@@ -1589,7 +1606,17 @@ public static class Program
} }
else if (dataType.Kind == "LPArray") else if (dataType.Kind == "LPArray")
{ {
return GetTypeName(dataType.Child) + "*"; if (dataType.Child.Kind == "ApiRef")
{
string apiName = GetApiName(dataType.Child);
string fullTypeName = $"{apiName}.{dataType.Child.Name}";
if (!IsPrimitive(dataType) && !IsStruct(fullTypeName) && !IsEnum(fullTypeName))
{
asPointer = true;
}
}
return GetTypeName(dataType.Child, asPointer) + "*";
} }
else if (dataType.Kind == "PointerTo") else if (dataType.Kind == "PointerTo")
{ {
@@ -1648,7 +1675,15 @@ public static class Program
private static bool IsStruct(string typeName) private static bool IsStruct(string typeName)
{ {
return s_visitedStructs.Contains(typeName); switch(typeName)
{
case "Foundation.RECT":
return true;
default:
return s_visitedStructs.Contains(typeName);
}
} }
private static void AddCsMapping(string api, string typeName, string csTypeName) private static void AddCsMapping(string api, string typeName, string csTypeName)

File diff suppressed because it is too large Load Diff

View File

@@ -13878,9 +13878,9 @@ public unsafe partial struct ID3D12GraphicsCommandList
/// <include file='../Direct3D12.xml' path='doc/member[@name="ID3D12GraphicsCommandList::SetDescriptorHeaps"]/*' /> /// <include file='../Direct3D12.xml' path='doc/member[@name="ID3D12GraphicsCommandList::SetDescriptorHeaps"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(28)] [VtblIndex(28)]
public void SetDescriptorHeaps(uint NumDescriptorHeaps, ID3D12DescriptorHeap* ppDescriptorHeaps) public void SetDescriptorHeaps(uint NumDescriptorHeaps, ID3D12DescriptorHeap** ppDescriptorHeaps)
{ {
((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList*, uint, ID3D12DescriptorHeap*, void>)(lpVtbl[28]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps); ((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList*, uint, ID3D12DescriptorHeap**, void>)(lpVtbl[28]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps);
} }
/// <include file='../Direct3D12.xml' path='doc/member[@name="ID3D12GraphicsCommandList::SetComputeRootSignature"]/*' /> /// <include file='../Direct3D12.xml' path='doc/member[@name="ID3D12GraphicsCommandList::SetComputeRootSignature"]/*' />
@@ -14349,9 +14349,9 @@ public unsafe partial struct ID3D12GraphicsCommandList1
/// <inheritdoc cref="ID3D12GraphicsCommandList.SetDescriptorHeaps" /> /// <inheritdoc cref="ID3D12GraphicsCommandList.SetDescriptorHeaps" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(22)] [VtblIndex(22)]
public void SetDescriptorHeaps(uint NumDescriptorHeaps, ID3D12DescriptorHeap* ppDescriptorHeaps) public void SetDescriptorHeaps(uint NumDescriptorHeaps, ID3D12DescriptorHeap** ppDescriptorHeaps)
{ {
((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList1*, uint, ID3D12DescriptorHeap*, void>)(lpVtbl[22]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps); ((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList1*, uint, ID3D12DescriptorHeap**, void>)(lpVtbl[22]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps);
} }
/// <inheritdoc cref="ID3D12GraphicsCommandList.SetComputeRootSignature" /> /// <inheritdoc cref="ID3D12GraphicsCommandList.SetComputeRootSignature" />
@@ -14653,17 +14653,17 @@ public unsafe partial struct ID3D12GraphicsCommandList1
/// <include file='../Direct3D12.xml' path='doc/member[@name="ID3D12GraphicsCommandList1::AtomicCopyBufferUINT"]/*' /> /// <include file='../Direct3D12.xml' path='doc/member[@name="ID3D12GraphicsCommandList1::AtomicCopyBufferUINT"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(60)] [VtblIndex(60)]
public void AtomicCopyBufferUINT(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource* ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges) public void AtomicCopyBufferUINT(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource** ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges)
{ {
((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList1*, ID3D12Resource*, ulong, ID3D12Resource*, ulong, uint, ID3D12Resource*, SubresourceRangeUint64*, void>)(lpVtbl[60]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); ((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList1*, ID3D12Resource*, ulong, ID3D12Resource*, ulong, uint, ID3D12Resource**, SubresourceRangeUint64*, void>)(lpVtbl[60]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges);
} }
/// <include file='../Direct3D12.xml' path='doc/member[@name="ID3D12GraphicsCommandList1::AtomicCopyBufferUINT64"]/*' /> /// <include file='../Direct3D12.xml' path='doc/member[@name="ID3D12GraphicsCommandList1::AtomicCopyBufferUINT64"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(61)] [VtblIndex(61)]
public void AtomicCopyBufferUINT64(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource* ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges) public void AtomicCopyBufferUINT64(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource** ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges)
{ {
((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList1*, ID3D12Resource*, ulong, ID3D12Resource*, ulong, uint, ID3D12Resource*, SubresourceRangeUint64*, void>)(lpVtbl[61]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); ((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList1*, ID3D12Resource*, ulong, ID3D12Resource*, ulong, uint, ID3D12Resource**, SubresourceRangeUint64*, void>)(lpVtbl[61]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges);
} }
/// <include file='../Direct3D12.xml' path='doc/member[@name="ID3D12GraphicsCommandList1::OMSetDepthBounds"]/*' /> /// <include file='../Direct3D12.xml' path='doc/member[@name="ID3D12GraphicsCommandList1::OMSetDepthBounds"]/*' />
@@ -14764,17 +14764,17 @@ public unsafe partial struct ID3D12GraphicsCommandList2
/// <inheritdoc cref="ID3D12GraphicsCommandList1.AtomicCopyBufferUINT" /> /// <inheritdoc cref="ID3D12GraphicsCommandList1.AtomicCopyBufferUINT" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(3)] [VtblIndex(3)]
public void AtomicCopyBufferUINT(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource* ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges) public void AtomicCopyBufferUINT(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource** ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges)
{ {
((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList2*, ID3D12Resource*, ulong, ID3D12Resource*, ulong, uint, ID3D12Resource*, SubresourceRangeUint64*, void>)(lpVtbl[3]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); ((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList2*, ID3D12Resource*, ulong, ID3D12Resource*, ulong, uint, ID3D12Resource**, SubresourceRangeUint64*, void>)(lpVtbl[3]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges);
} }
/// <inheritdoc cref="ID3D12GraphicsCommandList1.AtomicCopyBufferUINT64" /> /// <inheritdoc cref="ID3D12GraphicsCommandList1.AtomicCopyBufferUINT64" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(4)] [VtblIndex(4)]
public void AtomicCopyBufferUINT64(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource* ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges) public void AtomicCopyBufferUINT64(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource** ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges)
{ {
((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList2*, ID3D12Resource*, ulong, ID3D12Resource*, ulong, uint, ID3D12Resource*, SubresourceRangeUint64*, void>)(lpVtbl[4]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); ((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList2*, ID3D12Resource*, ulong, ID3D12Resource*, ulong, uint, ID3D12Resource**, SubresourceRangeUint64*, void>)(lpVtbl[4]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges);
} }
/// <inheritdoc cref="ID3D12GraphicsCommandList1.OMSetDepthBounds" /> /// <inheritdoc cref="ID3D12GraphicsCommandList1.OMSetDepthBounds" />
@@ -14964,9 +14964,9 @@ public unsafe partial struct ID3D12GraphicsCommandList2
/// <inheritdoc cref="ID3D12GraphicsCommandList.SetDescriptorHeaps" /> /// <inheritdoc cref="ID3D12GraphicsCommandList.SetDescriptorHeaps" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(28)] [VtblIndex(28)]
public void SetDescriptorHeaps(uint NumDescriptorHeaps, ID3D12DescriptorHeap* ppDescriptorHeaps) public void SetDescriptorHeaps(uint NumDescriptorHeaps, ID3D12DescriptorHeap** ppDescriptorHeaps)
{ {
((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList2*, uint, ID3D12DescriptorHeap*, void>)(lpVtbl[28]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps); ((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList2*, uint, ID3D12DescriptorHeap**, void>)(lpVtbl[28]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps);
} }
/// <inheritdoc cref="ID3D12GraphicsCommandList.SetComputeRootSignature" /> /// <inheritdoc cref="ID3D12GraphicsCommandList.SetComputeRootSignature" />
@@ -15395,9 +15395,9 @@ public unsafe partial struct ID3D12CommandQueue
/// <include file='../Direct3D12.xml' path='doc/member[@name="ID3D12CommandQueue::ExecuteCommandLists"]/*' /> /// <include file='../Direct3D12.xml' path='doc/member[@name="ID3D12CommandQueue::ExecuteCommandLists"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(10)] [VtblIndex(10)]
public void ExecuteCommandLists(uint NumCommandLists, ID3D12CommandList* ppCommandLists) public void ExecuteCommandLists(uint NumCommandLists, ID3D12CommandList** ppCommandLists)
{ {
((delegate* unmanaged[Stdcall]<ID3D12CommandQueue*, uint, ID3D12CommandList*, void>)(lpVtbl[10]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), NumCommandLists, ppCommandLists); ((delegate* unmanaged[Stdcall]<ID3D12CommandQueue*, uint, ID3D12CommandList**, void>)(lpVtbl[10]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), NumCommandLists, ppCommandLists);
} }
/// <include file='../Direct3D12.xml' path='doc/member[@name="ID3D12CommandQueue::SetMarker"]/*' /> /// <include file='../Direct3D12.xml' path='doc/member[@name="ID3D12CommandQueue::SetMarker"]/*' />
@@ -15778,17 +15778,17 @@ public unsafe partial struct ID3D12Device
/// <include file='../Direct3D12.xml' path='doc/member[@name="ID3D12Device::MakeResident"]/*' /> /// <include file='../Direct3D12.xml' path='doc/member[@name="ID3D12Device::MakeResident"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(34)] [VtblIndex(34)]
public HResult MakeResident(uint NumObjects, ID3D12Pageable* ppObjects) public HResult MakeResident(uint NumObjects, ID3D12Pageable** ppObjects)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device*, uint, ID3D12Pageable*, int>)(lpVtbl[34]))((ID3D12Device*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); return ((delegate* unmanaged[Stdcall]<ID3D12Device*, uint, ID3D12Pageable**, int>)(lpVtbl[34]))((ID3D12Device*)Unsafe.AsPointer(ref this), NumObjects, ppObjects);
} }
/// <include file='../Direct3D12.xml' path='doc/member[@name="ID3D12Device::Evict"]/*' /> /// <include file='../Direct3D12.xml' path='doc/member[@name="ID3D12Device::Evict"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(35)] [VtblIndex(35)]
public HResult Evict(uint NumObjects, ID3D12Pageable* ppObjects) public HResult Evict(uint NumObjects, ID3D12Pageable** ppObjects)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device*, uint, ID3D12Pageable*, int>)(lpVtbl[35]))((ID3D12Device*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); return ((delegate* unmanaged[Stdcall]<ID3D12Device*, uint, ID3D12Pageable**, int>)(lpVtbl[35]))((ID3D12Device*)Unsafe.AsPointer(ref this), NumObjects, ppObjects);
} }
/// <include file='../Direct3D12.xml' path='doc/member[@name="ID3D12Device::CreateFence"]/*' /> /// <include file='../Direct3D12.xml' path='doc/member[@name="ID3D12Device::CreateFence"]/*' />
@@ -16431,17 +16431,17 @@ public unsafe partial struct ID3D12Device1
/// <inheritdoc cref="ID3D12Device.MakeResident" /> /// <inheritdoc cref="ID3D12Device.MakeResident" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(30)] [VtblIndex(30)]
public HResult MakeResident(uint NumObjects, ID3D12Pageable* ppObjects) public HResult MakeResident(uint NumObjects, ID3D12Pageable** ppObjects)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device1*, uint, ID3D12Pageable*, int>)(lpVtbl[30]))((ID3D12Device1*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); return ((delegate* unmanaged[Stdcall]<ID3D12Device1*, uint, ID3D12Pageable**, int>)(lpVtbl[30]))((ID3D12Device1*)Unsafe.AsPointer(ref this), NumObjects, ppObjects);
} }
/// <inheritdoc cref="ID3D12Device.Evict" /> /// <inheritdoc cref="ID3D12Device.Evict" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(31)] [VtblIndex(31)]
public HResult Evict(uint NumObjects, ID3D12Pageable* ppObjects) public HResult Evict(uint NumObjects, ID3D12Pageable** ppObjects)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device1*, uint, ID3D12Pageable*, int>)(lpVtbl[31]))((ID3D12Device1*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); return ((delegate* unmanaged[Stdcall]<ID3D12Device1*, uint, ID3D12Pageable**, int>)(lpVtbl[31]))((ID3D12Device1*)Unsafe.AsPointer(ref this), NumObjects, ppObjects);
} }
/// <inheritdoc cref="ID3D12Device.CreateFence" /> /// <inheritdoc cref="ID3D12Device.CreateFence" />
@@ -16551,17 +16551,17 @@ public unsafe partial struct ID3D12Device1
/// <include file='../Direct3D12.xml' path='doc/member[@name="ID3D12Device1::SetEventOnMultipleFenceCompletion"]/*' /> /// <include file='../Direct3D12.xml' path='doc/member[@name="ID3D12Device1::SetEventOnMultipleFenceCompletion"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(45)] [VtblIndex(45)]
public HResult SetEventOnMultipleFenceCompletion(ID3D12Fence* ppFences, ulong* pFenceValues, uint NumFences, MultipleFenceWaitFlags Flags, IntPtr hEvent) public HResult SetEventOnMultipleFenceCompletion(ID3D12Fence** ppFences, ulong* pFenceValues, uint NumFences, MultipleFenceWaitFlags Flags, IntPtr hEvent)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device1*, ID3D12Fence*, ulong*, uint, MultipleFenceWaitFlags, IntPtr, int>)(lpVtbl[45]))((ID3D12Device1*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent); return ((delegate* unmanaged[Stdcall]<ID3D12Device1*, ID3D12Fence**, ulong*, uint, MultipleFenceWaitFlags, IntPtr, int>)(lpVtbl[45]))((ID3D12Device1*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent);
} }
/// <include file='../Direct3D12.xml' path='doc/member[@name="ID3D12Device1::SetResidencyPriority"]/*' /> /// <include file='../Direct3D12.xml' path='doc/member[@name="ID3D12Device1::SetResidencyPriority"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(46)] [VtblIndex(46)]
public HResult SetResidencyPriority(uint NumObjects, ID3D12Pageable* ppObjects, ResidencyPriority* pPriorities) public HResult SetResidencyPriority(uint NumObjects, ID3D12Pageable** ppObjects, ResidencyPriority* pPriorities)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device1*, uint, ID3D12Pageable*, ResidencyPriority*, int>)(lpVtbl[46]))((ID3D12Device1*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities); return ((delegate* unmanaged[Stdcall]<ID3D12Device1*, uint, ID3D12Pageable**, ResidencyPriority*, int>)(lpVtbl[46]))((ID3D12Device1*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities);
} }
} }
@@ -16638,17 +16638,17 @@ public unsafe partial struct ID3D12Device2
/// <inheritdoc cref="ID3D12Device1.SetEventOnMultipleFenceCompletion" /> /// <inheritdoc cref="ID3D12Device1.SetEventOnMultipleFenceCompletion" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(4)] [VtblIndex(4)]
public HResult SetEventOnMultipleFenceCompletion(ID3D12Fence* ppFences, ulong* pFenceValues, uint NumFences, MultipleFenceWaitFlags Flags, IntPtr hEvent) public HResult SetEventOnMultipleFenceCompletion(ID3D12Fence** ppFences, ulong* pFenceValues, uint NumFences, MultipleFenceWaitFlags Flags, IntPtr hEvent)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device2*, ID3D12Fence*, ulong*, uint, MultipleFenceWaitFlags, IntPtr, int>)(lpVtbl[4]))((ID3D12Device2*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent); return ((delegate* unmanaged[Stdcall]<ID3D12Device2*, ID3D12Fence**, ulong*, uint, MultipleFenceWaitFlags, IntPtr, int>)(lpVtbl[4]))((ID3D12Device2*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent);
} }
/// <inheritdoc cref="ID3D12Device1.SetResidencyPriority" /> /// <inheritdoc cref="ID3D12Device1.SetResidencyPriority" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(5)] [VtblIndex(5)]
public HResult SetResidencyPriority(uint NumObjects, ID3D12Pageable* ppObjects, ResidencyPriority* pPriorities) public HResult SetResidencyPriority(uint NumObjects, ID3D12Pageable** ppObjects, ResidencyPriority* pPriorities)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device2*, uint, ID3D12Pageable*, ResidencyPriority*, int>)(lpVtbl[5]))((ID3D12Device2*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities); return ((delegate* unmanaged[Stdcall]<ID3D12Device2*, uint, ID3D12Pageable**, ResidencyPriority*, int>)(lpVtbl[5]))((ID3D12Device2*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities);
} }
/// <inheritdoc cref="ID3D12Device.GetNodeCount" /> /// <inheritdoc cref="ID3D12Device.GetNodeCount" />
@@ -16870,17 +16870,17 @@ public unsafe partial struct ID3D12Device2
/// <inheritdoc cref="ID3D12Device.MakeResident" /> /// <inheritdoc cref="ID3D12Device.MakeResident" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(33)] [VtblIndex(33)]
public HResult MakeResident(uint NumObjects, ID3D12Pageable* ppObjects) public HResult MakeResident(uint NumObjects, ID3D12Pageable** ppObjects)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device2*, uint, ID3D12Pageable*, int>)(lpVtbl[33]))((ID3D12Device2*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); return ((delegate* unmanaged[Stdcall]<ID3D12Device2*, uint, ID3D12Pageable**, int>)(lpVtbl[33]))((ID3D12Device2*)Unsafe.AsPointer(ref this), NumObjects, ppObjects);
} }
/// <inheritdoc cref="ID3D12Device.Evict" /> /// <inheritdoc cref="ID3D12Device.Evict" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(34)] [VtblIndex(34)]
public HResult Evict(uint NumObjects, ID3D12Pageable* ppObjects) public HResult Evict(uint NumObjects, ID3D12Pageable** ppObjects)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device2*, uint, ID3D12Pageable*, int>)(lpVtbl[34]))((ID3D12Device2*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); return ((delegate* unmanaged[Stdcall]<ID3D12Device2*, uint, ID3D12Pageable**, int>)(lpVtbl[34]))((ID3D12Device2*)Unsafe.AsPointer(ref this), NumObjects, ppObjects);
} }
/// <inheritdoc cref="ID3D12Device.CreateFence" /> /// <inheritdoc cref="ID3D12Device.CreateFence" />
@@ -17069,17 +17069,17 @@ public unsafe partial struct ID3D12Device3
/// <inheritdoc cref="ID3D12Device1.SetEventOnMultipleFenceCompletion" /> /// <inheritdoc cref="ID3D12Device1.SetEventOnMultipleFenceCompletion" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(5)] [VtblIndex(5)]
public HResult SetEventOnMultipleFenceCompletion(ID3D12Fence* ppFences, ulong* pFenceValues, uint NumFences, MultipleFenceWaitFlags Flags, IntPtr hEvent) public HResult SetEventOnMultipleFenceCompletion(ID3D12Fence** ppFences, ulong* pFenceValues, uint NumFences, MultipleFenceWaitFlags Flags, IntPtr hEvent)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device3*, ID3D12Fence*, ulong*, uint, MultipleFenceWaitFlags, IntPtr, int>)(lpVtbl[5]))((ID3D12Device3*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent); return ((delegate* unmanaged[Stdcall]<ID3D12Device3*, ID3D12Fence**, ulong*, uint, MultipleFenceWaitFlags, IntPtr, int>)(lpVtbl[5]))((ID3D12Device3*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent);
} }
/// <inheritdoc cref="ID3D12Device1.SetResidencyPriority" /> /// <inheritdoc cref="ID3D12Device1.SetResidencyPriority" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(6)] [VtblIndex(6)]
public HResult SetResidencyPriority(uint NumObjects, ID3D12Pageable* ppObjects, ResidencyPriority* pPriorities) public HResult SetResidencyPriority(uint NumObjects, ID3D12Pageable** ppObjects, ResidencyPriority* pPriorities)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device3*, uint, ID3D12Pageable*, ResidencyPriority*, int>)(lpVtbl[6]))((ID3D12Device3*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities); return ((delegate* unmanaged[Stdcall]<ID3D12Device3*, uint, ID3D12Pageable**, ResidencyPriority*, int>)(lpVtbl[6]))((ID3D12Device3*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities);
} }
/// <inheritdoc cref="ID3D12Device.GetNodeCount" /> /// <inheritdoc cref="ID3D12Device.GetNodeCount" />
@@ -17301,17 +17301,17 @@ public unsafe partial struct ID3D12Device3
/// <inheritdoc cref="ID3D12Device.MakeResident" /> /// <inheritdoc cref="ID3D12Device.MakeResident" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(34)] [VtblIndex(34)]
public HResult MakeResident(uint NumObjects, ID3D12Pageable* ppObjects) public HResult MakeResident(uint NumObjects, ID3D12Pageable** ppObjects)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device3*, uint, ID3D12Pageable*, int>)(lpVtbl[34]))((ID3D12Device3*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); return ((delegate* unmanaged[Stdcall]<ID3D12Device3*, uint, ID3D12Pageable**, int>)(lpVtbl[34]))((ID3D12Device3*)Unsafe.AsPointer(ref this), NumObjects, ppObjects);
} }
/// <inheritdoc cref="ID3D12Device.Evict" /> /// <inheritdoc cref="ID3D12Device.Evict" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(35)] [VtblIndex(35)]
public HResult Evict(uint NumObjects, ID3D12Pageable* ppObjects) public HResult Evict(uint NumObjects, ID3D12Pageable** ppObjects)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device3*, uint, ID3D12Pageable*, int>)(lpVtbl[35]))((ID3D12Device3*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); return ((delegate* unmanaged[Stdcall]<ID3D12Device3*, uint, ID3D12Pageable**, int>)(lpVtbl[35]))((ID3D12Device3*)Unsafe.AsPointer(ref this), NumObjects, ppObjects);
} }
/// <inheritdoc cref="ID3D12Device.CreateFence" /> /// <inheritdoc cref="ID3D12Device.CreateFence" />
@@ -17429,9 +17429,9 @@ public unsafe partial struct ID3D12Device3
/// <include file='../Direct3D12.xml' path='doc/member[@name="ID3D12Device3::EnqueueMakeResident"]/*' /> /// <include file='../Direct3D12.xml' path='doc/member[@name="ID3D12Device3::EnqueueMakeResident"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(50)] [VtblIndex(50)]
public HResult EnqueueMakeResident(ResidencyFlags Flags, uint NumObjects, ID3D12Pageable* ppObjects, ID3D12Fence* pFenceToSignal, ulong FenceValueToSignal) public HResult EnqueueMakeResident(ResidencyFlags Flags, uint NumObjects, ID3D12Pageable** ppObjects, ID3D12Fence* pFenceToSignal, ulong FenceValueToSignal)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device3*, ResidencyFlags, uint, ID3D12Pageable*, ID3D12Fence*, ulong, int>)(lpVtbl[50]))((ID3D12Device3*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal); return ((delegate* unmanaged[Stdcall]<ID3D12Device3*, ResidencyFlags, uint, ID3D12Pageable**, ID3D12Fence*, ulong, int>)(lpVtbl[50]))((ID3D12Device3*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal);
} }
} }
@@ -17762,9 +17762,9 @@ public unsafe partial struct ID3D12Device4
/// <inheritdoc cref="ID3D12Device3.EnqueueMakeResident" /> /// <inheritdoc cref="ID3D12Device3.EnqueueMakeResident" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(5)] [VtblIndex(5)]
public HResult EnqueueMakeResident(ResidencyFlags Flags, uint NumObjects, ID3D12Pageable* ppObjects, ID3D12Fence* pFenceToSignal, ulong FenceValueToSignal) public HResult EnqueueMakeResident(ResidencyFlags Flags, uint NumObjects, ID3D12Pageable** ppObjects, ID3D12Fence* pFenceToSignal, ulong FenceValueToSignal)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device4*, ResidencyFlags, uint, ID3D12Pageable*, ID3D12Fence*, ulong, int>)(lpVtbl[5]))((ID3D12Device4*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal); return ((delegate* unmanaged[Stdcall]<ID3D12Device4*, ResidencyFlags, uint, ID3D12Pageable**, ID3D12Fence*, ulong, int>)(lpVtbl[5]))((ID3D12Device4*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal);
} }
/// <inheritdoc cref="ID3D12Device2.CreatePipelineState" /> /// <inheritdoc cref="ID3D12Device2.CreatePipelineState" />
@@ -17786,17 +17786,17 @@ public unsafe partial struct ID3D12Device4
/// <inheritdoc cref="ID3D12Device1.SetEventOnMultipleFenceCompletion" /> /// <inheritdoc cref="ID3D12Device1.SetEventOnMultipleFenceCompletion" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(8)] [VtblIndex(8)]
public HResult SetEventOnMultipleFenceCompletion(ID3D12Fence* ppFences, ulong* pFenceValues, uint NumFences, MultipleFenceWaitFlags Flags, IntPtr hEvent) public HResult SetEventOnMultipleFenceCompletion(ID3D12Fence** ppFences, ulong* pFenceValues, uint NumFences, MultipleFenceWaitFlags Flags, IntPtr hEvent)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device4*, ID3D12Fence*, ulong*, uint, MultipleFenceWaitFlags, IntPtr, int>)(lpVtbl[8]))((ID3D12Device4*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent); return ((delegate* unmanaged[Stdcall]<ID3D12Device4*, ID3D12Fence**, ulong*, uint, MultipleFenceWaitFlags, IntPtr, int>)(lpVtbl[8]))((ID3D12Device4*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent);
} }
/// <inheritdoc cref="ID3D12Device1.SetResidencyPriority" /> /// <inheritdoc cref="ID3D12Device1.SetResidencyPriority" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(9)] [VtblIndex(9)]
public HResult SetResidencyPriority(uint NumObjects, ID3D12Pageable* ppObjects, ResidencyPriority* pPriorities) public HResult SetResidencyPriority(uint NumObjects, ID3D12Pageable** ppObjects, ResidencyPriority* pPriorities)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device4*, uint, ID3D12Pageable*, ResidencyPriority*, int>)(lpVtbl[9]))((ID3D12Device4*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities); return ((delegate* unmanaged[Stdcall]<ID3D12Device4*, uint, ID3D12Pageable**, ResidencyPriority*, int>)(lpVtbl[9]))((ID3D12Device4*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities);
} }
/// <inheritdoc cref="ID3D12Device.GetNodeCount" /> /// <inheritdoc cref="ID3D12Device.GetNodeCount" />
@@ -18018,17 +18018,17 @@ public unsafe partial struct ID3D12Device4
/// <inheritdoc cref="ID3D12Device.MakeResident" /> /// <inheritdoc cref="ID3D12Device.MakeResident" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(37)] [VtblIndex(37)]
public HResult MakeResident(uint NumObjects, ID3D12Pageable* ppObjects) public HResult MakeResident(uint NumObjects, ID3D12Pageable** ppObjects)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device4*, uint, ID3D12Pageable*, int>)(lpVtbl[37]))((ID3D12Device4*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); return ((delegate* unmanaged[Stdcall]<ID3D12Device4*, uint, ID3D12Pageable**, int>)(lpVtbl[37]))((ID3D12Device4*)Unsafe.AsPointer(ref this), NumObjects, ppObjects);
} }
/// <inheritdoc cref="ID3D12Device.Evict" /> /// <inheritdoc cref="ID3D12Device.Evict" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(38)] [VtblIndex(38)]
public HResult Evict(uint NumObjects, ID3D12Pageable* ppObjects) public HResult Evict(uint NumObjects, ID3D12Pageable** ppObjects)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device4*, uint, ID3D12Pageable*, int>)(lpVtbl[38]))((ID3D12Device4*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); return ((delegate* unmanaged[Stdcall]<ID3D12Device4*, uint, ID3D12Pageable**, int>)(lpVtbl[38]))((ID3D12Device4*)Unsafe.AsPointer(ref this), NumObjects, ppObjects);
} }
/// <inheritdoc cref="ID3D12Device.CreateFence" /> /// <inheritdoc cref="ID3D12Device.CreateFence" />
@@ -18780,9 +18780,9 @@ public unsafe partial struct ID3D12Device5
/// <inheritdoc cref="ID3D12Device3.EnqueueMakeResident" /> /// <inheritdoc cref="ID3D12Device3.EnqueueMakeResident" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(11)] [VtblIndex(11)]
public HResult EnqueueMakeResident(ResidencyFlags Flags, uint NumObjects, ID3D12Pageable* ppObjects, ID3D12Fence* pFenceToSignal, ulong FenceValueToSignal) public HResult EnqueueMakeResident(ResidencyFlags Flags, uint NumObjects, ID3D12Pageable** ppObjects, ID3D12Fence* pFenceToSignal, ulong FenceValueToSignal)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device5*, ResidencyFlags, uint, ID3D12Pageable*, ID3D12Fence*, ulong, int>)(lpVtbl[11]))((ID3D12Device5*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal); return ((delegate* unmanaged[Stdcall]<ID3D12Device5*, ResidencyFlags, uint, ID3D12Pageable**, ID3D12Fence*, ulong, int>)(lpVtbl[11]))((ID3D12Device5*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal);
} }
/// <inheritdoc cref="ID3D12Device2.CreatePipelineState" /> /// <inheritdoc cref="ID3D12Device2.CreatePipelineState" />
@@ -18804,17 +18804,17 @@ public unsafe partial struct ID3D12Device5
/// <inheritdoc cref="ID3D12Device1.SetEventOnMultipleFenceCompletion" /> /// <inheritdoc cref="ID3D12Device1.SetEventOnMultipleFenceCompletion" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(14)] [VtblIndex(14)]
public HResult SetEventOnMultipleFenceCompletion(ID3D12Fence* ppFences, ulong* pFenceValues, uint NumFences, MultipleFenceWaitFlags Flags, IntPtr hEvent) public HResult SetEventOnMultipleFenceCompletion(ID3D12Fence** ppFences, ulong* pFenceValues, uint NumFences, MultipleFenceWaitFlags Flags, IntPtr hEvent)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device5*, ID3D12Fence*, ulong*, uint, MultipleFenceWaitFlags, IntPtr, int>)(lpVtbl[14]))((ID3D12Device5*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent); return ((delegate* unmanaged[Stdcall]<ID3D12Device5*, ID3D12Fence**, ulong*, uint, MultipleFenceWaitFlags, IntPtr, int>)(lpVtbl[14]))((ID3D12Device5*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent);
} }
/// <inheritdoc cref="ID3D12Device1.SetResidencyPriority" /> /// <inheritdoc cref="ID3D12Device1.SetResidencyPriority" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(15)] [VtblIndex(15)]
public HResult SetResidencyPriority(uint NumObjects, ID3D12Pageable* ppObjects, ResidencyPriority* pPriorities) public HResult SetResidencyPriority(uint NumObjects, ID3D12Pageable** ppObjects, ResidencyPriority* pPriorities)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device5*, uint, ID3D12Pageable*, ResidencyPriority*, int>)(lpVtbl[15]))((ID3D12Device5*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities); return ((delegate* unmanaged[Stdcall]<ID3D12Device5*, uint, ID3D12Pageable**, ResidencyPriority*, int>)(lpVtbl[15]))((ID3D12Device5*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities);
} }
/// <inheritdoc cref="ID3D12Device.GetNodeCount" /> /// <inheritdoc cref="ID3D12Device.GetNodeCount" />
@@ -19036,17 +19036,17 @@ public unsafe partial struct ID3D12Device5
/// <inheritdoc cref="ID3D12Device.MakeResident" /> /// <inheritdoc cref="ID3D12Device.MakeResident" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(43)] [VtblIndex(43)]
public HResult MakeResident(uint NumObjects, ID3D12Pageable* ppObjects) public HResult MakeResident(uint NumObjects, ID3D12Pageable** ppObjects)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device5*, uint, ID3D12Pageable*, int>)(lpVtbl[43]))((ID3D12Device5*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); return ((delegate* unmanaged[Stdcall]<ID3D12Device5*, uint, ID3D12Pageable**, int>)(lpVtbl[43]))((ID3D12Device5*)Unsafe.AsPointer(ref this), NumObjects, ppObjects);
} }
/// <inheritdoc cref="ID3D12Device.Evict" /> /// <inheritdoc cref="ID3D12Device.Evict" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(44)] [VtblIndex(44)]
public HResult Evict(uint NumObjects, ID3D12Pageable* ppObjects) public HResult Evict(uint NumObjects, ID3D12Pageable** ppObjects)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device5*, uint, ID3D12Pageable*, int>)(lpVtbl[44]))((ID3D12Device5*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); return ((delegate* unmanaged[Stdcall]<ID3D12Device5*, uint, ID3D12Pageable**, int>)(lpVtbl[44]))((ID3D12Device5*)Unsafe.AsPointer(ref this), NumObjects, ppObjects);
} }
/// <inheritdoc cref="ID3D12Device.CreateFence" /> /// <inheritdoc cref="ID3D12Device.CreateFence" />
@@ -19870,9 +19870,9 @@ public unsafe partial struct ID3D12Device6
/// <inheritdoc cref="ID3D12Device3.EnqueueMakeResident" /> /// <inheritdoc cref="ID3D12Device3.EnqueueMakeResident" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(19)] [VtblIndex(19)]
public HResult EnqueueMakeResident(ResidencyFlags Flags, uint NumObjects, ID3D12Pageable* ppObjects, ID3D12Fence* pFenceToSignal, ulong FenceValueToSignal) public HResult EnqueueMakeResident(ResidencyFlags Flags, uint NumObjects, ID3D12Pageable** ppObjects, ID3D12Fence* pFenceToSignal, ulong FenceValueToSignal)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device6*, ResidencyFlags, uint, ID3D12Pageable*, ID3D12Fence*, ulong, int>)(lpVtbl[19]))((ID3D12Device6*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal); return ((delegate* unmanaged[Stdcall]<ID3D12Device6*, ResidencyFlags, uint, ID3D12Pageable**, ID3D12Fence*, ulong, int>)(lpVtbl[19]))((ID3D12Device6*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal);
} }
/// <inheritdoc cref="ID3D12Device2.CreatePipelineState" /> /// <inheritdoc cref="ID3D12Device2.CreatePipelineState" />
@@ -19894,17 +19894,17 @@ public unsafe partial struct ID3D12Device6
/// <inheritdoc cref="ID3D12Device1.SetEventOnMultipleFenceCompletion" /> /// <inheritdoc cref="ID3D12Device1.SetEventOnMultipleFenceCompletion" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(22)] [VtblIndex(22)]
public HResult SetEventOnMultipleFenceCompletion(ID3D12Fence* ppFences, ulong* pFenceValues, uint NumFences, MultipleFenceWaitFlags Flags, IntPtr hEvent) public HResult SetEventOnMultipleFenceCompletion(ID3D12Fence** ppFences, ulong* pFenceValues, uint NumFences, MultipleFenceWaitFlags Flags, IntPtr hEvent)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device6*, ID3D12Fence*, ulong*, uint, MultipleFenceWaitFlags, IntPtr, int>)(lpVtbl[22]))((ID3D12Device6*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent); return ((delegate* unmanaged[Stdcall]<ID3D12Device6*, ID3D12Fence**, ulong*, uint, MultipleFenceWaitFlags, IntPtr, int>)(lpVtbl[22]))((ID3D12Device6*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent);
} }
/// <inheritdoc cref="ID3D12Device1.SetResidencyPriority" /> /// <inheritdoc cref="ID3D12Device1.SetResidencyPriority" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(23)] [VtblIndex(23)]
public HResult SetResidencyPriority(uint NumObjects, ID3D12Pageable* ppObjects, ResidencyPriority* pPriorities) public HResult SetResidencyPriority(uint NumObjects, ID3D12Pageable** ppObjects, ResidencyPriority* pPriorities)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device6*, uint, ID3D12Pageable*, ResidencyPriority*, int>)(lpVtbl[23]))((ID3D12Device6*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities); return ((delegate* unmanaged[Stdcall]<ID3D12Device6*, uint, ID3D12Pageable**, ResidencyPriority*, int>)(lpVtbl[23]))((ID3D12Device6*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities);
} }
/// <inheritdoc cref="ID3D12Device.GetNodeCount" /> /// <inheritdoc cref="ID3D12Device.GetNodeCount" />
@@ -20126,17 +20126,17 @@ public unsafe partial struct ID3D12Device6
/// <inheritdoc cref="ID3D12Device.MakeResident" /> /// <inheritdoc cref="ID3D12Device.MakeResident" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(51)] [VtblIndex(51)]
public HResult MakeResident(uint NumObjects, ID3D12Pageable* ppObjects) public HResult MakeResident(uint NumObjects, ID3D12Pageable** ppObjects)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device6*, uint, ID3D12Pageable*, int>)(lpVtbl[51]))((ID3D12Device6*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); return ((delegate* unmanaged[Stdcall]<ID3D12Device6*, uint, ID3D12Pageable**, int>)(lpVtbl[51]))((ID3D12Device6*)Unsafe.AsPointer(ref this), NumObjects, ppObjects);
} }
/// <inheritdoc cref="ID3D12Device.Evict" /> /// <inheritdoc cref="ID3D12Device.Evict" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(52)] [VtblIndex(52)]
public HResult Evict(uint NumObjects, ID3D12Pageable* ppObjects) public HResult Evict(uint NumObjects, ID3D12Pageable** ppObjects)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device6*, uint, ID3D12Pageable*, int>)(lpVtbl[52]))((ID3D12Device6*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); return ((delegate* unmanaged[Stdcall]<ID3D12Device6*, uint, ID3D12Pageable**, int>)(lpVtbl[52]))((ID3D12Device6*)Unsafe.AsPointer(ref this), NumObjects, ppObjects);
} }
/// <inheritdoc cref="ID3D12Device.CreateFence" /> /// <inheritdoc cref="ID3D12Device.CreateFence" />
@@ -20580,9 +20580,9 @@ public unsafe partial struct ID3D12Device7
/// <inheritdoc cref="ID3D12Device3.EnqueueMakeResident" /> /// <inheritdoc cref="ID3D12Device3.EnqueueMakeResident" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(20)] [VtblIndex(20)]
public HResult EnqueueMakeResident(ResidencyFlags Flags, uint NumObjects, ID3D12Pageable* ppObjects, ID3D12Fence* pFenceToSignal, ulong FenceValueToSignal) public HResult EnqueueMakeResident(ResidencyFlags Flags, uint NumObjects, ID3D12Pageable** ppObjects, ID3D12Fence* pFenceToSignal, ulong FenceValueToSignal)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device7*, ResidencyFlags, uint, ID3D12Pageable*, ID3D12Fence*, ulong, int>)(lpVtbl[20]))((ID3D12Device7*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal); return ((delegate* unmanaged[Stdcall]<ID3D12Device7*, ResidencyFlags, uint, ID3D12Pageable**, ID3D12Fence*, ulong, int>)(lpVtbl[20]))((ID3D12Device7*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal);
} }
/// <inheritdoc cref="ID3D12Device2.CreatePipelineState" /> /// <inheritdoc cref="ID3D12Device2.CreatePipelineState" />
@@ -20604,17 +20604,17 @@ public unsafe partial struct ID3D12Device7
/// <inheritdoc cref="ID3D12Device1.SetEventOnMultipleFenceCompletion" /> /// <inheritdoc cref="ID3D12Device1.SetEventOnMultipleFenceCompletion" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(23)] [VtblIndex(23)]
public HResult SetEventOnMultipleFenceCompletion(ID3D12Fence* ppFences, ulong* pFenceValues, uint NumFences, MultipleFenceWaitFlags Flags, IntPtr hEvent) public HResult SetEventOnMultipleFenceCompletion(ID3D12Fence** ppFences, ulong* pFenceValues, uint NumFences, MultipleFenceWaitFlags Flags, IntPtr hEvent)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device7*, ID3D12Fence*, ulong*, uint, MultipleFenceWaitFlags, IntPtr, int>)(lpVtbl[23]))((ID3D12Device7*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent); return ((delegate* unmanaged[Stdcall]<ID3D12Device7*, ID3D12Fence**, ulong*, uint, MultipleFenceWaitFlags, IntPtr, int>)(lpVtbl[23]))((ID3D12Device7*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent);
} }
/// <inheritdoc cref="ID3D12Device1.SetResidencyPriority" /> /// <inheritdoc cref="ID3D12Device1.SetResidencyPriority" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(24)] [VtblIndex(24)]
public HResult SetResidencyPriority(uint NumObjects, ID3D12Pageable* ppObjects, ResidencyPriority* pPriorities) public HResult SetResidencyPriority(uint NumObjects, ID3D12Pageable** ppObjects, ResidencyPriority* pPriorities)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device7*, uint, ID3D12Pageable*, ResidencyPriority*, int>)(lpVtbl[24]))((ID3D12Device7*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities); return ((delegate* unmanaged[Stdcall]<ID3D12Device7*, uint, ID3D12Pageable**, ResidencyPriority*, int>)(lpVtbl[24]))((ID3D12Device7*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities);
} }
/// <inheritdoc cref="ID3D12Device.GetNodeCount" /> /// <inheritdoc cref="ID3D12Device.GetNodeCount" />
@@ -20836,17 +20836,17 @@ public unsafe partial struct ID3D12Device7
/// <inheritdoc cref="ID3D12Device.MakeResident" /> /// <inheritdoc cref="ID3D12Device.MakeResident" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(52)] [VtblIndex(52)]
public HResult MakeResident(uint NumObjects, ID3D12Pageable* ppObjects) public HResult MakeResident(uint NumObjects, ID3D12Pageable** ppObjects)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device7*, uint, ID3D12Pageable*, int>)(lpVtbl[52]))((ID3D12Device7*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); return ((delegate* unmanaged[Stdcall]<ID3D12Device7*, uint, ID3D12Pageable**, int>)(lpVtbl[52]))((ID3D12Device7*)Unsafe.AsPointer(ref this), NumObjects, ppObjects);
} }
/// <inheritdoc cref="ID3D12Device.Evict" /> /// <inheritdoc cref="ID3D12Device.Evict" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(53)] [VtblIndex(53)]
public HResult Evict(uint NumObjects, ID3D12Pageable* ppObjects) public HResult Evict(uint NumObjects, ID3D12Pageable** ppObjects)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device7*, uint, ID3D12Pageable*, int>)(lpVtbl[53]))((ID3D12Device7*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); return ((delegate* unmanaged[Stdcall]<ID3D12Device7*, uint, ID3D12Pageable**, int>)(lpVtbl[53]))((ID3D12Device7*)Unsafe.AsPointer(ref this), NumObjects, ppObjects);
} }
/// <inheritdoc cref="ID3D12Device.CreateFence" /> /// <inheritdoc cref="ID3D12Device.CreateFence" />
@@ -21179,9 +21179,9 @@ public unsafe partial struct ID3D12Device8
/// <inheritdoc cref="ID3D12Device3.EnqueueMakeResident" /> /// <inheritdoc cref="ID3D12Device3.EnqueueMakeResident" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(22)] [VtblIndex(22)]
public HResult EnqueueMakeResident(ResidencyFlags Flags, uint NumObjects, ID3D12Pageable* ppObjects, ID3D12Fence* pFenceToSignal, ulong FenceValueToSignal) public HResult EnqueueMakeResident(ResidencyFlags Flags, uint NumObjects, ID3D12Pageable** ppObjects, ID3D12Fence* pFenceToSignal, ulong FenceValueToSignal)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device8*, ResidencyFlags, uint, ID3D12Pageable*, ID3D12Fence*, ulong, int>)(lpVtbl[22]))((ID3D12Device8*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal); return ((delegate* unmanaged[Stdcall]<ID3D12Device8*, ResidencyFlags, uint, ID3D12Pageable**, ID3D12Fence*, ulong, int>)(lpVtbl[22]))((ID3D12Device8*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal);
} }
/// <inheritdoc cref="ID3D12Device2.CreatePipelineState" /> /// <inheritdoc cref="ID3D12Device2.CreatePipelineState" />
@@ -21203,17 +21203,17 @@ public unsafe partial struct ID3D12Device8
/// <inheritdoc cref="ID3D12Device1.SetEventOnMultipleFenceCompletion" /> /// <inheritdoc cref="ID3D12Device1.SetEventOnMultipleFenceCompletion" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(25)] [VtblIndex(25)]
public HResult SetEventOnMultipleFenceCompletion(ID3D12Fence* ppFences, ulong* pFenceValues, uint NumFences, MultipleFenceWaitFlags Flags, IntPtr hEvent) public HResult SetEventOnMultipleFenceCompletion(ID3D12Fence** ppFences, ulong* pFenceValues, uint NumFences, MultipleFenceWaitFlags Flags, IntPtr hEvent)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device8*, ID3D12Fence*, ulong*, uint, MultipleFenceWaitFlags, IntPtr, int>)(lpVtbl[25]))((ID3D12Device8*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent); return ((delegate* unmanaged[Stdcall]<ID3D12Device8*, ID3D12Fence**, ulong*, uint, MultipleFenceWaitFlags, IntPtr, int>)(lpVtbl[25]))((ID3D12Device8*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent);
} }
/// <inheritdoc cref="ID3D12Device1.SetResidencyPriority" /> /// <inheritdoc cref="ID3D12Device1.SetResidencyPriority" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(26)] [VtblIndex(26)]
public HResult SetResidencyPriority(uint NumObjects, ID3D12Pageable* ppObjects, ResidencyPriority* pPriorities) public HResult SetResidencyPriority(uint NumObjects, ID3D12Pageable** ppObjects, ResidencyPriority* pPriorities)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device8*, uint, ID3D12Pageable*, ResidencyPriority*, int>)(lpVtbl[26]))((ID3D12Device8*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities); return ((delegate* unmanaged[Stdcall]<ID3D12Device8*, uint, ID3D12Pageable**, ResidencyPriority*, int>)(lpVtbl[26]))((ID3D12Device8*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities);
} }
/// <inheritdoc cref="ID3D12Device.GetNodeCount" /> /// <inheritdoc cref="ID3D12Device.GetNodeCount" />
@@ -21435,17 +21435,17 @@ public unsafe partial struct ID3D12Device8
/// <inheritdoc cref="ID3D12Device.MakeResident" /> /// <inheritdoc cref="ID3D12Device.MakeResident" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(54)] [VtblIndex(54)]
public HResult MakeResident(uint NumObjects, ID3D12Pageable* ppObjects) public HResult MakeResident(uint NumObjects, ID3D12Pageable** ppObjects)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device8*, uint, ID3D12Pageable*, int>)(lpVtbl[54]))((ID3D12Device8*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); return ((delegate* unmanaged[Stdcall]<ID3D12Device8*, uint, ID3D12Pageable**, int>)(lpVtbl[54]))((ID3D12Device8*)Unsafe.AsPointer(ref this), NumObjects, ppObjects);
} }
/// <inheritdoc cref="ID3D12Device.Evict" /> /// <inheritdoc cref="ID3D12Device.Evict" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(55)] [VtblIndex(55)]
public HResult Evict(uint NumObjects, ID3D12Pageable* ppObjects) public HResult Evict(uint NumObjects, ID3D12Pageable** ppObjects)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device8*, uint, ID3D12Pageable*, int>)(lpVtbl[55]))((ID3D12Device8*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); return ((delegate* unmanaged[Stdcall]<ID3D12Device8*, uint, ID3D12Pageable**, int>)(lpVtbl[55]))((ID3D12Device8*)Unsafe.AsPointer(ref this), NumObjects, ppObjects);
} }
/// <inheritdoc cref="ID3D12Device.CreateFence" /> /// <inheritdoc cref="ID3D12Device.CreateFence" />
@@ -22119,17 +22119,17 @@ public unsafe partial struct ID3D12GraphicsCommandList3
/// <inheritdoc cref="ID3D12GraphicsCommandList1.AtomicCopyBufferUINT" /> /// <inheritdoc cref="ID3D12GraphicsCommandList1.AtomicCopyBufferUINT" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(4)] [VtblIndex(4)]
public void AtomicCopyBufferUINT(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource* ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges) public void AtomicCopyBufferUINT(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource** ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges)
{ {
((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList3*, ID3D12Resource*, ulong, ID3D12Resource*, ulong, uint, ID3D12Resource*, SubresourceRangeUint64*, void>)(lpVtbl[4]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); ((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList3*, ID3D12Resource*, ulong, ID3D12Resource*, ulong, uint, ID3D12Resource**, SubresourceRangeUint64*, void>)(lpVtbl[4]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges);
} }
/// <inheritdoc cref="ID3D12GraphicsCommandList1.AtomicCopyBufferUINT64" /> /// <inheritdoc cref="ID3D12GraphicsCommandList1.AtomicCopyBufferUINT64" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(5)] [VtblIndex(5)]
public void AtomicCopyBufferUINT64(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource* ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges) public void AtomicCopyBufferUINT64(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource** ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges)
{ {
((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList3*, ID3D12Resource*, ulong, ID3D12Resource*, ulong, uint, ID3D12Resource*, SubresourceRangeUint64*, void>)(lpVtbl[5]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); ((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList3*, ID3D12Resource*, ulong, ID3D12Resource*, ulong, uint, ID3D12Resource**, SubresourceRangeUint64*, void>)(lpVtbl[5]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges);
} }
/// <inheritdoc cref="ID3D12GraphicsCommandList1.OMSetDepthBounds" /> /// <inheritdoc cref="ID3D12GraphicsCommandList1.OMSetDepthBounds" />
@@ -22319,9 +22319,9 @@ public unsafe partial struct ID3D12GraphicsCommandList3
/// <inheritdoc cref="ID3D12GraphicsCommandList.SetDescriptorHeaps" /> /// <inheritdoc cref="ID3D12GraphicsCommandList.SetDescriptorHeaps" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(29)] [VtblIndex(29)]
public void SetDescriptorHeaps(uint NumDescriptorHeaps, ID3D12DescriptorHeap* ppDescriptorHeaps) public void SetDescriptorHeaps(uint NumDescriptorHeaps, ID3D12DescriptorHeap** ppDescriptorHeaps)
{ {
((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList3*, uint, ID3D12DescriptorHeap*, void>)(lpVtbl[29]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps); ((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList3*, uint, ID3D12DescriptorHeap**, void>)(lpVtbl[29]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps);
} }
/// <inheritdoc cref="ID3D12GraphicsCommandList.SetComputeRootSignature" /> /// <inheritdoc cref="ID3D12GraphicsCommandList.SetComputeRootSignature" />
@@ -22821,17 +22821,17 @@ public unsafe partial struct ID3D12GraphicsCommandList4
/// <inheritdoc cref="ID3D12GraphicsCommandList1.AtomicCopyBufferUINT" /> /// <inheritdoc cref="ID3D12GraphicsCommandList1.AtomicCopyBufferUINT" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(5)] [VtblIndex(5)]
public void AtomicCopyBufferUINT(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource* ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges) public void AtomicCopyBufferUINT(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource** ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges)
{ {
((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList4*, ID3D12Resource*, ulong, ID3D12Resource*, ulong, uint, ID3D12Resource*, SubresourceRangeUint64*, void>)(lpVtbl[5]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); ((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList4*, ID3D12Resource*, ulong, ID3D12Resource*, ulong, uint, ID3D12Resource**, SubresourceRangeUint64*, void>)(lpVtbl[5]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges);
} }
/// <inheritdoc cref="ID3D12GraphicsCommandList1.AtomicCopyBufferUINT64" /> /// <inheritdoc cref="ID3D12GraphicsCommandList1.AtomicCopyBufferUINT64" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(6)] [VtblIndex(6)]
public void AtomicCopyBufferUINT64(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource* ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges) public void AtomicCopyBufferUINT64(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource** ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges)
{ {
((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList4*, ID3D12Resource*, ulong, ID3D12Resource*, ulong, uint, ID3D12Resource*, SubresourceRangeUint64*, void>)(lpVtbl[6]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); ((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList4*, ID3D12Resource*, ulong, ID3D12Resource*, ulong, uint, ID3D12Resource**, SubresourceRangeUint64*, void>)(lpVtbl[6]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges);
} }
/// <inheritdoc cref="ID3D12GraphicsCommandList1.OMSetDepthBounds" /> /// <inheritdoc cref="ID3D12GraphicsCommandList1.OMSetDepthBounds" />
@@ -23021,9 +23021,9 @@ public unsafe partial struct ID3D12GraphicsCommandList4
/// <inheritdoc cref="ID3D12GraphicsCommandList.SetDescriptorHeaps" /> /// <inheritdoc cref="ID3D12GraphicsCommandList.SetDescriptorHeaps" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(30)] [VtblIndex(30)]
public void SetDescriptorHeaps(uint NumDescriptorHeaps, ID3D12DescriptorHeap* ppDescriptorHeaps) public void SetDescriptorHeaps(uint NumDescriptorHeaps, ID3D12DescriptorHeap** ppDescriptorHeaps)
{ {
((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList4*, uint, ID3D12DescriptorHeap*, void>)(lpVtbl[30]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps); ((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList4*, uint, ID3D12DescriptorHeap**, void>)(lpVtbl[30]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps);
} }
/// <inheritdoc cref="ID3D12GraphicsCommandList.SetComputeRootSignature" /> /// <inheritdoc cref="ID3D12GraphicsCommandList.SetComputeRootSignature" />
@@ -23787,9 +23787,9 @@ public unsafe partial struct ID3D12Device9
/// <inheritdoc cref="ID3D12Device3.EnqueueMakeResident" /> /// <inheritdoc cref="ID3D12Device3.EnqueueMakeResident" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(27)] [VtblIndex(27)]
public HResult EnqueueMakeResident(ResidencyFlags Flags, uint NumObjects, ID3D12Pageable* ppObjects, ID3D12Fence* pFenceToSignal, ulong FenceValueToSignal) public HResult EnqueueMakeResident(ResidencyFlags Flags, uint NumObjects, ID3D12Pageable** ppObjects, ID3D12Fence* pFenceToSignal, ulong FenceValueToSignal)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device9*, ResidencyFlags, uint, ID3D12Pageable*, ID3D12Fence*, ulong, int>)(lpVtbl[27]))((ID3D12Device9*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal); return ((delegate* unmanaged[Stdcall]<ID3D12Device9*, ResidencyFlags, uint, ID3D12Pageable**, ID3D12Fence*, ulong, int>)(lpVtbl[27]))((ID3D12Device9*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal);
} }
/// <inheritdoc cref="ID3D12Device2.CreatePipelineState" /> /// <inheritdoc cref="ID3D12Device2.CreatePipelineState" />
@@ -23811,17 +23811,17 @@ public unsafe partial struct ID3D12Device9
/// <inheritdoc cref="ID3D12Device1.SetEventOnMultipleFenceCompletion" /> /// <inheritdoc cref="ID3D12Device1.SetEventOnMultipleFenceCompletion" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(30)] [VtblIndex(30)]
public HResult SetEventOnMultipleFenceCompletion(ID3D12Fence* ppFences, ulong* pFenceValues, uint NumFences, MultipleFenceWaitFlags Flags, IntPtr hEvent) public HResult SetEventOnMultipleFenceCompletion(ID3D12Fence** ppFences, ulong* pFenceValues, uint NumFences, MultipleFenceWaitFlags Flags, IntPtr hEvent)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device9*, ID3D12Fence*, ulong*, uint, MultipleFenceWaitFlags, IntPtr, int>)(lpVtbl[30]))((ID3D12Device9*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent); return ((delegate* unmanaged[Stdcall]<ID3D12Device9*, ID3D12Fence**, ulong*, uint, MultipleFenceWaitFlags, IntPtr, int>)(lpVtbl[30]))((ID3D12Device9*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent);
} }
/// <inheritdoc cref="ID3D12Device1.SetResidencyPriority" /> /// <inheritdoc cref="ID3D12Device1.SetResidencyPriority" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(31)] [VtblIndex(31)]
public HResult SetResidencyPriority(uint NumObjects, ID3D12Pageable* ppObjects, ResidencyPriority* pPriorities) public HResult SetResidencyPriority(uint NumObjects, ID3D12Pageable** ppObjects, ResidencyPriority* pPriorities)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device9*, uint, ID3D12Pageable*, ResidencyPriority*, int>)(lpVtbl[31]))((ID3D12Device9*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities); return ((delegate* unmanaged[Stdcall]<ID3D12Device9*, uint, ID3D12Pageable**, ResidencyPriority*, int>)(lpVtbl[31]))((ID3D12Device9*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities);
} }
/// <inheritdoc cref="ID3D12Device.GetNodeCount" /> /// <inheritdoc cref="ID3D12Device.GetNodeCount" />
@@ -24043,17 +24043,17 @@ public unsafe partial struct ID3D12Device9
/// <inheritdoc cref="ID3D12Device.MakeResident" /> /// <inheritdoc cref="ID3D12Device.MakeResident" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(59)] [VtblIndex(59)]
public HResult MakeResident(uint NumObjects, ID3D12Pageable* ppObjects) public HResult MakeResident(uint NumObjects, ID3D12Pageable** ppObjects)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device9*, uint, ID3D12Pageable*, int>)(lpVtbl[59]))((ID3D12Device9*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); return ((delegate* unmanaged[Stdcall]<ID3D12Device9*, uint, ID3D12Pageable**, int>)(lpVtbl[59]))((ID3D12Device9*)Unsafe.AsPointer(ref this), NumObjects, ppObjects);
} }
/// <inheritdoc cref="ID3D12Device.Evict" /> /// <inheritdoc cref="ID3D12Device.Evict" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(60)] [VtblIndex(60)]
public HResult Evict(uint NumObjects, ID3D12Pageable* ppObjects) public HResult Evict(uint NumObjects, ID3D12Pageable** ppObjects)
{ {
return ((delegate* unmanaged[Stdcall]<ID3D12Device9*, uint, ID3D12Pageable*, int>)(lpVtbl[60]))((ID3D12Device9*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); return ((delegate* unmanaged[Stdcall]<ID3D12Device9*, uint, ID3D12Pageable**, int>)(lpVtbl[60]))((ID3D12Device9*)Unsafe.AsPointer(ref this), NumObjects, ppObjects);
} }
/// <inheritdoc cref="ID3D12Device.CreateFence" /> /// <inheritdoc cref="ID3D12Device.CreateFence" />
@@ -26440,17 +26440,17 @@ public unsafe partial struct ID3D12GraphicsCommandList5
/// <inheritdoc cref="ID3D12GraphicsCommandList1.AtomicCopyBufferUINT" /> /// <inheritdoc cref="ID3D12GraphicsCommandList1.AtomicCopyBufferUINT" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(14)] [VtblIndex(14)]
public void AtomicCopyBufferUINT(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource* ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges) public void AtomicCopyBufferUINT(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource** ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges)
{ {
((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList5*, ID3D12Resource*, ulong, ID3D12Resource*, ulong, uint, ID3D12Resource*, SubresourceRangeUint64*, void>)(lpVtbl[14]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); ((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList5*, ID3D12Resource*, ulong, ID3D12Resource*, ulong, uint, ID3D12Resource**, SubresourceRangeUint64*, void>)(lpVtbl[14]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges);
} }
/// <inheritdoc cref="ID3D12GraphicsCommandList1.AtomicCopyBufferUINT64" /> /// <inheritdoc cref="ID3D12GraphicsCommandList1.AtomicCopyBufferUINT64" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(15)] [VtblIndex(15)]
public void AtomicCopyBufferUINT64(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource* ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges) public void AtomicCopyBufferUINT64(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource** ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges)
{ {
((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList5*, ID3D12Resource*, ulong, ID3D12Resource*, ulong, uint, ID3D12Resource*, SubresourceRangeUint64*, void>)(lpVtbl[15]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); ((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList5*, ID3D12Resource*, ulong, ID3D12Resource*, ulong, uint, ID3D12Resource**, SubresourceRangeUint64*, void>)(lpVtbl[15]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges);
} }
/// <inheritdoc cref="ID3D12GraphicsCommandList1.OMSetDepthBounds" /> /// <inheritdoc cref="ID3D12GraphicsCommandList1.OMSetDepthBounds" />
@@ -26640,9 +26640,9 @@ public unsafe partial struct ID3D12GraphicsCommandList5
/// <inheritdoc cref="ID3D12GraphicsCommandList.SetDescriptorHeaps" /> /// <inheritdoc cref="ID3D12GraphicsCommandList.SetDescriptorHeaps" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(39)] [VtblIndex(39)]
public void SetDescriptorHeaps(uint NumDescriptorHeaps, ID3D12DescriptorHeap* ppDescriptorHeaps) public void SetDescriptorHeaps(uint NumDescriptorHeaps, ID3D12DescriptorHeap** ppDescriptorHeaps)
{ {
((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList5*, uint, ID3D12DescriptorHeap*, void>)(lpVtbl[39]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps); ((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList5*, uint, ID3D12DescriptorHeap**, void>)(lpVtbl[39]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps);
} }
/// <inheritdoc cref="ID3D12GraphicsCommandList.SetComputeRootSignature" /> /// <inheritdoc cref="ID3D12GraphicsCommandList.SetComputeRootSignature" />
@@ -27127,17 +27127,17 @@ public unsafe partial struct ID3D12GraphicsCommandList6
/// <inheritdoc cref="ID3D12GraphicsCommandList1.AtomicCopyBufferUINT" /> /// <inheritdoc cref="ID3D12GraphicsCommandList1.AtomicCopyBufferUINT" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(16)] [VtblIndex(16)]
public void AtomicCopyBufferUINT(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource* ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges) public void AtomicCopyBufferUINT(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource** ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges)
{ {
((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList6*, ID3D12Resource*, ulong, ID3D12Resource*, ulong, uint, ID3D12Resource*, SubresourceRangeUint64*, void>)(lpVtbl[16]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); ((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList6*, ID3D12Resource*, ulong, ID3D12Resource*, ulong, uint, ID3D12Resource**, SubresourceRangeUint64*, void>)(lpVtbl[16]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges);
} }
/// <inheritdoc cref="ID3D12GraphicsCommandList1.AtomicCopyBufferUINT64" /> /// <inheritdoc cref="ID3D12GraphicsCommandList1.AtomicCopyBufferUINT64" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(17)] [VtblIndex(17)]
public void AtomicCopyBufferUINT64(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource* ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges) public void AtomicCopyBufferUINT64(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource** ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges)
{ {
((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList6*, ID3D12Resource*, ulong, ID3D12Resource*, ulong, uint, ID3D12Resource*, SubresourceRangeUint64*, void>)(lpVtbl[17]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); ((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList6*, ID3D12Resource*, ulong, ID3D12Resource*, ulong, uint, ID3D12Resource**, SubresourceRangeUint64*, void>)(lpVtbl[17]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges);
} }
/// <inheritdoc cref="ID3D12GraphicsCommandList1.OMSetDepthBounds" /> /// <inheritdoc cref="ID3D12GraphicsCommandList1.OMSetDepthBounds" />
@@ -27327,9 +27327,9 @@ public unsafe partial struct ID3D12GraphicsCommandList6
/// <inheritdoc cref="ID3D12GraphicsCommandList.SetDescriptorHeaps" /> /// <inheritdoc cref="ID3D12GraphicsCommandList.SetDescriptorHeaps" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(41)] [VtblIndex(41)]
public void SetDescriptorHeaps(uint NumDescriptorHeaps, ID3D12DescriptorHeap* ppDescriptorHeaps) public void SetDescriptorHeaps(uint NumDescriptorHeaps, ID3D12DescriptorHeap** ppDescriptorHeaps)
{ {
((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList6*, uint, ID3D12DescriptorHeap*, void>)(lpVtbl[41]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps); ((delegate* unmanaged[Stdcall]<ID3D12GraphicsCommandList6*, uint, ID3D12DescriptorHeap**, void>)(lpVtbl[41]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps);
} }
/// <inheritdoc cref="ID3D12GraphicsCommandList.SetComputeRootSignature" /> /// <inheritdoc cref="ID3D12GraphicsCommandList.SetComputeRootSignature" />

View File

@@ -3282,9 +3282,9 @@ public unsafe partial struct IDXGIOutput
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutput::GetDisplayModeList"]/*' /> /// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutput::GetDisplayModeList"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(8)] [VtblIndex(8)]
public HResult GetDisplayModeList(Common.Format EnumFormat, uint Flags, uint* pNumModes, Common.ModeDescription* pDesc) public HResult GetDisplayModeList(Common.Format EnumFormat, EnumModesFlags Flags, uint* pNumModes, Common.ModeDescription* pDesc)
{ {
return ((delegate* unmanaged[Stdcall]<IDXGIOutput*, Common.Format, uint, uint*, Common.ModeDescription*, int>)(lpVtbl[8]))((IDXGIOutput*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); return ((delegate* unmanaged[Stdcall]<IDXGIOutput*, Common.Format, EnumModesFlags, uint*, Common.ModeDescription*, int>)(lpVtbl[8]))((IDXGIOutput*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc);
} }
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutput::FindClosestMatchingMode"]/*' /> /// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutput::FindClosestMatchingMode"]/*' />
@@ -3791,17 +3791,17 @@ public unsafe partial struct IDXGIDevice
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice::CreateSurface"]/*' /> /// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice::CreateSurface"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(8)] [VtblIndex(8)]
public HResult CreateSurface(SurfaceDescription* pDesc, uint NumSurfaces, uint Usage, SharedResource* pSharedResource, IDXGISurface* ppSurface) public HResult CreateSurface(SurfaceDescription* pDesc, uint NumSurfaces, Usage Usage, SharedResource* pSharedResource, IDXGISurface** ppSurface)
{ {
return ((delegate* unmanaged[Stdcall]<IDXGIDevice*, SurfaceDescription*, uint, uint, SharedResource*, IDXGISurface*, int>)(lpVtbl[8]))((IDXGIDevice*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface); return ((delegate* unmanaged[Stdcall]<IDXGIDevice*, SurfaceDescription*, uint, Usage, SharedResource*, IDXGISurface**, int>)(lpVtbl[8]))((IDXGIDevice*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface);
} }
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice::QueryResourceResidency"]/*' /> /// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice::QueryResourceResidency"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(9)] [VtblIndex(9)]
public HResult QueryResourceResidency(IUnknown* ppResources, Residency* pResidencyStatus, uint NumResources) public HResult QueryResourceResidency(IUnknown** ppResources, Residency* pResidencyStatus, uint NumResources)
{ {
return ((delegate* unmanaged[Stdcall]<IDXGIDevice*, IUnknown*, Residency*, uint, int>)(lpVtbl[9]))((IDXGIDevice*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources); return ((delegate* unmanaged[Stdcall]<IDXGIDevice*, IUnknown**, Residency*, uint, int>)(lpVtbl[9]))((IDXGIDevice*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources);
} }
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice::SetGPUThreadPriority"]/*' /> /// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice::SetGPUThreadPriority"]/*' />
@@ -4172,17 +4172,17 @@ public unsafe partial struct IDXGIDevice1
/// <inheritdoc cref="IDXGIDevice.CreateSurface" /> /// <inheritdoc cref="IDXGIDevice.CreateSurface" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(4)] [VtblIndex(4)]
public HResult CreateSurface(SurfaceDescription* pDesc, uint NumSurfaces, uint Usage, SharedResource* pSharedResource, IDXGISurface* ppSurface) public HResult CreateSurface(SurfaceDescription* pDesc, uint NumSurfaces, uint Usage, SharedResource* pSharedResource, IDXGISurface** ppSurface)
{ {
return ((delegate* unmanaged[Stdcall]<IDXGIDevice1*, SurfaceDescription*, uint, uint, SharedResource*, IDXGISurface*, int>)(lpVtbl[4]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface); return ((delegate* unmanaged[Stdcall]<IDXGIDevice1*, SurfaceDescription*, uint, uint, SharedResource*, IDXGISurface**, int>)(lpVtbl[4]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface);
} }
/// <inheritdoc cref="IDXGIDevice.QueryResourceResidency" /> /// <inheritdoc cref="IDXGIDevice.QueryResourceResidency" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(5)] [VtblIndex(5)]
public HResult QueryResourceResidency(IUnknown* ppResources, Residency* pResidencyStatus, uint NumResources) public HResult QueryResourceResidency(IUnknown** ppResources, Residency* pResidencyStatus, uint NumResources)
{ {
return ((delegate* unmanaged[Stdcall]<IDXGIDevice1*, IUnknown*, Residency*, uint, int>)(lpVtbl[5]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources); return ((delegate* unmanaged[Stdcall]<IDXGIDevice1*, IUnknown**, Residency*, uint, int>)(lpVtbl[5]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources);
} }
/// <inheritdoc cref="IDXGIDevice.SetGPUThreadPriority" /> /// <inheritdoc cref="IDXGIDevice.SetGPUThreadPriority" />
@@ -4879,17 +4879,17 @@ public unsafe partial struct IDXGIDevice2
/// <inheritdoc cref="IDXGIDevice.CreateSurface" /> /// <inheritdoc cref="IDXGIDevice.CreateSurface" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(6)] [VtblIndex(6)]
public HResult CreateSurface(SurfaceDescription* pDesc, uint NumSurfaces, uint Usage, SharedResource* pSharedResource, IDXGISurface* ppSurface) public HResult CreateSurface(SurfaceDescription* pDesc, uint NumSurfaces, uint Usage, SharedResource* pSharedResource, IDXGISurface** ppSurface)
{ {
return ((delegate* unmanaged[Stdcall]<IDXGIDevice2*, SurfaceDescription*, uint, uint, SharedResource*, IDXGISurface*, int>)(lpVtbl[6]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface); return ((delegate* unmanaged[Stdcall]<IDXGIDevice2*, SurfaceDescription*, uint, uint, SharedResource*, IDXGISurface**, int>)(lpVtbl[6]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface);
} }
/// <inheritdoc cref="IDXGIDevice.QueryResourceResidency" /> /// <inheritdoc cref="IDXGIDevice.QueryResourceResidency" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(7)] [VtblIndex(7)]
public HResult QueryResourceResidency(IUnknown* ppResources, Residency* pResidencyStatus, uint NumResources) public HResult QueryResourceResidency(IUnknown** ppResources, Residency* pResidencyStatus, uint NumResources)
{ {
return ((delegate* unmanaged[Stdcall]<IDXGIDevice2*, IUnknown*, Residency*, uint, int>)(lpVtbl[7]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources); return ((delegate* unmanaged[Stdcall]<IDXGIDevice2*, IUnknown**, Residency*, uint, int>)(lpVtbl[7]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources);
} }
/// <inheritdoc cref="IDXGIDevice.SetGPUThreadPriority" /> /// <inheritdoc cref="IDXGIDevice.SetGPUThreadPriority" />
@@ -4943,17 +4943,17 @@ public unsafe partial struct IDXGIDevice2
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice2::OfferResources"]/*' /> /// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice2::OfferResources"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(14)] [VtblIndex(14)]
public HResult OfferResources(uint NumResources, IDXGIResource* ppResources, OfferResourcePriority Priority) public HResult OfferResources(uint NumResources, IDXGIResource** ppResources, OfferResourcePriority Priority)
{ {
return ((delegate* unmanaged[Stdcall]<IDXGIDevice2*, uint, IDXGIResource*, OfferResourcePriority, int>)(lpVtbl[14]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), NumResources, ppResources, Priority); return ((delegate* unmanaged[Stdcall]<IDXGIDevice2*, uint, IDXGIResource**, OfferResourcePriority, int>)(lpVtbl[14]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), NumResources, ppResources, Priority);
} }
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice2::ReclaimResources"]/*' /> /// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice2::ReclaimResources"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(15)] [VtblIndex(15)]
public HResult ReclaimResources(uint NumResources, IDXGIResource* ppResources, Bool32* pDiscarded) public HResult ReclaimResources(uint NumResources, IDXGIResource** ppResources, Bool32* pDiscarded)
{ {
return ((delegate* unmanaged[Stdcall]<IDXGIDevice2*, uint, IDXGIResource*, Bool32*, int>)(lpVtbl[15]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), NumResources, ppResources, pDiscarded); return ((delegate* unmanaged[Stdcall]<IDXGIDevice2*, uint, IDXGIResource**, Bool32*, int>)(lpVtbl[15]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), NumResources, ppResources, pDiscarded);
} }
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice2::EnqueueSetEvent"]/*' /> /// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice2::EnqueueSetEvent"]/*' />
@@ -5898,17 +5898,17 @@ public unsafe partial struct IDXGIDevice3
/// <inheritdoc cref="IDXGIDevice2.OfferResources" /> /// <inheritdoc cref="IDXGIDevice2.OfferResources" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(3)] [VtblIndex(3)]
public HResult OfferResources(uint NumResources, IDXGIResource* ppResources, OfferResourcePriority Priority) public HResult OfferResources(uint NumResources, IDXGIResource** ppResources, OfferResourcePriority Priority)
{ {
return ((delegate* unmanaged[Stdcall]<IDXGIDevice3*, uint, IDXGIResource*, OfferResourcePriority, int>)(lpVtbl[3]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), NumResources, ppResources, Priority); return ((delegate* unmanaged[Stdcall]<IDXGIDevice3*, uint, IDXGIResource**, OfferResourcePriority, int>)(lpVtbl[3]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), NumResources, ppResources, Priority);
} }
/// <inheritdoc cref="IDXGIDevice2.ReclaimResources" /> /// <inheritdoc cref="IDXGIDevice2.ReclaimResources" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(4)] [VtblIndex(4)]
public HResult ReclaimResources(uint NumResources, IDXGIResource* ppResources, Bool32* pDiscarded) public HResult ReclaimResources(uint NumResources, IDXGIResource** ppResources, Bool32* pDiscarded)
{ {
return ((delegate* unmanaged[Stdcall]<IDXGIDevice3*, uint, IDXGIResource*, Bool32*, int>)(lpVtbl[4]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), NumResources, ppResources, pDiscarded); return ((delegate* unmanaged[Stdcall]<IDXGIDevice3*, uint, IDXGIResource**, Bool32*, int>)(lpVtbl[4]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), NumResources, ppResources, pDiscarded);
} }
/// <inheritdoc cref="IDXGIDevice2.EnqueueSetEvent" /> /// <inheritdoc cref="IDXGIDevice2.EnqueueSetEvent" />
@@ -5946,17 +5946,17 @@ public unsafe partial struct IDXGIDevice3
/// <inheritdoc cref="IDXGIDevice.CreateSurface" /> /// <inheritdoc cref="IDXGIDevice.CreateSurface" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(9)] [VtblIndex(9)]
public HResult CreateSurface(SurfaceDescription* pDesc, uint NumSurfaces, uint Usage, SharedResource* pSharedResource, IDXGISurface* ppSurface) public HResult CreateSurface(SurfaceDescription* pDesc, uint NumSurfaces, uint Usage, SharedResource* pSharedResource, IDXGISurface** ppSurface)
{ {
return ((delegate* unmanaged[Stdcall]<IDXGIDevice3*, SurfaceDescription*, uint, uint, SharedResource*, IDXGISurface*, int>)(lpVtbl[9]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface); return ((delegate* unmanaged[Stdcall]<IDXGIDevice3*, SurfaceDescription*, uint, uint, SharedResource*, IDXGISurface**, int>)(lpVtbl[9]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface);
} }
/// <inheritdoc cref="IDXGIDevice.QueryResourceResidency" /> /// <inheritdoc cref="IDXGIDevice.QueryResourceResidency" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(10)] [VtblIndex(10)]
public HResult QueryResourceResidency(IUnknown* ppResources, Residency* pResidencyStatus, uint NumResources) public HResult QueryResourceResidency(IUnknown** ppResources, Residency* pResidencyStatus, uint NumResources)
{ {
return ((delegate* unmanaged[Stdcall]<IDXGIDevice3*, IUnknown*, Residency*, uint, int>)(lpVtbl[10]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources); return ((delegate* unmanaged[Stdcall]<IDXGIDevice3*, IUnknown**, Residency*, uint, int>)(lpVtbl[10]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources);
} }
/// <inheritdoc cref="IDXGIDevice.SetGPUThreadPriority" /> /// <inheritdoc cref="IDXGIDevice.SetGPUThreadPriority" />
@@ -7714,9 +7714,9 @@ public unsafe partial struct IDXGISwapChain3
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain3::ResizeBuffers1"]/*' /> /// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain3::ResizeBuffers1"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(39)] [VtblIndex(39)]
public HResult ResizeBuffers1(uint BufferCount, uint Width, uint Height, Common.Format Format, uint SwapChainFlags, uint* pCreationNodeMask, IUnknown* ppPresentQueue) public HResult ResizeBuffers1(uint BufferCount, uint Width, uint Height, Common.Format Format, uint SwapChainFlags, uint* pCreationNodeMask, IUnknown** ppPresentQueue)
{ {
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, uint, uint, uint, Common.Format, uint, uint*, IUnknown*, int>)(lpVtbl[39]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, Format, SwapChainFlags, pCreationNodeMask, ppPresentQueue); return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, uint, uint, uint, Common.Format, uint, uint*, IUnknown**, int>)(lpVtbl[39]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, Format, SwapChainFlags, pCreationNodeMask, ppPresentQueue);
} }
} }
@@ -8757,9 +8757,9 @@ public unsafe partial struct IDXGISwapChain4
/// <inheritdoc cref="IDXGISwapChain3.ResizeBuffers1" /> /// <inheritdoc cref="IDXGISwapChain3.ResizeBuffers1" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(6)] [VtblIndex(6)]
public HResult ResizeBuffers1(uint BufferCount, uint Width, uint Height, Common.Format Format, uint SwapChainFlags, uint* pCreationNodeMask, IUnknown* ppPresentQueue) public HResult ResizeBuffers1(uint BufferCount, uint Width, uint Height, Common.Format Format, uint SwapChainFlags, uint* pCreationNodeMask, IUnknown** ppPresentQueue)
{ {
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, uint, uint, uint, Common.Format, uint, uint*, IUnknown*, int>)(lpVtbl[6]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, Format, SwapChainFlags, pCreationNodeMask, ppPresentQueue); return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, uint, uint, uint, Common.Format, uint, uint*, IUnknown**, int>)(lpVtbl[6]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, Format, SwapChainFlags, pCreationNodeMask, ppPresentQueue);
} }
/// <inheritdoc cref="IDXGISwapChain2.SetSourceSize" /> /// <inheritdoc cref="IDXGISwapChain2.SetSourceSize" />
@@ -9108,17 +9108,17 @@ public unsafe partial struct IDXGIDevice4
/// <inheritdoc cref="IDXGIDevice2.OfferResources" /> /// <inheritdoc cref="IDXGIDevice2.OfferResources" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(4)] [VtblIndex(4)]
public HResult OfferResources(uint NumResources, IDXGIResource* ppResources, OfferResourcePriority Priority) public HResult OfferResources(uint NumResources, IDXGIResource** ppResources, OfferResourcePriority Priority)
{ {
return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, uint, IDXGIResource*, OfferResourcePriority, int>)(lpVtbl[4]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), NumResources, ppResources, Priority); return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, uint, IDXGIResource**, OfferResourcePriority, int>)(lpVtbl[4]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), NumResources, ppResources, Priority);
} }
/// <inheritdoc cref="IDXGIDevice2.ReclaimResources" /> /// <inheritdoc cref="IDXGIDevice2.ReclaimResources" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(5)] [VtblIndex(5)]
public HResult ReclaimResources(uint NumResources, IDXGIResource* ppResources, Bool32* pDiscarded) public HResult ReclaimResources(uint NumResources, IDXGIResource** ppResources, Bool32* pDiscarded)
{ {
return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, uint, IDXGIResource*, Bool32*, int>)(lpVtbl[5]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), NumResources, ppResources, pDiscarded); return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, uint, IDXGIResource**, Bool32*, int>)(lpVtbl[5]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), NumResources, ppResources, pDiscarded);
} }
/// <inheritdoc cref="IDXGIDevice2.EnqueueSetEvent" /> /// <inheritdoc cref="IDXGIDevice2.EnqueueSetEvent" />
@@ -9156,17 +9156,17 @@ public unsafe partial struct IDXGIDevice4
/// <inheritdoc cref="IDXGIDevice.CreateSurface" /> /// <inheritdoc cref="IDXGIDevice.CreateSurface" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(10)] [VtblIndex(10)]
public HResult CreateSurface(SurfaceDescription* pDesc, uint NumSurfaces, uint Usage, SharedResource* pSharedResource, IDXGISurface* ppSurface) public HResult CreateSurface(SurfaceDescription* pDesc, uint NumSurfaces, uint Usage, SharedResource* pSharedResource, IDXGISurface** ppSurface)
{ {
return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, SurfaceDescription*, uint, uint, SharedResource*, IDXGISurface*, int>)(lpVtbl[10]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface); return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, SurfaceDescription*, uint, uint, SharedResource*, IDXGISurface**, int>)(lpVtbl[10]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface);
} }
/// <inheritdoc cref="IDXGIDevice.QueryResourceResidency" /> /// <inheritdoc cref="IDXGIDevice.QueryResourceResidency" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(11)] [VtblIndex(11)]
public HResult QueryResourceResidency(IUnknown* ppResources, Residency* pResidencyStatus, uint NumResources) public HResult QueryResourceResidency(IUnknown** ppResources, Residency* pResidencyStatus, uint NumResources)
{ {
return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, IUnknown*, Residency*, uint, int>)(lpVtbl[11]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources); return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, IUnknown**, Residency*, uint, int>)(lpVtbl[11]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources);
} }
/// <inheritdoc cref="IDXGIDevice.SetGPUThreadPriority" /> /// <inheritdoc cref="IDXGIDevice.SetGPUThreadPriority" />
@@ -9220,17 +9220,17 @@ public unsafe partial struct IDXGIDevice4
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice4::OfferResources1"]/*' /> /// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice4::OfferResources1"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(18)] [VtblIndex(18)]
public HResult OfferResources1(uint NumResources, IDXGIResource* ppResources, OfferResourcePriority Priority, uint Flags) public HResult OfferResources1(uint NumResources, IDXGIResource** ppResources, OfferResourcePriority Priority, uint Flags)
{ {
return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, uint, IDXGIResource*, OfferResourcePriority, uint, int>)(lpVtbl[18]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), NumResources, ppResources, Priority, Flags); return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, uint, IDXGIResource**, OfferResourcePriority, uint, int>)(lpVtbl[18]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), NumResources, ppResources, Priority, Flags);
} }
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice4::ReclaimResources1"]/*' /> /// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice4::ReclaimResources1"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(19)] [VtblIndex(19)]
public HResult ReclaimResources1(uint NumResources, IDXGIResource* ppResources, ReclaimResourceResults* pResults) public HResult ReclaimResources1(uint NumResources, IDXGIResource** ppResources, ReclaimResourceResults* pResults)
{ {
return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, uint, IDXGIResource*, ReclaimResourceResults*, int>)(lpVtbl[19]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), NumResources, ppResources, pResults); return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, uint, IDXGIResource**, ReclaimResourceResults*, int>)(lpVtbl[19]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), NumResources, ppResources, pResults);
} }
} }