From 32aa01c8e4ea6528f808d4c7313565d23eef6792 Mon Sep 17 00:00:00 2001 From: Amer Koleci Date: Wed, 7 Sep 2022 14:00:03 +0200 Subject: [PATCH] Generator: Simplify bindings and use StdCall instead of if/else NET6_0_OR_GREATER + more D3D11 bindings. --- src/Vortice.Win32/ComPtr.cs | 40 +- .../Generated/Graphics/Direct3D.cs | 39 +- .../Generated/Graphics/Direct3D11.cs | 7814 +---------------- .../Generated/Graphics/Direct3D12.cs | 6225 +------------ src/Vortice.Win32/Generated/Graphics/Dxgi.cs | 3159 +------ .../Graphics/Direct3D11.Manual.cs | 3 - src/Vortice.Win32/IUnknown.cs | 44 +- src/Vortice.Win32/NetStandard.cs | 11 - src/Vortice.Win32/UnsafeUtilities.cs | 104 +- src/Vortice.Win32/Vortice.Win32.csproj | 4 - 10 files changed, 303 insertions(+), 17140 deletions(-) diff --git a/src/Vortice.Win32/ComPtr.cs b/src/Vortice.Win32/ComPtr.cs index fd8e522..fe72bd6 100644 --- a/src/Vortice.Win32/ComPtr.cs +++ b/src/Vortice.Win32/ComPtr.cs @@ -13,7 +13,7 @@ namespace Win32; /// The type to wrap in the current instance. /// While this type is not marked as so that it can also be used in fields, make sure to keep the reference counts properly tracked if you do store instances on the heap. public unsafe struct ComPtr : IDisposable - where T : unmanaged, IUnknown.Interface + where T : unmanaged { /// The raw pointer to a COM object, if existing. private T* ptr_; @@ -52,9 +52,9 @@ public unsafe struct ComPtr : IDisposable /// The result of for the target type . /// This method will automatically release the target COM object pointed to by , if any. public readonly HResult As(ComPtr* p) - where U : unmanaged, IUnknown.Interface + where U : unmanaged { - return ptr_->QueryInterface(__uuidof(), (void**)p->ReleaseAndGetAddressOf()); + return ((IUnknown*)ptr_)->QueryInterface(__uuidof(), (void**)p->ReleaseAndGetAddressOf()); } /// Converts the current object reference to type and assigns that to a target value. @@ -63,10 +63,10 @@ public unsafe struct ComPtr : IDisposable /// The result of for the target type . /// This method will automatically release the target COM object pointed to by , if any. public readonly HResult As(ref ComPtr other) - where U : unmanaged, IUnknown.Interface + where U : unmanaged { U* ptr; - HResult result = ptr_->QueryInterface(__uuidof(), (void**)&ptr); + HResult result = ((IUnknown*)ptr_)->QueryInterface(__uuidof(), (void**)&ptr); other.Attach(ptr); return result; @@ -79,7 +79,7 @@ public unsafe struct ComPtr : IDisposable /// This method will automatically release the target COM object pointed to by , if any. public readonly HResult AsIID(Guid* riid, ComPtr* other) { - return ptr_->QueryInterface(riid, (void**)other->ReleaseAndGetAddressOf()); + return ((IUnknown*)ptr_)->QueryInterface(riid, (void**)other->ReleaseAndGetAddressOf()); } /// Converts the current object reference to a type indicated by the given IID and assigns that to a target value. @@ -90,7 +90,7 @@ public unsafe struct ComPtr : IDisposable public readonly HResult AsIID(Guid* riid, ref ComPtr other) { IUnknown* ptr; - HResult result = ptr_->QueryInterface(riid, (void**)&ptr); + HResult result = ((IUnknown*)ptr_)->QueryInterface(riid, (void**)&ptr); other.Attach(ptr); return result; @@ -103,7 +103,7 @@ public unsafe struct ComPtr : IDisposable { if (ptr_ != null) { - var @ref = ptr_->Release(); + var @ref = ((IUnknown*)ptr_)->Release(); Debug.Assert((@ref != 0) || (ptr_ != other)); } ptr_ = other; @@ -153,28 +153,28 @@ public unsafe struct ComPtr : IDisposable /// The target raw pointer to copy the address of the current COM object to. /// The result of for the target type . public readonly HResult CopyTo(U** ptr) - where U : unmanaged, IUnknown.Interface + where U : unmanaged { - return ptr_->QueryInterface(__uuidof(), (void**)ptr); + return ((IUnknown*)ptr_)->QueryInterface(__uuidof(), (void**)ptr); } /// Converts the current COM object reference to a given interface type and assigns that to a target . /// The target raw pointer to copy the address of the current COM object to. /// The result of for the target type . public readonly HResult CopyTo(ComPtr* p) - where U : unmanaged, IUnknown.Interface + where U : unmanaged { - return ptr_->QueryInterface(__uuidof(), (void**)p->ReleaseAndGetAddressOf()); + return ((IUnknown*)ptr_)->QueryInterface(__uuidof(), (void**)p->ReleaseAndGetAddressOf()); } /// Converts the current COM object reference to a given interface type and assigns that to a target . /// The target reference to copy the address of the current COM object to. /// The result of for the target type . public readonly HResult CopyTo(ref ComPtr other) - where U : unmanaged, IUnknown.Interface + where U : unmanaged { U* ptr; - HResult result = ptr_->QueryInterface(__uuidof(), (void**)&ptr); + HResult result = ((IUnknown*)ptr_)->QueryInterface(__uuidof(), (void**)&ptr); other.Attach(ptr); return result; @@ -186,7 +186,7 @@ public unsafe struct ComPtr : IDisposable /// The result of for the target IID. public readonly HResult CopyTo(Guid* riid, void** ptr) { - return ptr_->QueryInterface(riid, ptr); + return ((IUnknown*)ptr_)->QueryInterface(riid, ptr); } /// Converts the current object reference to a type indicated by the given IID and assigns that to a target value. @@ -195,7 +195,7 @@ public unsafe struct ComPtr : IDisposable /// The result of for the target IID. public readonly HResult CopyTo(Guid* riid, ComPtr* p) { - return ptr_->QueryInterface(riid, (void**)p->ReleaseAndGetAddressOf()); + return ((IUnknown*)ptr_)->QueryInterface(riid, (void**)p->ReleaseAndGetAddressOf()); } /// Converts the current object reference to a type indicated by the given IID and assigns that to a target value. @@ -205,7 +205,7 @@ public unsafe struct ComPtr : IDisposable public readonly HResult CopyTo(Guid* riid, ref ComPtr other) { IUnknown* ptr; - HResult result = ptr_->QueryInterface(riid, (void**)&ptr); + HResult result = ((IUnknown*)ptr_)->QueryInterface(riid, (void**)&ptr); other.Attach(ptr); return result; @@ -220,7 +220,7 @@ public unsafe struct ComPtr : IDisposable if (pointer != null) { ptr_ = null; - _ = pointer->Release(); + _ = ((IUnknown*)pointer)->Release(); } } @@ -322,7 +322,7 @@ public unsafe struct ComPtr : IDisposable if (temp != null) { - _ = temp->AddRef(); + _ = ((IUnknown*)temp)->AddRef(); } } @@ -335,7 +335,7 @@ public unsafe struct ComPtr : IDisposable if (temp != null) { ptr_ = null; - @ref = temp->Release(); + @ref = ((IUnknown*)temp)->Release(); } return @ref; diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D.cs index bde6a6b..3b2bfa8 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D.cs @@ -1093,7 +1093,7 @@ public partial struct ShaderMacro [Guid("8ba5fb08-5195-40e2-ac58-0d989c3a0102")] [NativeTypeName("struct ID3DBlob : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3DBlob : ID3DBlob.Interface +public unsafe partial struct ID3DBlob { public static ref readonly Guid IID_ID3DBlob { @@ -1154,11 +1154,7 @@ public unsafe partial struct ID3DBlob : ID3DBlob.Interface [VtblIndex(3)] public void* GetBufferPointer() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3DBlob*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3DBlob*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -1166,16 +1162,9 @@ public unsafe partial struct ID3DBlob : ID3DBlob.Interface [VtblIndex(4)] public nuint GetBufferSize() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3DBlob*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3DBlob*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -1183,7 +1172,7 @@ public unsafe partial struct ID3DBlob : ID3DBlob.Interface [Guid("a06eb39a-50da-425b-8c31-4eecd6c270f3")] [NativeTypeName("struct ID3DDestructionNotifier : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3DDestructionNotifier : ID3DDestructionNotifier.Interface +public unsafe partial struct ID3DDestructionNotifier { public static ref readonly Guid IID_ID3DDestructionNotifier { @@ -1244,11 +1233,7 @@ public unsafe partial struct ID3DDestructionNotifier : ID3DDestructionNotifier.I [VtblIndex(3)] public HResult RegisterDestructionCallback(delegate* unmanaged[Stdcall] callbackFn, void* pData, uint* pCallbackID) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged, void*, uint*, int>)(lpVtbl[3]))((ID3DDestructionNotifier*)Unsafe.AsPointer(ref this), callbackFn, pData, pCallbackID); -#else return ((delegate* unmanaged[Stdcall], void*, uint*, int>)(lpVtbl[3]))((ID3DDestructionNotifier*)Unsafe.AsPointer(ref this), callbackFn, pData, pCallbackID); -#endif } /// @@ -1256,21 +1241,14 @@ public unsafe partial struct ID3DDestructionNotifier : ID3DDestructionNotifier.I [VtblIndex(4)] public HResult UnregisterDestructionCallback(uint callbackID) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3DDestructionNotifier*)Unsafe.AsPointer(ref this), callbackID); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3DDestructionNotifier*)Unsafe.AsPointer(ref this), callbackID); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// /// ID3DInclude -public unsafe partial struct ID3DInclude : ID3DInclude.Interface +public unsafe partial struct ID3DInclude { public void** lpVtbl; @@ -1279,11 +1257,7 @@ public unsafe partial struct ID3DInclude : ID3DInclude.Interface [VtblIndex(0)] public HResult Open(IncludeType IncludeType, byte** pFileName, void* pParentData, void** ppData, uint* pBytes) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[0]))((ID3DInclude*)Unsafe.AsPointer(ref this), IncludeType, pFileName, pParentData, ppData, pBytes); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[0]))((ID3DInclude*)Unsafe.AsPointer(ref this), IncludeType, pFileName, pParentData, ppData, pBytes); -#endif } /// @@ -1291,16 +1265,9 @@ public unsafe partial struct ID3DInclude : ID3DInclude.Interface [VtblIndex(1)] public HResult Close(void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[1]))((ID3DInclude*)Unsafe.AsPointer(ref this), pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((ID3DInclude*)Unsafe.AsPointer(ref this), pData); -#endif } - public interface Interface - { - } } #endregion Com Types diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D11.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D11.cs index c909a76..aa7a3d4 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D11.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D11.cs @@ -994,8 +994,10 @@ public enum BlendOp : int /// /// D3D11_COLOR_WRITE_ENABLE -public enum ColorWriteEnable : int +[Flags] +public enum ColorWriteEnable : byte { + None = 0, /// /// D3D11_COLOR_WRITE_ENABLE_RED Red = 1, @@ -1246,20 +1248,22 @@ public enum TextureAddressMode : int /// /// D3D11_FORMAT_SUPPORT +[Flags] public enum FormatSupport : int { + None = 0, /// /// D3D11_FORMAT_SUPPORT_BUFFER Buffer = 1, /// /// D3D11_FORMAT_SUPPORT_IA_VERTEX_BUFFER - IaVertexBuffer = 2, + IAVertexBuffer = 2, /// /// D3D11_FORMAT_SUPPORT_IA_INDEX_BUFFER - IaIndexBuffer = 4, + IAIndexBuffer = 4, /// /// D3D11_FORMAT_SUPPORT_SO_BUFFER - SoBuffer = 8, + SOBuffer = 8, /// /// D3D11_FORMAT_SUPPORT_TEXTURE1D Texture1D = 16, @@ -1345,8 +1349,10 @@ public enum FormatSupport : int /// /// D3D11_FORMAT_SUPPORT2 +[Flags] public enum FormatSupport2 : int { + None = 0, /// /// D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_ADD UavAtomicAdd = 1, @@ -1388,12 +1394,12 @@ public enum FormatSupport2 : int /// /// D3D11_ASYNC_GETDATA_FLAG [Flags] -public enum AsyncGetdataFlag : int +public enum AsyncGetDataFlag : int { None = 0, /// /// D3D11_ASYNC_GETDATA_DONOTFLUSH - Donotflush = 1, + DoNotFlush = 1, } /// @@ -1420,34 +1426,34 @@ public enum Query : int OcclusionPredicate = 5, /// /// D3D11_QUERY_SO_STATISTICS - SoStatistics = 6, + SOStatistics = 6, /// /// D3D11_QUERY_SO_OVERFLOW_PREDICATE - SoOverflowPredicate = 7, + SOOverflowPredicate = 7, /// /// D3D11_QUERY_SO_STATISTICS_STREAM0 - SoStatisticsStream0 = 8, + SOStatisticsStream0 = 8, /// /// D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM0 - SoOverflowPredicateStream0 = 9, + SOOverflowPredicateStream0 = 9, /// /// D3D11_QUERY_SO_STATISTICS_STREAM1 - SoStatisticsStream1 = 10, + SOStatisticsStream1 = 10, /// /// D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM1 - SoOverflowPredicateStream1 = 11, + SOOverflowPredicateStream1 = 11, /// /// D3D11_QUERY_SO_STATISTICS_STREAM2 - SoStatisticsStream2 = 12, + SOStatisticsStream2 = 12, /// /// D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM2 - SoOverflowPredicateStream2 = 13, + SOOverflowPredicateStream2 = 13, /// /// D3D11_QUERY_SO_STATISTICS_STREAM3 - SoStatisticsStream3 = 14, + SOStatisticsStream3 = 14, /// /// D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM3 - SoOverflowPredicateStream3 = 15, + SOOverflowPredicateStream3 = 15, } /// @@ -1458,7 +1464,7 @@ public enum QueryMiscFlag : int None = 0, /// /// D3D11_QUERY_MISC_PREDICATEHINT - Predicatehint = 1, + PredicateHint = 1, } /// @@ -3584,10 +3590,10 @@ public enum MessageId : int DeviceDrawResourceMultisampleUnsupported = 373, /// /// D3D11_MESSAGE_ID_DEVICE_DRAW_SO_TARGETS_BOUND_WITHOUT_SOURCE - DeviceDrawSoTargetsBoundWithoutSource = 374, + DeviceDrawSOTargetsBoundWithoutSource = 374, /// /// D3D11_MESSAGE_ID_DEVICE_DRAW_SO_STRIDE_LARGER_THAN_BUFFER - DeviceDrawSoStrideLargerThanBuffer = 375, + DeviceDrawSOStrideLargerThanBuffer = 375, /// /// D3D11_MESSAGE_ID_DEVICE_DRAW_OM_RENDER_TARGET_DOES_NOT_SUPPORT_BLENDING DeviceDrawOmRenderTargetDoesNotSupportBlending = 376, @@ -3698,13 +3704,13 @@ public enum MessageId : int QueryEndWithoutBegin = 411, /// /// D3D11_MESSAGE_ID_QUERY_GETDATA_INVALID_DATASIZE - QueryGetdataInvalidDatasize = 412, + QueryGetDataInvalidDatasize = 412, /// /// D3D11_MESSAGE_ID_QUERY_GETDATA_INVALID_FLAGS - QueryGetdataInvalidFlags = 413, + QueryGetDataInvalidFlags = 413, /// /// D3D11_MESSAGE_ID_QUERY_GETDATA_INVALID_CALL - QueryGetdataInvalidCall = 414, + QueryGetDataInvalidCall = 414, /// /// D3D11_MESSAGE_ID_DEVICE_DRAW_PS_OUTPUT_TYPE_MISMATCH DeviceDrawPsOutputTypeMismatch = 415, @@ -7105,7 +7111,7 @@ public partial struct InputElementDescription /// /// D3D11_SO_DECLARATION_ENTRY -public partial struct SoDeclarationEntry +public partial struct SODeclarationEntry { /// public uint Stream; @@ -7281,7 +7287,7 @@ public partial struct RenderTargetBlendDescription public BlendOp BlendOpAlpha; /// - public byte RenderTargetWriteMask; + public ColorWriteEnable RenderTargetWriteMask; } /// @@ -8767,7 +8773,7 @@ public partial struct QueryDataPipelineStatistics /// /// D3D11_QUERY_DATA_SO_STATISTICS -public partial struct QueryDataSoStatistics +public partial struct QueryDataSOStatistics { /// public ulong NumPrimitivesWritten; @@ -10169,7 +10175,7 @@ public partial struct RenderTargetBlendDescription1 public LogicOp LogicOp; /// - public byte RenderTargetWriteMask; + public ColorWriteEnable RenderTargetWriteMask; } /// @@ -12085,7 +12091,7 @@ public partial struct D3dx11FftBufferInfo [Guid("1841e5c8-16b0-489b-bcc8-44cfb0d5deae")] [NativeTypeName("struct ID3D11DeviceChild : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11DeviceChild : ID3D11DeviceChild.Interface +public unsafe partial struct ID3D11DeviceChild { public static ref readonly Guid IID_ID3D11DeviceChild { @@ -12146,11 +12152,7 @@ public unsafe partial struct ID3D11DeviceChild : ID3D11DeviceChild.Interface [VtblIndex(3)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11DeviceChild*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11DeviceChild*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -12158,11 +12160,7 @@ public unsafe partial struct ID3D11DeviceChild : ID3D11DeviceChild.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11DeviceChild*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11DeviceChild*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -12170,11 +12168,7 @@ public unsafe partial struct ID3D11DeviceChild : ID3D11DeviceChild.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11DeviceChild*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11DeviceChild*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -12182,16 +12176,9 @@ public unsafe partial struct ID3D11DeviceChild : ID3D11DeviceChild.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11DeviceChild*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11DeviceChild*)Unsafe.AsPointer(ref this), guid, pData); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -12199,7 +12186,7 @@ public unsafe partial struct ID3D11DeviceChild : ID3D11DeviceChild.Interface [Guid("03823efb-8d8f-4e1c-9aa2-f64bb2cbfdf1")] [NativeTypeName("struct ID3D11DepthStencilState : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11DepthStencilState : ID3D11DepthStencilState.Interface +public unsafe partial struct ID3D11DepthStencilState { public static ref readonly Guid IID_ID3D11DepthStencilState { @@ -12260,11 +12247,7 @@ public unsafe partial struct ID3D11DepthStencilState : ID3D11DepthStencilState.I [VtblIndex(3)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11DepthStencilState*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11DepthStencilState*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -12272,11 +12255,7 @@ public unsafe partial struct ID3D11DepthStencilState : ID3D11DepthStencilState.I [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11DepthStencilState*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11DepthStencilState*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -12284,11 +12263,7 @@ public unsafe partial struct ID3D11DepthStencilState : ID3D11DepthStencilState.I [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11DepthStencilState*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11DepthStencilState*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -12296,11 +12271,7 @@ public unsafe partial struct ID3D11DepthStencilState : ID3D11DepthStencilState.I [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11DepthStencilState*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11DepthStencilState*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -12308,16 +12279,9 @@ public unsafe partial struct ID3D11DepthStencilState : ID3D11DepthStencilState.I [VtblIndex(7)] public void GetDesc(DepthStencilDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[7]))((ID3D11DepthStencilState*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11DepthStencilState*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface : ID3D11DeviceChild.Interface - { - } } /// @@ -12325,7 +12289,7 @@ public unsafe partial struct ID3D11DepthStencilState : ID3D11DepthStencilState.I [Guid("75b68faa-347d-4159-8f45-a0640f01cd9a")] [NativeTypeName("struct ID3D11BlendState : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11BlendState : ID3D11BlendState.Interface +public unsafe partial struct ID3D11BlendState { public static ref readonly Guid IID_ID3D11BlendState { @@ -12386,11 +12350,7 @@ public unsafe partial struct ID3D11BlendState : ID3D11BlendState.Interface [VtblIndex(3)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11BlendState*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11BlendState*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -12398,11 +12358,7 @@ public unsafe partial struct ID3D11BlendState : ID3D11BlendState.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11BlendState*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11BlendState*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -12410,11 +12366,7 @@ public unsafe partial struct ID3D11BlendState : ID3D11BlendState.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11BlendState*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11BlendState*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -12422,11 +12374,7 @@ public unsafe partial struct ID3D11BlendState : ID3D11BlendState.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11BlendState*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11BlendState*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -12434,16 +12382,9 @@ public unsafe partial struct ID3D11BlendState : ID3D11BlendState.Interface [VtblIndex(7)] public void GetDesc(BlendDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[7]))((ID3D11BlendState*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11BlendState*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface : ID3D11DeviceChild.Interface - { - } } /// @@ -12451,7 +12392,7 @@ public unsafe partial struct ID3D11BlendState : ID3D11BlendState.Interface [Guid("9bb4ab81-ab1a-4d8f-b506-fc04200b6ee7")] [NativeTypeName("struct ID3D11RasterizerState : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11RasterizerState : ID3D11RasterizerState.Interface +public unsafe partial struct ID3D11RasterizerState { public static ref readonly Guid IID_ID3D11RasterizerState { @@ -12512,11 +12453,7 @@ public unsafe partial struct ID3D11RasterizerState : ID3D11RasterizerState.Inter [VtblIndex(3)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11RasterizerState*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11RasterizerState*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -12524,11 +12461,7 @@ public unsafe partial struct ID3D11RasterizerState : ID3D11RasterizerState.Inter [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11RasterizerState*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11RasterizerState*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -12536,11 +12469,7 @@ public unsafe partial struct ID3D11RasterizerState : ID3D11RasterizerState.Inter [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11RasterizerState*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11RasterizerState*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -12548,11 +12477,7 @@ public unsafe partial struct ID3D11RasterizerState : ID3D11RasterizerState.Inter [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11RasterizerState*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11RasterizerState*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -12560,16 +12485,9 @@ public unsafe partial struct ID3D11RasterizerState : ID3D11RasterizerState.Inter [VtblIndex(7)] public void GetDesc(RasterizerDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[7]))((ID3D11RasterizerState*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11RasterizerState*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface : ID3D11DeviceChild.Interface - { - } } /// @@ -12577,7 +12495,7 @@ public unsafe partial struct ID3D11RasterizerState : ID3D11RasterizerState.Inter [Guid("dc8e63f3-d12b-4952-b47b-5e45026a862d")] [NativeTypeName("struct ID3D11Resource : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11Resource : ID3D11Resource.Interface +public unsafe partial struct ID3D11Resource { public static ref readonly Guid IID_ID3D11Resource { @@ -12638,11 +12556,7 @@ public unsafe partial struct ID3D11Resource : ID3D11Resource.Interface [VtblIndex(3)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11Resource*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11Resource*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -12650,11 +12564,7 @@ public unsafe partial struct ID3D11Resource : ID3D11Resource.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11Resource*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11Resource*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -12662,11 +12572,7 @@ public unsafe partial struct ID3D11Resource : ID3D11Resource.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11Resource*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11Resource*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -12674,11 +12580,7 @@ public unsafe partial struct ID3D11Resource : ID3D11Resource.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11Resource*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11Resource*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -12686,11 +12588,7 @@ public unsafe partial struct ID3D11Resource : ID3D11Resource.Interface [VtblIndex(7)] public void GetType(ResourceDimension* pResourceDimension) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[7]))((ID3D11Resource*)Unsafe.AsPointer(ref this), pResourceDimension); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11Resource*)Unsafe.AsPointer(ref this), pResourceDimension); -#endif } /// @@ -12698,11 +12596,7 @@ public unsafe partial struct ID3D11Resource : ID3D11Resource.Interface [VtblIndex(8)] public void SetEvictionPriority(uint EvictionPriority) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D11Resource*)Unsafe.AsPointer(ref this), EvictionPriority); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11Resource*)Unsafe.AsPointer(ref this), EvictionPriority); -#endif } /// @@ -12710,16 +12604,9 @@ public unsafe partial struct ID3D11Resource : ID3D11Resource.Interface [VtblIndex(9)] public uint GetEvictionPriority() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11Resource*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11Resource*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : ID3D11DeviceChild.Interface - { - } } /// @@ -12727,7 +12614,7 @@ public unsafe partial struct ID3D11Resource : ID3D11Resource.Interface [Guid("48570b85-d1ee-4fcd-a250-eb350722b037")] [NativeTypeName("struct ID3D11Buffer : ID3D11Resource")] [NativeInheritance("ID3D11Resource")] -public unsafe partial struct ID3D11Buffer : ID3D11Buffer.Interface +public unsafe partial struct ID3D11Buffer { public static ref readonly Guid IID_ID3D11Buffer { @@ -12788,11 +12675,7 @@ public unsafe partial struct ID3D11Buffer : ID3D11Buffer.Interface [VtblIndex(3)] public void GetType(ResourceDimension* pResourceDimension) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), pResourceDimension); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), pResourceDimension); -#endif } /// @@ -12800,11 +12683,7 @@ public unsafe partial struct ID3D11Buffer : ID3D11Buffer.Interface [VtblIndex(4)] public void SetEvictionPriority(uint EvictionPriority) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), EvictionPriority); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), EvictionPriority); -#endif } /// @@ -12812,11 +12691,7 @@ public unsafe partial struct ID3D11Buffer : ID3D11Buffer.Interface [VtblIndex(5)] public uint GetEvictionPriority() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11Buffer*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11Buffer*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -12824,11 +12699,7 @@ public unsafe partial struct ID3D11Buffer : ID3D11Buffer.Interface [VtblIndex(6)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[6]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -12836,11 +12707,7 @@ public unsafe partial struct ID3D11Buffer : ID3D11Buffer.Interface [VtblIndex(7)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -12848,11 +12715,7 @@ public unsafe partial struct ID3D11Buffer : ID3D11Buffer.Interface [VtblIndex(8)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -12860,11 +12723,7 @@ public unsafe partial struct ID3D11Buffer : ID3D11Buffer.Interface [VtblIndex(9)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -12872,16 +12731,9 @@ public unsafe partial struct ID3D11Buffer : ID3D11Buffer.Interface [VtblIndex(10)] public void GetDesc(BufferDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[10]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface : ID3D11Resource.Interface - { - } } /// @@ -12889,7 +12741,7 @@ public unsafe partial struct ID3D11Buffer : ID3D11Buffer.Interface [Guid("f8fb5c27-c6b3-4f75-a4c8-439af2ef564c")] [NativeTypeName("struct ID3D11Texture1D : ID3D11Resource")] [NativeInheritance("ID3D11Resource")] -public unsafe partial struct ID3D11Texture1D : ID3D11Texture1D.Interface +public unsafe partial struct ID3D11Texture1D { public static ref readonly Guid IID_ID3D11Texture1D { @@ -12950,11 +12802,7 @@ public unsafe partial struct ID3D11Texture1D : ID3D11Texture1D.Interface [VtblIndex(3)] public void GetType(ResourceDimension* pResourceDimension) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), pResourceDimension); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), pResourceDimension); -#endif } /// @@ -12962,11 +12810,7 @@ public unsafe partial struct ID3D11Texture1D : ID3D11Texture1D.Interface [VtblIndex(4)] public void SetEvictionPriority(uint EvictionPriority) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), EvictionPriority); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), EvictionPriority); -#endif } /// @@ -12974,11 +12818,7 @@ public unsafe partial struct ID3D11Texture1D : ID3D11Texture1D.Interface [VtblIndex(5)] public uint GetEvictionPriority() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -12986,11 +12826,7 @@ public unsafe partial struct ID3D11Texture1D : ID3D11Texture1D.Interface [VtblIndex(6)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[6]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -12998,11 +12834,7 @@ public unsafe partial struct ID3D11Texture1D : ID3D11Texture1D.Interface [VtblIndex(7)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -13010,11 +12842,7 @@ public unsafe partial struct ID3D11Texture1D : ID3D11Texture1D.Interface [VtblIndex(8)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -13022,11 +12850,7 @@ public unsafe partial struct ID3D11Texture1D : ID3D11Texture1D.Interface [VtblIndex(9)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -13034,16 +12858,9 @@ public unsafe partial struct ID3D11Texture1D : ID3D11Texture1D.Interface [VtblIndex(10)] public void GetDesc(Texture1DDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[10]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface : ID3D11Resource.Interface - { - } } /// @@ -13051,7 +12868,7 @@ public unsafe partial struct ID3D11Texture1D : ID3D11Texture1D.Interface [Guid("6f15aaf2-d208-4e89-9ab4-489535d34f9c")] [NativeTypeName("struct ID3D11Texture2D : ID3D11Resource")] [NativeInheritance("ID3D11Resource")] -public unsafe partial struct ID3D11Texture2D : ID3D11Texture2D.Interface +public unsafe partial struct ID3D11Texture2D { public static ref readonly Guid IID_ID3D11Texture2D { @@ -13112,11 +12929,7 @@ public unsafe partial struct ID3D11Texture2D : ID3D11Texture2D.Interface [VtblIndex(3)] public void GetType(ResourceDimension* pResourceDimension) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), pResourceDimension); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), pResourceDimension); -#endif } /// @@ -13124,11 +12937,7 @@ public unsafe partial struct ID3D11Texture2D : ID3D11Texture2D.Interface [VtblIndex(4)] public void SetEvictionPriority(uint EvictionPriority) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), EvictionPriority); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), EvictionPriority); -#endif } /// @@ -13136,11 +12945,7 @@ public unsafe partial struct ID3D11Texture2D : ID3D11Texture2D.Interface [VtblIndex(5)] public uint GetEvictionPriority() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -13148,11 +12953,7 @@ public unsafe partial struct ID3D11Texture2D : ID3D11Texture2D.Interface [VtblIndex(6)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[6]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -13160,11 +12961,7 @@ public unsafe partial struct ID3D11Texture2D : ID3D11Texture2D.Interface [VtblIndex(7)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -13172,11 +12969,7 @@ public unsafe partial struct ID3D11Texture2D : ID3D11Texture2D.Interface [VtblIndex(8)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -13184,11 +12977,7 @@ public unsafe partial struct ID3D11Texture2D : ID3D11Texture2D.Interface [VtblIndex(9)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -13196,16 +12985,9 @@ public unsafe partial struct ID3D11Texture2D : ID3D11Texture2D.Interface [VtblIndex(10)] public void GetDesc(Texture2DDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[10]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface : ID3D11Resource.Interface - { - } } /// @@ -13213,7 +12995,7 @@ public unsafe partial struct ID3D11Texture2D : ID3D11Texture2D.Interface [Guid("037e866e-f56d-4357-a8af-9dabbe6e250e")] [NativeTypeName("struct ID3D11Texture3D : ID3D11Resource")] [NativeInheritance("ID3D11Resource")] -public unsafe partial struct ID3D11Texture3D : ID3D11Texture3D.Interface +public unsafe partial struct ID3D11Texture3D { public static ref readonly Guid IID_ID3D11Texture3D { @@ -13274,11 +13056,7 @@ public unsafe partial struct ID3D11Texture3D : ID3D11Texture3D.Interface [VtblIndex(3)] public void GetType(ResourceDimension* pResourceDimension) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), pResourceDimension); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), pResourceDimension); -#endif } /// @@ -13286,11 +13064,7 @@ public unsafe partial struct ID3D11Texture3D : ID3D11Texture3D.Interface [VtblIndex(4)] public void SetEvictionPriority(uint EvictionPriority) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), EvictionPriority); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), EvictionPriority); -#endif } /// @@ -13298,11 +13072,7 @@ public unsafe partial struct ID3D11Texture3D : ID3D11Texture3D.Interface [VtblIndex(5)] public uint GetEvictionPriority() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -13310,11 +13080,7 @@ public unsafe partial struct ID3D11Texture3D : ID3D11Texture3D.Interface [VtblIndex(6)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[6]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -13322,11 +13088,7 @@ public unsafe partial struct ID3D11Texture3D : ID3D11Texture3D.Interface [VtblIndex(7)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -13334,11 +13096,7 @@ public unsafe partial struct ID3D11Texture3D : ID3D11Texture3D.Interface [VtblIndex(8)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -13346,11 +13104,7 @@ public unsafe partial struct ID3D11Texture3D : ID3D11Texture3D.Interface [VtblIndex(9)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -13358,16 +13112,9 @@ public unsafe partial struct ID3D11Texture3D : ID3D11Texture3D.Interface [VtblIndex(10)] public void GetDesc(Texture3DDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[10]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface : ID3D11Resource.Interface - { - } } /// @@ -13375,7 +13122,7 @@ public unsafe partial struct ID3D11Texture3D : ID3D11Texture3D.Interface [Guid("839d1216-bb2e-412b-b7f4-a9dbebe08ed1")] [NativeTypeName("struct ID3D11View : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11View : ID3D11View.Interface +public unsafe partial struct ID3D11View { public static ref readonly Guid IID_ID3D11View { @@ -13436,11 +13183,7 @@ public unsafe partial struct ID3D11View : ID3D11View.Interface [VtblIndex(3)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11View*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11View*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -13448,11 +13191,7 @@ public unsafe partial struct ID3D11View : ID3D11View.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11View*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11View*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -13460,11 +13199,7 @@ public unsafe partial struct ID3D11View : ID3D11View.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11View*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11View*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -13472,11 +13207,7 @@ public unsafe partial struct ID3D11View : ID3D11View.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11View*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11View*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -13484,16 +13215,9 @@ public unsafe partial struct ID3D11View : ID3D11View.Interface [VtblIndex(7)] public void GetResource(ID3D11Resource* ppResource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[7]))((ID3D11View*)Unsafe.AsPointer(ref this), ppResource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11View*)Unsafe.AsPointer(ref this), ppResource); -#endif } - public interface Interface : ID3D11DeviceChild.Interface - { - } } /// @@ -13501,7 +13225,7 @@ public unsafe partial struct ID3D11View : ID3D11View.Interface [Guid("b0e06fe0-8192-4e1a-b1ca-36d7414710b2")] [NativeTypeName("struct ID3D11ShaderResourceView : ID3D11View")] [NativeInheritance("ID3D11View")] -public unsafe partial struct ID3D11ShaderResourceView : ID3D11ShaderResourceView.Interface +public unsafe partial struct ID3D11ShaderResourceView { public static ref readonly Guid IID_ID3D11ShaderResourceView { @@ -13562,11 +13286,7 @@ public unsafe partial struct ID3D11ShaderResourceView : ID3D11ShaderResourceView [VtblIndex(3)] public void GetResource(ID3D11Resource* ppResource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this), ppResource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this), ppResource); -#endif } /// @@ -13574,11 +13294,7 @@ public unsafe partial struct ID3D11ShaderResourceView : ID3D11ShaderResourceView [VtblIndex(4)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -13586,11 +13302,7 @@ public unsafe partial struct ID3D11ShaderResourceView : ID3D11ShaderResourceView [VtblIndex(5)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -13598,11 +13310,7 @@ public unsafe partial struct ID3D11ShaderResourceView : ID3D11ShaderResourceView [VtblIndex(6)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -13610,11 +13318,7 @@ public unsafe partial struct ID3D11ShaderResourceView : ID3D11ShaderResourceView [VtblIndex(7)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -13622,16 +13326,9 @@ public unsafe partial struct ID3D11ShaderResourceView : ID3D11ShaderResourceView [VtblIndex(8)] public void GetDesc(ShaderResourceViewDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface : ID3D11View.Interface - { - } } /// @@ -13639,7 +13336,7 @@ public unsafe partial struct ID3D11ShaderResourceView : ID3D11ShaderResourceView [Guid("dfdba067-0b8d-4865-875b-d7b4516cc164")] [NativeTypeName("struct ID3D11RenderTargetView : ID3D11View")] [NativeInheritance("ID3D11View")] -public unsafe partial struct ID3D11RenderTargetView : ID3D11RenderTargetView.Interface +public unsafe partial struct ID3D11RenderTargetView { public static ref readonly Guid IID_ID3D11RenderTargetView { @@ -13700,11 +13397,7 @@ public unsafe partial struct ID3D11RenderTargetView : ID3D11RenderTargetView.Int [VtblIndex(3)] public void GetResource(ID3D11Resource* ppResource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this), ppResource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this), ppResource); -#endif } /// @@ -13712,11 +13405,7 @@ public unsafe partial struct ID3D11RenderTargetView : ID3D11RenderTargetView.Int [VtblIndex(4)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -13724,11 +13413,7 @@ public unsafe partial struct ID3D11RenderTargetView : ID3D11RenderTargetView.Int [VtblIndex(5)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -13736,11 +13421,7 @@ public unsafe partial struct ID3D11RenderTargetView : ID3D11RenderTargetView.Int [VtblIndex(6)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -13748,11 +13429,7 @@ public unsafe partial struct ID3D11RenderTargetView : ID3D11RenderTargetView.Int [VtblIndex(7)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -13760,16 +13437,9 @@ public unsafe partial struct ID3D11RenderTargetView : ID3D11RenderTargetView.Int [VtblIndex(8)] public void GetDesc(RenderTargetViewDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface : ID3D11View.Interface - { - } } /// @@ -13777,7 +13447,7 @@ public unsafe partial struct ID3D11RenderTargetView : ID3D11RenderTargetView.Int [Guid("9fdac92a-1876-48c3-afad-25b94f84a9b6")] [NativeTypeName("struct ID3D11DepthStencilView : ID3D11View")] [NativeInheritance("ID3D11View")] -public unsafe partial struct ID3D11DepthStencilView : ID3D11DepthStencilView.Interface +public unsafe partial struct ID3D11DepthStencilView { public static ref readonly Guid IID_ID3D11DepthStencilView { @@ -13838,11 +13508,7 @@ public unsafe partial struct ID3D11DepthStencilView : ID3D11DepthStencilView.Int [VtblIndex(3)] public void GetResource(ID3D11Resource* ppResource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this), ppResource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this), ppResource); -#endif } /// @@ -13850,11 +13516,7 @@ public unsafe partial struct ID3D11DepthStencilView : ID3D11DepthStencilView.Int [VtblIndex(4)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -13862,11 +13524,7 @@ public unsafe partial struct ID3D11DepthStencilView : ID3D11DepthStencilView.Int [VtblIndex(5)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -13874,11 +13532,7 @@ public unsafe partial struct ID3D11DepthStencilView : ID3D11DepthStencilView.Int [VtblIndex(6)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -13886,11 +13540,7 @@ public unsafe partial struct ID3D11DepthStencilView : ID3D11DepthStencilView.Int [VtblIndex(7)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -13898,16 +13548,9 @@ public unsafe partial struct ID3D11DepthStencilView : ID3D11DepthStencilView.Int [VtblIndex(8)] public void GetDesc(DepthStencilViewDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface : ID3D11View.Interface - { - } } /// @@ -13915,7 +13558,7 @@ public unsafe partial struct ID3D11DepthStencilView : ID3D11DepthStencilView.Int [Guid("28acf509-7f5c-48f6-8611-f316010a6380")] [NativeTypeName("struct ID3D11UnorderedAccessView : ID3D11View")] [NativeInheritance("ID3D11View")] -public unsafe partial struct ID3D11UnorderedAccessView : ID3D11UnorderedAccessView.Interface +public unsafe partial struct ID3D11UnorderedAccessView { public static ref readonly Guid IID_ID3D11UnorderedAccessView { @@ -13976,11 +13619,7 @@ public unsafe partial struct ID3D11UnorderedAccessView : ID3D11UnorderedAccessVi [VtblIndex(3)] public void GetResource(ID3D11Resource* ppResource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this), ppResource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this), ppResource); -#endif } /// @@ -13988,11 +13627,7 @@ public unsafe partial struct ID3D11UnorderedAccessView : ID3D11UnorderedAccessVi [VtblIndex(4)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -14000,11 +13635,7 @@ public unsafe partial struct ID3D11UnorderedAccessView : ID3D11UnorderedAccessVi [VtblIndex(5)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -14012,11 +13643,7 @@ public unsafe partial struct ID3D11UnorderedAccessView : ID3D11UnorderedAccessVi [VtblIndex(6)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -14024,11 +13651,7 @@ public unsafe partial struct ID3D11UnorderedAccessView : ID3D11UnorderedAccessVi [VtblIndex(7)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -14036,16 +13659,9 @@ public unsafe partial struct ID3D11UnorderedAccessView : ID3D11UnorderedAccessVi [VtblIndex(8)] public void GetDesc(UnorderedAccessViewDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface : ID3D11View.Interface - { - } } /// @@ -14053,7 +13669,7 @@ public unsafe partial struct ID3D11UnorderedAccessView : ID3D11UnorderedAccessVi [Guid("3b301d64-d678-4289-8897-22f8928b72f3")] [NativeTypeName("struct ID3D11VertexShader : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11VertexShader : ID3D11VertexShader.Interface +public unsafe partial struct ID3D11VertexShader { public static ref readonly Guid IID_ID3D11VertexShader { @@ -14114,11 +13730,7 @@ public unsafe partial struct ID3D11VertexShader : ID3D11VertexShader.Interface [VtblIndex(3)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11VertexShader*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11VertexShader*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -14126,11 +13738,7 @@ public unsafe partial struct ID3D11VertexShader : ID3D11VertexShader.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11VertexShader*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11VertexShader*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -14138,11 +13746,7 @@ public unsafe partial struct ID3D11VertexShader : ID3D11VertexShader.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11VertexShader*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11VertexShader*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -14150,16 +13754,9 @@ public unsafe partial struct ID3D11VertexShader : ID3D11VertexShader.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11VertexShader*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11VertexShader*)Unsafe.AsPointer(ref this), guid, pData); -#endif } - public interface Interface : ID3D11DeviceChild.Interface - { - } } /// @@ -14167,7 +13764,7 @@ public unsafe partial struct ID3D11VertexShader : ID3D11VertexShader.Interface [Guid("8e5c6061-628a-4c8e-8264-bbe45cb3d5dd")] [NativeTypeName("struct ID3D11HullShader : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11HullShader : ID3D11HullShader.Interface +public unsafe partial struct ID3D11HullShader { public static ref readonly Guid IID_ID3D11HullShader { @@ -14228,11 +13825,7 @@ public unsafe partial struct ID3D11HullShader : ID3D11HullShader.Interface [VtblIndex(3)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11HullShader*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11HullShader*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -14240,11 +13833,7 @@ public unsafe partial struct ID3D11HullShader : ID3D11HullShader.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11HullShader*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11HullShader*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -14252,11 +13841,7 @@ public unsafe partial struct ID3D11HullShader : ID3D11HullShader.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11HullShader*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11HullShader*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -14264,16 +13849,9 @@ public unsafe partial struct ID3D11HullShader : ID3D11HullShader.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11HullShader*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11HullShader*)Unsafe.AsPointer(ref this), guid, pData); -#endif } - public interface Interface : ID3D11DeviceChild.Interface - { - } } /// @@ -14281,7 +13859,7 @@ public unsafe partial struct ID3D11HullShader : ID3D11HullShader.Interface [Guid("f582c508-0f36-490c-9977-31eece268cfa")] [NativeTypeName("struct ID3D11DomainShader : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11DomainShader : ID3D11DomainShader.Interface +public unsafe partial struct ID3D11DomainShader { public static ref readonly Guid IID_ID3D11DomainShader { @@ -14342,11 +13920,7 @@ public unsafe partial struct ID3D11DomainShader : ID3D11DomainShader.Interface [VtblIndex(3)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11DomainShader*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11DomainShader*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -14354,11 +13928,7 @@ public unsafe partial struct ID3D11DomainShader : ID3D11DomainShader.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11DomainShader*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11DomainShader*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -14366,11 +13936,7 @@ public unsafe partial struct ID3D11DomainShader : ID3D11DomainShader.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11DomainShader*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11DomainShader*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -14378,16 +13944,9 @@ public unsafe partial struct ID3D11DomainShader : ID3D11DomainShader.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11DomainShader*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11DomainShader*)Unsafe.AsPointer(ref this), guid, pData); -#endif } - public interface Interface : ID3D11DeviceChild.Interface - { - } } /// @@ -14395,7 +13954,7 @@ public unsafe partial struct ID3D11DomainShader : ID3D11DomainShader.Interface [Guid("38325b96-effb-4022-ba02-2e795b70275c")] [NativeTypeName("struct ID3D11GeometryShader : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11GeometryShader : ID3D11GeometryShader.Interface +public unsafe partial struct ID3D11GeometryShader { public static ref readonly Guid IID_ID3D11GeometryShader { @@ -14456,11 +14015,7 @@ public unsafe partial struct ID3D11GeometryShader : ID3D11GeometryShader.Interfa [VtblIndex(3)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11GeometryShader*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11GeometryShader*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -14468,11 +14023,7 @@ public unsafe partial struct ID3D11GeometryShader : ID3D11GeometryShader.Interfa [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11GeometryShader*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11GeometryShader*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -14480,11 +14031,7 @@ public unsafe partial struct ID3D11GeometryShader : ID3D11GeometryShader.Interfa [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11GeometryShader*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11GeometryShader*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -14492,16 +14039,9 @@ public unsafe partial struct ID3D11GeometryShader : ID3D11GeometryShader.Interfa [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11GeometryShader*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11GeometryShader*)Unsafe.AsPointer(ref this), guid, pData); -#endif } - public interface Interface : ID3D11DeviceChild.Interface - { - } } /// @@ -14509,7 +14049,7 @@ public unsafe partial struct ID3D11GeometryShader : ID3D11GeometryShader.Interfa [Guid("ea82e40d-51dc-4f33-93d4-db7c9125ae8c")] [NativeTypeName("struct ID3D11PixelShader : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11PixelShader : ID3D11PixelShader.Interface +public unsafe partial struct ID3D11PixelShader { public static ref readonly Guid IID_ID3D11PixelShader { @@ -14570,11 +14110,7 @@ public unsafe partial struct ID3D11PixelShader : ID3D11PixelShader.Interface [VtblIndex(3)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11PixelShader*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11PixelShader*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -14582,11 +14118,7 @@ public unsafe partial struct ID3D11PixelShader : ID3D11PixelShader.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11PixelShader*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11PixelShader*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -14594,11 +14126,7 @@ public unsafe partial struct ID3D11PixelShader : ID3D11PixelShader.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11PixelShader*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11PixelShader*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -14606,16 +14134,9 @@ public unsafe partial struct ID3D11PixelShader : ID3D11PixelShader.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11PixelShader*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11PixelShader*)Unsafe.AsPointer(ref this), guid, pData); -#endif } - public interface Interface : ID3D11DeviceChild.Interface - { - } } /// @@ -14623,7 +14144,7 @@ public unsafe partial struct ID3D11PixelShader : ID3D11PixelShader.Interface [Guid("4f5b196e-c2bd-495e-bd01-1fded38e4969")] [NativeTypeName("struct ID3D11ComputeShader : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11ComputeShader : ID3D11ComputeShader.Interface +public unsafe partial struct ID3D11ComputeShader { public static ref readonly Guid IID_ID3D11ComputeShader { @@ -14684,11 +14205,7 @@ public unsafe partial struct ID3D11ComputeShader : ID3D11ComputeShader.Interface [VtblIndex(3)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11ComputeShader*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11ComputeShader*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -14696,11 +14213,7 @@ public unsafe partial struct ID3D11ComputeShader : ID3D11ComputeShader.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11ComputeShader*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11ComputeShader*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -14708,11 +14221,7 @@ public unsafe partial struct ID3D11ComputeShader : ID3D11ComputeShader.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11ComputeShader*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11ComputeShader*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -14720,16 +14229,9 @@ public unsafe partial struct ID3D11ComputeShader : ID3D11ComputeShader.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11ComputeShader*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11ComputeShader*)Unsafe.AsPointer(ref this), guid, pData); -#endif } - public interface Interface : ID3D11DeviceChild.Interface - { - } } /// @@ -14737,7 +14239,7 @@ public unsafe partial struct ID3D11ComputeShader : ID3D11ComputeShader.Interface [Guid("e4819ddc-4cf0-4025-bd26-5de82a3e07b7")] [NativeTypeName("struct ID3D11InputLayout : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11InputLayout : ID3D11InputLayout.Interface +public unsafe partial struct ID3D11InputLayout { public static ref readonly Guid IID_ID3D11InputLayout { @@ -14798,11 +14300,7 @@ public unsafe partial struct ID3D11InputLayout : ID3D11InputLayout.Interface [VtblIndex(3)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11InputLayout*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11InputLayout*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -14810,11 +14308,7 @@ public unsafe partial struct ID3D11InputLayout : ID3D11InputLayout.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11InputLayout*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11InputLayout*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -14822,11 +14316,7 @@ public unsafe partial struct ID3D11InputLayout : ID3D11InputLayout.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11InputLayout*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11InputLayout*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -14834,16 +14324,9 @@ public unsafe partial struct ID3D11InputLayout : ID3D11InputLayout.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11InputLayout*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11InputLayout*)Unsafe.AsPointer(ref this), guid, pData); -#endif } - public interface Interface : ID3D11DeviceChild.Interface - { - } } /// @@ -14851,7 +14334,7 @@ public unsafe partial struct ID3D11InputLayout : ID3D11InputLayout.Interface [Guid("da6fea51-564c-4487-9810-f0d0f9b4e3a5")] [NativeTypeName("struct ID3D11SamplerState : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11SamplerState : ID3D11SamplerState.Interface +public unsafe partial struct ID3D11SamplerState { public static ref readonly Guid IID_ID3D11SamplerState { @@ -14912,11 +14395,7 @@ public unsafe partial struct ID3D11SamplerState : ID3D11SamplerState.Interface [VtblIndex(3)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11SamplerState*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11SamplerState*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -14924,11 +14403,7 @@ public unsafe partial struct ID3D11SamplerState : ID3D11SamplerState.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11SamplerState*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11SamplerState*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -14936,11 +14411,7 @@ public unsafe partial struct ID3D11SamplerState : ID3D11SamplerState.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11SamplerState*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11SamplerState*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -14948,11 +14419,7 @@ public unsafe partial struct ID3D11SamplerState : ID3D11SamplerState.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11SamplerState*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11SamplerState*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -14960,16 +14427,9 @@ public unsafe partial struct ID3D11SamplerState : ID3D11SamplerState.Interface [VtblIndex(7)] public void GetDesc(SamplerDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[7]))((ID3D11SamplerState*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11SamplerState*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface : ID3D11DeviceChild.Interface - { - } } /// @@ -14977,7 +14437,7 @@ public unsafe partial struct ID3D11SamplerState : ID3D11SamplerState.Interface [Guid("4b35d0cd-1e15-4258-9c98-1b1333f6dd3b")] [NativeTypeName("struct ID3D11Asynchronous : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11Asynchronous : ID3D11Asynchronous.Interface +public unsafe partial struct ID3D11Asynchronous { public static ref readonly Guid IID_ID3D11Asynchronous { @@ -15038,11 +14498,7 @@ public unsafe partial struct ID3D11Asynchronous : ID3D11Asynchronous.Interface [VtblIndex(3)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11Asynchronous*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11Asynchronous*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -15050,11 +14506,7 @@ public unsafe partial struct ID3D11Asynchronous : ID3D11Asynchronous.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11Asynchronous*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11Asynchronous*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -15062,11 +14514,7 @@ public unsafe partial struct ID3D11Asynchronous : ID3D11Asynchronous.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11Asynchronous*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11Asynchronous*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -15074,11 +14522,7 @@ public unsafe partial struct ID3D11Asynchronous : ID3D11Asynchronous.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11Asynchronous*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11Asynchronous*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -15086,16 +14530,9 @@ public unsafe partial struct ID3D11Asynchronous : ID3D11Asynchronous.Interface [VtblIndex(7)] public uint GetDataSize() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11Asynchronous*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11Asynchronous*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : ID3D11DeviceChild.Interface - { - } } /// @@ -15103,7 +14540,7 @@ public unsafe partial struct ID3D11Asynchronous : ID3D11Asynchronous.Interface [Guid("d6c00747-87b7-425e-b84d-44d108560afd")] [NativeTypeName("struct ID3D11Query : ID3D11Asynchronous")] [NativeInheritance("ID3D11Asynchronous")] -public unsafe partial struct ID3D11Query : ID3D11Query.Interface +public unsafe partial struct ID3D11Query { public static ref readonly Guid IID_ID3D11Query { @@ -15164,11 +14601,7 @@ public unsafe partial struct ID3D11Query : ID3D11Query.Interface [VtblIndex(3)] public uint GetDataSize() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11Query*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11Query*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -15176,11 +14609,7 @@ public unsafe partial struct ID3D11Query : ID3D11Query.Interface [VtblIndex(4)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11Query*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11Query*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -15188,11 +14617,7 @@ public unsafe partial struct ID3D11Query : ID3D11Query.Interface [VtblIndex(5)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11Query*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11Query*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -15200,11 +14625,7 @@ public unsafe partial struct ID3D11Query : ID3D11Query.Interface [VtblIndex(6)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11Query*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11Query*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -15212,11 +14633,7 @@ public unsafe partial struct ID3D11Query : ID3D11Query.Interface [VtblIndex(7)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11Query*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11Query*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -15224,16 +14641,9 @@ public unsafe partial struct ID3D11Query : ID3D11Query.Interface [VtblIndex(8)] public void GetDesc(QueryDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D11Query*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11Query*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface : ID3D11Asynchronous.Interface - { - } } /// @@ -15241,7 +14651,7 @@ public unsafe partial struct ID3D11Query : ID3D11Query.Interface [Guid("9eb576dd-9f77-4d86-81aa-8bab5fe490e2")] [NativeTypeName("struct ID3D11Predicate : ID3D11Query")] [NativeInheritance("ID3D11Query")] -public unsafe partial struct ID3D11Predicate : ID3D11Predicate.Interface +public unsafe partial struct ID3D11Predicate { public static ref readonly Guid IID_ID3D11Predicate { @@ -15302,11 +14712,7 @@ public unsafe partial struct ID3D11Predicate : ID3D11Predicate.Interface [VtblIndex(3)] public void GetDesc(QueryDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11Predicate*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11Predicate*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -15314,11 +14720,7 @@ public unsafe partial struct ID3D11Predicate : ID3D11Predicate.Interface [VtblIndex(4)] public uint GetDataSize() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11Predicate*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11Predicate*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -15326,11 +14728,7 @@ public unsafe partial struct ID3D11Predicate : ID3D11Predicate.Interface [VtblIndex(5)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D11Predicate*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11Predicate*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -15338,11 +14736,7 @@ public unsafe partial struct ID3D11Predicate : ID3D11Predicate.Interface [VtblIndex(6)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11Predicate*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11Predicate*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -15350,11 +14744,7 @@ public unsafe partial struct ID3D11Predicate : ID3D11Predicate.Interface [VtblIndex(7)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11Predicate*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11Predicate*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -15362,16 +14752,9 @@ public unsafe partial struct ID3D11Predicate : ID3D11Predicate.Interface [VtblIndex(8)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11Predicate*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11Predicate*)Unsafe.AsPointer(ref this), guid, pData); -#endif } - public interface Interface : ID3D11Query.Interface - { - } } /// @@ -15379,7 +14762,7 @@ public unsafe partial struct ID3D11Predicate : ID3D11Predicate.Interface [Guid("6e8c49fb-a371-4770-b440-29086022b741")] [NativeTypeName("struct ID3D11Counter : ID3D11Asynchronous")] [NativeInheritance("ID3D11Asynchronous")] -public unsafe partial struct ID3D11Counter : ID3D11Counter.Interface +public unsafe partial struct ID3D11Counter { public static ref readonly Guid IID_ID3D11Counter { @@ -15440,11 +14823,7 @@ public unsafe partial struct ID3D11Counter : ID3D11Counter.Interface [VtblIndex(3)] public uint GetDataSize() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11Counter*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11Counter*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -15452,11 +14831,7 @@ public unsafe partial struct ID3D11Counter : ID3D11Counter.Interface [VtblIndex(4)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11Counter*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11Counter*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -15464,11 +14839,7 @@ public unsafe partial struct ID3D11Counter : ID3D11Counter.Interface [VtblIndex(5)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11Counter*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11Counter*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -15476,11 +14847,7 @@ public unsafe partial struct ID3D11Counter : ID3D11Counter.Interface [VtblIndex(6)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11Counter*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11Counter*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -15488,11 +14855,7 @@ public unsafe partial struct ID3D11Counter : ID3D11Counter.Interface [VtblIndex(7)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11Counter*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11Counter*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -15500,16 +14863,9 @@ public unsafe partial struct ID3D11Counter : ID3D11Counter.Interface [VtblIndex(8)] public void GetDesc(CounterDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D11Counter*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11Counter*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface : ID3D11Asynchronous.Interface - { - } } /// @@ -15517,7 +14873,7 @@ public unsafe partial struct ID3D11Counter : ID3D11Counter.Interface [Guid("a6cd7faa-b0b7-4a2f-9436-8662a65797cb")] [NativeTypeName("struct ID3D11ClassInstance : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11ClassInstance : ID3D11ClassInstance.Interface +public unsafe partial struct ID3D11ClassInstance { public static ref readonly Guid IID_ID3D11ClassInstance { @@ -15578,11 +14934,7 @@ public unsafe partial struct ID3D11ClassInstance : ID3D11ClassInstance.Interface [VtblIndex(3)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -15590,11 +14942,7 @@ public unsafe partial struct ID3D11ClassInstance : ID3D11ClassInstance.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -15602,11 +14950,7 @@ public unsafe partial struct ID3D11ClassInstance : ID3D11ClassInstance.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -15614,11 +14958,7 @@ public unsafe partial struct ID3D11ClassInstance : ID3D11ClassInstance.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -15626,11 +14966,7 @@ public unsafe partial struct ID3D11ClassInstance : ID3D11ClassInstance.Interface [VtblIndex(7)] public void GetClassLinkage(ID3D11ClassLinkage* ppLinkage) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[7]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), ppLinkage); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), ppLinkage); -#endif } /// @@ -15638,11 +14974,7 @@ public unsafe partial struct ID3D11ClassInstance : ID3D11ClassInstance.Interface [VtblIndex(8)] public void GetDesc(ClassInstanceDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -15650,11 +14982,7 @@ public unsafe partial struct ID3D11ClassInstance : ID3D11ClassInstance.Interface [VtblIndex(9)] public void GetInstanceName(byte* pInstanceName, nuint* pBufferLength) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[9]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), pInstanceName, pBufferLength); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), pInstanceName, pBufferLength); -#endif } /// @@ -15662,16 +14990,9 @@ public unsafe partial struct ID3D11ClassInstance : ID3D11ClassInstance.Interface [VtblIndex(10)] public void GetTypeName(byte* pTypeName, nuint* pBufferLength) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[10]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), pTypeName, pBufferLength); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), pTypeName, pBufferLength); -#endif } - public interface Interface : ID3D11DeviceChild.Interface - { - } } /// @@ -15679,7 +15000,7 @@ public unsafe partial struct ID3D11ClassInstance : ID3D11ClassInstance.Interface [Guid("ddf57cba-9543-46e4-a12b-f207a0fe7fed")] [NativeTypeName("struct ID3D11ClassLinkage : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11ClassLinkage : ID3D11ClassLinkage.Interface +public unsafe partial struct ID3D11ClassLinkage { public static ref readonly Guid IID_ID3D11ClassLinkage { @@ -15740,11 +15061,7 @@ public unsafe partial struct ID3D11ClassLinkage : ID3D11ClassLinkage.Interface [VtblIndex(3)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -15752,11 +15069,7 @@ public unsafe partial struct ID3D11ClassLinkage : ID3D11ClassLinkage.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -15764,11 +15077,7 @@ public unsafe partial struct ID3D11ClassLinkage : ID3D11ClassLinkage.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -15776,11 +15085,7 @@ public unsafe partial struct ID3D11ClassLinkage : ID3D11ClassLinkage.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -15788,11 +15093,7 @@ public unsafe partial struct ID3D11ClassLinkage : ID3D11ClassLinkage.Interface [VtblIndex(7)] public HResult GetClassInstance(byte** pClassInstanceName, uint InstanceIndex, ID3D11ClassInstance** ppInstance) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), pClassInstanceName, InstanceIndex, ppInstance); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), pClassInstanceName, InstanceIndex, ppInstance); -#endif } /// @@ -15800,16 +15101,9 @@ public unsafe partial struct ID3D11ClassLinkage : ID3D11ClassLinkage.Interface [VtblIndex(8)] public HResult CreateClassInstance(byte** pClassTypeName, uint ConstantBufferOffset, uint ConstantVectorOffset, uint TextureOffset, uint SamplerOffset, ID3D11ClassInstance** ppInstance) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), pClassTypeName, ConstantBufferOffset, ConstantVectorOffset, TextureOffset, SamplerOffset, ppInstance); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), pClassTypeName, ConstantBufferOffset, ConstantVectorOffset, TextureOffset, SamplerOffset, ppInstance); -#endif } - public interface Interface : ID3D11DeviceChild.Interface - { - } } /// @@ -15817,7 +15111,7 @@ public unsafe partial struct ID3D11ClassLinkage : ID3D11ClassLinkage.Interface [Guid("a24bc4d1-769e-43f7-8013-98ff566c18e2")] [NativeTypeName("struct ID3D11CommandList : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11CommandList : ID3D11CommandList.Interface +public unsafe partial struct ID3D11CommandList { public static ref readonly Guid IID_ID3D11CommandList { @@ -15878,11 +15172,7 @@ public unsafe partial struct ID3D11CommandList : ID3D11CommandList.Interface [VtblIndex(3)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11CommandList*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11CommandList*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -15890,11 +15180,7 @@ public unsafe partial struct ID3D11CommandList : ID3D11CommandList.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11CommandList*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11CommandList*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -15902,11 +15188,7 @@ public unsafe partial struct ID3D11CommandList : ID3D11CommandList.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11CommandList*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11CommandList*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -15914,11 +15196,7 @@ public unsafe partial struct ID3D11CommandList : ID3D11CommandList.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11CommandList*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11CommandList*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -15926,16 +15204,9 @@ public unsafe partial struct ID3D11CommandList : ID3D11CommandList.Interface [VtblIndex(7)] public uint GetContextFlags() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11CommandList*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11CommandList*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : ID3D11DeviceChild.Interface - { - } } /// @@ -15943,7 +15214,7 @@ public unsafe partial struct ID3D11CommandList : ID3D11CommandList.Interface [Guid("c0bfa96c-e089-44fb-8eaf-26f8796190da")] [NativeTypeName("struct ID3D11DeviceContext : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface +public unsafe partial struct ID3D11DeviceContext { public static ref readonly Guid IID_ID3D11DeviceContext { @@ -16004,11 +15275,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(3)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -16016,11 +15283,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -16028,11 +15291,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -16040,11 +15299,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -16052,11 +15307,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(7)] public void VSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[7]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -16064,11 +15315,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(8)] public void PSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -16076,11 +15323,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(9)] public void PSSetShader(ID3D11PixelShader* pPixelShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[9]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pPixelShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pPixelShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -16088,11 +15331,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(10)] public void PSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[10]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -16100,11 +15339,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(11)] public void VSSetShader(ID3D11VertexShader* pVertexShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[11]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pVertexShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pVertexShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -16112,11 +15347,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(12)] public void DrawIndexed(uint IndexCount, uint StartIndexLocation, int BaseVertexLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[12]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), IndexCount, StartIndexLocation, BaseVertexLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), IndexCount, StartIndexLocation, BaseVertexLocation); -#endif } /// @@ -16124,11 +15355,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(13)] public void Draw(uint VertexCount, uint StartVertexLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[13]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), VertexCount, StartVertexLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), VertexCount, StartVertexLocation); -#endif } /// @@ -16136,11 +15363,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(14)] public HResult Map(ID3D11Resource* pResource, uint Subresource, Map MapType, uint MapFlags, MappedSubresource* pMappedResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pResource, Subresource, MapType, MapFlags, pMappedResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pResource, Subresource, MapType, MapFlags, pMappedResource); -#endif } /// @@ -16148,11 +15371,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(15)] public void Unmap(ID3D11Resource* pResource, uint Subresource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[15]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pResource, Subresource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pResource, Subresource); -#endif } /// @@ -16160,11 +15379,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(16)] public void PSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[16]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -16172,11 +15387,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(17)] public void IASetInputLayout(ID3D11InputLayout* pInputLayout) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[17]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pInputLayout); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pInputLayout); -#endif } /// @@ -16184,11 +15395,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(18)] public void IASetVertexBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppVertexBuffers, uint* pStrides, uint* pOffsets) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[18]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppVertexBuffers, pStrides, pOffsets); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppVertexBuffers, pStrides, pOffsets); -#endif } /// @@ -16196,11 +15403,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(19)] public void IASetIndexBuffer(ID3D11Buffer* pIndexBuffer, Graphics.Dxgi.Common.Format Format, uint Offset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[19]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pIndexBuffer, Format, Offset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pIndexBuffer, Format, Offset); -#endif } /// @@ -16208,11 +15411,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(20)] public void DrawIndexedInstanced(uint IndexCountPerInstance, uint InstanceCount, uint StartIndexLocation, int BaseVertexLocation, uint StartInstanceLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[20]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), IndexCountPerInstance, InstanceCount, StartIndexLocation, BaseVertexLocation, StartInstanceLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), IndexCountPerInstance, InstanceCount, StartIndexLocation, BaseVertexLocation, StartInstanceLocation); -#endif } /// @@ -16220,11 +15419,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(21)] public void DrawInstanced(uint VertexCountPerInstance, uint InstanceCount, uint StartVertexLocation, uint StartInstanceLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[21]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), VertexCountPerInstance, InstanceCount, StartVertexLocation, StartInstanceLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), VertexCountPerInstance, InstanceCount, StartVertexLocation, StartInstanceLocation); -#endif } /// @@ -16232,11 +15427,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(22)] public void GSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[22]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -16244,11 +15435,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(23)] public void GSSetShader(ID3D11GeometryShader* pShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[23]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -16256,11 +15443,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(24)] public void IASetPrimitiveTopology(Graphics.Direct3D.PrimitiveTopology Topology) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[24]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), Topology); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), Topology); -#endif } /// @@ -16268,11 +15451,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(25)] public void VSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[25]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -16280,11 +15459,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(26)] public void VSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[26]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -16292,11 +15467,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(27)] public void Begin(ID3D11Asynchronous* pAsync) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[27]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pAsync); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pAsync); -#endif } /// @@ -16304,11 +15475,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(28)] public void End(ID3D11Asynchronous* pAsync) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[28]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pAsync); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pAsync); -#endif } /// @@ -16316,11 +15483,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(29)] public HResult GetData(ID3D11Asynchronous* pAsync, void* pData, uint DataSize, uint GetDataFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[29]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pAsync, pData, DataSize, GetDataFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pAsync, pData, DataSize, GetDataFlags); -#endif } /// @@ -16328,11 +15491,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(30)] public void SetPredication(ID3D11Predicate* pPredicate, Bool32 PredicateValue) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[30]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); -#endif } /// @@ -16340,11 +15499,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(31)] public void GSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[31]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -16352,11 +15507,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(32)] public void GSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[32]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -16364,11 +15515,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(33)] public void OMSetRenderTargets(uint NumViews, ID3D11RenderTargetView* ppRenderTargetViews, ID3D11DepthStencilView* pDepthStencilView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[33]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), NumViews, ppRenderTargetViews, pDepthStencilView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), NumViews, ppRenderTargetViews, pDepthStencilView); -#endif } /// @@ -16376,11 +15523,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(34)] public void OMSetRenderTargetsAndUnorderedAccessViews(uint NumRTVs, ID3D11RenderTargetView* ppRenderTargetViews, ID3D11DepthStencilView* pDepthStencilView, uint UAVStartSlot, uint NumUAVs, ID3D11UnorderedAccessView* ppUnorderedAccessViews, uint* pUAVInitialCounts) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[34]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), NumRTVs, ppRenderTargetViews, pDepthStencilView, UAVStartSlot, NumUAVs, ppUnorderedAccessViews, pUAVInitialCounts); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), NumRTVs, ppRenderTargetViews, pDepthStencilView, UAVStartSlot, NumUAVs, ppUnorderedAccessViews, pUAVInitialCounts); -#endif } /// @@ -16388,11 +15531,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(35)] public void OMSetBlendState(ID3D11BlendState* pBlendState, float* BlendFactor, uint SampleMask) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[35]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pBlendState, BlendFactor, SampleMask); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pBlendState, BlendFactor, SampleMask); -#endif } /// @@ -16400,11 +15539,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(36)] public void OMSetDepthStencilState(ID3D11DepthStencilState* pDepthStencilState, uint StencilRef) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[36]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pDepthStencilState, StencilRef); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pDepthStencilState, StencilRef); -#endif } /// @@ -16412,11 +15547,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(37)] public void SOSetTargets(uint NumBuffers, ID3D11Buffer* ppSOTargets, uint* pOffsets) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[37]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), NumBuffers, ppSOTargets, pOffsets); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), NumBuffers, ppSOTargets, pOffsets); -#endif } /// @@ -16424,11 +15555,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(38)] public void DrawAuto() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[38]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -16436,11 +15563,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(39)] public void DrawIndexedInstancedIndirect(ID3D11Buffer* pBufferForArgs, uint AlignedByteOffsetForArgs) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[39]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#endif } /// @@ -16448,11 +15571,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(40)] public void DrawInstancedIndirect(ID3D11Buffer* pBufferForArgs, uint AlignedByteOffsetForArgs) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[40]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#endif } /// @@ -16460,11 +15579,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(41)] public void Dispatch(uint ThreadGroupCountX, uint ThreadGroupCountY, uint ThreadGroupCountZ) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[41]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ); -#endif } /// @@ -16472,11 +15587,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(42)] public void DispatchIndirect(ID3D11Buffer* pBufferForArgs, uint AlignedByteOffsetForArgs) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[42]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#endif } /// @@ -16484,11 +15595,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(43)] public void RSSetState(ID3D11RasterizerState* pRasterizerState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[43]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pRasterizerState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pRasterizerState); -#endif } /// @@ -16496,11 +15603,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(44)] public void RSSetViewports(uint NumViewports, Viewport* pViewports) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[44]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), NumViewports, pViewports); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), NumViewports, pViewports); -#endif } /// @@ -16508,11 +15611,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(45)] public void RSSetScissorRects(uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[45]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), NumRects, pRects); -#endif } /// @@ -16520,11 +15619,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(46)] public void CopySubresourceRegion(ID3D11Resource* pDstResource, uint DstSubresource, uint DstX, uint DstY, uint DstZ, ID3D11Resource* pSrcResource, uint SrcSubresource, Box* pSrcBox) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[46]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, DstZ, pSrcResource, SrcSubresource, pSrcBox); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, DstZ, pSrcResource, SrcSubresource, pSrcBox); -#endif } /// @@ -16532,11 +15627,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(47)] public void CopyResource(ID3D11Resource* pDstResource, ID3D11Resource* pSrcResource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[47]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pDstResource, pSrcResource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pDstResource, pSrcResource); -#endif } /// @@ -16544,11 +15635,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(48)] public void UpdateSubresource(ID3D11Resource* pDstResource, uint DstSubresource, Box* pDstBox, void* pSrcData, uint SrcRowPitch, uint SrcDepthPitch) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[48]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch); -#endif } /// @@ -16556,11 +15643,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(49)] public void CopyStructureCount(ID3D11Buffer* pDstBuffer, uint DstAlignedByteOffset, ID3D11UnorderedAccessView* pSrcView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[49]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pDstBuffer, DstAlignedByteOffset, pSrcView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pDstBuffer, DstAlignedByteOffset, pSrcView); -#endif } /// @@ -16568,11 +15651,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(50)] public void ClearRenderTargetView(ID3D11RenderTargetView* pRenderTargetView, float* ColorRGBA) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[50]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pRenderTargetView, ColorRGBA); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pRenderTargetView, ColorRGBA); -#endif } /// @@ -16580,11 +15659,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(51)] public void ClearUnorderedAccessViewUint(ID3D11UnorderedAccessView* pUnorderedAccessView, uint* Values) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[51]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); -#endif } /// @@ -16592,11 +15667,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(52)] public void ClearUnorderedAccessViewFloat(ID3D11UnorderedAccessView* pUnorderedAccessView, float* Values) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[52]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); -#endif } /// @@ -16604,11 +15675,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(53)] public void ClearDepthStencilView(ID3D11DepthStencilView* pDepthStencilView, uint ClearFlags, float Depth, byte Stencil) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[53]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pDepthStencilView, ClearFlags, Depth, Stencil); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pDepthStencilView, ClearFlags, Depth, Stencil); -#endif } /// @@ -16616,11 +15683,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(54)] public void GenerateMips(ID3D11ShaderResourceView* pShaderResourceView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[54]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pShaderResourceView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pShaderResourceView); -#endif } /// @@ -16628,11 +15691,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(55)] public void SetResourceMinLOD(ID3D11Resource* pResource, float MinLOD) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[55]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pResource, MinLOD); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pResource, MinLOD); -#endif } /// @@ -16640,11 +15699,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(56)] public float GetResourceMinLOD(ID3D11Resource* pResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[56]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pResource); -#endif } /// @@ -16652,11 +15707,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(57)] public void ResolveSubresource(ID3D11Resource* pDstResource, uint DstSubresource, ID3D11Resource* pSrcResource, uint SrcSubresource, Graphics.Dxgi.Common.Format Format) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[57]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pSrcResource, SrcSubresource, Format); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pSrcResource, SrcSubresource, Format); -#endif } /// @@ -16664,11 +15715,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(58)] public void ExecuteCommandList(ID3D11CommandList* pCommandList, Bool32 RestoreContextState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[58]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); -#endif } /// @@ -16676,11 +15723,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(59)] public void HSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[59]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -16688,11 +15731,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(60)] public void HSSetShader(ID3D11HullShader* pHullShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[60]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pHullShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pHullShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -16700,11 +15739,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(61)] public void HSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[61]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -16712,11 +15747,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(62)] public void HSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[62]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -16724,11 +15755,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(63)] public void DSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[63]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -16736,11 +15763,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(64)] public void DSSetShader(ID3D11DomainShader* pDomainShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[64]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pDomainShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pDomainShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -16748,11 +15771,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(65)] public void DSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[65]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -16760,11 +15779,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(66)] public void DSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[66]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[66]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -16772,11 +15787,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(67)] public void CSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[67]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -16784,11 +15795,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(68)] public void CSSetUnorderedAccessViews(uint StartSlot, uint NumUAVs, ID3D11UnorderedAccessView* ppUnorderedAccessViews, uint* pUAVInitialCounts) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[68]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumUAVs, ppUnorderedAccessViews, pUAVInitialCounts); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[68]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumUAVs, ppUnorderedAccessViews, pUAVInitialCounts); -#endif } /// @@ -16796,11 +15803,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(69)] public void CSSetShader(ID3D11ComputeShader* pComputeShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[69]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pComputeShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[69]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pComputeShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -16808,11 +15811,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(70)] public void CSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[70]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -16820,11 +15819,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(71)] public void CSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[71]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -16832,11 +15827,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(72)] public void VSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[72]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -16844,11 +15835,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(73)] public void PSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[73]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[73]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -16856,11 +15843,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(74)] public void PSGetShader(ID3D11PixelShader* ppPixelShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[74]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), ppPixelShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[74]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), ppPixelShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -16868,11 +15851,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(75)] public void PSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[75]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[75]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -16880,11 +15859,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(76)] public void VSGetShader(ID3D11VertexShader* ppVertexShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[76]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), ppVertexShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[76]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), ppVertexShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -16892,11 +15867,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(77)] public void PSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[77]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[77]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -16904,11 +15875,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(78)] public void IAGetInputLayout(ID3D11InputLayout* ppInputLayout) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[78]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), ppInputLayout); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[78]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), ppInputLayout); -#endif } /// @@ -16916,11 +15883,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(79)] public void IAGetVertexBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppVertexBuffers, uint* pStrides, uint* pOffsets) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[79]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppVertexBuffers, pStrides, pOffsets); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[79]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppVertexBuffers, pStrides, pOffsets); -#endif } /// @@ -16928,11 +15891,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(80)] public void IAGetIndexBuffer(ID3D11Buffer* pIndexBuffer, Graphics.Dxgi.Common.Format* Format, uint* Offset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[80]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pIndexBuffer, Format, Offset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[80]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pIndexBuffer, Format, Offset); -#endif } /// @@ -16940,11 +15899,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(81)] public void GSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[81]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[81]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -16952,11 +15907,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(82)] public void GSGetShader(ID3D11GeometryShader* ppGeometryShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[82]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), ppGeometryShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[82]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), ppGeometryShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -16964,11 +15915,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(83)] public void IAGetPrimitiveTopology(Graphics.Direct3D.PrimitiveTopology* pTopology) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[83]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pTopology); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[83]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pTopology); -#endif } /// @@ -16976,11 +15923,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(84)] public void VSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[84]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[84]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -16988,11 +15931,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(85)] public void VSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[85]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[85]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -17000,11 +15939,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(86)] public void GetPredication(ID3D11Predicate* ppPredicate, Bool32* pPredicateValue) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[86]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), ppPredicate, pPredicateValue); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[86]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), ppPredicate, pPredicateValue); -#endif } /// @@ -17012,11 +15947,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(87)] public void GSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[87]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[87]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -17024,11 +15955,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(88)] public void GSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[88]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[88]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -17036,11 +15963,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(89)] public void OMGetRenderTargets(uint NumViews, ID3D11RenderTargetView* ppRenderTargetViews, ID3D11DepthStencilView* ppDepthStencilView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[89]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), NumViews, ppRenderTargetViews, ppDepthStencilView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[89]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), NumViews, ppRenderTargetViews, ppDepthStencilView); -#endif } /// @@ -17048,11 +15971,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(90)] public void OMGetRenderTargetsAndUnorderedAccessViews(uint NumRTVs, ID3D11RenderTargetView* ppRenderTargetViews, ID3D11DepthStencilView* ppDepthStencilView, uint UAVStartSlot, uint NumUAVs, ID3D11UnorderedAccessView* ppUnorderedAccessViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[90]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), NumRTVs, ppRenderTargetViews, ppDepthStencilView, UAVStartSlot, NumUAVs, ppUnorderedAccessViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[90]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), NumRTVs, ppRenderTargetViews, ppDepthStencilView, UAVStartSlot, NumUAVs, ppUnorderedAccessViews); -#endif } /// @@ -17060,11 +15979,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(91)] public void OMGetBlendState(ID3D11BlendState* ppBlendState, float* BlendFactor, uint* pSampleMask) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[91]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), ppBlendState, BlendFactor, pSampleMask); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[91]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), ppBlendState, BlendFactor, pSampleMask); -#endif } /// @@ -17072,11 +15987,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(92)] public void OMGetDepthStencilState(ID3D11DepthStencilState* ppDepthStencilState, uint* pStencilRef) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[92]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), ppDepthStencilState, pStencilRef); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[92]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), ppDepthStencilState, pStencilRef); -#endif } /// @@ -17084,11 +15995,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(93)] public void SOGetTargets(uint NumBuffers, ID3D11Buffer* ppSOTargets) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[93]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), NumBuffers, ppSOTargets); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[93]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), NumBuffers, ppSOTargets); -#endif } /// @@ -17096,11 +16003,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(94)] public void RSGetState(ID3D11RasterizerState* ppRasterizerState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[94]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), ppRasterizerState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[94]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), ppRasterizerState); -#endif } /// @@ -17108,11 +16011,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(95)] public void RSGetViewports(uint* pNumViewports, Viewport* pViewports) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[95]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pNumViewports, pViewports); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[95]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pNumViewports, pViewports); -#endif } /// @@ -17120,11 +16019,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(96)] public void RSGetScissorRects(uint* pNumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[96]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pNumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[96]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pNumRects, pRects); -#endif } /// @@ -17132,11 +16027,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(97)] public void HSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[97]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[97]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -17144,11 +16035,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(98)] public void HSGetShader(ID3D11HullShader* ppHullShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[98]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), ppHullShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[98]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), ppHullShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -17156,11 +16043,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(99)] public void HSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[99]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[99]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -17168,11 +16051,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(100)] public void HSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[100]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[100]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -17180,11 +16059,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(101)] public void DSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[101]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[101]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -17192,11 +16067,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(102)] public void DSGetShader(ID3D11DomainShader* ppDomainShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[102]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), ppDomainShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[102]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), ppDomainShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -17204,11 +16075,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(103)] public void DSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[103]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[103]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -17216,11 +16083,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(104)] public void DSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[104]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[104]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -17228,11 +16091,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(105)] public void CSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[105]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[105]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -17240,11 +16099,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(106)] public void CSGetUnorderedAccessViews(uint StartSlot, uint NumUAVs, ID3D11UnorderedAccessView* ppUnorderedAccessViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[106]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumUAVs, ppUnorderedAccessViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[106]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumUAVs, ppUnorderedAccessViews); -#endif } /// @@ -17252,11 +16107,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(107)] public void CSGetShader(ID3D11ComputeShader* ppComputeShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[107]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), ppComputeShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[107]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), ppComputeShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -17264,11 +16115,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(108)] public void CSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[108]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[108]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -17276,11 +16123,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(109)] public void CSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[109]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[109]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -17288,11 +16131,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(110)] public void ClearState() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[110]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[110]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -17300,11 +16139,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(111)] public void Flush() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[111]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[111]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -17312,11 +16147,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(112)] public new Graphics.Direct3D11.DeviceContextType GetType() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[112]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[112]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -17324,11 +16155,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(113)] public uint GetContextFlags() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[113]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[113]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -17336,16 +16163,9 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [VtblIndex(114)] public HResult FinishCommandList(Bool32 RestoreDeferredContextState, ID3D11CommandList** ppCommandList) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[114]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[114]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); -#endif } - public interface Interface : ID3D11DeviceChild.Interface - { - } } /// @@ -17353,7 +16173,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface [Guid("3c9c5b51-995d-48d1-9b8d-fa5caeded65c")] [NativeTypeName("struct ID3D11VideoDecoder : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11VideoDecoder : ID3D11VideoDecoder.Interface +public unsafe partial struct ID3D11VideoDecoder { public static ref readonly Guid IID_ID3D11VideoDecoder { @@ -17414,11 +16234,7 @@ public unsafe partial struct ID3D11VideoDecoder : ID3D11VideoDecoder.Interface [VtblIndex(3)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -17426,11 +16242,7 @@ public unsafe partial struct ID3D11VideoDecoder : ID3D11VideoDecoder.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -17438,11 +16250,7 @@ public unsafe partial struct ID3D11VideoDecoder : ID3D11VideoDecoder.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -17450,11 +16258,7 @@ public unsafe partial struct ID3D11VideoDecoder : ID3D11VideoDecoder.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -17462,11 +16266,7 @@ public unsafe partial struct ID3D11VideoDecoder : ID3D11VideoDecoder.Interface [VtblIndex(7)] public HResult GetCreationParameters(VideoDecoderDescription* pVideoDesc, VideoDecoderConfig* pConfig) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this), pVideoDesc, pConfig); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this), pVideoDesc, pConfig); -#endif } /// @@ -17474,16 +16274,9 @@ public unsafe partial struct ID3D11VideoDecoder : ID3D11VideoDecoder.Interface [VtblIndex(8)] public HResult GetDriverHandle(IntPtr* pDriverHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this), pDriverHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this), pDriverHandle); -#endif } - public interface Interface : ID3D11DeviceChild.Interface - { - } } /// @@ -17491,7 +16284,7 @@ public unsafe partial struct ID3D11VideoDecoder : ID3D11VideoDecoder.Interface [Guid("31627037-53ab-4200-9061-05faa9ab45f9")] [NativeTypeName("struct ID3D11VideoProcessorEnumerator : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11VideoProcessorEnumerator : ID3D11VideoProcessorEnumerator.Interface +public unsafe partial struct ID3D11VideoProcessorEnumerator { public static ref readonly Guid IID_ID3D11VideoProcessorEnumerator { @@ -17552,11 +16345,7 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator : ID3D11VideoProcess [VtblIndex(3)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -17564,11 +16353,7 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator : ID3D11VideoProcess [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -17576,11 +16361,7 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator : ID3D11VideoProcess [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -17588,11 +16369,7 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator : ID3D11VideoProcess [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -17600,11 +16377,7 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator : ID3D11VideoProcess [VtblIndex(7)] public HResult GetVideoProcessorContentDesc(VideoProcessorContentDescription* pContentDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), pContentDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), pContentDesc); -#endif } /// @@ -17612,11 +16385,7 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator : ID3D11VideoProcess [VtblIndex(8)] public HResult CheckVideoProcessorFormat(Graphics.Dxgi.Common.Format Format, uint* pFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), Format, pFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), Format, pFlags); -#endif } /// @@ -17624,11 +16393,7 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator : ID3D11VideoProcess [VtblIndex(9)] public HResult GetVideoProcessorCaps(VideoProcessorCaps* pCaps) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), pCaps); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), pCaps); -#endif } /// @@ -17636,11 +16401,7 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator : ID3D11VideoProcess [VtblIndex(10)] public HResult GetVideoProcessorRateConversionCaps(uint TypeIndex, VideoProcessorRateConversionCaps* pCaps) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), TypeIndex, pCaps); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), TypeIndex, pCaps); -#endif } /// @@ -17648,11 +16409,7 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator : ID3D11VideoProcess [VtblIndex(11)] public HResult GetVideoProcessorCustomRate(uint TypeIndex, uint CustomRateIndex, VideoProcessorCustomRate* pRate) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), TypeIndex, CustomRateIndex, pRate); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), TypeIndex, CustomRateIndex, pRate); -#endif } /// @@ -17660,16 +16417,9 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator : ID3D11VideoProcess [VtblIndex(12)] public HResult GetVideoProcessorFilterRange(VideoProcessorFilter Filter, VideoProcessorFilterRange* pRange) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), Filter, pRange); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), Filter, pRange); -#endif } - public interface Interface : ID3D11DeviceChild.Interface - { - } } /// @@ -17677,7 +16427,7 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator : ID3D11VideoProcess [Guid("1d7b0652-185f-41c6-85ce-0c5be3d4ae6c")] [NativeTypeName("struct ID3D11VideoProcessor : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11VideoProcessor : ID3D11VideoProcessor.Interface +public unsafe partial struct ID3D11VideoProcessor { public static ref readonly Guid IID_ID3D11VideoProcessor { @@ -17738,11 +16488,7 @@ public unsafe partial struct ID3D11VideoProcessor : ID3D11VideoProcessor.Interfa [VtblIndex(3)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -17750,11 +16496,7 @@ public unsafe partial struct ID3D11VideoProcessor : ID3D11VideoProcessor.Interfa [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -17762,11 +16504,7 @@ public unsafe partial struct ID3D11VideoProcessor : ID3D11VideoProcessor.Interfa [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -17774,11 +16512,7 @@ public unsafe partial struct ID3D11VideoProcessor : ID3D11VideoProcessor.Interfa [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -17786,11 +16520,7 @@ public unsafe partial struct ID3D11VideoProcessor : ID3D11VideoProcessor.Interfa [VtblIndex(7)] public void GetContentDesc(VideoProcessorContentDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[7]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -17798,16 +16528,9 @@ public unsafe partial struct ID3D11VideoProcessor : ID3D11VideoProcessor.Interfa [VtblIndex(8)] public void GetRateConversionCaps(VideoProcessorRateConversionCaps* pCaps) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this), pCaps); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this), pCaps); -#endif } - public interface Interface : ID3D11DeviceChild.Interface - { - } } /// @@ -17815,7 +16538,7 @@ public unsafe partial struct ID3D11VideoProcessor : ID3D11VideoProcessor.Interfa [Guid("3015a308-dcbd-47aa-a747-192486d14d4a")] [NativeTypeName("struct ID3D11AuthenticatedChannel : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11AuthenticatedChannel : ID3D11AuthenticatedChannel.Interface +public unsafe partial struct ID3D11AuthenticatedChannel { public static ref readonly Guid IID_ID3D11AuthenticatedChannel { @@ -17876,11 +16599,7 @@ public unsafe partial struct ID3D11AuthenticatedChannel : ID3D11AuthenticatedCha [VtblIndex(3)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -17888,11 +16607,7 @@ public unsafe partial struct ID3D11AuthenticatedChannel : ID3D11AuthenticatedCha [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -17900,11 +16615,7 @@ public unsafe partial struct ID3D11AuthenticatedChannel : ID3D11AuthenticatedCha [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -17912,11 +16623,7 @@ public unsafe partial struct ID3D11AuthenticatedChannel : ID3D11AuthenticatedCha [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -17924,11 +16631,7 @@ public unsafe partial struct ID3D11AuthenticatedChannel : ID3D11AuthenticatedCha [VtblIndex(7)] public HResult GetCertificateSize(uint* pCertificateSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), pCertificateSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), pCertificateSize); -#endif } /// @@ -17936,11 +16639,7 @@ public unsafe partial struct ID3D11AuthenticatedChannel : ID3D11AuthenticatedCha [VtblIndex(8)] public HResult GetCertificate(uint CertificateSize, byte* pCertificate) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), CertificateSize, pCertificate); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), CertificateSize, pCertificate); -#endif } /// @@ -17948,16 +16647,9 @@ public unsafe partial struct ID3D11AuthenticatedChannel : ID3D11AuthenticatedCha [VtblIndex(9)] public void GetChannelHandle(IntPtr* pChannelHandle) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[9]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), pChannelHandle); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), pChannelHandle); -#endif } - public interface Interface : ID3D11DeviceChild.Interface - { - } } /// @@ -17965,7 +16657,7 @@ public unsafe partial struct ID3D11AuthenticatedChannel : ID3D11AuthenticatedCha [Guid("9b32f9ad-bdcc-40a6-a39d-d5c865845720")] [NativeTypeName("struct ID3D11CryptoSession : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11CryptoSession : ID3D11CryptoSession.Interface +public unsafe partial struct ID3D11CryptoSession { public static ref readonly Guid IID_ID3D11CryptoSession { @@ -18026,11 +16718,7 @@ public unsafe partial struct ID3D11CryptoSession : ID3D11CryptoSession.Interface [VtblIndex(3)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -18038,11 +16726,7 @@ public unsafe partial struct ID3D11CryptoSession : ID3D11CryptoSession.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -18050,11 +16734,7 @@ public unsafe partial struct ID3D11CryptoSession : ID3D11CryptoSession.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -18062,11 +16742,7 @@ public unsafe partial struct ID3D11CryptoSession : ID3D11CryptoSession.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -18074,11 +16750,7 @@ public unsafe partial struct ID3D11CryptoSession : ID3D11CryptoSession.Interface [VtblIndex(7)] public void GetCryptoType(Guid* pCryptoType) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[7]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), pCryptoType); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), pCryptoType); -#endif } /// @@ -18086,11 +16758,7 @@ public unsafe partial struct ID3D11CryptoSession : ID3D11CryptoSession.Interface [VtblIndex(8)] public void GetDecoderProfile(Guid* pDecoderProfile) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), pDecoderProfile); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), pDecoderProfile); -#endif } /// @@ -18098,11 +16766,7 @@ public unsafe partial struct ID3D11CryptoSession : ID3D11CryptoSession.Interface [VtblIndex(9)] public HResult GetCertificateSize(uint* pCertificateSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), pCertificateSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), pCertificateSize); -#endif } /// @@ -18110,11 +16774,7 @@ public unsafe partial struct ID3D11CryptoSession : ID3D11CryptoSession.Interface [VtblIndex(10)] public HResult GetCertificate(uint CertificateSize, byte* pCertificate) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), CertificateSize, pCertificate); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), CertificateSize, pCertificate); -#endif } /// @@ -18122,16 +16782,9 @@ public unsafe partial struct ID3D11CryptoSession : ID3D11CryptoSession.Interface [VtblIndex(11)] public void GetCryptoSessionHandle(IntPtr* pCryptoSessionHandle) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[11]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), pCryptoSessionHandle); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), pCryptoSessionHandle); -#endif } - public interface Interface : ID3D11DeviceChild.Interface - { - } } /// @@ -18139,7 +16792,7 @@ public unsafe partial struct ID3D11CryptoSession : ID3D11CryptoSession.Interface [Guid("c2931aea-2a85-4f20-860f-fba1fd256e18")] [NativeTypeName("struct ID3D11VideoDecoderOutputView : ID3D11View")] [NativeInheritance("ID3D11View")] -public unsafe partial struct ID3D11VideoDecoderOutputView : ID3D11VideoDecoderOutputView.Interface +public unsafe partial struct ID3D11VideoDecoderOutputView { public static ref readonly Guid IID_ID3D11VideoDecoderOutputView { @@ -18200,11 +16853,7 @@ public unsafe partial struct ID3D11VideoDecoderOutputView : ID3D11VideoDecoderOu [VtblIndex(3)] public void GetResource(ID3D11Resource* ppResource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this), ppResource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this), ppResource); -#endif } /// @@ -18212,11 +16861,7 @@ public unsafe partial struct ID3D11VideoDecoderOutputView : ID3D11VideoDecoderOu [VtblIndex(4)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -18224,11 +16869,7 @@ public unsafe partial struct ID3D11VideoDecoderOutputView : ID3D11VideoDecoderOu [VtblIndex(5)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -18236,11 +16877,7 @@ public unsafe partial struct ID3D11VideoDecoderOutputView : ID3D11VideoDecoderOu [VtblIndex(6)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -18248,11 +16885,7 @@ public unsafe partial struct ID3D11VideoDecoderOutputView : ID3D11VideoDecoderOu [VtblIndex(7)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -18260,16 +16893,9 @@ public unsafe partial struct ID3D11VideoDecoderOutputView : ID3D11VideoDecoderOu [VtblIndex(8)] public void GetDesc(VideoDecoderOutputViewDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface : ID3D11View.Interface - { - } } /// @@ -18277,7 +16903,7 @@ public unsafe partial struct ID3D11VideoDecoderOutputView : ID3D11VideoDecoderOu [Guid("11ec5a5f-51dc-4945-ab34-6e8c21300ea5")] [NativeTypeName("struct ID3D11VideoProcessorInputView : ID3D11View")] [NativeInheritance("ID3D11View")] -public unsafe partial struct ID3D11VideoProcessorInputView : ID3D11VideoProcessorInputView.Interface +public unsafe partial struct ID3D11VideoProcessorInputView { public static ref readonly Guid IID_ID3D11VideoProcessorInputView { @@ -18338,11 +16964,7 @@ public unsafe partial struct ID3D11VideoProcessorInputView : ID3D11VideoProcesso [VtblIndex(3)] public void GetResource(ID3D11Resource* ppResource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this), ppResource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this), ppResource); -#endif } /// @@ -18350,11 +16972,7 @@ public unsafe partial struct ID3D11VideoProcessorInputView : ID3D11VideoProcesso [VtblIndex(4)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -18362,11 +16980,7 @@ public unsafe partial struct ID3D11VideoProcessorInputView : ID3D11VideoProcesso [VtblIndex(5)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -18374,11 +16988,7 @@ public unsafe partial struct ID3D11VideoProcessorInputView : ID3D11VideoProcesso [VtblIndex(6)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -18386,11 +16996,7 @@ public unsafe partial struct ID3D11VideoProcessorInputView : ID3D11VideoProcesso [VtblIndex(7)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -18398,16 +17004,9 @@ public unsafe partial struct ID3D11VideoProcessorInputView : ID3D11VideoProcesso [VtblIndex(8)] public void GetDesc(VideoProcessorInputViewDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface : ID3D11View.Interface - { - } } /// @@ -18415,7 +17014,7 @@ public unsafe partial struct ID3D11VideoProcessorInputView : ID3D11VideoProcesso [Guid("a048285e-25a9-4527-bd93-d68b68c44254")] [NativeTypeName("struct ID3D11VideoProcessorOutputView : ID3D11View")] [NativeInheritance("ID3D11View")] -public unsafe partial struct ID3D11VideoProcessorOutputView : ID3D11VideoProcessorOutputView.Interface +public unsafe partial struct ID3D11VideoProcessorOutputView { public static ref readonly Guid IID_ID3D11VideoProcessorOutputView { @@ -18476,11 +17075,7 @@ public unsafe partial struct ID3D11VideoProcessorOutputView : ID3D11VideoProcess [VtblIndex(3)] public void GetResource(ID3D11Resource* ppResource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this), ppResource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this), ppResource); -#endif } /// @@ -18488,11 +17083,7 @@ public unsafe partial struct ID3D11VideoProcessorOutputView : ID3D11VideoProcess [VtblIndex(4)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -18500,11 +17091,7 @@ public unsafe partial struct ID3D11VideoProcessorOutputView : ID3D11VideoProcess [VtblIndex(5)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -18512,11 +17099,7 @@ public unsafe partial struct ID3D11VideoProcessorOutputView : ID3D11VideoProcess [VtblIndex(6)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -18524,11 +17107,7 @@ public unsafe partial struct ID3D11VideoProcessorOutputView : ID3D11VideoProcess [VtblIndex(7)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -18536,16 +17115,9 @@ public unsafe partial struct ID3D11VideoProcessorOutputView : ID3D11VideoProcess [VtblIndex(8)] public void GetDesc(VideoProcessorOutputViewDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface : ID3D11View.Interface - { - } } /// @@ -18553,7 +17125,7 @@ public unsafe partial struct ID3D11VideoProcessorOutputView : ID3D11VideoProcess [Guid("61f21c45-3c0e-4a74-9cea-67100d9ad5e4")] [NativeTypeName("struct ID3D11VideoContext : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface +public unsafe partial struct ID3D11VideoContext { public static ref readonly Guid IID_ID3D11VideoContext { @@ -18614,11 +17186,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(3)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -18626,11 +17194,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -18638,11 +17202,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -18650,11 +17210,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -18662,11 +17218,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(7)] public HResult GetDecoderBuffer(ID3D11VideoDecoder* pDecoder, VideoDecoderBufferType Type, uint* pBufferSize, void** ppBuffer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pDecoder, Type, pBufferSize, ppBuffer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pDecoder, Type, pBufferSize, ppBuffer); -#endif } /// @@ -18674,11 +17226,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(8)] public HResult ReleaseDecoderBuffer(ID3D11VideoDecoder* pDecoder, VideoDecoderBufferType Type) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pDecoder, Type); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pDecoder, Type); -#endif } /// @@ -18686,11 +17234,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(9)] public HResult DecoderBeginFrame(ID3D11VideoDecoder* pDecoder, ID3D11VideoDecoderOutputView* pView, uint ContentKeySize, void* pContentKey) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pDecoder, pView, ContentKeySize, pContentKey); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pDecoder, pView, ContentKeySize, pContentKey); -#endif } /// @@ -18698,11 +17242,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(10)] public HResult DecoderEndFrame(ID3D11VideoDecoder* pDecoder) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pDecoder); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pDecoder); -#endif } /// @@ -18710,11 +17250,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(11)] public HResult SubmitDecoderBuffers(ID3D11VideoDecoder* pDecoder, uint NumBuffers, VideoDecoderBufferDescription* pBufferDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc); -#endif } /// @@ -18722,11 +17258,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(12)] public int DecoderExtension(ID3D11VideoDecoder* pDecoder, VideoDecoderExtension* pExtensionData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pDecoder, pExtensionData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pDecoder, pExtensionData); -#endif } /// @@ -18734,11 +17266,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(13)] public void VideoProcessorSetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, RawRect* pRect) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[13]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect); -#endif } /// @@ -18746,11 +17274,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(14)] public void VideoProcessorSetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, Bool32 YCbCr, VideoColor* pColor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[14]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor); -#endif } /// @@ -18758,11 +17282,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(15)] public void VideoProcessorSetOutputColorSpace(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorColorSpace* pColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[15]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace); -#endif } /// @@ -18770,11 +17290,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(16)] public void VideoProcessorSetOutputAlphaFillMode(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorAlphaFillMode AlphaFillMode, uint StreamIndex) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[16]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, AlphaFillMode, StreamIndex); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, AlphaFillMode, StreamIndex); -#endif } /// @@ -18782,11 +17298,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(17)] public void VideoProcessorSetOutputConstriction(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, System.Drawing.Size* Size) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[17]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size); -#endif } /// @@ -18794,11 +17306,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(18)] public void VideoProcessorSetOutputStereoMode(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[18]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable); -#endif } /// @@ -18806,11 +17314,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(19)] public int VideoProcessorSetOutputExtension(ID3D11VideoProcessor* pVideoProcessor, Guid* pExtensionGuid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData); -#endif } /// @@ -18818,11 +17322,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(20)] public void VideoProcessorGetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enabled, RawRect* pRect) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[20]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enabled, pRect); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enabled, pRect); -#endif } /// @@ -18830,11 +17330,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(21)] public void VideoProcessorGetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, Bool32* pYCbCr, VideoColor* pColor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[21]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pYCbCr, pColor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pYCbCr, pColor); -#endif } /// @@ -18842,11 +17338,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(22)] public void VideoProcessorGetOutputColorSpace(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorColorSpace* pColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[22]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace); -#endif } /// @@ -18854,11 +17346,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(23)] public void VideoProcessorGetOutputAlphaFillMode(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorAlphaFillMode* pAlphaFillMode, uint* pStreamIndex) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[23]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pAlphaFillMode, pStreamIndex); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pAlphaFillMode, pStreamIndex); -#endif } /// @@ -18866,11 +17354,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(24)] public void VideoProcessorGetOutputConstriction(ID3D11VideoProcessor* pVideoProcessor, Bool32* pEnabled, System.Drawing.Size* pSize) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[24]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled, pSize); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled, pSize); -#endif } /// @@ -18878,11 +17362,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(25)] public void VideoProcessorGetOutputStereoMode(ID3D11VideoProcessor* pVideoProcessor, Bool32* pEnabled) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[25]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled); -#endif } /// @@ -18890,11 +17370,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(26)] public int VideoProcessorGetOutputExtension(ID3D11VideoProcessor* pVideoProcessor, Guid* pExtensionGuid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[26]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData); -#endif } /// @@ -18902,11 +17378,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(27)] public void VideoProcessorSetStreamFrameFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoFrameFormat FrameFormat) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[27]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, FrameFormat); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, FrameFormat); -#endif } /// @@ -18914,11 +17386,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(28)] public void VideoProcessorSetStreamColorSpace(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorColorSpace* pColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[28]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace); -#endif } /// @@ -18926,11 +17394,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(29)] public void VideoProcessorSetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorOutputRate OutputRate, Bool32 RepeatFrame, Graphics.Dxgi.Common.Rational* pCustomRate) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[29]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate); -#endif } /// @@ -18938,11 +17402,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(30)] public void VideoProcessorSetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, RawRect* pRect) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[30]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); -#endif } /// @@ -18950,11 +17410,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(31)] public void VideoProcessorSetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, RawRect* pRect) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[31]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); -#endif } /// @@ -18962,11 +17418,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(32)] public void VideoProcessorSetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, float Alpha) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[32]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha); -#endif } /// @@ -18974,11 +17426,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(33)] public void VideoProcessorSetStreamPalette(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, uint Count, uint* pEntries) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[33]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries); -#endif } /// @@ -18986,11 +17434,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(34)] public void VideoProcessorSetStreamPixelAspectRatio(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Graphics.Dxgi.Common.Rational* pSourceAspectRatio, Graphics.Dxgi.Common.Rational* pDestinationAspectRatio) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[34]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio); -#endif } /// @@ -18998,11 +17442,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(35)] public void VideoProcessorSetStreamLumaKey(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, float Lower, float Upper) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[35]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper); -#endif } /// @@ -19010,11 +17450,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(36)] public void VideoProcessorSetStreamStereoFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, VideoProcessorStereoFormat Format, Bool32 LeftViewFrame0, Bool32 BaseViewFrame0, VideoProcessorStereoFlipMode FlipMode, int MonoOffset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[36]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset); -#endif } /// @@ -19022,11 +17458,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(37)] public void VideoProcessorSetStreamAutoProcessingMode(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[37]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable); -#endif } /// @@ -19034,11 +17466,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(38)] public void VideoProcessorSetStreamFilter(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorFilter Filter, Bool32 Enable, int Level) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[38]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level); -#endif } /// @@ -19046,11 +17474,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(39)] public int VideoProcessorSetStreamExtension(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Guid* pExtensionGuid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[39]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData); -#endif } /// @@ -19058,11 +17482,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(40)] public void VideoProcessorGetStreamFrameFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoFrameFormat* pFrameFormat) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[40]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pFrameFormat); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pFrameFormat); -#endif } /// @@ -19070,11 +17490,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(41)] public void VideoProcessorGetStreamColorSpace(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorColorSpace* pColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[41]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace); -#endif } /// @@ -19082,11 +17498,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(42)] public void VideoProcessorGetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorOutputRate* pOutputRate, Bool32* pRepeatFrame, Graphics.Dxgi.Common.Rational* pCustomRate) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[42]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pOutputRate, pRepeatFrame, pCustomRate); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pOutputRate, pRepeatFrame, pCustomRate); -#endif } /// @@ -19094,11 +17506,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(43)] public void VideoProcessorGetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, RawRect* pRect) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[43]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect); -#endif } /// @@ -19106,11 +17514,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(44)] public void VideoProcessorGetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, RawRect* pRect) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[44]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect); -#endif } /// @@ -19118,11 +17522,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(45)] public void VideoProcessorGetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, float* pAlpha) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[45]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pAlpha); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pAlpha); -#endif } /// @@ -19130,11 +17530,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(46)] public void VideoProcessorGetStreamPalette(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, uint Count, uint* pEntries) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[46]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries); -#endif } /// @@ -19142,11 +17538,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(47)] public void VideoProcessorGetStreamPixelAspectRatio(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, Graphics.Dxgi.Common.Rational* pSourceAspectRatio, Graphics.Dxgi.Common.Rational* pDestinationAspectRatio) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[47]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pSourceAspectRatio, pDestinationAspectRatio); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pSourceAspectRatio, pDestinationAspectRatio); -#endif } /// @@ -19154,11 +17546,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(48)] public void VideoProcessorGetStreamLumaKey(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, float* pLower, float* pUpper) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[48]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pLower, pUpper); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pLower, pUpper); -#endif } /// @@ -19166,11 +17554,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(49)] public void VideoProcessorGetStreamStereoFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnable, VideoProcessorStereoFormat* pFormat, Bool32* pLeftViewFrame0, Bool32* pBaseViewFrame0, VideoProcessorStereoFlipMode* pFlipMode, int* MonoOffset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[49]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFormat, pLeftViewFrame0, pBaseViewFrame0, pFlipMode, MonoOffset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFormat, pLeftViewFrame0, pBaseViewFrame0, pFlipMode, MonoOffset); -#endif } /// @@ -19178,11 +17562,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(50)] public void VideoProcessorGetStreamAutoProcessingMode(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[50]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled); -#endif } /// @@ -19190,11 +17570,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(51)] public void VideoProcessorGetStreamFilter(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorFilter Filter, Bool32* pEnabled, int* pLevel) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[51]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, pEnabled, pLevel); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, pEnabled, pLevel); -#endif } /// @@ -19202,11 +17578,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(52)] public int VideoProcessorGetStreamExtension(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Guid* pExtensionGuid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[52]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData); -#endif } /// @@ -19214,11 +17586,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(53)] public HResult VideoProcessorBlt(ID3D11VideoProcessor* pVideoProcessor, ID3D11VideoProcessorOutputView* pView, uint OutputFrame, uint StreamCount, VideoProcessorStream* pStreams) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[53]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pView, OutputFrame, StreamCount, pStreams); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pView, OutputFrame, StreamCount, pStreams); -#endif } /// @@ -19226,11 +17594,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(54)] public HResult NegotiateCryptoSessionKeyExchange(ID3D11CryptoSession* pCryptoSession, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[54]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pCryptoSession, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pCryptoSession, DataSize, pData); -#endif } /// @@ -19238,11 +17602,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(55)] public void EncryptionBlt(ID3D11CryptoSession* pCryptoSession, ID3D11Texture2D* pSrcSurface, ID3D11Texture2D* pDstSurface, uint IVSize, void* pIV) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[55]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, IVSize, pIV); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, IVSize, pIV); -#endif } /// @@ -19250,11 +17610,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(56)] public void DecryptionBlt(ID3D11CryptoSession* pCryptoSession, ID3D11Texture2D* pSrcSurface, ID3D11Texture2D* pDstSurface, EncryptedBlockInfo* pEncryptedBlockInfo, uint ContentKeySize, void* pContentKey, uint IVSize, void* pIV) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[56]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, pEncryptedBlockInfo, ContentKeySize, pContentKey, IVSize, pIV); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, pEncryptedBlockInfo, ContentKeySize, pContentKey, IVSize, pIV); -#endif } /// @@ -19262,11 +17618,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(57)] public void StartSessionKeyRefresh(ID3D11CryptoSession* pCryptoSession, uint RandomNumberSize, void* pRandomNumber) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[57]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pCryptoSession, RandomNumberSize, pRandomNumber); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pCryptoSession, RandomNumberSize, pRandomNumber); -#endif } /// @@ -19274,11 +17626,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(58)] public void FinishSessionKeyRefresh(ID3D11CryptoSession* pCryptoSession) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[58]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pCryptoSession); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pCryptoSession); -#endif } /// @@ -19286,11 +17634,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(59)] public HResult GetEncryptionBltKey(ID3D11CryptoSession* pCryptoSession, uint KeySize, void* pReadbackKey) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[59]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pCryptoSession, KeySize, pReadbackKey); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pCryptoSession, KeySize, pReadbackKey); -#endif } /// @@ -19298,11 +17642,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(60)] public HResult NegotiateAuthenticatedChannelKeyExchange(ID3D11AuthenticatedChannel* pChannel, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[60]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pChannel, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pChannel, DataSize, pData); -#endif } /// @@ -19310,11 +17650,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(61)] public HResult QueryAuthenticatedChannel(ID3D11AuthenticatedChannel* pChannel, uint InputSize, void* pInput, uint OutputSize, void* pOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[61]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, OutputSize, pOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, OutputSize, pOutput); -#endif } /// @@ -19322,11 +17658,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(62)] public HResult ConfigureAuthenticatedChannel(ID3D11AuthenticatedChannel* pChannel, uint InputSize, void* pInput, AuthenticatedConfigureOutput* pOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[62]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, pOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, pOutput); -#endif } /// @@ -19334,11 +17666,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(63)] public void VideoProcessorSetStreamRotation(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, VideoProcessorRotation Rotation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[63]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation); -#endif } /// @@ -19346,16 +17674,9 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [VtblIndex(64)] public void VideoProcessorGetStreamRotation(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnable, VideoProcessorRotation* pRotation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[64]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pRotation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pRotation); -#endif } - public interface Interface : ID3D11DeviceChild.Interface - { - } } /// @@ -19363,7 +17684,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface [Guid("10ec4d5b-975a-4689-b9e4-d0aac30fe333")] [NativeTypeName("struct ID3D11VideoDevice : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface +public unsafe partial struct ID3D11VideoDevice { public static ref readonly Guid IID_ID3D11VideoDevice { @@ -19424,11 +17745,7 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface [VtblIndex(3)] public HResult CreateVideoDecoder(VideoDecoderDescription* pVideoDesc, VideoDecoderConfig* pConfig, ID3D11VideoDecoder** ppDecoder) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pVideoDesc, pConfig, ppDecoder); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pVideoDesc, pConfig, ppDecoder); -#endif } /// @@ -19436,11 +17753,7 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface [VtblIndex(4)] public HResult CreateVideoProcessor(ID3D11VideoProcessorEnumerator* pEnum, uint RateConversionIndex, ID3D11VideoProcessor** ppVideoProcessor) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pEnum, RateConversionIndex, ppVideoProcessor); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pEnum, RateConversionIndex, ppVideoProcessor); -#endif } /// @@ -19448,11 +17761,7 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface [VtblIndex(5)] public HResult CreateAuthenticatedChannel(AuthenticatedChannelType ChannelType, ID3D11AuthenticatedChannel** ppAuthenticatedChannel) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), ChannelType, ppAuthenticatedChannel); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), ChannelType, ppAuthenticatedChannel); -#endif } /// @@ -19460,11 +17769,7 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface [VtblIndex(6)] public HResult CreateCryptoSession(Guid* pCryptoType, Guid* pDecoderProfile, Guid* pKeyExchangeType, ID3D11CryptoSession** ppCryptoSession) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pKeyExchangeType, ppCryptoSession); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pKeyExchangeType, ppCryptoSession); -#endif } /// @@ -19472,11 +17777,7 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface [VtblIndex(7)] public HResult CreateVideoDecoderOutputView(ID3D11Resource* pResource, VideoDecoderOutputViewDescription* pDesc, ID3D11VideoDecoderOutputView** ppVDOVView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pResource, pDesc, ppVDOVView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pResource, pDesc, ppVDOVView); -#endif } /// @@ -19484,11 +17785,7 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface [VtblIndex(8)] public HResult CreateVideoProcessorInputView(ID3D11Resource* pResource, ID3D11VideoProcessorEnumerator* pEnum, VideoProcessorInputViewDescription* pDesc, ID3D11VideoProcessorInputView** ppVPIView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pResource, pEnum, pDesc, ppVPIView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pResource, pEnum, pDesc, ppVPIView); -#endif } /// @@ -19496,11 +17793,7 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface [VtblIndex(9)] public HResult CreateVideoProcessorOutputView(ID3D11Resource* pResource, ID3D11VideoProcessorEnumerator* pEnum, VideoProcessorOutputViewDescription* pDesc, ID3D11VideoProcessorOutputView** ppVPOView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pResource, pEnum, pDesc, ppVPOView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pResource, pEnum, pDesc, ppVPOView); -#endif } /// @@ -19508,11 +17801,7 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface [VtblIndex(10)] public HResult CreateVideoProcessorEnumerator(VideoProcessorContentDescription* pDesc, ID3D11VideoProcessorEnumerator** ppEnum) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pDesc, ppEnum); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pDesc, ppEnum); -#endif } /// @@ -19520,11 +17809,7 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface [VtblIndex(11)] public uint GetVideoDecoderProfileCount() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -19532,11 +17817,7 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface [VtblIndex(12)] public HResult GetVideoDecoderProfile(uint Index, Guid* pDecoderProfile) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), Index, pDecoderProfile); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), Index, pDecoderProfile); -#endif } /// @@ -19544,11 +17825,7 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface [VtblIndex(13)] public HResult CheckVideoDecoderFormat(Guid* pDecoderProfile, Graphics.Dxgi.Common.Format Format, Bool32* pSupported) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pDecoderProfile, Format, pSupported); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pDecoderProfile, Format, pSupported); -#endif } /// @@ -19556,11 +17833,7 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface [VtblIndex(14)] public HResult GetVideoDecoderConfigCount(VideoDecoderDescription* pDesc, uint* pCount) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pDesc, pCount); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pDesc, pCount); -#endif } /// @@ -19568,11 +17841,7 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface [VtblIndex(15)] public HResult GetVideoDecoderConfig(VideoDecoderDescription* pDesc, uint Index, VideoDecoderConfig* pConfig) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pDesc, Index, pConfig); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pDesc, Index, pConfig); -#endif } /// @@ -19580,11 +17849,7 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface [VtblIndex(16)] public HResult GetContentProtectionCaps(Guid* pCryptoType, Guid* pDecoderProfile, VideoContentProtectionCaps* pCaps) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pCaps); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pCaps); -#endif } /// @@ -19592,11 +17857,7 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface [VtblIndex(17)] public HResult CheckCryptoKeyExchange(Guid* pCryptoType, Guid* pDecoderProfile, uint Index, Guid* pKeyExchangeType) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, Index, pKeyExchangeType); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, Index, pKeyExchangeType); -#endif } /// @@ -19604,11 +17865,7 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface [VtblIndex(18)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -19616,16 +17873,9 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface [VtblIndex(19)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), guid, pData); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -19633,7 +17883,7 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface [Guid("db6f6ddb-ac77-4e88-8253-819df9bbf140")] [NativeTypeName("struct ID3D11Device : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11Device : ID3D11Device.Interface +public unsafe partial struct ID3D11Device { public static ref readonly Guid IID_ID3D11Device { @@ -19694,11 +17944,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(3)] public HResult CreateBuffer(BufferDescription* pDesc, SubresourceData* pInitialData, ID3D11Buffer** ppBuffer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11Device*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppBuffer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11Device*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppBuffer); -#endif } /// @@ -19706,11 +17952,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(4)] public HResult CreateTexture1D(Texture1DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture1D** ppTexture1D) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11Device*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture1D); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11Device*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture1D); -#endif } /// @@ -19718,11 +17960,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(5)] public HResult CreateTexture2D(Texture2DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture2D** ppTexture2D) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11Device*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture2D); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11Device*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture2D); -#endif } /// @@ -19730,11 +17968,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(6)] public HResult CreateTexture3D(Texture3DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture3D** ppTexture3D) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11Device*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture3D); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11Device*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture3D); -#endif } /// @@ -19742,11 +17976,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(7)] public HResult CreateShaderResourceView(ID3D11Resource* pResource, ShaderResourceViewDescription* pDesc, ID3D11ShaderResourceView** ppSRView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11Device*)Unsafe.AsPointer(ref this), pResource, pDesc, ppSRView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11Device*)Unsafe.AsPointer(ref this), pResource, pDesc, ppSRView); -#endif } /// @@ -19754,11 +17984,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(8)] public HResult CreateUnorderedAccessView(ID3D11Resource* pResource, UnorderedAccessViewDescription* pDesc, ID3D11UnorderedAccessView** ppUAView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11Device*)Unsafe.AsPointer(ref this), pResource, pDesc, ppUAView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11Device*)Unsafe.AsPointer(ref this), pResource, pDesc, ppUAView); -#endif } /// @@ -19766,11 +17992,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(9)] public HResult CreateRenderTargetView(ID3D11Resource* pResource, RenderTargetViewDescription* pDesc, ID3D11RenderTargetView** ppRTView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11Device*)Unsafe.AsPointer(ref this), pResource, pDesc, ppRTView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11Device*)Unsafe.AsPointer(ref this), pResource, pDesc, ppRTView); -#endif } /// @@ -19778,11 +18000,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(10)] public HResult CreateDepthStencilView(ID3D11Resource* pResource, DepthStencilViewDescription* pDesc, ID3D11DepthStencilView** ppDepthStencilView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D11Device*)Unsafe.AsPointer(ref this), pResource, pDesc, ppDepthStencilView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11Device*)Unsafe.AsPointer(ref this), pResource, pDesc, ppDepthStencilView); -#endif } /// @@ -19790,11 +18008,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(11)] public HResult CreateInputLayout(InputElementDescription* pInputElementDescs, uint NumElements, void* pShaderBytecodeWithInputSignature, nuint BytecodeLength, ID3D11InputLayout** ppInputLayout) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D11Device*)Unsafe.AsPointer(ref this), pInputElementDescs, NumElements, pShaderBytecodeWithInputSignature, BytecodeLength, ppInputLayout); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D11Device*)Unsafe.AsPointer(ref this), pInputElementDescs, NumElements, pShaderBytecodeWithInputSignature, BytecodeLength, ppInputLayout); -#endif } /// @@ -19802,11 +18016,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(12)] public HResult CreateVertexShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11VertexShader** ppVertexShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppVertexShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppVertexShader); -#endif } /// @@ -19814,23 +18024,15 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(13)] public HResult CreateGeometryShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppGeometryShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppGeometryShader); -#endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HResult CreateGeometryShaderWithStreamOutput(void* pShaderBytecode, nuint BytecodeLength, SoDeclarationEntry* pSODeclaration, uint NumEntries, uint* pBufferStrides, uint NumStrides, uint RasterizedStream, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader) + public HResult CreateGeometryShaderWithStreamOutput(void* pShaderBytecode, nuint BytecodeLength, SODeclarationEntry* pSODeclaration, uint NumEntries, uint* pBufferStrides, uint NumStrides, uint RasterizedStream, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader); -#else - return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader); -#endif + return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader); } /// @@ -19838,11 +18040,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(15)] public HResult CreatePixelShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11PixelShader** ppPixelShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppPixelShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppPixelShader); -#endif } /// @@ -19850,11 +18048,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(16)] public HResult CreateHullShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11HullShader** ppHullShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppHullShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppHullShader); -#endif } /// @@ -19862,11 +18056,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(17)] public HResult CreateDomainShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11DomainShader** ppDomainShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppDomainShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppDomainShader); -#endif } /// @@ -19874,11 +18064,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(18)] public HResult CreateComputeShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11ComputeShader** ppComputeShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppComputeShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppComputeShader); -#endif } /// @@ -19886,11 +18072,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(19)] public HResult CreateClassLinkage(ID3D11ClassLinkage** ppLinkage) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((ID3D11Device*)Unsafe.AsPointer(ref this), ppLinkage); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D11Device*)Unsafe.AsPointer(ref this), ppLinkage); -#endif } /// @@ -19898,11 +18080,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(20)] public HResult CreateBlendState(BlendDescription* pBlendStateDesc, ID3D11BlendState** ppBlendState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((ID3D11Device*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D11Device*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState); -#endif } /// @@ -19910,11 +18088,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(21)] public HResult CreateDepthStencilState(DepthStencilDescription* pDepthStencilDesc, ID3D11DepthStencilState** ppDepthStencilState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((ID3D11Device*)Unsafe.AsPointer(ref this), pDepthStencilDesc, ppDepthStencilState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D11Device*)Unsafe.AsPointer(ref this), pDepthStencilDesc, ppDepthStencilState); -#endif } /// @@ -19922,11 +18096,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(22)] public HResult CreateRasterizerState(RasterizerDescription* pRasterizerDesc, ID3D11RasterizerState** ppRasterizerState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((ID3D11Device*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D11Device*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#endif } /// @@ -19934,11 +18104,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(23)] public HResult CreateSamplerState(SamplerDescription* pSamplerDesc, ID3D11SamplerState** ppSamplerState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((ID3D11Device*)Unsafe.AsPointer(ref this), pSamplerDesc, ppSamplerState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D11Device*)Unsafe.AsPointer(ref this), pSamplerDesc, ppSamplerState); -#endif } /// @@ -19946,11 +18112,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(24)] public HResult CreateQuery(QueryDescription* pQueryDesc, ID3D11Query** ppQuery) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((ID3D11Device*)Unsafe.AsPointer(ref this), pQueryDesc, ppQuery); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D11Device*)Unsafe.AsPointer(ref this), pQueryDesc, ppQuery); -#endif } /// @@ -19958,11 +18120,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(25)] public HResult CreatePredicate(QueryDescription* pPredicateDesc, ID3D11Predicate** ppPredicate) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((ID3D11Device*)Unsafe.AsPointer(ref this), pPredicateDesc, ppPredicate); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D11Device*)Unsafe.AsPointer(ref this), pPredicateDesc, ppPredicate); -#endif } /// @@ -19970,11 +18128,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(26)] public HResult CreateCounter(CounterDescription* pCounterDesc, ID3D11Counter** ppCounter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[26]))((ID3D11Device*)Unsafe.AsPointer(ref this), pCounterDesc, ppCounter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D11Device*)Unsafe.AsPointer(ref this), pCounterDesc, ppCounter); -#endif } /// @@ -19982,11 +18136,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(27)] public HResult CreateDeferredContext(uint ContextFlags, ID3D11DeviceContext** ppDeferredContext) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((ID3D11Device*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D11Device*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#endif } /// @@ -19994,11 +18144,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(28)] public HResult OpenSharedResource(IntPtr hResource, Guid* ReturnedInterface, void** ppResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((ID3D11Device*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D11Device*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); -#endif } /// @@ -20006,11 +18152,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(29)] public HResult CheckFormatSupport(Graphics.Dxgi.Common.Format Format, uint* pFormatSupport) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[29]))((ID3D11Device*)Unsafe.AsPointer(ref this), Format, pFormatSupport); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D11Device*)Unsafe.AsPointer(ref this), Format, pFormatSupport); -#endif } /// @@ -20018,11 +18160,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(30)] public HResult CheckMultisampleQualityLevels(Graphics.Dxgi.Common.Format Format, uint SampleCount, uint* pNumQualityLevels) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[30]))((ID3D11Device*)Unsafe.AsPointer(ref this), Format, SampleCount, pNumQualityLevels); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D11Device*)Unsafe.AsPointer(ref this), Format, SampleCount, pNumQualityLevels); -#endif } /// @@ -20030,11 +18168,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(31)] public void CheckCounterInfo(CounterInfo* pCounterInfo) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[31]))((ID3D11Device*)Unsafe.AsPointer(ref this), pCounterInfo); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D11Device*)Unsafe.AsPointer(ref this), pCounterInfo); -#endif } /// @@ -20042,11 +18176,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(32)] public HResult CheckCounter(CounterDescription* pDesc, CounterType* pType, uint* pActiveCounters, byte* szName, uint* pNameLength, byte* szUnits, uint* pUnitsLength, byte* szDescription, uint* pDescriptionLength) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[32]))((ID3D11Device*)Unsafe.AsPointer(ref this), pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D11Device*)Unsafe.AsPointer(ref this), pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); -#endif } /// @@ -20054,11 +18184,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(33)] public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, uint FeatureSupportDataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[33]))((ID3D11Device*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D11Device*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#endif } /// @@ -20066,11 +18192,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(34)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[34]))((ID3D11Device*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D11Device*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -20078,11 +18200,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(35)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[35]))((ID3D11Device*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D11Device*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -20090,11 +18208,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(36)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[36]))((ID3D11Device*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D11Device*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -20102,11 +18216,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(37)] public Graphics.Direct3D.FeatureLevel GetFeatureLevel() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[37]))((ID3D11Device*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D11Device*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -20114,11 +18224,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(38)] public uint GetCreationFlags() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[38]))((ID3D11Device*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D11Device*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -20126,11 +18232,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(39)] public HResult GetDeviceRemovedReason() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[39]))((ID3D11Device*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D11Device*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -20138,11 +18240,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(40)] public void GetImmediateContext(ID3D11DeviceContext* ppImmediateContext) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[40]))((ID3D11Device*)Unsafe.AsPointer(ref this), ppImmediateContext); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D11Device*)Unsafe.AsPointer(ref this), ppImmediateContext); -#endif } /// @@ -20150,11 +18248,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(41)] public HResult SetExceptionMode(uint RaiseFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[41]))((ID3D11Device*)Unsafe.AsPointer(ref this), RaiseFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D11Device*)Unsafe.AsPointer(ref this), RaiseFlags); -#endif } /// @@ -20162,16 +18256,9 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [VtblIndex(42)] public uint GetExceptionMode() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[42]))((ID3D11Device*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D11Device*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -20179,7 +18266,7 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface [Guid("79cf2233-7536-4948-9d36-1e4692dc5760")] [NativeTypeName("struct ID3D11Debug : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11Debug : ID3D11Debug.Interface +public unsafe partial struct ID3D11Debug { public static ref readonly Guid IID_ID3D11Debug { @@ -20240,11 +18327,7 @@ public unsafe partial struct ID3D11Debug : ID3D11Debug.Interface [VtblIndex(3)] public HResult SetFeatureMask(uint Mask) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11Debug*)Unsafe.AsPointer(ref this), Mask); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11Debug*)Unsafe.AsPointer(ref this), Mask); -#endif } /// @@ -20252,11 +18335,7 @@ public unsafe partial struct ID3D11Debug : ID3D11Debug.Interface [VtblIndex(4)] public uint GetFeatureMask() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11Debug*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11Debug*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -20264,11 +18343,7 @@ public unsafe partial struct ID3D11Debug : ID3D11Debug.Interface [VtblIndex(5)] public HResult SetPresentPerRenderOpDelay(uint Milliseconds) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11Debug*)Unsafe.AsPointer(ref this), Milliseconds); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11Debug*)Unsafe.AsPointer(ref this), Milliseconds); -#endif } /// @@ -20276,11 +18351,7 @@ public unsafe partial struct ID3D11Debug : ID3D11Debug.Interface [VtblIndex(6)] public uint GetPresentPerRenderOpDelay() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11Debug*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11Debug*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -20288,11 +18359,7 @@ public unsafe partial struct ID3D11Debug : ID3D11Debug.Interface [VtblIndex(7)] public HResult SetSwapChain(Graphics.Dxgi.IDXGISwapChain* pSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11Debug*)Unsafe.AsPointer(ref this), pSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11Debug*)Unsafe.AsPointer(ref this), pSwapChain); -#endif } /// @@ -20300,11 +18367,7 @@ public unsafe partial struct ID3D11Debug : ID3D11Debug.Interface [VtblIndex(8)] public HResult GetSwapChain(Graphics.Dxgi.IDXGISwapChain* ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11Debug*)Unsafe.AsPointer(ref this), ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11Debug*)Unsafe.AsPointer(ref this), ppSwapChain); -#endif } /// @@ -20312,11 +18375,7 @@ public unsafe partial struct ID3D11Debug : ID3D11Debug.Interface [VtblIndex(9)] public HResult ValidateContext(ID3D11DeviceContext* pContext) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11Debug*)Unsafe.AsPointer(ref this), pContext); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11Debug*)Unsafe.AsPointer(ref this), pContext); -#endif } /// @@ -20324,11 +18383,7 @@ public unsafe partial struct ID3D11Debug : ID3D11Debug.Interface [VtblIndex(10)] public HResult ReportLiveDeviceObjects(RldoFlags Flags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D11Debug*)Unsafe.AsPointer(ref this), Flags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11Debug*)Unsafe.AsPointer(ref this), Flags); -#endif } /// @@ -20336,16 +18391,9 @@ public unsafe partial struct ID3D11Debug : ID3D11Debug.Interface [VtblIndex(11)] public HResult ValidateContextForDispatch(ID3D11DeviceContext* pContext) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D11Debug*)Unsafe.AsPointer(ref this), pContext); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D11Debug*)Unsafe.AsPointer(ref this), pContext); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -20353,7 +18401,7 @@ public unsafe partial struct ID3D11Debug : ID3D11Debug.Interface [Guid("1ef337e3-58e7-4f83-a692-db221f5ed47e")] [NativeTypeName("struct ID3D11SwitchToRef : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11SwitchToRef : ID3D11SwitchToRef.Interface +public unsafe partial struct ID3D11SwitchToRef { public static ref readonly Guid IID_ID3D11SwitchToRef { @@ -20414,11 +18462,7 @@ public unsafe partial struct ID3D11SwitchToRef : ID3D11SwitchToRef.Interface [VtblIndex(3)] public Bool32 SetUseRef(Bool32 UseRef) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11SwitchToRef*)Unsafe.AsPointer(ref this), UseRef); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11SwitchToRef*)Unsafe.AsPointer(ref this), UseRef); -#endif } /// @@ -20426,16 +18470,9 @@ public unsafe partial struct ID3D11SwitchToRef : ID3D11SwitchToRef.Interface [VtblIndex(4)] public Bool32 GetUseRef() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11SwitchToRef*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11SwitchToRef*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -20443,7 +18480,7 @@ public unsafe partial struct ID3D11SwitchToRef : ID3D11SwitchToRef.Interface [Guid("1911c771-1587-413e-a7e0-fb26c3de0268")] [NativeTypeName("struct ID3D11TracingDevice : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11TracingDevice : ID3D11TracingDevice.Interface +public unsafe partial struct ID3D11TracingDevice { public static ref readonly Guid IID_ID3D11TracingDevice { @@ -20504,11 +18541,7 @@ public unsafe partial struct ID3D11TracingDevice : ID3D11TracingDevice.Interface [VtblIndex(3)] public HResult SetShaderTrackingOptionsByType(uint ResourceTypeFlags, uint Options) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11TracingDevice*)Unsafe.AsPointer(ref this), ResourceTypeFlags, Options); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11TracingDevice*)Unsafe.AsPointer(ref this), ResourceTypeFlags, Options); -#endif } /// @@ -20516,16 +18549,9 @@ public unsafe partial struct ID3D11TracingDevice : ID3D11TracingDevice.Interface [VtblIndex(4)] public HResult SetShaderTrackingOptions(IUnknown* pShader, uint Options) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11TracingDevice*)Unsafe.AsPointer(ref this), pShader, Options); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11TracingDevice*)Unsafe.AsPointer(ref this), pShader, Options); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -20533,7 +18559,7 @@ public unsafe partial struct ID3D11TracingDevice : ID3D11TracingDevice.Interface [Guid("193dacdf-0db2-4c05-a55c-ef06cac56fd9")] [NativeTypeName("struct ID3D11RefTrackingOptions : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11RefTrackingOptions : ID3D11RefTrackingOptions.Interface +public unsafe partial struct ID3D11RefTrackingOptions { public static ref readonly Guid IID_ID3D11RefTrackingOptions { @@ -20594,16 +18620,9 @@ public unsafe partial struct ID3D11RefTrackingOptions : ID3D11RefTrackingOptions [VtblIndex(3)] public HResult SetTrackingOptions(uint uOptions) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11RefTrackingOptions*)Unsafe.AsPointer(ref this), uOptions); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11RefTrackingOptions*)Unsafe.AsPointer(ref this), uOptions); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -20611,7 +18630,7 @@ public unsafe partial struct ID3D11RefTrackingOptions : ID3D11RefTrackingOptions [Guid("03916615-c644-418c-9bf4-75db5be63ca0")] [NativeTypeName("struct ID3D11RefDefaultTrackingOptions : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11RefDefaultTrackingOptions : ID3D11RefDefaultTrackingOptions.Interface +public unsafe partial struct ID3D11RefDefaultTrackingOptions { public static ref readonly Guid IID_ID3D11RefDefaultTrackingOptions { @@ -20672,16 +18691,9 @@ public unsafe partial struct ID3D11RefDefaultTrackingOptions : ID3D11RefDefaultT [VtblIndex(3)] public HResult SetTrackingOptions(uint ResourceTypeFlags, uint Options) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11RefDefaultTrackingOptions*)Unsafe.AsPointer(ref this), ResourceTypeFlags, Options); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11RefDefaultTrackingOptions*)Unsafe.AsPointer(ref this), ResourceTypeFlags, Options); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -20689,7 +18701,7 @@ public unsafe partial struct ID3D11RefDefaultTrackingOptions : ID3D11RefDefaultT [Guid("6543dbb6-1b48-42f5-ab82-e97ec74326f6")] [NativeTypeName("struct ID3D11InfoQueue : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface +public unsafe partial struct ID3D11InfoQueue { public static ref readonly Guid IID_ID3D11InfoQueue { @@ -20750,11 +18762,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(3)] public HResult SetMessageCountLimit(ulong MessageCountLimit) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), MessageCountLimit); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), MessageCountLimit); -#endif } /// @@ -20762,11 +18770,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(4)] public void ClearStoredMessages() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -20774,11 +18778,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(5)] public HResult GetMessage(ulong MessageIndex, Message* pMessage, nuint* pMessageByteLength) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), MessageIndex, pMessage, pMessageByteLength); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), MessageIndex, pMessage, pMessageByteLength); -#endif } /// @@ -20786,11 +18786,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(6)] public ulong GetNumMessagesAllowedByStorageFilter() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -20798,11 +18794,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(7)] public ulong GetNumMessagesDeniedByStorageFilter() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -20810,11 +18802,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(8)] public ulong GetNumStoredMessages() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -20822,11 +18810,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(9)] public ulong GetNumStoredMessagesAllowedByRetrievalFilter() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -20834,11 +18818,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(10)] public ulong GetNumMessagesDiscardedByMessageCountLimit() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -20846,11 +18826,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(11)] public ulong GetMessageCountLimit() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -20858,11 +18834,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(12)] public HResult AddStorageFilterEntries(InfoQueueFilter* pFilter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), pFilter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), pFilter); -#endif } /// @@ -20870,11 +18842,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(13)] public HResult GetStorageFilter(InfoQueueFilter* pFilter, nuint* pFilterByteLength) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), pFilter, pFilterByteLength); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), pFilter, pFilterByteLength); -#endif } /// @@ -20882,11 +18850,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(14)] public void ClearStorageFilter() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[14]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -20894,11 +18858,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(15)] public HResult PushEmptyStorageFilter() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -20906,11 +18866,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(16)] public HResult PushCopyOfStorageFilter() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -20918,11 +18874,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(17)] public HResult PushStorageFilter(InfoQueueFilter* pFilter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), pFilter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), pFilter); -#endif } /// @@ -20930,11 +18882,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(18)] public void PopStorageFilter() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[18]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -20942,11 +18890,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(19)] public uint GetStorageFilterStackSize() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -20954,11 +18898,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(20)] public HResult AddRetrievalFilterEntries(InfoQueueFilter* pFilter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), pFilter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), pFilter); -#endif } /// @@ -20966,11 +18906,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(21)] public HResult GetRetrievalFilter(InfoQueueFilter* pFilter, nuint* pFilterByteLength) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), pFilter, pFilterByteLength); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), pFilter, pFilterByteLength); -#endif } /// @@ -20978,11 +18914,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(22)] public void ClearRetrievalFilter() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[22]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -20990,11 +18922,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(23)] public HResult PushEmptyRetrievalFilter() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -21002,11 +18930,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(24)] public HResult PushCopyOfRetrievalFilter() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -21014,11 +18938,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(25)] public HResult PushRetrievalFilter(InfoQueueFilter* pFilter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), pFilter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), pFilter); -#endif } /// @@ -21026,11 +18946,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(26)] public void PopRetrievalFilter() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[26]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -21038,11 +18954,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(27)] public uint GetRetrievalFilterStackSize() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -21050,11 +18962,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(28)] public HResult AddMessage(MessageCategory Category, MessageSeverity Severity, MessageId ID, byte** pDescription) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Category, Severity, ID, pDescription); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Category, Severity, ID, pDescription); -#endif } /// @@ -21062,11 +18970,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(29)] public HResult AddApplicationMessage(MessageSeverity Severity, byte** pDescription) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[29]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Severity, pDescription); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Severity, pDescription); -#endif } /// @@ -21074,11 +18978,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(30)] public HResult SetBreakOnCategory(MessageCategory Category, Bool32 bEnable) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[30]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Category, bEnable); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Category, bEnable); -#endif } /// @@ -21086,11 +18986,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(31)] public HResult SetBreakOnSeverity(MessageSeverity Severity, Bool32 bEnable) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[31]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Severity, bEnable); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Severity, bEnable); -#endif } /// @@ -21098,11 +18994,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(32)] public HResult SetBreakOnID(MessageId ID, Bool32 bEnable) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[32]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), ID, bEnable); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), ID, bEnable); -#endif } /// @@ -21110,11 +19002,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(33)] public Bool32 GetBreakOnCategory(MessageCategory Category) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[33]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Category); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Category); -#endif } /// @@ -21122,11 +19010,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(34)] public Bool32 GetBreakOnSeverity(MessageSeverity Severity) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[34]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Severity); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Severity); -#endif } /// @@ -21134,11 +19018,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(35)] public Bool32 GetBreakOnID(MessageId ID) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[35]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), ID); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), ID); -#endif } /// @@ -21146,11 +19026,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(36)] public void SetMuteDebugOutput(Bool32 bMute) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[36]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), bMute); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), bMute); -#endif } /// @@ -21158,16 +19034,9 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [VtblIndex(37)] public Bool32 GetMuteDebugOutput() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[37]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -21175,7 +19044,7 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface [Guid("cc86fabe-da55-401d-85e7-e3c9de2877e9")] [NativeTypeName("struct ID3D11BlendState1 : ID3D11BlendState")] [NativeInheritance("ID3D11BlendState")] -public unsafe partial struct ID3D11BlendState1 : ID3D11BlendState1.Interface +public unsafe partial struct ID3D11BlendState1 { public static ref readonly Guid IID_ID3D11BlendState1 { @@ -21236,11 +19105,7 @@ public unsafe partial struct ID3D11BlendState1 : ID3D11BlendState1.Interface [VtblIndex(3)] public void GetDesc(BlendDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -21248,11 +19113,7 @@ public unsafe partial struct ID3D11BlendState1 : ID3D11BlendState1.Interface [VtblIndex(4)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -21260,11 +19121,7 @@ public unsafe partial struct ID3D11BlendState1 : ID3D11BlendState1.Interface [VtblIndex(5)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -21272,11 +19129,7 @@ public unsafe partial struct ID3D11BlendState1 : ID3D11BlendState1.Interface [VtblIndex(6)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -21284,11 +19137,7 @@ public unsafe partial struct ID3D11BlendState1 : ID3D11BlendState1.Interface [VtblIndex(7)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -21296,16 +19145,9 @@ public unsafe partial struct ID3D11BlendState1 : ID3D11BlendState1.Interface [VtblIndex(8)] public void GetDesc1(BlendDescription1* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface : ID3D11BlendState.Interface - { - } } /// @@ -21313,7 +19155,7 @@ public unsafe partial struct ID3D11BlendState1 : ID3D11BlendState1.Interface [Guid("1217d7a6-5039-418c-b042-9cbe256afd6e")] [NativeTypeName("struct ID3D11RasterizerState1 : ID3D11RasterizerState")] [NativeInheritance("ID3D11RasterizerState")] -public unsafe partial struct ID3D11RasterizerState1 : ID3D11RasterizerState1.Interface +public unsafe partial struct ID3D11RasterizerState1 { public static ref readonly Guid IID_ID3D11RasterizerState1 { @@ -21374,11 +19216,7 @@ public unsafe partial struct ID3D11RasterizerState1 : ID3D11RasterizerState1.Int [VtblIndex(3)] public void GetDesc(RasterizerDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -21386,11 +19224,7 @@ public unsafe partial struct ID3D11RasterizerState1 : ID3D11RasterizerState1.Int [VtblIndex(4)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -21398,11 +19232,7 @@ public unsafe partial struct ID3D11RasterizerState1 : ID3D11RasterizerState1.Int [VtblIndex(5)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -21410,11 +19240,7 @@ public unsafe partial struct ID3D11RasterizerState1 : ID3D11RasterizerState1.Int [VtblIndex(6)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -21422,11 +19248,7 @@ public unsafe partial struct ID3D11RasterizerState1 : ID3D11RasterizerState1.Int [VtblIndex(7)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -21434,16 +19256,9 @@ public unsafe partial struct ID3D11RasterizerState1 : ID3D11RasterizerState1.Int [VtblIndex(8)] public void GetDesc1(RasterizerDescription1* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface : ID3D11RasterizerState.Interface - { - } } /// @@ -21451,7 +19266,7 @@ public unsafe partial struct ID3D11RasterizerState1 : ID3D11RasterizerState1.Int [Guid("5c1e0d8a-7c23-48f9-8c59-a92958ceff11")] [NativeTypeName("struct ID3DDeviceContextState : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3DDeviceContextState : ID3DDeviceContextState.Interface +public unsafe partial struct ID3DDeviceContextState { public static ref readonly Guid IID_ID3DDeviceContextState { @@ -21512,11 +19327,7 @@ public unsafe partial struct ID3DDeviceContextState : ID3DDeviceContextState.Int [VtblIndex(3)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3DDeviceContextState*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3DDeviceContextState*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -21524,11 +19335,7 @@ public unsafe partial struct ID3DDeviceContextState : ID3DDeviceContextState.Int [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3DDeviceContextState*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3DDeviceContextState*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -21536,11 +19343,7 @@ public unsafe partial struct ID3DDeviceContextState : ID3DDeviceContextState.Int [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3DDeviceContextState*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3DDeviceContextState*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -21548,16 +19351,9 @@ public unsafe partial struct ID3DDeviceContextState : ID3DDeviceContextState.Int [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3DDeviceContextState*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3DDeviceContextState*)Unsafe.AsPointer(ref this), guid, pData); -#endif } - public interface Interface : ID3D11DeviceChild.Interface - { - } } /// @@ -21565,7 +19361,7 @@ public unsafe partial struct ID3DDeviceContextState : ID3DDeviceContextState.Int [Guid("bb2c6faa-b5fb-4082-8e6b-388b8cfa90e1")] [NativeTypeName("struct ID3D11DeviceContext1 : ID3D11DeviceContext")] [NativeInheritance("ID3D11DeviceContext")] -public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interface +public unsafe partial struct ID3D11DeviceContext1 { public static ref readonly Guid IID_ID3D11DeviceContext1 { @@ -21626,11 +19422,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(3)] public void VSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -21638,11 +19430,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(4)] public void PSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -21650,11 +19438,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(5)] public void PSSetShader(ID3D11PixelShader* pPixelShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pPixelShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pPixelShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -21662,11 +19446,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(6)] public void PSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[6]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -21674,11 +19454,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(7)] public void VSSetShader(ID3D11VertexShader* pVertexShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[7]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pVertexShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pVertexShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -21686,11 +19462,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(8)] public void DrawIndexed(uint IndexCount, uint StartIndexLocation, int BaseVertexLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), IndexCount, StartIndexLocation, BaseVertexLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), IndexCount, StartIndexLocation, BaseVertexLocation); -#endif } /// @@ -21698,11 +19470,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(9)] public void Draw(uint VertexCount, uint StartVertexLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[9]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), VertexCount, StartVertexLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), VertexCount, StartVertexLocation); -#endif } /// @@ -21710,11 +19478,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(10)] public HResult Map(ID3D11Resource* pResource, uint Subresource, Map MapType, uint MapFlags, MappedSubresource* pMappedResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pResource, Subresource, MapType, MapFlags, pMappedResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pResource, Subresource, MapType, MapFlags, pMappedResource); -#endif } /// @@ -21722,11 +19486,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(11)] public void Unmap(ID3D11Resource* pResource, uint Subresource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[11]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pResource, Subresource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pResource, Subresource); -#endif } /// @@ -21734,11 +19494,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(12)] public void PSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[12]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -21746,11 +19502,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(13)] public void IASetInputLayout(ID3D11InputLayout* pInputLayout) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[13]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pInputLayout); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pInputLayout); -#endif } /// @@ -21758,11 +19510,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(14)] public void IASetVertexBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppVertexBuffers, uint* pStrides, uint* pOffsets) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[14]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppVertexBuffers, pStrides, pOffsets); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppVertexBuffers, pStrides, pOffsets); -#endif } /// @@ -21770,11 +19518,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(15)] public void IASetIndexBuffer(ID3D11Buffer* pIndexBuffer, Graphics.Dxgi.Common.Format Format, uint Offset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[15]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pIndexBuffer, Format, Offset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pIndexBuffer, Format, Offset); -#endif } /// @@ -21782,11 +19526,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(16)] public void DrawIndexedInstanced(uint IndexCountPerInstance, uint InstanceCount, uint StartIndexLocation, int BaseVertexLocation, uint StartInstanceLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[16]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), IndexCountPerInstance, InstanceCount, StartIndexLocation, BaseVertexLocation, StartInstanceLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), IndexCountPerInstance, InstanceCount, StartIndexLocation, BaseVertexLocation, StartInstanceLocation); -#endif } /// @@ -21794,11 +19534,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(17)] public void DrawInstanced(uint VertexCountPerInstance, uint InstanceCount, uint StartVertexLocation, uint StartInstanceLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[17]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), VertexCountPerInstance, InstanceCount, StartVertexLocation, StartInstanceLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), VertexCountPerInstance, InstanceCount, StartVertexLocation, StartInstanceLocation); -#endif } /// @@ -21806,11 +19542,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(18)] public void GSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[18]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -21818,11 +19550,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(19)] public void GSSetShader(ID3D11GeometryShader* pShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[19]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -21830,11 +19558,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(20)] public void IASetPrimitiveTopology(Graphics.Direct3D.PrimitiveTopology Topology) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[20]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), Topology); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), Topology); -#endif } /// @@ -21842,11 +19566,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(21)] public void VSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[21]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -21854,11 +19574,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(22)] public void VSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[22]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -21866,11 +19582,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(23)] public void Begin(ID3D11Asynchronous* pAsync) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[23]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pAsync); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pAsync); -#endif } /// @@ -21878,11 +19590,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(24)] public void End(ID3D11Asynchronous* pAsync) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[24]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pAsync); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pAsync); -#endif } /// @@ -21890,11 +19598,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(25)] public HResult GetData(ID3D11Asynchronous* pAsync, void* pData, uint DataSize, uint GetDataFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pAsync, pData, DataSize, GetDataFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pAsync, pData, DataSize, GetDataFlags); -#endif } /// @@ -21902,11 +19606,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(26)] public void SetPredication(ID3D11Predicate* pPredicate, Bool32 PredicateValue) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[26]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); -#endif } /// @@ -21914,11 +19614,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(27)] public void GSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[27]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -21926,11 +19622,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(28)] public void GSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[28]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -21938,11 +19630,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(29)] public void OMSetRenderTargets(uint NumViews, ID3D11RenderTargetView* ppRenderTargetViews, ID3D11DepthStencilView* pDepthStencilView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[29]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), NumViews, ppRenderTargetViews, pDepthStencilView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), NumViews, ppRenderTargetViews, pDepthStencilView); -#endif } /// @@ -21950,11 +19638,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(30)] public void OMSetRenderTargetsAndUnorderedAccessViews(uint NumRTVs, ID3D11RenderTargetView* ppRenderTargetViews, ID3D11DepthStencilView* pDepthStencilView, uint UAVStartSlot, uint NumUAVs, ID3D11UnorderedAccessView* ppUnorderedAccessViews, uint* pUAVInitialCounts) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[30]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), NumRTVs, ppRenderTargetViews, pDepthStencilView, UAVStartSlot, NumUAVs, ppUnorderedAccessViews, pUAVInitialCounts); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), NumRTVs, ppRenderTargetViews, pDepthStencilView, UAVStartSlot, NumUAVs, ppUnorderedAccessViews, pUAVInitialCounts); -#endif } /// @@ -21962,11 +19646,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(31)] public void OMSetBlendState(ID3D11BlendState* pBlendState, float* BlendFactor, uint SampleMask) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[31]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pBlendState, BlendFactor, SampleMask); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pBlendState, BlendFactor, SampleMask); -#endif } /// @@ -21974,11 +19654,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(32)] public void OMSetDepthStencilState(ID3D11DepthStencilState* pDepthStencilState, uint StencilRef) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[32]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pDepthStencilState, StencilRef); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pDepthStencilState, StencilRef); -#endif } /// @@ -21986,11 +19662,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(33)] public void SOSetTargets(uint NumBuffers, ID3D11Buffer* ppSOTargets, uint* pOffsets) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[33]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), NumBuffers, ppSOTargets, pOffsets); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), NumBuffers, ppSOTargets, pOffsets); -#endif } /// @@ -21998,11 +19670,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(34)] public void DrawAuto() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[34]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -22010,11 +19678,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(35)] public void DrawIndexedInstancedIndirect(ID3D11Buffer* pBufferForArgs, uint AlignedByteOffsetForArgs) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[35]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#endif } /// @@ -22022,11 +19686,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(36)] public void DrawInstancedIndirect(ID3D11Buffer* pBufferForArgs, uint AlignedByteOffsetForArgs) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[36]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#endif } /// @@ -22034,11 +19694,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(37)] public void Dispatch(uint ThreadGroupCountX, uint ThreadGroupCountY, uint ThreadGroupCountZ) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[37]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ); -#endif } /// @@ -22046,11 +19702,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(38)] public void DispatchIndirect(ID3D11Buffer* pBufferForArgs, uint AlignedByteOffsetForArgs) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[38]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#endif } /// @@ -22058,11 +19710,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(39)] public void RSSetState(ID3D11RasterizerState* pRasterizerState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[39]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pRasterizerState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pRasterizerState); -#endif } /// @@ -22070,11 +19718,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(40)] public void RSSetViewports(uint NumViewports, Viewport* pViewports) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[40]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), NumViewports, pViewports); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), NumViewports, pViewports); -#endif } /// @@ -22082,11 +19726,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(41)] public void RSSetScissorRects(uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[41]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), NumRects, pRects); -#endif } /// @@ -22094,11 +19734,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(42)] public void CopySubresourceRegion(ID3D11Resource* pDstResource, uint DstSubresource, uint DstX, uint DstY, uint DstZ, ID3D11Resource* pSrcResource, uint SrcSubresource, Box* pSrcBox) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[42]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, DstZ, pSrcResource, SrcSubresource, pSrcBox); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, DstZ, pSrcResource, SrcSubresource, pSrcBox); -#endif } /// @@ -22106,11 +19742,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(43)] public void CopyResource(ID3D11Resource* pDstResource, ID3D11Resource* pSrcResource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[43]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pDstResource, pSrcResource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pDstResource, pSrcResource); -#endif } /// @@ -22118,11 +19750,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(44)] public void UpdateSubresource(ID3D11Resource* pDstResource, uint DstSubresource, Box* pDstBox, void* pSrcData, uint SrcRowPitch, uint SrcDepthPitch) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[44]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch); -#endif } /// @@ -22130,11 +19758,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(45)] public void CopyStructureCount(ID3D11Buffer* pDstBuffer, uint DstAlignedByteOffset, ID3D11UnorderedAccessView* pSrcView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[45]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pDstBuffer, DstAlignedByteOffset, pSrcView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pDstBuffer, DstAlignedByteOffset, pSrcView); -#endif } /// @@ -22142,11 +19766,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(46)] public void ClearRenderTargetView(ID3D11RenderTargetView* pRenderTargetView, float* ColorRGBA) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[46]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pRenderTargetView, ColorRGBA); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pRenderTargetView, ColorRGBA); -#endif } /// @@ -22154,11 +19774,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(47)] public void ClearUnorderedAccessViewUint(ID3D11UnorderedAccessView* pUnorderedAccessView, uint* Values) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[47]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); -#endif } /// @@ -22166,11 +19782,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(48)] public void ClearUnorderedAccessViewFloat(ID3D11UnorderedAccessView* pUnorderedAccessView, float* Values) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[48]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); -#endif } /// @@ -22178,11 +19790,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(49)] public void ClearDepthStencilView(ID3D11DepthStencilView* pDepthStencilView, uint ClearFlags, float Depth, byte Stencil) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[49]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pDepthStencilView, ClearFlags, Depth, Stencil); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pDepthStencilView, ClearFlags, Depth, Stencil); -#endif } /// @@ -22190,11 +19798,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(50)] public void GenerateMips(ID3D11ShaderResourceView* pShaderResourceView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[50]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pShaderResourceView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pShaderResourceView); -#endif } /// @@ -22202,11 +19806,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(51)] public void SetResourceMinLOD(ID3D11Resource* pResource, float MinLOD) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[51]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pResource, MinLOD); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pResource, MinLOD); -#endif } /// @@ -22214,11 +19814,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(52)] public float GetResourceMinLOD(ID3D11Resource* pResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[52]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pResource); -#endif } /// @@ -22226,11 +19822,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(53)] public void ResolveSubresource(ID3D11Resource* pDstResource, uint DstSubresource, ID3D11Resource* pSrcResource, uint SrcSubresource, Graphics.Dxgi.Common.Format Format) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[53]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pSrcResource, SrcSubresource, Format); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pSrcResource, SrcSubresource, Format); -#endif } /// @@ -22238,11 +19830,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(54)] public void ExecuteCommandList(ID3D11CommandList* pCommandList, Bool32 RestoreContextState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[54]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); -#endif } /// @@ -22250,11 +19838,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(55)] public void HSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[55]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -22262,11 +19846,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(56)] public void HSSetShader(ID3D11HullShader* pHullShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[56]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pHullShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pHullShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -22274,11 +19854,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(57)] public void HSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[57]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -22286,11 +19862,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(58)] public void HSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[58]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -22298,11 +19870,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(59)] public void DSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[59]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -22310,11 +19878,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(60)] public void DSSetShader(ID3D11DomainShader* pDomainShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[60]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pDomainShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pDomainShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -22322,11 +19886,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(61)] public void DSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[61]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -22334,11 +19894,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(62)] public void DSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[62]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -22346,11 +19902,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(63)] public void CSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[63]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -22358,11 +19910,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(64)] public void CSSetUnorderedAccessViews(uint StartSlot, uint NumUAVs, ID3D11UnorderedAccessView* ppUnorderedAccessViews, uint* pUAVInitialCounts) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[64]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumUAVs, ppUnorderedAccessViews, pUAVInitialCounts); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumUAVs, ppUnorderedAccessViews, pUAVInitialCounts); -#endif } /// @@ -22370,11 +19918,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(65)] public void CSSetShader(ID3D11ComputeShader* pComputeShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[65]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pComputeShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pComputeShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -22382,11 +19926,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(66)] public void CSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[66]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[66]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -22394,11 +19934,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(67)] public void CSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[67]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -22406,11 +19942,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(68)] public void VSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[68]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[68]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -22418,11 +19950,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(69)] public void PSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[69]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[69]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -22430,11 +19958,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(70)] public void PSGetShader(ID3D11PixelShader* ppPixelShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[70]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), ppPixelShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), ppPixelShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -22442,11 +19966,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(71)] public void PSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[71]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -22454,11 +19974,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(72)] public void VSGetShader(ID3D11VertexShader* ppVertexShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[72]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), ppVertexShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), ppVertexShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -22466,11 +19982,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(73)] public void PSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[73]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[73]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -22478,11 +19990,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(74)] public void IAGetInputLayout(ID3D11InputLayout* ppInputLayout) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[74]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), ppInputLayout); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[74]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), ppInputLayout); -#endif } /// @@ -22490,11 +19998,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(75)] public void IAGetVertexBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppVertexBuffers, uint* pStrides, uint* pOffsets) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[75]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppVertexBuffers, pStrides, pOffsets); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[75]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppVertexBuffers, pStrides, pOffsets); -#endif } /// @@ -22502,11 +20006,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(76)] public void IAGetIndexBuffer(ID3D11Buffer* pIndexBuffer, Graphics.Dxgi.Common.Format* Format, uint* Offset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[76]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pIndexBuffer, Format, Offset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[76]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pIndexBuffer, Format, Offset); -#endif } /// @@ -22514,11 +20014,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(77)] public void GSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[77]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[77]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -22526,11 +20022,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(78)] public void GSGetShader(ID3D11GeometryShader* ppGeometryShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[78]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), ppGeometryShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[78]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), ppGeometryShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -22538,11 +20030,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(79)] public void IAGetPrimitiveTopology(Graphics.Direct3D.PrimitiveTopology* pTopology) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[79]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pTopology); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[79]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pTopology); -#endif } /// @@ -22550,11 +20038,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(80)] public void VSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[80]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[80]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -22562,11 +20046,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(81)] public void VSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[81]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[81]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -22574,11 +20054,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(82)] public void GetPredication(ID3D11Predicate* ppPredicate, Bool32* pPredicateValue) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[82]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), ppPredicate, pPredicateValue); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[82]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), ppPredicate, pPredicateValue); -#endif } /// @@ -22586,11 +20062,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(83)] public void GSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[83]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[83]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -22598,11 +20070,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(84)] public void GSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[84]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[84]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -22610,11 +20078,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(85)] public void OMGetRenderTargets(uint NumViews, ID3D11RenderTargetView* ppRenderTargetViews, ID3D11DepthStencilView* ppDepthStencilView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[85]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), NumViews, ppRenderTargetViews, ppDepthStencilView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[85]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), NumViews, ppRenderTargetViews, ppDepthStencilView); -#endif } /// @@ -22622,11 +20086,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(86)] public void OMGetRenderTargetsAndUnorderedAccessViews(uint NumRTVs, ID3D11RenderTargetView* ppRenderTargetViews, ID3D11DepthStencilView* ppDepthStencilView, uint UAVStartSlot, uint NumUAVs, ID3D11UnorderedAccessView* ppUnorderedAccessViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[86]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), NumRTVs, ppRenderTargetViews, ppDepthStencilView, UAVStartSlot, NumUAVs, ppUnorderedAccessViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[86]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), NumRTVs, ppRenderTargetViews, ppDepthStencilView, UAVStartSlot, NumUAVs, ppUnorderedAccessViews); -#endif } /// @@ -22634,11 +20094,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(87)] public void OMGetBlendState(ID3D11BlendState* ppBlendState, float* BlendFactor, uint* pSampleMask) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[87]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), ppBlendState, BlendFactor, pSampleMask); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[87]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), ppBlendState, BlendFactor, pSampleMask); -#endif } /// @@ -22646,11 +20102,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(88)] public void OMGetDepthStencilState(ID3D11DepthStencilState* ppDepthStencilState, uint* pStencilRef) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[88]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), ppDepthStencilState, pStencilRef); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[88]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), ppDepthStencilState, pStencilRef); -#endif } /// @@ -22658,11 +20110,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(89)] public void SOGetTargets(uint NumBuffers, ID3D11Buffer* ppSOTargets) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[89]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), NumBuffers, ppSOTargets); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[89]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), NumBuffers, ppSOTargets); -#endif } /// @@ -22670,11 +20118,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(90)] public void RSGetState(ID3D11RasterizerState* ppRasterizerState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[90]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), ppRasterizerState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[90]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), ppRasterizerState); -#endif } /// @@ -22682,11 +20126,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(91)] public void RSGetViewports(uint* pNumViewports, Viewport* pViewports) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[91]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pNumViewports, pViewports); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[91]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pNumViewports, pViewports); -#endif } /// @@ -22694,11 +20134,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(92)] public void RSGetScissorRects(uint* pNumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[92]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pNumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[92]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pNumRects, pRects); -#endif } /// @@ -22706,11 +20142,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(93)] public void HSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[93]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[93]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -22718,11 +20150,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(94)] public void HSGetShader(ID3D11HullShader* ppHullShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[94]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), ppHullShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[94]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), ppHullShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -22730,11 +20158,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(95)] public void HSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[95]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[95]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -22742,11 +20166,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(96)] public void HSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[96]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[96]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -22754,11 +20174,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(97)] public void DSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[97]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[97]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -22766,11 +20182,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(98)] public void DSGetShader(ID3D11DomainShader* ppDomainShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[98]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), ppDomainShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[98]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), ppDomainShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -22778,11 +20190,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(99)] public void DSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[99]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[99]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -22790,11 +20198,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(100)] public void DSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[100]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[100]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -22802,11 +20206,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(101)] public void CSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[101]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[101]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -22814,11 +20214,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(102)] public void CSGetUnorderedAccessViews(uint StartSlot, uint NumUAVs, ID3D11UnorderedAccessView* ppUnorderedAccessViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[102]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumUAVs, ppUnorderedAccessViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[102]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumUAVs, ppUnorderedAccessViews); -#endif } /// @@ -22826,11 +20222,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(103)] public void CSGetShader(ID3D11ComputeShader* ppComputeShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[103]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), ppComputeShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[103]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), ppComputeShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -22838,11 +20230,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(104)] public void CSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[104]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[104]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -22850,11 +20238,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(105)] public void CSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[105]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[105]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -22862,11 +20246,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(106)] public void ClearState() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[106]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[106]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -22874,11 +20254,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(107)] public void Flush() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[107]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[107]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -22886,11 +20262,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(108)] public new Graphics.Direct3D11.DeviceContextType GetType() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[108]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[108]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -22898,11 +20270,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(109)] public uint GetContextFlags() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[109]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[109]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -22910,11 +20278,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(110)] public HResult FinishCommandList(Bool32 RestoreDeferredContextState, ID3D11CommandList** ppCommandList) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[110]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[110]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); -#endif } /// @@ -22922,11 +20286,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(111)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[111]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[111]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -22934,11 +20294,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(112)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[112]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[112]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -22946,11 +20302,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(113)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[113]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[113]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -22958,11 +20310,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(114)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[114]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[114]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -22970,11 +20318,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(115)] public void CopySubresourceRegion1(ID3D11Resource* pDstResource, uint DstSubresource, uint DstX, uint DstY, uint DstZ, ID3D11Resource* pSrcResource, uint SrcSubresource, Box* pSrcBox, uint CopyFlags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[115]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, DstZ, pSrcResource, SrcSubresource, pSrcBox, CopyFlags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[115]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, DstZ, pSrcResource, SrcSubresource, pSrcBox, CopyFlags); -#endif } /// @@ -22982,11 +20326,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(116)] public void UpdateSubresource1(ID3D11Resource* pDstResource, uint DstSubresource, Box* pDstBox, void* pSrcData, uint SrcRowPitch, uint SrcDepthPitch, uint CopyFlags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[116]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch, CopyFlags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[116]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch, CopyFlags); -#endif } /// @@ -22994,11 +20334,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(117)] public void DiscardResource(ID3D11Resource* pResource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[117]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pResource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[117]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pResource); -#endif } /// @@ -23006,11 +20342,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(118)] public void DiscardView(ID3D11View* pResourceView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[118]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pResourceView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[118]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pResourceView); -#endif } /// @@ -23018,11 +20350,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(119)] public void VSSetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[119]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[119]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -23030,11 +20358,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(120)] public void HSSetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[120]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[120]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -23042,11 +20366,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(121)] public void DSSetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[121]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[121]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -23054,11 +20374,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(122)] public void GSSetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[122]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[122]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -23066,11 +20382,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(123)] public void PSSetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[123]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[123]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -23078,11 +20390,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(124)] public void CSSetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[124]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[124]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -23090,11 +20398,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(125)] public void VSGetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[125]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[125]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -23102,11 +20406,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(126)] public void HSGetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[126]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[126]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -23114,11 +20414,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(127)] public void DSGetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[127]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[127]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -23126,11 +20422,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(128)] public void GSGetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[128]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[128]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -23138,11 +20430,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(129)] public void PSGetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[129]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[129]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -23150,11 +20438,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(130)] public void CSGetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[130]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[130]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -23162,11 +20446,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(131)] public void SwapDeviceContextState(ID3DDeviceContextState* pState, ID3DDeviceContextState* ppPreviousState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[131]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pState, ppPreviousState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[131]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pState, ppPreviousState); -#endif } /// @@ -23174,11 +20454,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(132)] public void ClearView(ID3D11View* pView, float* Color, RawRect* pRect, uint NumRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[132]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pView, Color, pRect, NumRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[132]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pView, Color, pRect, NumRects); -#endif } /// @@ -23186,16 +20462,9 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [VtblIndex(133)] public void DiscardView1(ID3D11View* pResourceView, RawRect* pRects, uint NumRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[133]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pResourceView, pRects, NumRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[133]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pResourceView, pRects, NumRects); -#endif } - public interface Interface : ID3D11DeviceContext.Interface - { - } } /// @@ -23203,7 +20472,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa [Guid("a7f026da-a5f8-4487-a564-15e34357651e")] [NativeTypeName("struct ID3D11VideoContext1 : ID3D11VideoContext")] [NativeInheritance("ID3D11VideoContext")] -public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface +public unsafe partial struct ID3D11VideoContext1 { public static ref readonly Guid IID_ID3D11VideoContext1 { @@ -23264,11 +20533,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(3)] public HResult GetDecoderBuffer(ID3D11VideoDecoder* pDecoder, VideoDecoderBufferType Type, uint* pBufferSize, void** ppBuffer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, Type, pBufferSize, ppBuffer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, Type, pBufferSize, ppBuffer); -#endif } /// @@ -23276,11 +20541,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(4)] public HResult ReleaseDecoderBuffer(ID3D11VideoDecoder* pDecoder, VideoDecoderBufferType Type) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, Type); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, Type); -#endif } /// @@ -23288,11 +20549,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(5)] public HResult DecoderBeginFrame(ID3D11VideoDecoder* pDecoder, ID3D11VideoDecoderOutputView* pView, uint ContentKeySize, void* pContentKey) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, pView, ContentKeySize, pContentKey); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, pView, ContentKeySize, pContentKey); -#endif } /// @@ -23300,11 +20557,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(6)] public HResult DecoderEndFrame(ID3D11VideoDecoder* pDecoder) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder); -#endif } /// @@ -23312,11 +20565,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(7)] public HResult SubmitDecoderBuffers(ID3D11VideoDecoder* pDecoder, uint NumBuffers, VideoDecoderBufferDescription* pBufferDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc); -#endif } /// @@ -23324,11 +20573,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(8)] public int DecoderExtension(ID3D11VideoDecoder* pDecoder, VideoDecoderExtension* pExtensionData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, pExtensionData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, pExtensionData); -#endif } /// @@ -23336,11 +20581,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(9)] public void VideoProcessorSetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, RawRect* pRect) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[9]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect); -#endif } /// @@ -23348,11 +20589,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(10)] public void VideoProcessorSetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, Bool32 YCbCr, VideoColor* pColor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[10]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor); -#endif } /// @@ -23360,11 +20597,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(11)] public void VideoProcessorSetOutputColorSpace(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorColorSpace* pColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[11]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace); -#endif } /// @@ -23372,11 +20605,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(12)] public void VideoProcessorSetOutputAlphaFillMode(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorAlphaFillMode AlphaFillMode, uint StreamIndex) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[12]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, AlphaFillMode, StreamIndex); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, AlphaFillMode, StreamIndex); -#endif } /// @@ -23384,11 +20613,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(13)] public void VideoProcessorSetOutputConstriction(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, System.Drawing.Size* Size) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[13]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size); -#endif } /// @@ -23396,11 +20621,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(14)] public void VideoProcessorSetOutputStereoMode(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[14]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable); -#endif } /// @@ -23408,11 +20629,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(15)] public int VideoProcessorSetOutputExtension(ID3D11VideoProcessor* pVideoProcessor, Guid* pExtensionGuid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData); -#endif } /// @@ -23420,11 +20637,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(16)] public void VideoProcessorGetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enabled, RawRect* pRect) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[16]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enabled, pRect); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enabled, pRect); -#endif } /// @@ -23432,11 +20645,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(17)] public void VideoProcessorGetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, Bool32* pYCbCr, VideoColor* pColor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[17]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pYCbCr, pColor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pYCbCr, pColor); -#endif } /// @@ -23444,11 +20653,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(18)] public void VideoProcessorGetOutputColorSpace(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorColorSpace* pColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[18]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace); -#endif } /// @@ -23456,11 +20661,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(19)] public void VideoProcessorGetOutputAlphaFillMode(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorAlphaFillMode* pAlphaFillMode, uint* pStreamIndex) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[19]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pAlphaFillMode, pStreamIndex); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pAlphaFillMode, pStreamIndex); -#endif } /// @@ -23468,11 +20669,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(20)] public void VideoProcessorGetOutputConstriction(ID3D11VideoProcessor* pVideoProcessor, Bool32* pEnabled, System.Drawing.Size* pSize) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[20]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled, pSize); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled, pSize); -#endif } /// @@ -23480,11 +20677,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(21)] public void VideoProcessorGetOutputStereoMode(ID3D11VideoProcessor* pVideoProcessor, Bool32* pEnabled) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[21]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled); -#endif } /// @@ -23492,11 +20685,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(22)] public int VideoProcessorGetOutputExtension(ID3D11VideoProcessor* pVideoProcessor, Guid* pExtensionGuid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData); -#endif } /// @@ -23504,11 +20693,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(23)] public void VideoProcessorSetStreamFrameFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoFrameFormat FrameFormat) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[23]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, FrameFormat); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, FrameFormat); -#endif } /// @@ -23516,11 +20701,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(24)] public void VideoProcessorSetStreamColorSpace(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorColorSpace* pColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[24]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace); -#endif } /// @@ -23528,11 +20709,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(25)] public void VideoProcessorSetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorOutputRate OutputRate, Bool32 RepeatFrame, Graphics.Dxgi.Common.Rational* pCustomRate) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[25]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate); -#endif } /// @@ -23540,11 +20717,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(26)] public void VideoProcessorSetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, RawRect* pRect) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[26]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); -#endif } /// @@ -23552,11 +20725,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(27)] public void VideoProcessorSetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, RawRect* pRect) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[27]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); -#endif } /// @@ -23564,11 +20733,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(28)] public void VideoProcessorSetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, float Alpha) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[28]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha); -#endif } /// @@ -23576,11 +20741,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(29)] public void VideoProcessorSetStreamPalette(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, uint Count, uint* pEntries) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[29]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries); -#endif } /// @@ -23588,11 +20749,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(30)] public void VideoProcessorSetStreamPixelAspectRatio(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Graphics.Dxgi.Common.Rational* pSourceAspectRatio, Graphics.Dxgi.Common.Rational* pDestinationAspectRatio) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[30]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio); -#endif } /// @@ -23600,11 +20757,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(31)] public void VideoProcessorSetStreamLumaKey(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, float Lower, float Upper) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[31]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper); -#endif } /// @@ -23612,11 +20765,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(32)] public void VideoProcessorSetStreamStereoFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, VideoProcessorStereoFormat Format, Bool32 LeftViewFrame0, Bool32 BaseViewFrame0, VideoProcessorStereoFlipMode FlipMode, int MonoOffset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[32]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset); -#endif } /// @@ -23624,11 +20773,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(33)] public void VideoProcessorSetStreamAutoProcessingMode(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[33]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable); -#endif } /// @@ -23636,11 +20781,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(34)] public void VideoProcessorSetStreamFilter(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorFilter Filter, Bool32 Enable, int Level) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[34]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level); -#endif } /// @@ -23648,11 +20789,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(35)] public int VideoProcessorSetStreamExtension(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Guid* pExtensionGuid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[35]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData); -#endif } /// @@ -23660,11 +20797,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(36)] public void VideoProcessorGetStreamFrameFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoFrameFormat* pFrameFormat) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[36]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pFrameFormat); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pFrameFormat); -#endif } /// @@ -23672,11 +20805,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(37)] public void VideoProcessorGetStreamColorSpace(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorColorSpace* pColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[37]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace); -#endif } /// @@ -23684,11 +20813,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(38)] public void VideoProcessorGetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorOutputRate* pOutputRate, Bool32* pRepeatFrame, Graphics.Dxgi.Common.Rational* pCustomRate) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[38]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pOutputRate, pRepeatFrame, pCustomRate); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pOutputRate, pRepeatFrame, pCustomRate); -#endif } /// @@ -23696,11 +20821,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(39)] public void VideoProcessorGetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, RawRect* pRect) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[39]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect); -#endif } /// @@ -23708,11 +20829,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(40)] public void VideoProcessorGetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, RawRect* pRect) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[40]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect); -#endif } /// @@ -23720,11 +20837,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(41)] public void VideoProcessorGetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, float* pAlpha) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[41]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pAlpha); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pAlpha); -#endif } /// @@ -23732,11 +20845,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(42)] public void VideoProcessorGetStreamPalette(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, uint Count, uint* pEntries) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[42]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries); -#endif } /// @@ -23744,11 +20853,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(43)] public void VideoProcessorGetStreamPixelAspectRatio(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, Graphics.Dxgi.Common.Rational* pSourceAspectRatio, Graphics.Dxgi.Common.Rational* pDestinationAspectRatio) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[43]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pSourceAspectRatio, pDestinationAspectRatio); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pSourceAspectRatio, pDestinationAspectRatio); -#endif } /// @@ -23756,11 +20861,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(44)] public void VideoProcessorGetStreamLumaKey(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, float* pLower, float* pUpper) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[44]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pLower, pUpper); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pLower, pUpper); -#endif } /// @@ -23768,11 +20869,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(45)] public void VideoProcessorGetStreamStereoFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnable, VideoProcessorStereoFormat* pFormat, Bool32* pLeftViewFrame0, Bool32* pBaseViewFrame0, VideoProcessorStereoFlipMode* pFlipMode, int* MonoOffset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[45]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFormat, pLeftViewFrame0, pBaseViewFrame0, pFlipMode, MonoOffset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFormat, pLeftViewFrame0, pBaseViewFrame0, pFlipMode, MonoOffset); -#endif } /// @@ -23780,11 +20877,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(46)] public void VideoProcessorGetStreamAutoProcessingMode(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[46]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled); -#endif } /// @@ -23792,11 +20885,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(47)] public void VideoProcessorGetStreamFilter(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorFilter Filter, Bool32* pEnabled, int* pLevel) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[47]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, pEnabled, pLevel); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, pEnabled, pLevel); -#endif } /// @@ -23804,11 +20893,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(48)] public int VideoProcessorGetStreamExtension(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Guid* pExtensionGuid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[48]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData); -#endif } /// @@ -23816,11 +20901,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(49)] public HResult VideoProcessorBlt(ID3D11VideoProcessor* pVideoProcessor, ID3D11VideoProcessorOutputView* pView, uint OutputFrame, uint StreamCount, VideoProcessorStream* pStreams) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[49]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pView, OutputFrame, StreamCount, pStreams); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pView, OutputFrame, StreamCount, pStreams); -#endif } /// @@ -23828,11 +20909,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(50)] public HResult NegotiateCryptoSessionKeyExchange(ID3D11CryptoSession* pCryptoSession, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[50]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, DataSize, pData); -#endif } /// @@ -23840,11 +20917,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(51)] public void EncryptionBlt(ID3D11CryptoSession* pCryptoSession, ID3D11Texture2D* pSrcSurface, ID3D11Texture2D* pDstSurface, uint IVSize, void* pIV) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[51]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, IVSize, pIV); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, IVSize, pIV); -#endif } /// @@ -23852,11 +20925,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(52)] public void DecryptionBlt(ID3D11CryptoSession* pCryptoSession, ID3D11Texture2D* pSrcSurface, ID3D11Texture2D* pDstSurface, EncryptedBlockInfo* pEncryptedBlockInfo, uint ContentKeySize, void* pContentKey, uint IVSize, void* pIV) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[52]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, pEncryptedBlockInfo, ContentKeySize, pContentKey, IVSize, pIV); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, pEncryptedBlockInfo, ContentKeySize, pContentKey, IVSize, pIV); -#endif } /// @@ -23864,11 +20933,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(53)] public void StartSessionKeyRefresh(ID3D11CryptoSession* pCryptoSession, uint RandomNumberSize, void* pRandomNumber) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[53]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, RandomNumberSize, pRandomNumber); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, RandomNumberSize, pRandomNumber); -#endif } /// @@ -23876,11 +20941,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(54)] public void FinishSessionKeyRefresh(ID3D11CryptoSession* pCryptoSession) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[54]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession); -#endif } /// @@ -23888,11 +20949,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(55)] public HResult GetEncryptionBltKey(ID3D11CryptoSession* pCryptoSession, uint KeySize, void* pReadbackKey) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[55]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, KeySize, pReadbackKey); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, KeySize, pReadbackKey); -#endif } /// @@ -23900,11 +20957,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(56)] public HResult NegotiateAuthenticatedChannelKeyExchange(ID3D11AuthenticatedChannel* pChannel, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[56]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pChannel, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pChannel, DataSize, pData); -#endif } /// @@ -23912,11 +20965,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(57)] public HResult QueryAuthenticatedChannel(ID3D11AuthenticatedChannel* pChannel, uint InputSize, void* pInput, uint OutputSize, void* pOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[57]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, OutputSize, pOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, OutputSize, pOutput); -#endif } /// @@ -23924,11 +20973,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(58)] public HResult ConfigureAuthenticatedChannel(ID3D11AuthenticatedChannel* pChannel, uint InputSize, void* pInput, AuthenticatedConfigureOutput* pOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[58]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, pOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, pOutput); -#endif } /// @@ -23936,11 +20981,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(59)] public void VideoProcessorSetStreamRotation(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, VideoProcessorRotation Rotation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[59]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation); -#endif } /// @@ -23948,11 +20989,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(60)] public void VideoProcessorGetStreamRotation(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnable, VideoProcessorRotation* pRotation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[60]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pRotation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pRotation); -#endif } /// @@ -23960,11 +20997,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(61)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[61]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -23972,11 +21005,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(62)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[62]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -23984,11 +21013,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(63)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[63]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -23996,11 +21021,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(64)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[64]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -24008,11 +21029,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(65)] public HResult SubmitDecoderBuffers1(ID3D11VideoDecoder* pDecoder, uint NumBuffers, VideoDecoderBufferDescription1* pBufferDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[65]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc); -#endif } /// @@ -24020,11 +21037,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(66)] public HResult GetDataForNewHardwareKey(ID3D11CryptoSession* pCryptoSession, uint PrivateInputSize, void* pPrivatInputData, ulong* pPrivateOutputData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[66]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, PrivateInputSize, pPrivatInputData, pPrivateOutputData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[66]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, PrivateInputSize, pPrivatInputData, pPrivateOutputData); -#endif } /// @@ -24032,11 +21045,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(67)] public HResult CheckCryptoSessionStatus(ID3D11CryptoSession* pCryptoSession, CryptoSessionStatus* pStatus) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[67]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, pStatus); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, pStatus); -#endif } /// @@ -24044,11 +21053,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(68)] public HResult DecoderEnableDownsampling(ID3D11VideoDecoder* pDecoder, Graphics.Dxgi.Common.ColorSpaceType InputColorSpace, VideoSampleDescription* pOutputDesc, uint ReferenceFrameCount) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[68]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, InputColorSpace, pOutputDesc, ReferenceFrameCount); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[68]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, InputColorSpace, pOutputDesc, ReferenceFrameCount); -#endif } /// @@ -24056,11 +21061,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(69)] public HResult DecoderUpdateDownsampling(ID3D11VideoDecoder* pDecoder, VideoSampleDescription* pOutputDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[69]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, pOutputDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[69]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, pOutputDesc); -#endif } /// @@ -24068,11 +21069,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(70)] public void VideoProcessorSetOutputColorSpace1(ID3D11VideoProcessor* pVideoProcessor, Graphics.Dxgi.Common.ColorSpaceType ColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[70]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, ColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, ColorSpace); -#endif } /// @@ -24080,11 +21077,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(71)] public void VideoProcessorSetOutputShaderUsage(ID3D11VideoProcessor* pVideoProcessor, Bool32 ShaderUsage) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[71]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, ShaderUsage); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, ShaderUsage); -#endif } /// @@ -24092,11 +21085,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(72)] public void VideoProcessorGetOutputColorSpace1(ID3D11VideoProcessor* pVideoProcessor, Graphics.Dxgi.Common.ColorSpaceType* pColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[72]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace); -#endif } /// @@ -24104,11 +21093,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(73)] public void VideoProcessorGetOutputShaderUsage(ID3D11VideoProcessor* pVideoProcessor, Bool32* pShaderUsage) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[73]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pShaderUsage); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[73]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pShaderUsage); -#endif } /// @@ -24116,11 +21101,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(74)] public void VideoProcessorSetStreamColorSpace1(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Graphics.Dxgi.Common.ColorSpaceType ColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[74]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, ColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[74]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, ColorSpace); -#endif } /// @@ -24128,11 +21109,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(75)] public void VideoProcessorSetStreamMirror(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Bool32 FlipHorizontal, Bool32 FlipVertical) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[75]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, FlipHorizontal, FlipVertical); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[75]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, FlipHorizontal, FlipVertical); -#endif } /// @@ -24140,11 +21117,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(76)] public void VideoProcessorGetStreamColorSpace1(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Graphics.Dxgi.Common.ColorSpaceType* pColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[76]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[76]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace); -#endif } /// @@ -24152,11 +21125,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(77)] public void VideoProcessorGetStreamMirror(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnable, Bool32* pFlipHorizontal, Bool32* pFlipVertical) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[77]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFlipHorizontal, pFlipVertical); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[77]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFlipHorizontal, pFlipVertical); -#endif } /// @@ -24164,16 +21133,9 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [VtblIndex(78)] public HResult VideoProcessorGetBehaviorHints(ID3D11VideoProcessor* pVideoProcessor, uint OutputWidth, uint OutputHeight, Graphics.Dxgi.Common.Format OutputFormat, uint StreamCount, VideoProcessorStreamBehaviorHint* pStreams, uint* pBehaviorHints) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[78]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, OutputWidth, OutputHeight, OutputFormat, StreamCount, pStreams, pBehaviorHints); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[78]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, OutputWidth, OutputHeight, OutputFormat, StreamCount, pStreams, pBehaviorHints); -#endif } - public interface Interface : ID3D11VideoContext.Interface - { - } } /// @@ -24181,7 +21143,7 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface [Guid("29da1d51-1321-4454-804b-f5fc9f861f0f")] [NativeTypeName("struct ID3D11VideoDevice1 : ID3D11VideoDevice")] [NativeInheritance("ID3D11VideoDevice")] -public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface +public unsafe partial struct ID3D11VideoDevice1 { public static ref readonly Guid IID_ID3D11VideoDevice1 { @@ -24242,11 +21204,7 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface [VtblIndex(3)] public HResult CreateVideoDecoder(VideoDecoderDescription* pVideoDesc, VideoDecoderConfig* pConfig, ID3D11VideoDecoder** ppDecoder) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pVideoDesc, pConfig, ppDecoder); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pVideoDesc, pConfig, ppDecoder); -#endif } /// @@ -24254,11 +21212,7 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface [VtblIndex(4)] public HResult CreateVideoProcessor(ID3D11VideoProcessorEnumerator* pEnum, uint RateConversionIndex, ID3D11VideoProcessor** ppVideoProcessor) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pEnum, RateConversionIndex, ppVideoProcessor); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pEnum, RateConversionIndex, ppVideoProcessor); -#endif } /// @@ -24266,11 +21220,7 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface [VtblIndex(5)] public HResult CreateAuthenticatedChannel(AuthenticatedChannelType ChannelType, ID3D11AuthenticatedChannel** ppAuthenticatedChannel) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), ChannelType, ppAuthenticatedChannel); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), ChannelType, ppAuthenticatedChannel); -#endif } /// @@ -24278,11 +21228,7 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface [VtblIndex(6)] public HResult CreateCryptoSession(Guid* pCryptoType, Guid* pDecoderProfile, Guid* pKeyExchangeType, ID3D11CryptoSession** ppCryptoSession) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pKeyExchangeType, ppCryptoSession); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pKeyExchangeType, ppCryptoSession); -#endif } /// @@ -24290,11 +21236,7 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface [VtblIndex(7)] public HResult CreateVideoDecoderOutputView(ID3D11Resource* pResource, VideoDecoderOutputViewDescription* pDesc, ID3D11VideoDecoderOutputView** ppVDOVView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pResource, pDesc, ppVDOVView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pResource, pDesc, ppVDOVView); -#endif } /// @@ -24302,11 +21244,7 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface [VtblIndex(8)] public HResult CreateVideoProcessorInputView(ID3D11Resource* pResource, ID3D11VideoProcessorEnumerator* pEnum, VideoProcessorInputViewDescription* pDesc, ID3D11VideoProcessorInputView** ppVPIView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pResource, pEnum, pDesc, ppVPIView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pResource, pEnum, pDesc, ppVPIView); -#endif } /// @@ -24314,11 +21252,7 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface [VtblIndex(9)] public HResult CreateVideoProcessorOutputView(ID3D11Resource* pResource, ID3D11VideoProcessorEnumerator* pEnum, VideoProcessorOutputViewDescription* pDesc, ID3D11VideoProcessorOutputView** ppVPOView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pResource, pEnum, pDesc, ppVPOView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pResource, pEnum, pDesc, ppVPOView); -#endif } /// @@ -24326,11 +21260,7 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface [VtblIndex(10)] public HResult CreateVideoProcessorEnumerator(VideoProcessorContentDescription* pDesc, ID3D11VideoProcessorEnumerator** ppEnum) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pDesc, ppEnum); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pDesc, ppEnum); -#endif } /// @@ -24338,11 +21268,7 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface [VtblIndex(11)] public uint GetVideoDecoderProfileCount() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -24350,11 +21276,7 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface [VtblIndex(12)] public HResult GetVideoDecoderProfile(uint Index, Guid* pDecoderProfile) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), Index, pDecoderProfile); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), Index, pDecoderProfile); -#endif } /// @@ -24362,11 +21284,7 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface [VtblIndex(13)] public HResult CheckVideoDecoderFormat(Guid* pDecoderProfile, Graphics.Dxgi.Common.Format Format, Bool32* pSupported) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pDecoderProfile, Format, pSupported); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pDecoderProfile, Format, pSupported); -#endif } /// @@ -24374,11 +21292,7 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface [VtblIndex(14)] public HResult GetVideoDecoderConfigCount(VideoDecoderDescription* pDesc, uint* pCount) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pDesc, pCount); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pDesc, pCount); -#endif } /// @@ -24386,11 +21300,7 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface [VtblIndex(15)] public HResult GetVideoDecoderConfig(VideoDecoderDescription* pDesc, uint Index, VideoDecoderConfig* pConfig) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pDesc, Index, pConfig); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pDesc, Index, pConfig); -#endif } /// @@ -24398,11 +21308,7 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface [VtblIndex(16)] public HResult GetContentProtectionCaps(Guid* pCryptoType, Guid* pDecoderProfile, VideoContentProtectionCaps* pCaps) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pCaps); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pCaps); -#endif } /// @@ -24410,11 +21316,7 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface [VtblIndex(17)] public HResult CheckCryptoKeyExchange(Guid* pCryptoType, Guid* pDecoderProfile, uint Index, Guid* pKeyExchangeType) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, Index, pKeyExchangeType); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, Index, pKeyExchangeType); -#endif } /// @@ -24422,11 +21324,7 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface [VtblIndex(18)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -24434,11 +21332,7 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface [VtblIndex(19)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -24446,11 +21340,7 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface [VtblIndex(20)] public HResult GetCryptoSessionPrivateDataSize(Guid* pCryptoType, Guid* pDecoderProfile, Guid* pKeyExchangeType, uint* pPrivateInputSize, uint* pPrivateOutputSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pKeyExchangeType, pPrivateInputSize, pPrivateOutputSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pKeyExchangeType, pPrivateInputSize, pPrivateOutputSize); -#endif } /// @@ -24458,11 +21348,7 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface [VtblIndex(21)] public HResult GetVideoDecoderCaps(Guid* pDecoderProfile, uint SampleWidth, uint SampleHeight, Graphics.Dxgi.Common.Rational* pFrameRate, uint BitRate, Guid* pCryptoType, uint* pDecoderCaps) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pDecoderProfile, SampleWidth, SampleHeight, pFrameRate, BitRate, pCryptoType, pDecoderCaps); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pDecoderProfile, SampleWidth, SampleHeight, pFrameRate, BitRate, pCryptoType, pDecoderCaps); -#endif } /// @@ -24470,11 +21356,7 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface [VtblIndex(22)] public HResult CheckVideoDecoderDownsampling(VideoDecoderDescription* pInputDesc, Graphics.Dxgi.Common.ColorSpaceType InputColorSpace, VideoDecoderConfig* pInputConfig, Graphics.Dxgi.Common.Rational* pFrameRate, VideoSampleDescription* pOutputDesc, Bool32* pSupported, Bool32* pRealTimeHint) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pInputDesc, InputColorSpace, pInputConfig, pFrameRate, pOutputDesc, pSupported, pRealTimeHint); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pInputDesc, InputColorSpace, pInputConfig, pFrameRate, pOutputDesc, pSupported, pRealTimeHint); -#endif } /// @@ -24482,16 +21364,9 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface [VtblIndex(23)] public HResult RecommendVideoDecoderDownsampleParameters(VideoDecoderDescription* pInputDesc, Graphics.Dxgi.Common.ColorSpaceType InputColorSpace, VideoDecoderConfig* pInputConfig, Graphics.Dxgi.Common.Rational* pFrameRate, VideoSampleDescription* pRecommendedOutputDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pInputDesc, InputColorSpace, pInputConfig, pFrameRate, pRecommendedOutputDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pInputDesc, InputColorSpace, pInputConfig, pFrameRate, pRecommendedOutputDesc); -#endif } - public interface Interface : ID3D11VideoDevice.Interface - { - } } /// @@ -24499,7 +21374,7 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface [Guid("465217f2-5568-43cf-b5b9-f61d54531ca1")] [NativeTypeName("struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProcessorEnumerator")] [NativeInheritance("ID3D11VideoProcessorEnumerator")] -public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProcessorEnumerator1.Interface +public unsafe partial struct ID3D11VideoProcessorEnumerator1 { public static ref readonly Guid IID_ID3D11VideoProcessorEnumerator1 { @@ -24560,11 +21435,7 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProces [VtblIndex(3)] public HResult GetVideoProcessorContentDesc(VideoProcessorContentDescription* pContentDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), pContentDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), pContentDesc); -#endif } /// @@ -24572,11 +21443,7 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProces [VtblIndex(4)] public HResult CheckVideoProcessorFormat(Graphics.Dxgi.Common.Format Format, uint* pFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), Format, pFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), Format, pFlags); -#endif } /// @@ -24584,11 +21451,7 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProces [VtblIndex(5)] public HResult GetVideoProcessorCaps(VideoProcessorCaps* pCaps) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), pCaps); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), pCaps); -#endif } /// @@ -24596,11 +21459,7 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProces [VtblIndex(6)] public HResult GetVideoProcessorRateConversionCaps(uint TypeIndex, VideoProcessorRateConversionCaps* pCaps) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), TypeIndex, pCaps); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), TypeIndex, pCaps); -#endif } /// @@ -24608,11 +21467,7 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProces [VtblIndex(7)] public HResult GetVideoProcessorCustomRate(uint TypeIndex, uint CustomRateIndex, VideoProcessorCustomRate* pRate) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), TypeIndex, CustomRateIndex, pRate); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), TypeIndex, CustomRateIndex, pRate); -#endif } /// @@ -24620,11 +21475,7 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProces [VtblIndex(8)] public HResult GetVideoProcessorFilterRange(VideoProcessorFilter Filter, VideoProcessorFilterRange* pRange) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), Filter, pRange); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), Filter, pRange); -#endif } /// @@ -24632,11 +21483,7 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProces [VtblIndex(9)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[9]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -24644,11 +21491,7 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProces [VtblIndex(10)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -24656,11 +21499,7 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProces [VtblIndex(11)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -24668,11 +21507,7 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProces [VtblIndex(12)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -24680,16 +21515,9 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProces [VtblIndex(13)] public HResult CheckVideoProcessorFormatConversion(Graphics.Dxgi.Common.Format InputFormat, Graphics.Dxgi.Common.ColorSpaceType InputColorSpace, Graphics.Dxgi.Common.Format OutputFormat, Graphics.Dxgi.Common.ColorSpaceType OutputColorSpace, Bool32* pSupported) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), InputFormat, InputColorSpace, OutputFormat, OutputColorSpace, pSupported); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), InputFormat, InputColorSpace, OutputFormat, OutputColorSpace, pSupported); -#endif } - public interface Interface : ID3D11VideoProcessorEnumerator.Interface - { - } } /// @@ -24697,7 +21525,7 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProces [Guid("a04bfb29-08ef-43d6-a49c-a9bdbdcbe686")] [NativeTypeName("struct ID3D11Device1 : ID3D11Device")] [NativeInheritance("ID3D11Device")] -public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface +public unsafe partial struct ID3D11Device1 { public static ref readonly Guid IID_ID3D11Device1 { @@ -24758,11 +21586,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(3)] public HResult CreateBuffer(BufferDescription* pDesc, SubresourceData* pInitialData, ID3D11Buffer** ppBuffer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppBuffer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppBuffer); -#endif } /// @@ -24770,11 +21594,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(4)] public HResult CreateTexture1D(Texture1DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture1D** ppTexture1D) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture1D); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture1D); -#endif } /// @@ -24782,11 +21602,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(5)] public HResult CreateTexture2D(Texture2DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture2D** ppTexture2D) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture2D); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture2D); -#endif } /// @@ -24794,11 +21610,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(6)] public HResult CreateTexture3D(Texture3DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture3D** ppTexture3D) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture3D); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture3D); -#endif } /// @@ -24806,11 +21618,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(7)] public HResult CreateShaderResourceView(ID3D11Resource* pResource, ShaderResourceViewDescription* pDesc, ID3D11ShaderResourceView** ppSRView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pResource, pDesc, ppSRView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pResource, pDesc, ppSRView); -#endif } /// @@ -24818,11 +21626,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(8)] public HResult CreateUnorderedAccessView(ID3D11Resource* pResource, UnorderedAccessViewDescription* pDesc, ID3D11UnorderedAccessView** ppUAView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pResource, pDesc, ppUAView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pResource, pDesc, ppUAView); -#endif } /// @@ -24830,11 +21634,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(9)] public HResult CreateRenderTargetView(ID3D11Resource* pResource, RenderTargetViewDescription* pDesc, ID3D11RenderTargetView** ppRTView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pResource, pDesc, ppRTView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pResource, pDesc, ppRTView); -#endif } /// @@ -24842,11 +21642,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(10)] public HResult CreateDepthStencilView(ID3D11Resource* pResource, DepthStencilViewDescription* pDesc, ID3D11DepthStencilView** ppDepthStencilView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pResource, pDesc, ppDepthStencilView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pResource, pDesc, ppDepthStencilView); -#endif } /// @@ -24854,11 +21650,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(11)] public HResult CreateInputLayout(InputElementDescription* pInputElementDescs, uint NumElements, void* pShaderBytecodeWithInputSignature, nuint BytecodeLength, ID3D11InputLayout** ppInputLayout) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pInputElementDescs, NumElements, pShaderBytecodeWithInputSignature, BytecodeLength, ppInputLayout); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pInputElementDescs, NumElements, pShaderBytecodeWithInputSignature, BytecodeLength, ppInputLayout); -#endif } /// @@ -24866,11 +21658,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(12)] public HResult CreateVertexShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11VertexShader** ppVertexShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppVertexShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppVertexShader); -#endif } /// @@ -24878,23 +21666,15 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(13)] public HResult CreateGeometryShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppGeometryShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppGeometryShader); -#endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HResult CreateGeometryShaderWithStreamOutput(void* pShaderBytecode, nuint BytecodeLength, SoDeclarationEntry* pSODeclaration, uint NumEntries, uint* pBufferStrides, uint NumStrides, uint RasterizedStream, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader) + public HResult CreateGeometryShaderWithStreamOutput(void* pShaderBytecode, nuint BytecodeLength, SODeclarationEntry* pSODeclaration, uint NumEntries, uint* pBufferStrides, uint NumStrides, uint RasterizedStream, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader); -#else - return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader); -#endif + return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader); } /// @@ -24902,11 +21682,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(15)] public HResult CreatePixelShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11PixelShader** ppPixelShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppPixelShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppPixelShader); -#endif } /// @@ -24914,11 +21690,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(16)] public HResult CreateHullShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11HullShader** ppHullShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppHullShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppHullShader); -#endif } /// @@ -24926,11 +21698,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(17)] public HResult CreateDomainShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11DomainShader** ppDomainShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppDomainShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppDomainShader); -#endif } /// @@ -24938,11 +21706,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(18)] public HResult CreateComputeShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11ComputeShader** ppComputeShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppComputeShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppComputeShader); -#endif } /// @@ -24950,11 +21714,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(19)] public HResult CreateClassLinkage(ID3D11ClassLinkage** ppLinkage) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((ID3D11Device1*)Unsafe.AsPointer(ref this), ppLinkage); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D11Device1*)Unsafe.AsPointer(ref this), ppLinkage); -#endif } /// @@ -24962,11 +21722,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(20)] public HResult CreateBlendState(BlendDescription* pBlendStateDesc, ID3D11BlendState** ppBlendState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState); -#endif } /// @@ -24974,11 +21730,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(21)] public HResult CreateDepthStencilState(DepthStencilDescription* pDepthStencilDesc, ID3D11DepthStencilState** ppDepthStencilState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pDepthStencilDesc, ppDepthStencilState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pDepthStencilDesc, ppDepthStencilState); -#endif } /// @@ -24986,11 +21738,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(22)] public HResult CreateRasterizerState(RasterizerDescription* pRasterizerDesc, ID3D11RasterizerState** ppRasterizerState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#endif } /// @@ -24998,11 +21746,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(23)] public HResult CreateSamplerState(SamplerDescription* pSamplerDesc, ID3D11SamplerState** ppSamplerState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pSamplerDesc, ppSamplerState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pSamplerDesc, ppSamplerState); -#endif } /// @@ -25010,11 +21754,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(24)] public HResult CreateQuery(QueryDescription* pQueryDesc, ID3D11Query** ppQuery) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pQueryDesc, ppQuery); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pQueryDesc, ppQuery); -#endif } /// @@ -25022,11 +21762,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(25)] public HResult CreatePredicate(QueryDescription* pPredicateDesc, ID3D11Predicate** ppPredicate) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pPredicateDesc, ppPredicate); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pPredicateDesc, ppPredicate); -#endif } /// @@ -25034,11 +21770,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(26)] public HResult CreateCounter(CounterDescription* pCounterDesc, ID3D11Counter** ppCounter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[26]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pCounterDesc, ppCounter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pCounterDesc, ppCounter); -#endif } /// @@ -25046,11 +21778,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(27)] public HResult CreateDeferredContext(uint ContextFlags, ID3D11DeviceContext** ppDeferredContext) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((ID3D11Device1*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D11Device1*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#endif } /// @@ -25058,11 +21786,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(28)] public HResult OpenSharedResource(IntPtr hResource, Guid* ReturnedInterface, void** ppResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((ID3D11Device1*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D11Device1*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); -#endif } /// @@ -25070,11 +21794,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(29)] public HResult CheckFormatSupport(Graphics.Dxgi.Common.Format Format, uint* pFormatSupport) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[29]))((ID3D11Device1*)Unsafe.AsPointer(ref this), Format, pFormatSupport); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D11Device1*)Unsafe.AsPointer(ref this), Format, pFormatSupport); -#endif } /// @@ -25082,11 +21802,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(30)] public HResult CheckMultisampleQualityLevels(Graphics.Dxgi.Common.Format Format, uint SampleCount, uint* pNumQualityLevels) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[30]))((ID3D11Device1*)Unsafe.AsPointer(ref this), Format, SampleCount, pNumQualityLevels); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D11Device1*)Unsafe.AsPointer(ref this), Format, SampleCount, pNumQualityLevels); -#endif } /// @@ -25094,11 +21810,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(31)] public void CheckCounterInfo(CounterInfo* pCounterInfo) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[31]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pCounterInfo); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pCounterInfo); -#endif } /// @@ -25106,11 +21818,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(32)] public HResult CheckCounter(CounterDescription* pDesc, CounterType* pType, uint* pActiveCounters, byte* szName, uint* pNameLength, byte* szUnits, uint* pUnitsLength, byte* szDescription, uint* pDescriptionLength) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[32]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); -#endif } /// @@ -25118,11 +21826,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(33)] public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, uint FeatureSupportDataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[33]))((ID3D11Device1*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D11Device1*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#endif } /// @@ -25130,11 +21834,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(34)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[34]))((ID3D11Device1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D11Device1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -25142,11 +21842,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(35)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[35]))((ID3D11Device1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D11Device1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -25154,11 +21850,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(36)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[36]))((ID3D11Device1*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D11Device1*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -25166,11 +21858,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(37)] public Graphics.Direct3D.FeatureLevel GetFeatureLevel() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[37]))((ID3D11Device1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D11Device1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -25178,11 +21866,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(38)] public uint GetCreationFlags() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[38]))((ID3D11Device1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D11Device1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -25190,11 +21874,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(39)] public HResult GetDeviceRemovedReason() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[39]))((ID3D11Device1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D11Device1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -25202,11 +21882,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(40)] public void GetImmediateContext(ID3D11DeviceContext* ppImmediateContext) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[40]))((ID3D11Device1*)Unsafe.AsPointer(ref this), ppImmediateContext); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D11Device1*)Unsafe.AsPointer(ref this), ppImmediateContext); -#endif } /// @@ -25214,11 +21890,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(41)] public HResult SetExceptionMode(uint RaiseFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[41]))((ID3D11Device1*)Unsafe.AsPointer(ref this), RaiseFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D11Device1*)Unsafe.AsPointer(ref this), RaiseFlags); -#endif } /// @@ -25226,11 +21898,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(42)] public uint GetExceptionMode() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[42]))((ID3D11Device1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D11Device1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -25238,11 +21906,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(43)] public void GetImmediateContext1(ID3D11DeviceContext1* ppImmediateContext) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[43]))((ID3D11Device1*)Unsafe.AsPointer(ref this), ppImmediateContext); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D11Device1*)Unsafe.AsPointer(ref this), ppImmediateContext); -#endif } /// @@ -25250,11 +21914,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(44)] public HResult CreateDeferredContext1(uint ContextFlags, ID3D11DeviceContext1** ppDeferredContext) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[44]))((ID3D11Device1*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D11Device1*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#endif } /// @@ -25262,11 +21922,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(45)] public HResult CreateBlendState1(BlendDescription1* pBlendStateDesc, ID3D11BlendState1** ppBlendState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[45]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState); -#endif } /// @@ -25274,11 +21930,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(46)] public HResult CreateRasterizerState1(RasterizerDescription1* pRasterizerDesc, ID3D11RasterizerState1** ppRasterizerState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[46]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#endif } /// @@ -25286,11 +21938,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(47)] public HResult CreateDeviceContextState(uint Flags, Graphics.Direct3D.FeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Guid* EmulatedInterface, Graphics.Direct3D.FeatureLevel* pChosenFeatureLevel, ID3DDeviceContextState* ppContextState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[47]))((ID3D11Device1*)Unsafe.AsPointer(ref this), Flags, pFeatureLevels, FeatureLevels, SDKVersion, EmulatedInterface, pChosenFeatureLevel, ppContextState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D11Device1*)Unsafe.AsPointer(ref this), Flags, pFeatureLevels, FeatureLevels, SDKVersion, EmulatedInterface, pChosenFeatureLevel, ppContextState); -#endif } /// @@ -25298,11 +21946,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(48)] public HResult OpenSharedResource1(IntPtr hResource, Guid* returnedInterface, void** ppResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[48]))((ID3D11Device1*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D11Device1*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); -#endif } /// @@ -25310,16 +21954,9 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [VtblIndex(49)] public HResult OpenSharedResourceByName(char** lpName, uint dwDesiredAccess, Guid* returnedInterface, void** ppResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[49]))((ID3D11Device1*)Unsafe.AsPointer(ref this), lpName, dwDesiredAccess, returnedInterface, ppResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D11Device1*)Unsafe.AsPointer(ref this), lpName, dwDesiredAccess, returnedInterface, ppResource); -#endif } - public interface Interface : ID3D11Device.Interface - { - } } /// @@ -25327,7 +21964,7 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface [Guid("b2daad8b-03d4-4dbf-95eb-32ab4b63d0ab")] [NativeTypeName("struct ID3DUserDefinedAnnotation : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3DUserDefinedAnnotation : ID3DUserDefinedAnnotation.Interface +public unsafe partial struct ID3DUserDefinedAnnotation { public static ref readonly Guid IID_ID3DUserDefinedAnnotation { @@ -25388,11 +22025,7 @@ public unsafe partial struct ID3DUserDefinedAnnotation : ID3DUserDefinedAnnotati [VtblIndex(3)] public int BeginEvent(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3DUserDefinedAnnotation*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3DUserDefinedAnnotation*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -25400,11 +22033,7 @@ public unsafe partial struct ID3DUserDefinedAnnotation : ID3DUserDefinedAnnotati [VtblIndex(4)] public int EndEvent() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3DUserDefinedAnnotation*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3DUserDefinedAnnotation*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -25412,11 +22041,7 @@ public unsafe partial struct ID3DUserDefinedAnnotation : ID3DUserDefinedAnnotati [VtblIndex(5)] public void SetMarker(char** Name) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3DUserDefinedAnnotation*)Unsafe.AsPointer(ref this), Name); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3DUserDefinedAnnotation*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -25424,16 +22049,9 @@ public unsafe partial struct ID3DUserDefinedAnnotation : ID3DUserDefinedAnnotati [VtblIndex(6)] public Bool32 GetStatus() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3DUserDefinedAnnotation*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3DUserDefinedAnnotation*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -25441,7 +22059,7 @@ public unsafe partial struct ID3DUserDefinedAnnotation : ID3DUserDefinedAnnotati [Guid("420d5b32-b90c-4da4-bef0-359f6a24a83a")] [NativeTypeName("struct ID3D11DeviceContext2 : ID3D11DeviceContext1")] [NativeInheritance("ID3D11DeviceContext1")] -public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interface +public unsafe partial struct ID3D11DeviceContext2 { public static ref readonly Guid IID_ID3D11DeviceContext2 { @@ -25502,11 +22120,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(3)] public void CopySubresourceRegion1(ID3D11Resource* pDstResource, uint DstSubresource, uint DstX, uint DstY, uint DstZ, ID3D11Resource* pSrcResource, uint SrcSubresource, Box* pSrcBox, uint CopyFlags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, DstZ, pSrcResource, SrcSubresource, pSrcBox, CopyFlags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, DstZ, pSrcResource, SrcSubresource, pSrcBox, CopyFlags); -#endif } /// @@ -25514,11 +22128,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(4)] public void UpdateSubresource1(ID3D11Resource* pDstResource, uint DstSubresource, Box* pDstBox, void* pSrcData, uint SrcRowPitch, uint SrcDepthPitch, uint CopyFlags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch, CopyFlags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch, CopyFlags); -#endif } /// @@ -25526,11 +22136,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(5)] public void DiscardResource(ID3D11Resource* pResource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pResource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pResource); -#endif } /// @@ -25538,11 +22144,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(6)] public void DiscardView(ID3D11View* pResourceView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[6]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pResourceView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pResourceView); -#endif } /// @@ -25550,11 +22152,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(7)] public void VSSetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[7]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -25562,11 +22160,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(8)] public void HSSetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -25574,11 +22168,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(9)] public void DSSetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[9]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -25586,11 +22176,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(10)] public void GSSetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[10]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -25598,11 +22184,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(11)] public void PSSetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[11]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -25610,11 +22192,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(12)] public void CSSetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[12]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -25622,11 +22200,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(13)] public void VSGetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[13]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -25634,11 +22208,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(14)] public void HSGetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[14]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -25646,11 +22216,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(15)] public void DSGetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[15]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -25658,11 +22224,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(16)] public void GSGetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[16]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -25670,11 +22232,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(17)] public void PSGetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[17]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -25682,11 +22240,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(18)] public void CSGetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[18]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -25694,11 +22248,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(19)] public void SwapDeviceContextState(ID3DDeviceContextState* pState, ID3DDeviceContextState* ppPreviousState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[19]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pState, ppPreviousState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pState, ppPreviousState); -#endif } /// @@ -25706,11 +22256,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(20)] public void ClearView(ID3D11View* pView, float* Color, RawRect* pRect, uint NumRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[20]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pView, Color, pRect, NumRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pView, Color, pRect, NumRects); -#endif } /// @@ -25718,11 +22264,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(21)] public void DiscardView1(ID3D11View* pResourceView, RawRect* pRects, uint NumRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[21]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pResourceView, pRects, NumRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pResourceView, pRects, NumRects); -#endif } /// @@ -25730,11 +22272,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(22)] public void VSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[22]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -25742,11 +22280,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(23)] public void PSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[23]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -25754,11 +22288,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(24)] public void PSSetShader(ID3D11PixelShader* pPixelShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[24]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pPixelShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pPixelShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -25766,11 +22296,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(25)] public void PSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[25]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -25778,11 +22304,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(26)] public void VSSetShader(ID3D11VertexShader* pVertexShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[26]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pVertexShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pVertexShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -25790,11 +22312,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(27)] public void DrawIndexed(uint IndexCount, uint StartIndexLocation, int BaseVertexLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[27]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), IndexCount, StartIndexLocation, BaseVertexLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), IndexCount, StartIndexLocation, BaseVertexLocation); -#endif } /// @@ -25802,11 +22320,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(28)] public void Draw(uint VertexCount, uint StartVertexLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[28]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), VertexCount, StartVertexLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), VertexCount, StartVertexLocation); -#endif } /// @@ -25814,11 +22328,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(29)] public HResult Map(ID3D11Resource* pResource, uint Subresource, Map MapType, uint MapFlags, MappedSubresource* pMappedResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[29]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pResource, Subresource, MapType, MapFlags, pMappedResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pResource, Subresource, MapType, MapFlags, pMappedResource); -#endif } /// @@ -25826,11 +22336,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(30)] public void Unmap(ID3D11Resource* pResource, uint Subresource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[30]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pResource, Subresource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pResource, Subresource); -#endif } /// @@ -25838,11 +22344,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(31)] public void PSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[31]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -25850,11 +22352,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(32)] public void IASetInputLayout(ID3D11InputLayout* pInputLayout) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[32]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pInputLayout); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pInputLayout); -#endif } /// @@ -25862,11 +22360,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(33)] public void IASetVertexBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppVertexBuffers, uint* pStrides, uint* pOffsets) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[33]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppVertexBuffers, pStrides, pOffsets); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppVertexBuffers, pStrides, pOffsets); -#endif } /// @@ -25874,11 +22368,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(34)] public void IASetIndexBuffer(ID3D11Buffer* pIndexBuffer, Graphics.Dxgi.Common.Format Format, uint Offset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[34]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pIndexBuffer, Format, Offset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pIndexBuffer, Format, Offset); -#endif } /// @@ -25886,11 +22376,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(35)] public void DrawIndexedInstanced(uint IndexCountPerInstance, uint InstanceCount, uint StartIndexLocation, int BaseVertexLocation, uint StartInstanceLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[35]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), IndexCountPerInstance, InstanceCount, StartIndexLocation, BaseVertexLocation, StartInstanceLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), IndexCountPerInstance, InstanceCount, StartIndexLocation, BaseVertexLocation, StartInstanceLocation); -#endif } /// @@ -25898,11 +22384,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(36)] public void DrawInstanced(uint VertexCountPerInstance, uint InstanceCount, uint StartVertexLocation, uint StartInstanceLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[36]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), VertexCountPerInstance, InstanceCount, StartVertexLocation, StartInstanceLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), VertexCountPerInstance, InstanceCount, StartVertexLocation, StartInstanceLocation); -#endif } /// @@ -25910,11 +22392,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(37)] public void GSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[37]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -25922,11 +22400,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(38)] public void GSSetShader(ID3D11GeometryShader* pShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[38]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -25934,11 +22408,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(39)] public void IASetPrimitiveTopology(Graphics.Direct3D.PrimitiveTopology Topology) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[39]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), Topology); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), Topology); -#endif } /// @@ -25946,11 +22416,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(40)] public void VSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[40]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -25958,11 +22424,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(41)] public void VSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[41]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -25970,11 +22432,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(42)] public void Begin(ID3D11Asynchronous* pAsync) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[42]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pAsync); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pAsync); -#endif } /// @@ -25982,11 +22440,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(43)] public void End(ID3D11Asynchronous* pAsync) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[43]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pAsync); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pAsync); -#endif } /// @@ -25994,11 +22448,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(44)] public HResult GetData(ID3D11Asynchronous* pAsync, void* pData, uint DataSize, uint GetDataFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[44]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pAsync, pData, DataSize, GetDataFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pAsync, pData, DataSize, GetDataFlags); -#endif } /// @@ -26006,11 +22456,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(45)] public void SetPredication(ID3D11Predicate* pPredicate, Bool32 PredicateValue) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[45]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); -#endif } /// @@ -26018,11 +22464,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(46)] public void GSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[46]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -26030,11 +22472,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(47)] public void GSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[47]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -26042,11 +22480,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(48)] public void OMSetRenderTargets(uint NumViews, ID3D11RenderTargetView* ppRenderTargetViews, ID3D11DepthStencilView* pDepthStencilView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[48]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), NumViews, ppRenderTargetViews, pDepthStencilView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), NumViews, ppRenderTargetViews, pDepthStencilView); -#endif } /// @@ -26054,11 +22488,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(49)] public void OMSetRenderTargetsAndUnorderedAccessViews(uint NumRTVs, ID3D11RenderTargetView* ppRenderTargetViews, ID3D11DepthStencilView* pDepthStencilView, uint UAVStartSlot, uint NumUAVs, ID3D11UnorderedAccessView* ppUnorderedAccessViews, uint* pUAVInitialCounts) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[49]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), NumRTVs, ppRenderTargetViews, pDepthStencilView, UAVStartSlot, NumUAVs, ppUnorderedAccessViews, pUAVInitialCounts); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), NumRTVs, ppRenderTargetViews, pDepthStencilView, UAVStartSlot, NumUAVs, ppUnorderedAccessViews, pUAVInitialCounts); -#endif } /// @@ -26066,11 +22496,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(50)] public void OMSetBlendState(ID3D11BlendState* pBlendState, float* BlendFactor, uint SampleMask) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[50]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pBlendState, BlendFactor, SampleMask); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pBlendState, BlendFactor, SampleMask); -#endif } /// @@ -26078,11 +22504,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(51)] public void OMSetDepthStencilState(ID3D11DepthStencilState* pDepthStencilState, uint StencilRef) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[51]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pDepthStencilState, StencilRef); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pDepthStencilState, StencilRef); -#endif } /// @@ -26090,11 +22512,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(52)] public void SOSetTargets(uint NumBuffers, ID3D11Buffer* ppSOTargets, uint* pOffsets) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[52]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), NumBuffers, ppSOTargets, pOffsets); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), NumBuffers, ppSOTargets, pOffsets); -#endif } /// @@ -26102,11 +22520,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(53)] public void DrawAuto() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[53]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -26114,11 +22528,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(54)] public void DrawIndexedInstancedIndirect(ID3D11Buffer* pBufferForArgs, uint AlignedByteOffsetForArgs) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[54]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#endif } /// @@ -26126,11 +22536,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(55)] public void DrawInstancedIndirect(ID3D11Buffer* pBufferForArgs, uint AlignedByteOffsetForArgs) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[55]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#endif } /// @@ -26138,11 +22544,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(56)] public void Dispatch(uint ThreadGroupCountX, uint ThreadGroupCountY, uint ThreadGroupCountZ) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[56]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ); -#endif } /// @@ -26150,11 +22552,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(57)] public void DispatchIndirect(ID3D11Buffer* pBufferForArgs, uint AlignedByteOffsetForArgs) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[57]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#endif } /// @@ -26162,11 +22560,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(58)] public void RSSetState(ID3D11RasterizerState* pRasterizerState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[58]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pRasterizerState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pRasterizerState); -#endif } /// @@ -26174,11 +22568,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(59)] public void RSSetViewports(uint NumViewports, Viewport* pViewports) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[59]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), NumViewports, pViewports); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), NumViewports, pViewports); -#endif } /// @@ -26186,11 +22576,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(60)] public void RSSetScissorRects(uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[60]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), NumRects, pRects); -#endif } /// @@ -26198,11 +22584,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(61)] public void CopySubresourceRegion(ID3D11Resource* pDstResource, uint DstSubresource, uint DstX, uint DstY, uint DstZ, ID3D11Resource* pSrcResource, uint SrcSubresource, Box* pSrcBox) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[61]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, DstZ, pSrcResource, SrcSubresource, pSrcBox); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, DstZ, pSrcResource, SrcSubresource, pSrcBox); -#endif } /// @@ -26210,11 +22592,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(62)] public void CopyResource(ID3D11Resource* pDstResource, ID3D11Resource* pSrcResource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[62]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pDstResource, pSrcResource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pDstResource, pSrcResource); -#endif } /// @@ -26222,11 +22600,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(63)] public void UpdateSubresource(ID3D11Resource* pDstResource, uint DstSubresource, Box* pDstBox, void* pSrcData, uint SrcRowPitch, uint SrcDepthPitch) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[63]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch); -#endif } /// @@ -26234,11 +22608,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(64)] public void CopyStructureCount(ID3D11Buffer* pDstBuffer, uint DstAlignedByteOffset, ID3D11UnorderedAccessView* pSrcView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[64]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pDstBuffer, DstAlignedByteOffset, pSrcView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pDstBuffer, DstAlignedByteOffset, pSrcView); -#endif } /// @@ -26246,11 +22616,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(65)] public void ClearRenderTargetView(ID3D11RenderTargetView* pRenderTargetView, float* ColorRGBA) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[65]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pRenderTargetView, ColorRGBA); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pRenderTargetView, ColorRGBA); -#endif } /// @@ -26258,11 +22624,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(66)] public void ClearUnorderedAccessViewUint(ID3D11UnorderedAccessView* pUnorderedAccessView, uint* Values) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[66]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[66]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); -#endif } /// @@ -26270,11 +22632,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(67)] public void ClearUnorderedAccessViewFloat(ID3D11UnorderedAccessView* pUnorderedAccessView, float* Values) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[67]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); -#endif } /// @@ -26282,11 +22640,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(68)] public void ClearDepthStencilView(ID3D11DepthStencilView* pDepthStencilView, uint ClearFlags, float Depth, byte Stencil) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[68]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pDepthStencilView, ClearFlags, Depth, Stencil); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[68]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pDepthStencilView, ClearFlags, Depth, Stencil); -#endif } /// @@ -26294,11 +22648,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(69)] public void GenerateMips(ID3D11ShaderResourceView* pShaderResourceView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[69]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pShaderResourceView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[69]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pShaderResourceView); -#endif } /// @@ -26306,11 +22656,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(70)] public void SetResourceMinLOD(ID3D11Resource* pResource, float MinLOD) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[70]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pResource, MinLOD); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pResource, MinLOD); -#endif } /// @@ -26318,11 +22664,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(71)] public float GetResourceMinLOD(ID3D11Resource* pResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[71]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pResource); -#endif } /// @@ -26330,11 +22672,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(72)] public void ResolveSubresource(ID3D11Resource* pDstResource, uint DstSubresource, ID3D11Resource* pSrcResource, uint SrcSubresource, Graphics.Dxgi.Common.Format Format) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[72]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pSrcResource, SrcSubresource, Format); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pSrcResource, SrcSubresource, Format); -#endif } /// @@ -26342,11 +22680,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(73)] public void ExecuteCommandList(ID3D11CommandList* pCommandList, Bool32 RestoreContextState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[73]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[73]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); -#endif } /// @@ -26354,11 +22688,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(74)] public void HSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[74]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[74]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -26366,11 +22696,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(75)] public void HSSetShader(ID3D11HullShader* pHullShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[75]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pHullShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[75]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pHullShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -26378,11 +22704,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(76)] public void HSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[76]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[76]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -26390,11 +22712,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(77)] public void HSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[77]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[77]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -26402,11 +22720,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(78)] public void DSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[78]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[78]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -26414,11 +22728,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(79)] public void DSSetShader(ID3D11DomainShader* pDomainShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[79]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pDomainShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[79]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pDomainShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -26426,11 +22736,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(80)] public void DSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[80]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[80]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -26438,11 +22744,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(81)] public void DSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[81]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[81]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -26450,11 +22752,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(82)] public void CSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[82]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[82]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -26462,11 +22760,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(83)] public void CSSetUnorderedAccessViews(uint StartSlot, uint NumUAVs, ID3D11UnorderedAccessView* ppUnorderedAccessViews, uint* pUAVInitialCounts) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[83]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumUAVs, ppUnorderedAccessViews, pUAVInitialCounts); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[83]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumUAVs, ppUnorderedAccessViews, pUAVInitialCounts); -#endif } /// @@ -26474,11 +22768,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(84)] public void CSSetShader(ID3D11ComputeShader* pComputeShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[84]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pComputeShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[84]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pComputeShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -26486,11 +22776,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(85)] public void CSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[85]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[85]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -26498,11 +22784,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(86)] public void CSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[86]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[86]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -26510,11 +22792,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(87)] public void VSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[87]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[87]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -26522,11 +22800,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(88)] public void PSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[88]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[88]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -26534,11 +22808,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(89)] public void PSGetShader(ID3D11PixelShader* ppPixelShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[89]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), ppPixelShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[89]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), ppPixelShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -26546,11 +22816,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(90)] public void PSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[90]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[90]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -26558,11 +22824,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(91)] public void VSGetShader(ID3D11VertexShader* ppVertexShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[91]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), ppVertexShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[91]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), ppVertexShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -26570,11 +22832,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(92)] public void PSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[92]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[92]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -26582,11 +22840,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(93)] public void IAGetInputLayout(ID3D11InputLayout* ppInputLayout) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[93]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), ppInputLayout); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[93]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), ppInputLayout); -#endif } /// @@ -26594,11 +22848,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(94)] public void IAGetVertexBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppVertexBuffers, uint* pStrides, uint* pOffsets) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[94]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppVertexBuffers, pStrides, pOffsets); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[94]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppVertexBuffers, pStrides, pOffsets); -#endif } /// @@ -26606,11 +22856,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(95)] public void IAGetIndexBuffer(ID3D11Buffer* pIndexBuffer, Graphics.Dxgi.Common.Format* Format, uint* Offset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[95]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pIndexBuffer, Format, Offset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[95]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pIndexBuffer, Format, Offset); -#endif } /// @@ -26618,11 +22864,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(96)] public void GSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[96]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[96]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -26630,11 +22872,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(97)] public void GSGetShader(ID3D11GeometryShader* ppGeometryShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[97]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), ppGeometryShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[97]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), ppGeometryShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -26642,11 +22880,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(98)] public void IAGetPrimitiveTopology(Graphics.Direct3D.PrimitiveTopology* pTopology) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[98]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pTopology); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[98]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pTopology); -#endif } /// @@ -26654,11 +22888,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(99)] public void VSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[99]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[99]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -26666,11 +22896,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(100)] public void VSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[100]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[100]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -26678,11 +22904,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(101)] public void GetPredication(ID3D11Predicate* ppPredicate, Bool32* pPredicateValue) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[101]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), ppPredicate, pPredicateValue); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[101]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), ppPredicate, pPredicateValue); -#endif } /// @@ -26690,11 +22912,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(102)] public void GSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[102]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[102]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -26702,11 +22920,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(103)] public void GSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[103]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[103]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -26714,11 +22928,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(104)] public void OMGetRenderTargets(uint NumViews, ID3D11RenderTargetView* ppRenderTargetViews, ID3D11DepthStencilView* ppDepthStencilView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[104]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), NumViews, ppRenderTargetViews, ppDepthStencilView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[104]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), NumViews, ppRenderTargetViews, ppDepthStencilView); -#endif } /// @@ -26726,11 +22936,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(105)] public void OMGetRenderTargetsAndUnorderedAccessViews(uint NumRTVs, ID3D11RenderTargetView* ppRenderTargetViews, ID3D11DepthStencilView* ppDepthStencilView, uint UAVStartSlot, uint NumUAVs, ID3D11UnorderedAccessView* ppUnorderedAccessViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[105]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), NumRTVs, ppRenderTargetViews, ppDepthStencilView, UAVStartSlot, NumUAVs, ppUnorderedAccessViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[105]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), NumRTVs, ppRenderTargetViews, ppDepthStencilView, UAVStartSlot, NumUAVs, ppUnorderedAccessViews); -#endif } /// @@ -26738,11 +22944,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(106)] public void OMGetBlendState(ID3D11BlendState* ppBlendState, float* BlendFactor, uint* pSampleMask) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[106]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), ppBlendState, BlendFactor, pSampleMask); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[106]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), ppBlendState, BlendFactor, pSampleMask); -#endif } /// @@ -26750,11 +22952,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(107)] public void OMGetDepthStencilState(ID3D11DepthStencilState* ppDepthStencilState, uint* pStencilRef) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[107]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), ppDepthStencilState, pStencilRef); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[107]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), ppDepthStencilState, pStencilRef); -#endif } /// @@ -26762,11 +22960,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(108)] public void SOGetTargets(uint NumBuffers, ID3D11Buffer* ppSOTargets) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[108]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), NumBuffers, ppSOTargets); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[108]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), NumBuffers, ppSOTargets); -#endif } /// @@ -26774,11 +22968,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(109)] public void RSGetState(ID3D11RasterizerState* ppRasterizerState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[109]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), ppRasterizerState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[109]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), ppRasterizerState); -#endif } /// @@ -26786,11 +22976,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(110)] public void RSGetViewports(uint* pNumViewports, Viewport* pViewports) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[110]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pNumViewports, pViewports); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[110]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pNumViewports, pViewports); -#endif } /// @@ -26798,11 +22984,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(111)] public void RSGetScissorRects(uint* pNumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[111]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pNumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[111]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pNumRects, pRects); -#endif } /// @@ -26810,11 +22992,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(112)] public void HSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[112]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[112]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -26822,11 +23000,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(113)] public void HSGetShader(ID3D11HullShader* ppHullShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[113]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), ppHullShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[113]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), ppHullShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -26834,11 +23008,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(114)] public void HSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[114]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[114]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -26846,11 +23016,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(115)] public void HSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[115]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[115]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -26858,11 +23024,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(116)] public void DSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[116]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[116]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -26870,11 +23032,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(117)] public void DSGetShader(ID3D11DomainShader* ppDomainShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[117]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), ppDomainShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[117]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), ppDomainShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -26882,11 +23040,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(118)] public void DSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[118]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[118]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -26894,11 +23048,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(119)] public void DSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[119]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[119]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -26906,11 +23056,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(120)] public void CSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[120]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[120]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -26918,11 +23064,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(121)] public void CSGetUnorderedAccessViews(uint StartSlot, uint NumUAVs, ID3D11UnorderedAccessView* ppUnorderedAccessViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[121]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumUAVs, ppUnorderedAccessViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[121]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumUAVs, ppUnorderedAccessViews); -#endif } /// @@ -26930,11 +23072,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(122)] public void CSGetShader(ID3D11ComputeShader* ppComputeShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[122]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), ppComputeShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[122]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), ppComputeShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -26942,11 +23080,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(123)] public void CSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[123]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[123]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -26954,11 +23088,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(124)] public void CSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[124]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[124]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -26966,11 +23096,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(125)] public void ClearState() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[125]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[125]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -26978,11 +23104,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(126)] public void Flush() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[126]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[126]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -26990,11 +23112,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(127)] public new Graphics.Direct3D11.DeviceContextType GetType() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[127]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[127]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -27002,11 +23120,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(128)] public uint GetContextFlags() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[128]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[128]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -27014,11 +23128,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(129)] public HResult FinishCommandList(Bool32 RestoreDeferredContextState, ID3D11CommandList** ppCommandList) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[129]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[129]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); -#endif } /// @@ -27026,11 +23136,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(130)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[130]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[130]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -27038,11 +23144,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(131)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[131]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[131]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -27050,11 +23152,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(132)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[132]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[132]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -27062,11 +23160,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(133)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[133]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[133]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -27074,11 +23168,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(134)] public HResult UpdateTileMappings(ID3D11Resource* pTiledResource, uint NumTiledResourceRegions, TiledResourceCoordinate* pTiledResourceRegionStartCoordinates, TileRegionSize* pTiledResourceRegionSizes, ID3D11Buffer* pTilePool, uint NumRanges, uint* pRangeFlags, uint* pTilePoolStartOffsets, uint* pRangeTileCounts, uint Flags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[134]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pTiledResource, NumTiledResourceRegions, pTiledResourceRegionStartCoordinates, pTiledResourceRegionSizes, pTilePool, NumRanges, pRangeFlags, pTilePoolStartOffsets, pRangeTileCounts, Flags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[134]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pTiledResource, NumTiledResourceRegions, pTiledResourceRegionStartCoordinates, pTiledResourceRegionSizes, pTilePool, NumRanges, pRangeFlags, pTilePoolStartOffsets, pRangeTileCounts, Flags); -#endif } /// @@ -27086,11 +23176,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(135)] public HResult CopyTileMappings(ID3D11Resource* pDestTiledResource, TiledResourceCoordinate* pDestRegionStartCoordinate, ID3D11Resource* pSourceTiledResource, TiledResourceCoordinate* pSourceRegionStartCoordinate, TileRegionSize* pTileRegionSize, uint Flags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[135]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pDestTiledResource, pDestRegionStartCoordinate, pSourceTiledResource, pSourceRegionStartCoordinate, pTileRegionSize, Flags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[135]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pDestTiledResource, pDestRegionStartCoordinate, pSourceTiledResource, pSourceRegionStartCoordinate, pTileRegionSize, Flags); -#endif } /// @@ -27098,11 +23184,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(136)] public void CopyTiles(ID3D11Resource* pTiledResource, TiledResourceCoordinate* pTileRegionStartCoordinate, TileRegionSize* pTileRegionSize, ID3D11Buffer* pBuffer, ulong BufferStartOffsetInBytes, uint Flags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[136]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pTiledResource, pTileRegionStartCoordinate, pTileRegionSize, pBuffer, BufferStartOffsetInBytes, Flags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[136]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pTiledResource, pTileRegionStartCoordinate, pTileRegionSize, pBuffer, BufferStartOffsetInBytes, Flags); -#endif } /// @@ -27110,11 +23192,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(137)] public void UpdateTiles(ID3D11Resource* pDestTiledResource, TiledResourceCoordinate* pDestTileRegionStartCoordinate, TileRegionSize* pDestTileRegionSize, void* pSourceTileData, uint Flags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[137]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pDestTiledResource, pDestTileRegionStartCoordinate, pDestTileRegionSize, pSourceTileData, Flags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[137]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pDestTiledResource, pDestTileRegionStartCoordinate, pDestTileRegionSize, pSourceTileData, Flags); -#endif } /// @@ -27122,11 +23200,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(138)] public HResult ResizeTilePool(ID3D11Buffer* pTilePool, ulong NewSizeInBytes) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[138]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pTilePool, NewSizeInBytes); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[138]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pTilePool, NewSizeInBytes); -#endif } /// @@ -27134,11 +23208,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(139)] public void TiledResourceBarrier(ID3D11DeviceChild* pTiledResourceOrViewAccessBeforeBarrier, ID3D11DeviceChild* pTiledResourceOrViewAccessAfterBarrier) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[139]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pTiledResourceOrViewAccessBeforeBarrier, pTiledResourceOrViewAccessAfterBarrier); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[139]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pTiledResourceOrViewAccessBeforeBarrier, pTiledResourceOrViewAccessAfterBarrier); -#endif } /// @@ -27146,11 +23216,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(140)] public Bool32 IsAnnotationEnabled() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[140]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[140]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -27158,11 +23224,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(141)] public void SetMarkerInt(char** pLabel, int Data) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[141]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pLabel, Data); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[141]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pLabel, Data); -#endif } /// @@ -27170,11 +23232,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(142)] public void BeginEventInt(char** pLabel, int Data) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[142]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pLabel, Data); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[142]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pLabel, Data); -#endif } /// @@ -27182,16 +23240,9 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [VtblIndex(143)] public void EndEvent() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[143]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[143]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : ID3D11DeviceContext1.Interface - { - } } /// @@ -27199,7 +23250,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa [Guid("9d06dffa-d1e5-4d07-83a8-1bb123f2f841")] [NativeTypeName("struct ID3D11Device2 : ID3D11Device1")] [NativeInheritance("ID3D11Device1")] -public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface +public unsafe partial struct ID3D11Device2 { public static ref readonly Guid IID_ID3D11Device2 { @@ -27260,11 +23311,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(3)] public void GetImmediateContext1(ID3D11DeviceContext1* ppImmediateContext) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ppImmediateContext); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ppImmediateContext); -#endif } /// @@ -27272,11 +23319,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(4)] public HResult CreateDeferredContext1(uint ContextFlags, ID3D11DeviceContext1** ppDeferredContext) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#endif } /// @@ -27284,11 +23327,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(5)] public HResult CreateBlendState1(BlendDescription1* pBlendStateDesc, ID3D11BlendState1** ppBlendState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState); -#endif } /// @@ -27296,11 +23335,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(6)] public HResult CreateRasterizerState1(RasterizerDescription1* pRasterizerDesc, ID3D11RasterizerState1** ppRasterizerState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#endif } /// @@ -27308,11 +23343,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(7)] public HResult CreateDeviceContextState(uint Flags, Graphics.Direct3D.FeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Guid* EmulatedInterface, Graphics.Direct3D.FeatureLevel* pChosenFeatureLevel, ID3DDeviceContextState* ppContextState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11Device2*)Unsafe.AsPointer(ref this), Flags, pFeatureLevels, FeatureLevels, SDKVersion, EmulatedInterface, pChosenFeatureLevel, ppContextState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11Device2*)Unsafe.AsPointer(ref this), Flags, pFeatureLevels, FeatureLevels, SDKVersion, EmulatedInterface, pChosenFeatureLevel, ppContextState); -#endif } /// @@ -27320,11 +23351,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(8)] public HResult OpenSharedResource1(IntPtr hResource, Guid* returnedInterface, void** ppResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11Device2*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11Device2*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); -#endif } /// @@ -27332,11 +23359,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(9)] public HResult OpenSharedResourceByName(char** lpName, uint dwDesiredAccess, Guid* returnedInterface, void** ppResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11Device2*)Unsafe.AsPointer(ref this), lpName, dwDesiredAccess, returnedInterface, ppResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11Device2*)Unsafe.AsPointer(ref this), lpName, dwDesiredAccess, returnedInterface, ppResource); -#endif } /// @@ -27344,11 +23367,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(10)] public HResult CreateBuffer(BufferDescription* pDesc, SubresourceData* pInitialData, ID3D11Buffer** ppBuffer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppBuffer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppBuffer); -#endif } /// @@ -27356,11 +23375,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(11)] public HResult CreateTexture1D(Texture1DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture1D** ppTexture1D) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture1D); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture1D); -#endif } /// @@ -27368,11 +23383,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(12)] public HResult CreateTexture2D(Texture2DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture2D** ppTexture2D) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture2D); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture2D); -#endif } /// @@ -27380,11 +23391,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(13)] public HResult CreateTexture3D(Texture3DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture3D** ppTexture3D) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture3D); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture3D); -#endif } /// @@ -27392,11 +23399,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(14)] public HResult CreateShaderResourceView(ID3D11Resource* pResource, ShaderResourceViewDescription* pDesc, ID3D11ShaderResourceView** ppSRView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pResource, pDesc, ppSRView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pResource, pDesc, ppSRView); -#endif } /// @@ -27404,11 +23407,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(15)] public HResult CreateUnorderedAccessView(ID3D11Resource* pResource, UnorderedAccessViewDescription* pDesc, ID3D11UnorderedAccessView** ppUAView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pResource, pDesc, ppUAView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pResource, pDesc, ppUAView); -#endif } /// @@ -27416,11 +23415,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(16)] public HResult CreateRenderTargetView(ID3D11Resource* pResource, RenderTargetViewDescription* pDesc, ID3D11RenderTargetView** ppRTView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pResource, pDesc, ppRTView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pResource, pDesc, ppRTView); -#endif } /// @@ -27428,11 +23423,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(17)] public HResult CreateDepthStencilView(ID3D11Resource* pResource, DepthStencilViewDescription* pDesc, ID3D11DepthStencilView** ppDepthStencilView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pResource, pDesc, ppDepthStencilView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pResource, pDesc, ppDepthStencilView); -#endif } /// @@ -27440,11 +23431,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(18)] public HResult CreateInputLayout(InputElementDescription* pInputElementDescs, uint NumElements, void* pShaderBytecodeWithInputSignature, nuint BytecodeLength, ID3D11InputLayout** ppInputLayout) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pInputElementDescs, NumElements, pShaderBytecodeWithInputSignature, BytecodeLength, ppInputLayout); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pInputElementDescs, NumElements, pShaderBytecodeWithInputSignature, BytecodeLength, ppInputLayout); -#endif } /// @@ -27452,11 +23439,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(19)] public HResult CreateVertexShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11VertexShader** ppVertexShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppVertexShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppVertexShader); -#endif } /// @@ -27464,23 +23447,15 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(20)] public HResult CreateGeometryShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppGeometryShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppGeometryShader); -#endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] - public HResult CreateGeometryShaderWithStreamOutput(void* pShaderBytecode, nuint BytecodeLength, SoDeclarationEntry* pSODeclaration, uint NumEntries, uint* pBufferStrides, uint NumStrides, uint RasterizedStream, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader) + public HResult CreateGeometryShaderWithStreamOutput(void* pShaderBytecode, nuint BytecodeLength, SODeclarationEntry* pSODeclaration, uint NumEntries, uint* pBufferStrides, uint NumStrides, uint RasterizedStream, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader); -#else - return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader); -#endif + return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader); } /// @@ -27488,11 +23463,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(22)] public HResult CreatePixelShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11PixelShader** ppPixelShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppPixelShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppPixelShader); -#endif } /// @@ -27500,11 +23471,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(23)] public HResult CreateHullShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11HullShader** ppHullShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppHullShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppHullShader); -#endif } /// @@ -27512,11 +23479,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(24)] public HResult CreateDomainShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11DomainShader** ppDomainShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppDomainShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppDomainShader); -#endif } /// @@ -27524,11 +23487,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(25)] public HResult CreateComputeShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11ComputeShader** ppComputeShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppComputeShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppComputeShader); -#endif } /// @@ -27536,11 +23495,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(26)] public HResult CreateClassLinkage(ID3D11ClassLinkage** ppLinkage) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[26]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ppLinkage); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ppLinkage); -#endif } /// @@ -27548,11 +23503,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(27)] public HResult CreateBlendState(BlendDescription* pBlendStateDesc, ID3D11BlendState** ppBlendState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState); -#endif } /// @@ -27560,11 +23511,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(28)] public HResult CreateDepthStencilState(DepthStencilDescription* pDepthStencilDesc, ID3D11DepthStencilState** ppDepthStencilState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pDepthStencilDesc, ppDepthStencilState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pDepthStencilDesc, ppDepthStencilState); -#endif } /// @@ -27572,11 +23519,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(29)] public HResult CreateRasterizerState(RasterizerDescription* pRasterizerDesc, ID3D11RasterizerState** ppRasterizerState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[29]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#endif } /// @@ -27584,11 +23527,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(30)] public HResult CreateSamplerState(SamplerDescription* pSamplerDesc, ID3D11SamplerState** ppSamplerState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[30]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pSamplerDesc, ppSamplerState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pSamplerDesc, ppSamplerState); -#endif } /// @@ -27596,11 +23535,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(31)] public HResult CreateQuery(QueryDescription* pQueryDesc, ID3D11Query** ppQuery) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[31]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pQueryDesc, ppQuery); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pQueryDesc, ppQuery); -#endif } /// @@ -27608,11 +23543,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(32)] public HResult CreatePredicate(QueryDescription* pPredicateDesc, ID3D11Predicate** ppPredicate) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[32]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pPredicateDesc, ppPredicate); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pPredicateDesc, ppPredicate); -#endif } /// @@ -27620,11 +23551,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(33)] public HResult CreateCounter(CounterDescription* pCounterDesc, ID3D11Counter** ppCounter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[33]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pCounterDesc, ppCounter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pCounterDesc, ppCounter); -#endif } /// @@ -27632,11 +23559,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(34)] public HResult CreateDeferredContext(uint ContextFlags, ID3D11DeviceContext** ppDeferredContext) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[34]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#endif } /// @@ -27644,11 +23567,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(35)] public HResult OpenSharedResource(IntPtr hResource, Guid* ReturnedInterface, void** ppResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[35]))((ID3D11Device2*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D11Device2*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); -#endif } /// @@ -27656,11 +23575,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(36)] public HResult CheckFormatSupport(Graphics.Dxgi.Common.Format Format, uint* pFormatSupport) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[36]))((ID3D11Device2*)Unsafe.AsPointer(ref this), Format, pFormatSupport); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D11Device2*)Unsafe.AsPointer(ref this), Format, pFormatSupport); -#endif } /// @@ -27668,11 +23583,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(37)] public HResult CheckMultisampleQualityLevels(Graphics.Dxgi.Common.Format Format, uint SampleCount, uint* pNumQualityLevels) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[37]))((ID3D11Device2*)Unsafe.AsPointer(ref this), Format, SampleCount, pNumQualityLevels); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D11Device2*)Unsafe.AsPointer(ref this), Format, SampleCount, pNumQualityLevels); -#endif } /// @@ -27680,11 +23591,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(38)] public void CheckCounterInfo(CounterInfo* pCounterInfo) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[38]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pCounterInfo); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pCounterInfo); -#endif } /// @@ -27692,11 +23599,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(39)] public HResult CheckCounter(CounterDescription* pDesc, CounterType* pType, uint* pActiveCounters, byte* szName, uint* pNameLength, byte* szUnits, uint* pUnitsLength, byte* szDescription, uint* pDescriptionLength) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[39]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); -#endif } /// @@ -27704,11 +23607,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(40)] public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, uint FeatureSupportDataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[40]))((ID3D11Device2*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D11Device2*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#endif } /// @@ -27716,11 +23615,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(41)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[41]))((ID3D11Device2*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D11Device2*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -27728,11 +23623,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(42)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[42]))((ID3D11Device2*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D11Device2*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -27740,11 +23631,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(43)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[43]))((ID3D11Device2*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D11Device2*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -27752,11 +23639,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(44)] public Graphics.Direct3D.FeatureLevel GetFeatureLevel() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[44]))((ID3D11Device2*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D11Device2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -27764,11 +23647,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(45)] public uint GetCreationFlags() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[45]))((ID3D11Device2*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D11Device2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -27776,11 +23655,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(46)] public HResult GetDeviceRemovedReason() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[46]))((ID3D11Device2*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D11Device2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -27788,11 +23663,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(47)] public void GetImmediateContext(ID3D11DeviceContext* ppImmediateContext) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[47]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ppImmediateContext); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ppImmediateContext); -#endif } /// @@ -27800,11 +23671,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(48)] public HResult SetExceptionMode(uint RaiseFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[48]))((ID3D11Device2*)Unsafe.AsPointer(ref this), RaiseFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D11Device2*)Unsafe.AsPointer(ref this), RaiseFlags); -#endif } /// @@ -27812,11 +23679,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(49)] public uint GetExceptionMode() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[49]))((ID3D11Device2*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D11Device2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -27824,11 +23687,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(50)] public void GetImmediateContext2(ID3D11DeviceContext2* ppImmediateContext) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[50]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ppImmediateContext); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ppImmediateContext); -#endif } /// @@ -27836,11 +23695,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(51)] public HResult CreateDeferredContext2(uint ContextFlags, ID3D11DeviceContext2** ppDeferredContext) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[51]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#endif } /// @@ -27848,11 +23703,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(52)] public void GetResourceTiling(ID3D11Resource* pTiledResource, uint* pNumTilesForEntireResource, PackedMipDescription* pPackedMipDesc, TileShape* pStandardTileShapeForNonPackedMips, uint* pNumSubresourceTilings, uint FirstSubresourceTilingToGet, SubresourceTiling* pSubresourceTilingsForNonPackedMips) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[52]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#endif } /// @@ -27860,16 +23711,9 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [VtblIndex(53)] public HResult CheckMultisampleQualityLevels1(Graphics.Dxgi.Common.Format Format, uint SampleCount, uint Flags, uint* pNumQualityLevels) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[53]))((ID3D11Device2*)Unsafe.AsPointer(ref this), Format, SampleCount, Flags, pNumQualityLevels); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID3D11Device2*)Unsafe.AsPointer(ref this), Format, SampleCount, Flags, pNumQualityLevels); -#endif } - public interface Interface : ID3D11Device1.Interface - { - } } /// @@ -27877,7 +23721,7 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface [Guid("51218251-1e33-4617-9ccb-4d3a4367e7bb")] [NativeTypeName("struct ID3D11Texture2D1 : ID3D11Texture2D")] [NativeInheritance("ID3D11Texture2D")] -public unsafe partial struct ID3D11Texture2D1 : ID3D11Texture2D1.Interface +public unsafe partial struct ID3D11Texture2D1 { public static ref readonly Guid IID_ID3D11Texture2D1 { @@ -27938,11 +23782,7 @@ public unsafe partial struct ID3D11Texture2D1 : ID3D11Texture2D1.Interface [VtblIndex(3)] public void GetDesc(Texture2DDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -27950,11 +23790,7 @@ public unsafe partial struct ID3D11Texture2D1 : ID3D11Texture2D1.Interface [VtblIndex(4)] public void GetType(ResourceDimension* pResourceDimension) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), pResourceDimension); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), pResourceDimension); -#endif } /// @@ -27962,11 +23798,7 @@ public unsafe partial struct ID3D11Texture2D1 : ID3D11Texture2D1.Interface [VtblIndex(5)] public void SetEvictionPriority(uint EvictionPriority) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), EvictionPriority); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), EvictionPriority); -#endif } /// @@ -27974,11 +23806,7 @@ public unsafe partial struct ID3D11Texture2D1 : ID3D11Texture2D1.Interface [VtblIndex(6)] public uint GetEvictionPriority() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -27986,11 +23814,7 @@ public unsafe partial struct ID3D11Texture2D1 : ID3D11Texture2D1.Interface [VtblIndex(7)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[7]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -27998,11 +23822,7 @@ public unsafe partial struct ID3D11Texture2D1 : ID3D11Texture2D1.Interface [VtblIndex(8)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -28010,11 +23830,7 @@ public unsafe partial struct ID3D11Texture2D1 : ID3D11Texture2D1.Interface [VtblIndex(9)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -28022,11 +23838,7 @@ public unsafe partial struct ID3D11Texture2D1 : ID3D11Texture2D1.Interface [VtblIndex(10)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -28034,16 +23846,9 @@ public unsafe partial struct ID3D11Texture2D1 : ID3D11Texture2D1.Interface [VtblIndex(11)] public void GetDesc1(Texture2DDescription1* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[11]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface : ID3D11Texture2D.Interface - { - } } /// @@ -28051,7 +23856,7 @@ public unsafe partial struct ID3D11Texture2D1 : ID3D11Texture2D1.Interface [Guid("0c711683-2853-4846-9bb0-f3e60639e46a")] [NativeTypeName("struct ID3D11Texture3D1 : ID3D11Texture3D")] [NativeInheritance("ID3D11Texture3D")] -public unsafe partial struct ID3D11Texture3D1 : ID3D11Texture3D1.Interface +public unsafe partial struct ID3D11Texture3D1 { public static ref readonly Guid IID_ID3D11Texture3D1 { @@ -28112,11 +23917,7 @@ public unsafe partial struct ID3D11Texture3D1 : ID3D11Texture3D1.Interface [VtblIndex(3)] public void GetDesc(Texture3DDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -28124,11 +23925,7 @@ public unsafe partial struct ID3D11Texture3D1 : ID3D11Texture3D1.Interface [VtblIndex(4)] public void GetType(ResourceDimension* pResourceDimension) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), pResourceDimension); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), pResourceDimension); -#endif } /// @@ -28136,11 +23933,7 @@ public unsafe partial struct ID3D11Texture3D1 : ID3D11Texture3D1.Interface [VtblIndex(5)] public void SetEvictionPriority(uint EvictionPriority) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), EvictionPriority); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), EvictionPriority); -#endif } /// @@ -28148,11 +23941,7 @@ public unsafe partial struct ID3D11Texture3D1 : ID3D11Texture3D1.Interface [VtblIndex(6)] public uint GetEvictionPriority() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -28160,11 +23949,7 @@ public unsafe partial struct ID3D11Texture3D1 : ID3D11Texture3D1.Interface [VtblIndex(7)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[7]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -28172,11 +23957,7 @@ public unsafe partial struct ID3D11Texture3D1 : ID3D11Texture3D1.Interface [VtblIndex(8)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -28184,11 +23965,7 @@ public unsafe partial struct ID3D11Texture3D1 : ID3D11Texture3D1.Interface [VtblIndex(9)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -28196,11 +23973,7 @@ public unsafe partial struct ID3D11Texture3D1 : ID3D11Texture3D1.Interface [VtblIndex(10)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -28208,16 +23981,9 @@ public unsafe partial struct ID3D11Texture3D1 : ID3D11Texture3D1.Interface [VtblIndex(11)] public void GetDesc1(Texture3DDescription1* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[11]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface : ID3D11Texture3D.Interface - { - } } /// @@ -28225,7 +23991,7 @@ public unsafe partial struct ID3D11Texture3D1 : ID3D11Texture3D1.Interface [Guid("6fbd02fb-209f-46c4-b059-2ed15586a6ac")] [NativeTypeName("struct ID3D11RasterizerState2 : ID3D11RasterizerState1")] [NativeInheritance("ID3D11RasterizerState1")] -public unsafe partial struct ID3D11RasterizerState2 : ID3D11RasterizerState2.Interface +public unsafe partial struct ID3D11RasterizerState2 { public static ref readonly Guid IID_ID3D11RasterizerState2 { @@ -28286,11 +24052,7 @@ public unsafe partial struct ID3D11RasterizerState2 : ID3D11RasterizerState2.Int [VtblIndex(3)] public void GetDesc1(RasterizerDescription1* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -28298,11 +24060,7 @@ public unsafe partial struct ID3D11RasterizerState2 : ID3D11RasterizerState2.Int [VtblIndex(4)] public void GetDesc(RasterizerDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -28310,11 +24068,7 @@ public unsafe partial struct ID3D11RasterizerState2 : ID3D11RasterizerState2.Int [VtblIndex(5)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -28322,11 +24076,7 @@ public unsafe partial struct ID3D11RasterizerState2 : ID3D11RasterizerState2.Int [VtblIndex(6)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -28334,11 +24084,7 @@ public unsafe partial struct ID3D11RasterizerState2 : ID3D11RasterizerState2.Int [VtblIndex(7)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -28346,11 +24092,7 @@ public unsafe partial struct ID3D11RasterizerState2 : ID3D11RasterizerState2.Int [VtblIndex(8)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -28358,16 +24100,9 @@ public unsafe partial struct ID3D11RasterizerState2 : ID3D11RasterizerState2.Int [VtblIndex(9)] public void GetDesc2(RasterizerDescription2* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[9]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface : ID3D11RasterizerState1.Interface - { - } } /// @@ -28375,7 +24110,7 @@ public unsafe partial struct ID3D11RasterizerState2 : ID3D11RasterizerState2.Int [Guid("91308b87-9040-411d-8c67-c39253ce3802")] [NativeTypeName("struct ID3D11ShaderResourceView1 : ID3D11ShaderResourceView")] [NativeInheritance("ID3D11ShaderResourceView")] -public unsafe partial struct ID3D11ShaderResourceView1 : ID3D11ShaderResourceView1.Interface +public unsafe partial struct ID3D11ShaderResourceView1 { public static ref readonly Guid IID_ID3D11ShaderResourceView1 { @@ -28436,11 +24171,7 @@ public unsafe partial struct ID3D11ShaderResourceView1 : ID3D11ShaderResourceVie [VtblIndex(3)] public void GetDesc(ShaderResourceViewDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -28448,11 +24179,7 @@ public unsafe partial struct ID3D11ShaderResourceView1 : ID3D11ShaderResourceVie [VtblIndex(4)] public void GetResource(ID3D11Resource* ppResource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), ppResource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), ppResource); -#endif } /// @@ -28460,11 +24187,7 @@ public unsafe partial struct ID3D11ShaderResourceView1 : ID3D11ShaderResourceVie [VtblIndex(5)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -28472,11 +24195,7 @@ public unsafe partial struct ID3D11ShaderResourceView1 : ID3D11ShaderResourceVie [VtblIndex(6)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -28484,11 +24203,7 @@ public unsafe partial struct ID3D11ShaderResourceView1 : ID3D11ShaderResourceVie [VtblIndex(7)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -28496,11 +24211,7 @@ public unsafe partial struct ID3D11ShaderResourceView1 : ID3D11ShaderResourceVie [VtblIndex(8)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -28508,16 +24219,9 @@ public unsafe partial struct ID3D11ShaderResourceView1 : ID3D11ShaderResourceVie [VtblIndex(9)] public void GetDesc1(ShaderResourceViewDescription1* pDesc1) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[9]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), pDesc1); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), pDesc1); -#endif } - public interface Interface : ID3D11ShaderResourceView.Interface - { - } } /// @@ -28525,7 +24229,7 @@ public unsafe partial struct ID3D11ShaderResourceView1 : ID3D11ShaderResourceVie [Guid("ffbe2e23-f011-418a-ac56-5ceed7c5b94b")] [NativeTypeName("struct ID3D11RenderTargetView1 : ID3D11RenderTargetView")] [NativeInheritance("ID3D11RenderTargetView")] -public unsafe partial struct ID3D11RenderTargetView1 : ID3D11RenderTargetView1.Interface +public unsafe partial struct ID3D11RenderTargetView1 { public static ref readonly Guid IID_ID3D11RenderTargetView1 { @@ -28586,11 +24290,7 @@ public unsafe partial struct ID3D11RenderTargetView1 : ID3D11RenderTargetView1.I [VtblIndex(3)] public void GetDesc(RenderTargetViewDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -28598,11 +24298,7 @@ public unsafe partial struct ID3D11RenderTargetView1 : ID3D11RenderTargetView1.I [VtblIndex(4)] public void GetResource(ID3D11Resource* ppResource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), ppResource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), ppResource); -#endif } /// @@ -28610,11 +24306,7 @@ public unsafe partial struct ID3D11RenderTargetView1 : ID3D11RenderTargetView1.I [VtblIndex(5)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -28622,11 +24314,7 @@ public unsafe partial struct ID3D11RenderTargetView1 : ID3D11RenderTargetView1.I [VtblIndex(6)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -28634,11 +24322,7 @@ public unsafe partial struct ID3D11RenderTargetView1 : ID3D11RenderTargetView1.I [VtblIndex(7)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -28646,11 +24330,7 @@ public unsafe partial struct ID3D11RenderTargetView1 : ID3D11RenderTargetView1.I [VtblIndex(8)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -28658,16 +24338,9 @@ public unsafe partial struct ID3D11RenderTargetView1 : ID3D11RenderTargetView1.I [VtblIndex(9)] public void GetDesc1(RenderTargetViewDescription1* pDesc1) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[9]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), pDesc1); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), pDesc1); -#endif } - public interface Interface : ID3D11RenderTargetView.Interface - { - } } /// @@ -28675,7 +24348,7 @@ public unsafe partial struct ID3D11RenderTargetView1 : ID3D11RenderTargetView1.I [Guid("7b3b6153-a886-4544-ab37-6537c8500403")] [NativeTypeName("struct ID3D11UnorderedAccessView1 : ID3D11UnorderedAccessView")] [NativeInheritance("ID3D11UnorderedAccessView")] -public unsafe partial struct ID3D11UnorderedAccessView1 : ID3D11UnorderedAccessView1.Interface +public unsafe partial struct ID3D11UnorderedAccessView1 { public static ref readonly Guid IID_ID3D11UnorderedAccessView1 { @@ -28736,11 +24409,7 @@ public unsafe partial struct ID3D11UnorderedAccessView1 : ID3D11UnorderedAccessV [VtblIndex(3)] public void GetDesc(UnorderedAccessViewDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -28748,11 +24417,7 @@ public unsafe partial struct ID3D11UnorderedAccessView1 : ID3D11UnorderedAccessV [VtblIndex(4)] public void GetResource(ID3D11Resource* ppResource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), ppResource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), ppResource); -#endif } /// @@ -28760,11 +24425,7 @@ public unsafe partial struct ID3D11UnorderedAccessView1 : ID3D11UnorderedAccessV [VtblIndex(5)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -28772,11 +24433,7 @@ public unsafe partial struct ID3D11UnorderedAccessView1 : ID3D11UnorderedAccessV [VtblIndex(6)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -28784,11 +24441,7 @@ public unsafe partial struct ID3D11UnorderedAccessView1 : ID3D11UnorderedAccessV [VtblIndex(7)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -28796,11 +24449,7 @@ public unsafe partial struct ID3D11UnorderedAccessView1 : ID3D11UnorderedAccessV [VtblIndex(8)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -28808,16 +24457,9 @@ public unsafe partial struct ID3D11UnorderedAccessView1 : ID3D11UnorderedAccessV [VtblIndex(9)] public void GetDesc1(UnorderedAccessViewDescription1* pDesc1) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[9]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), pDesc1); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), pDesc1); -#endif } - public interface Interface : ID3D11UnorderedAccessView.Interface - { - } } /// @@ -28825,7 +24467,7 @@ public unsafe partial struct ID3D11UnorderedAccessView1 : ID3D11UnorderedAccessV [Guid("631b4766-36dc-461d-8db6-c47e13e60916")] [NativeTypeName("struct ID3D11Query1 : ID3D11Query")] [NativeInheritance("ID3D11Query")] -public unsafe partial struct ID3D11Query1 : ID3D11Query1.Interface +public unsafe partial struct ID3D11Query1 { public static ref readonly Guid IID_ID3D11Query1 { @@ -28886,11 +24528,7 @@ public unsafe partial struct ID3D11Query1 : ID3D11Query1.Interface [VtblIndex(3)] public void GetDesc(QueryDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11Query1*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11Query1*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -28898,11 +24536,7 @@ public unsafe partial struct ID3D11Query1 : ID3D11Query1.Interface [VtblIndex(4)] public uint GetDataSize() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11Query1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11Query1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -28910,11 +24544,7 @@ public unsafe partial struct ID3D11Query1 : ID3D11Query1.Interface [VtblIndex(5)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D11Query1*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11Query1*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -28922,11 +24552,7 @@ public unsafe partial struct ID3D11Query1 : ID3D11Query1.Interface [VtblIndex(6)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11Query1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11Query1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -28934,11 +24560,7 @@ public unsafe partial struct ID3D11Query1 : ID3D11Query1.Interface [VtblIndex(7)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11Query1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11Query1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -28946,11 +24568,7 @@ public unsafe partial struct ID3D11Query1 : ID3D11Query1.Interface [VtblIndex(8)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11Query1*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11Query1*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -28958,16 +24576,9 @@ public unsafe partial struct ID3D11Query1 : ID3D11Query1.Interface [VtblIndex(9)] public void GetDesc1(QueryDescription1* pDesc1) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[9]))((ID3D11Query1*)Unsafe.AsPointer(ref this), pDesc1); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11Query1*)Unsafe.AsPointer(ref this), pDesc1); -#endif } - public interface Interface : ID3D11Query.Interface - { - } } /// @@ -28975,7 +24586,7 @@ public unsafe partial struct ID3D11Query1 : ID3D11Query1.Interface [Guid("b4e3c01d-e79e-4637-91b2-510e9f4c9b8f")] [NativeTypeName("struct ID3D11DeviceContext3 : ID3D11DeviceContext2")] [NativeInheritance("ID3D11DeviceContext2")] -public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interface +public unsafe partial struct ID3D11DeviceContext3 { public static ref readonly Guid IID_ID3D11DeviceContext3 { @@ -29036,11 +24647,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(3)] public HResult UpdateTileMappings(ID3D11Resource* pTiledResource, uint NumTiledResourceRegions, TiledResourceCoordinate* pTiledResourceRegionStartCoordinates, TileRegionSize* pTiledResourceRegionSizes, ID3D11Buffer* pTilePool, uint NumRanges, uint* pRangeFlags, uint* pTilePoolStartOffsets, uint* pRangeTileCounts, uint Flags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pTiledResource, NumTiledResourceRegions, pTiledResourceRegionStartCoordinates, pTiledResourceRegionSizes, pTilePool, NumRanges, pRangeFlags, pTilePoolStartOffsets, pRangeTileCounts, Flags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pTiledResource, NumTiledResourceRegions, pTiledResourceRegionStartCoordinates, pTiledResourceRegionSizes, pTilePool, NumRanges, pRangeFlags, pTilePoolStartOffsets, pRangeTileCounts, Flags); -#endif } /// @@ -29048,11 +24655,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(4)] public HResult CopyTileMappings(ID3D11Resource* pDestTiledResource, TiledResourceCoordinate* pDestRegionStartCoordinate, ID3D11Resource* pSourceTiledResource, TiledResourceCoordinate* pSourceRegionStartCoordinate, TileRegionSize* pTileRegionSize, uint Flags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pDestTiledResource, pDestRegionStartCoordinate, pSourceTiledResource, pSourceRegionStartCoordinate, pTileRegionSize, Flags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pDestTiledResource, pDestRegionStartCoordinate, pSourceTiledResource, pSourceRegionStartCoordinate, pTileRegionSize, Flags); -#endif } /// @@ -29060,11 +24663,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(5)] public void CopyTiles(ID3D11Resource* pTiledResource, TiledResourceCoordinate* pTileRegionStartCoordinate, TileRegionSize* pTileRegionSize, ID3D11Buffer* pBuffer, ulong BufferStartOffsetInBytes, uint Flags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pTiledResource, pTileRegionStartCoordinate, pTileRegionSize, pBuffer, BufferStartOffsetInBytes, Flags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pTiledResource, pTileRegionStartCoordinate, pTileRegionSize, pBuffer, BufferStartOffsetInBytes, Flags); -#endif } /// @@ -29072,11 +24671,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(6)] public void UpdateTiles(ID3D11Resource* pDestTiledResource, TiledResourceCoordinate* pDestTileRegionStartCoordinate, TileRegionSize* pDestTileRegionSize, void* pSourceTileData, uint Flags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[6]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pDestTiledResource, pDestTileRegionStartCoordinate, pDestTileRegionSize, pSourceTileData, Flags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pDestTiledResource, pDestTileRegionStartCoordinate, pDestTileRegionSize, pSourceTileData, Flags); -#endif } /// @@ -29084,11 +24679,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(7)] public HResult ResizeTilePool(ID3D11Buffer* pTilePool, ulong NewSizeInBytes) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pTilePool, NewSizeInBytes); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pTilePool, NewSizeInBytes); -#endif } /// @@ -29096,11 +24687,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(8)] public void TiledResourceBarrier(ID3D11DeviceChild* pTiledResourceOrViewAccessBeforeBarrier, ID3D11DeviceChild* pTiledResourceOrViewAccessAfterBarrier) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pTiledResourceOrViewAccessBeforeBarrier, pTiledResourceOrViewAccessAfterBarrier); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pTiledResourceOrViewAccessBeforeBarrier, pTiledResourceOrViewAccessAfterBarrier); -#endif } /// @@ -29108,11 +24695,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(9)] public Bool32 IsAnnotationEnabled() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -29120,11 +24703,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(10)] public void SetMarkerInt(char** pLabel, int Data) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[10]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pLabel, Data); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pLabel, Data); -#endif } /// @@ -29132,11 +24711,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(11)] public void BeginEventInt(char** pLabel, int Data) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[11]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pLabel, Data); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pLabel, Data); -#endif } /// @@ -29144,11 +24719,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(12)] public void EndEvent() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[12]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -29156,11 +24727,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(13)] public void CopySubresourceRegion1(ID3D11Resource* pDstResource, uint DstSubresource, uint DstX, uint DstY, uint DstZ, ID3D11Resource* pSrcResource, uint SrcSubresource, Box* pSrcBox, uint CopyFlags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[13]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, DstZ, pSrcResource, SrcSubresource, pSrcBox, CopyFlags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, DstZ, pSrcResource, SrcSubresource, pSrcBox, CopyFlags); -#endif } /// @@ -29168,11 +24735,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(14)] public void UpdateSubresource1(ID3D11Resource* pDstResource, uint DstSubresource, Box* pDstBox, void* pSrcData, uint SrcRowPitch, uint SrcDepthPitch, uint CopyFlags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[14]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch, CopyFlags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch, CopyFlags); -#endif } /// @@ -29180,11 +24743,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(15)] public void DiscardResource(ID3D11Resource* pResource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[15]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pResource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pResource); -#endif } /// @@ -29192,11 +24751,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(16)] public void DiscardView(ID3D11View* pResourceView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[16]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pResourceView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pResourceView); -#endif } /// @@ -29204,11 +24759,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(17)] public void VSSetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[17]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -29216,11 +24767,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(18)] public void HSSetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[18]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -29228,11 +24775,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(19)] public void DSSetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[19]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -29240,11 +24783,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(20)] public void GSSetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[20]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -29252,11 +24791,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(21)] public void PSSetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[21]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -29264,11 +24799,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(22)] public void CSSetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[22]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -29276,11 +24807,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(23)] public void VSGetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[23]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -29288,11 +24815,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(24)] public void HSGetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[24]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -29300,11 +24823,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(25)] public void DSGetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[25]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -29312,11 +24831,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(26)] public void GSGetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[26]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -29324,11 +24839,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(27)] public void PSGetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[27]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -29336,11 +24847,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(28)] public void CSGetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[28]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -29348,11 +24855,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(29)] public void SwapDeviceContextState(ID3DDeviceContextState* pState, ID3DDeviceContextState* ppPreviousState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[29]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pState, ppPreviousState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pState, ppPreviousState); -#endif } /// @@ -29360,11 +24863,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(30)] public void ClearView(ID3D11View* pView, float* Color, RawRect* pRect, uint NumRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[30]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pView, Color, pRect, NumRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pView, Color, pRect, NumRects); -#endif } /// @@ -29372,11 +24871,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(31)] public void DiscardView1(ID3D11View* pResourceView, RawRect* pRects, uint NumRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[31]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pResourceView, pRects, NumRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pResourceView, pRects, NumRects); -#endif } /// @@ -29384,11 +24879,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(32)] public void VSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[32]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -29396,11 +24887,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(33)] public void PSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[33]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -29408,11 +24895,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(34)] public void PSSetShader(ID3D11PixelShader* pPixelShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[34]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pPixelShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pPixelShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -29420,11 +24903,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(35)] public void PSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[35]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -29432,11 +24911,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(36)] public void VSSetShader(ID3D11VertexShader* pVertexShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[36]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pVertexShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pVertexShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -29444,11 +24919,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(37)] public void DrawIndexed(uint IndexCount, uint StartIndexLocation, int BaseVertexLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[37]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), IndexCount, StartIndexLocation, BaseVertexLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), IndexCount, StartIndexLocation, BaseVertexLocation); -#endif } /// @@ -29456,11 +24927,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(38)] public void Draw(uint VertexCount, uint StartVertexLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[38]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), VertexCount, StartVertexLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), VertexCount, StartVertexLocation); -#endif } /// @@ -29468,11 +24935,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(39)] public HResult Map(ID3D11Resource* pResource, uint Subresource, Map MapType, uint MapFlags, MappedSubresource* pMappedResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[39]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pResource, Subresource, MapType, MapFlags, pMappedResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pResource, Subresource, MapType, MapFlags, pMappedResource); -#endif } /// @@ -29480,11 +24943,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(40)] public void Unmap(ID3D11Resource* pResource, uint Subresource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[40]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pResource, Subresource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pResource, Subresource); -#endif } /// @@ -29492,11 +24951,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(41)] public void PSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[41]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -29504,11 +24959,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(42)] public void IASetInputLayout(ID3D11InputLayout* pInputLayout) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[42]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pInputLayout); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pInputLayout); -#endif } /// @@ -29516,11 +24967,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(43)] public void IASetVertexBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppVertexBuffers, uint* pStrides, uint* pOffsets) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[43]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppVertexBuffers, pStrides, pOffsets); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppVertexBuffers, pStrides, pOffsets); -#endif } /// @@ -29528,11 +24975,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(44)] public void IASetIndexBuffer(ID3D11Buffer* pIndexBuffer, Graphics.Dxgi.Common.Format Format, uint Offset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[44]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pIndexBuffer, Format, Offset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pIndexBuffer, Format, Offset); -#endif } /// @@ -29540,11 +24983,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(45)] public void DrawIndexedInstanced(uint IndexCountPerInstance, uint InstanceCount, uint StartIndexLocation, int BaseVertexLocation, uint StartInstanceLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[45]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), IndexCountPerInstance, InstanceCount, StartIndexLocation, BaseVertexLocation, StartInstanceLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), IndexCountPerInstance, InstanceCount, StartIndexLocation, BaseVertexLocation, StartInstanceLocation); -#endif } /// @@ -29552,11 +24991,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(46)] public void DrawInstanced(uint VertexCountPerInstance, uint InstanceCount, uint StartVertexLocation, uint StartInstanceLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[46]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), VertexCountPerInstance, InstanceCount, StartVertexLocation, StartInstanceLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), VertexCountPerInstance, InstanceCount, StartVertexLocation, StartInstanceLocation); -#endif } /// @@ -29564,11 +24999,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(47)] public void GSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[47]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -29576,11 +25007,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(48)] public void GSSetShader(ID3D11GeometryShader* pShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[48]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -29588,11 +25015,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(49)] public void IASetPrimitiveTopology(Graphics.Direct3D.PrimitiveTopology Topology) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[49]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), Topology); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), Topology); -#endif } /// @@ -29600,11 +25023,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(50)] public void VSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[50]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -29612,11 +25031,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(51)] public void VSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[51]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -29624,11 +25039,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(52)] public void Begin(ID3D11Asynchronous* pAsync) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[52]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pAsync); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pAsync); -#endif } /// @@ -29636,11 +25047,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(53)] public void End(ID3D11Asynchronous* pAsync) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[53]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pAsync); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pAsync); -#endif } /// @@ -29648,11 +25055,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(54)] public HResult GetData(ID3D11Asynchronous* pAsync, void* pData, uint DataSize, uint GetDataFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[54]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pAsync, pData, DataSize, GetDataFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pAsync, pData, DataSize, GetDataFlags); -#endif } /// @@ -29660,11 +25063,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(55)] public void SetPredication(ID3D11Predicate* pPredicate, Bool32 PredicateValue) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[55]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); -#endif } /// @@ -29672,11 +25071,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(56)] public void GSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[56]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -29684,11 +25079,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(57)] public void GSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[57]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -29696,11 +25087,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(58)] public void OMSetRenderTargets(uint NumViews, ID3D11RenderTargetView* ppRenderTargetViews, ID3D11DepthStencilView* pDepthStencilView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[58]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), NumViews, ppRenderTargetViews, pDepthStencilView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), NumViews, ppRenderTargetViews, pDepthStencilView); -#endif } /// @@ -29708,11 +25095,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(59)] public void OMSetRenderTargetsAndUnorderedAccessViews(uint NumRTVs, ID3D11RenderTargetView* ppRenderTargetViews, ID3D11DepthStencilView* pDepthStencilView, uint UAVStartSlot, uint NumUAVs, ID3D11UnorderedAccessView* ppUnorderedAccessViews, uint* pUAVInitialCounts) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[59]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), NumRTVs, ppRenderTargetViews, pDepthStencilView, UAVStartSlot, NumUAVs, ppUnorderedAccessViews, pUAVInitialCounts); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), NumRTVs, ppRenderTargetViews, pDepthStencilView, UAVStartSlot, NumUAVs, ppUnorderedAccessViews, pUAVInitialCounts); -#endif } /// @@ -29720,11 +25103,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(60)] public void OMSetBlendState(ID3D11BlendState* pBlendState, float* BlendFactor, uint SampleMask) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[60]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pBlendState, BlendFactor, SampleMask); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pBlendState, BlendFactor, SampleMask); -#endif } /// @@ -29732,11 +25111,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(61)] public void OMSetDepthStencilState(ID3D11DepthStencilState* pDepthStencilState, uint StencilRef) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[61]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pDepthStencilState, StencilRef); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pDepthStencilState, StencilRef); -#endif } /// @@ -29744,11 +25119,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(62)] public void SOSetTargets(uint NumBuffers, ID3D11Buffer* ppSOTargets, uint* pOffsets) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[62]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), NumBuffers, ppSOTargets, pOffsets); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), NumBuffers, ppSOTargets, pOffsets); -#endif } /// @@ -29756,11 +25127,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(63)] public void DrawAuto() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[63]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -29768,11 +25135,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(64)] public void DrawIndexedInstancedIndirect(ID3D11Buffer* pBufferForArgs, uint AlignedByteOffsetForArgs) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[64]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#endif } /// @@ -29780,11 +25143,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(65)] public void DrawInstancedIndirect(ID3D11Buffer* pBufferForArgs, uint AlignedByteOffsetForArgs) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[65]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#endif } /// @@ -29792,11 +25151,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(66)] public void Dispatch(uint ThreadGroupCountX, uint ThreadGroupCountY, uint ThreadGroupCountZ) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[66]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[66]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ); -#endif } /// @@ -29804,11 +25159,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(67)] public void DispatchIndirect(ID3D11Buffer* pBufferForArgs, uint AlignedByteOffsetForArgs) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[67]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#endif } /// @@ -29816,11 +25167,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(68)] public void RSSetState(ID3D11RasterizerState* pRasterizerState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[68]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pRasterizerState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[68]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pRasterizerState); -#endif } /// @@ -29828,11 +25175,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(69)] public void RSSetViewports(uint NumViewports, Viewport* pViewports) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[69]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), NumViewports, pViewports); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[69]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), NumViewports, pViewports); -#endif } /// @@ -29840,11 +25183,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(70)] public void RSSetScissorRects(uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[70]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), NumRects, pRects); -#endif } /// @@ -29852,11 +25191,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(71)] public void CopySubresourceRegion(ID3D11Resource* pDstResource, uint DstSubresource, uint DstX, uint DstY, uint DstZ, ID3D11Resource* pSrcResource, uint SrcSubresource, Box* pSrcBox) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[71]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, DstZ, pSrcResource, SrcSubresource, pSrcBox); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, DstZ, pSrcResource, SrcSubresource, pSrcBox); -#endif } /// @@ -29864,11 +25199,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(72)] public void CopyResource(ID3D11Resource* pDstResource, ID3D11Resource* pSrcResource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[72]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pDstResource, pSrcResource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pDstResource, pSrcResource); -#endif } /// @@ -29876,11 +25207,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(73)] public void UpdateSubresource(ID3D11Resource* pDstResource, uint DstSubresource, Box* pDstBox, void* pSrcData, uint SrcRowPitch, uint SrcDepthPitch) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[73]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[73]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch); -#endif } /// @@ -29888,11 +25215,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(74)] public void CopyStructureCount(ID3D11Buffer* pDstBuffer, uint DstAlignedByteOffset, ID3D11UnorderedAccessView* pSrcView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[74]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pDstBuffer, DstAlignedByteOffset, pSrcView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[74]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pDstBuffer, DstAlignedByteOffset, pSrcView); -#endif } /// @@ -29900,11 +25223,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(75)] public void ClearRenderTargetView(ID3D11RenderTargetView* pRenderTargetView, float* ColorRGBA) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[75]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pRenderTargetView, ColorRGBA); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[75]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pRenderTargetView, ColorRGBA); -#endif } /// @@ -29912,11 +25231,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(76)] public void ClearUnorderedAccessViewUint(ID3D11UnorderedAccessView* pUnorderedAccessView, uint* Values) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[76]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[76]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); -#endif } /// @@ -29924,11 +25239,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(77)] public void ClearUnorderedAccessViewFloat(ID3D11UnorderedAccessView* pUnorderedAccessView, float* Values) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[77]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[77]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); -#endif } /// @@ -29936,11 +25247,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(78)] public void ClearDepthStencilView(ID3D11DepthStencilView* pDepthStencilView, uint ClearFlags, float Depth, byte Stencil) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[78]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pDepthStencilView, ClearFlags, Depth, Stencil); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[78]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pDepthStencilView, ClearFlags, Depth, Stencil); -#endif } /// @@ -29948,11 +25255,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(79)] public void GenerateMips(ID3D11ShaderResourceView* pShaderResourceView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[79]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pShaderResourceView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[79]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pShaderResourceView); -#endif } /// @@ -29960,11 +25263,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(80)] public void SetResourceMinLOD(ID3D11Resource* pResource, float MinLOD) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[80]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pResource, MinLOD); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[80]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pResource, MinLOD); -#endif } /// @@ -29972,11 +25271,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(81)] public float GetResourceMinLOD(ID3D11Resource* pResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[81]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[81]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pResource); -#endif } /// @@ -29984,11 +25279,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(82)] public void ResolveSubresource(ID3D11Resource* pDstResource, uint DstSubresource, ID3D11Resource* pSrcResource, uint SrcSubresource, Graphics.Dxgi.Common.Format Format) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[82]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pSrcResource, SrcSubresource, Format); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[82]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pSrcResource, SrcSubresource, Format); -#endif } /// @@ -29996,11 +25287,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(83)] public void ExecuteCommandList(ID3D11CommandList* pCommandList, Bool32 RestoreContextState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[83]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[83]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); -#endif } /// @@ -30008,11 +25295,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(84)] public void HSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[84]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[84]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -30020,11 +25303,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(85)] public void HSSetShader(ID3D11HullShader* pHullShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[85]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pHullShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[85]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pHullShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -30032,11 +25311,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(86)] public void HSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[86]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[86]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -30044,11 +25319,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(87)] public void HSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[87]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[87]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -30056,11 +25327,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(88)] public void DSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[88]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[88]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -30068,11 +25335,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(89)] public void DSSetShader(ID3D11DomainShader* pDomainShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[89]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pDomainShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[89]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pDomainShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -30080,11 +25343,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(90)] public void DSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[90]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[90]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -30092,11 +25351,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(91)] public void DSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[91]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[91]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -30104,11 +25359,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(92)] public void CSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[92]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[92]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -30116,11 +25367,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(93)] public void CSSetUnorderedAccessViews(uint StartSlot, uint NumUAVs, ID3D11UnorderedAccessView* ppUnorderedAccessViews, uint* pUAVInitialCounts) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[93]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumUAVs, ppUnorderedAccessViews, pUAVInitialCounts); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[93]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumUAVs, ppUnorderedAccessViews, pUAVInitialCounts); -#endif } /// @@ -30128,11 +25375,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(94)] public void CSSetShader(ID3D11ComputeShader* pComputeShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[94]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pComputeShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[94]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pComputeShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -30140,11 +25383,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(95)] public void CSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[95]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[95]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -30152,11 +25391,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(96)] public void CSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[96]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[96]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -30164,11 +25399,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(97)] public void VSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[97]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[97]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -30176,11 +25407,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(98)] public void PSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[98]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[98]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -30188,11 +25415,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(99)] public void PSGetShader(ID3D11PixelShader* ppPixelShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[99]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ppPixelShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[99]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ppPixelShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -30200,11 +25423,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(100)] public void PSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[100]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[100]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -30212,11 +25431,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(101)] public void VSGetShader(ID3D11VertexShader* ppVertexShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[101]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ppVertexShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[101]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ppVertexShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -30224,11 +25439,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(102)] public void PSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[102]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[102]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -30236,11 +25447,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(103)] public void IAGetInputLayout(ID3D11InputLayout* ppInputLayout) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[103]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ppInputLayout); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[103]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ppInputLayout); -#endif } /// @@ -30248,11 +25455,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(104)] public void IAGetVertexBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppVertexBuffers, uint* pStrides, uint* pOffsets) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[104]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppVertexBuffers, pStrides, pOffsets); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[104]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppVertexBuffers, pStrides, pOffsets); -#endif } /// @@ -30260,11 +25463,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(105)] public void IAGetIndexBuffer(ID3D11Buffer* pIndexBuffer, Graphics.Dxgi.Common.Format* Format, uint* Offset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[105]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pIndexBuffer, Format, Offset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[105]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pIndexBuffer, Format, Offset); -#endif } /// @@ -30272,11 +25471,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(106)] public void GSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[106]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[106]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -30284,11 +25479,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(107)] public void GSGetShader(ID3D11GeometryShader* ppGeometryShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[107]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ppGeometryShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[107]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ppGeometryShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -30296,11 +25487,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(108)] public void IAGetPrimitiveTopology(Graphics.Direct3D.PrimitiveTopology* pTopology) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[108]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pTopology); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[108]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pTopology); -#endif } /// @@ -30308,11 +25495,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(109)] public void VSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[109]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[109]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -30320,11 +25503,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(110)] public void VSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[110]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[110]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -30332,11 +25511,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(111)] public void GetPredication(ID3D11Predicate* ppPredicate, Bool32* pPredicateValue) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[111]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ppPredicate, pPredicateValue); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[111]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ppPredicate, pPredicateValue); -#endif } /// @@ -30344,11 +25519,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(112)] public void GSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[112]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[112]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -30356,11 +25527,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(113)] public void GSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[113]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[113]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -30368,11 +25535,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(114)] public void OMGetRenderTargets(uint NumViews, ID3D11RenderTargetView* ppRenderTargetViews, ID3D11DepthStencilView* ppDepthStencilView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[114]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), NumViews, ppRenderTargetViews, ppDepthStencilView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[114]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), NumViews, ppRenderTargetViews, ppDepthStencilView); -#endif } /// @@ -30380,11 +25543,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(115)] public void OMGetRenderTargetsAndUnorderedAccessViews(uint NumRTVs, ID3D11RenderTargetView* ppRenderTargetViews, ID3D11DepthStencilView* ppDepthStencilView, uint UAVStartSlot, uint NumUAVs, ID3D11UnorderedAccessView* ppUnorderedAccessViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[115]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), NumRTVs, ppRenderTargetViews, ppDepthStencilView, UAVStartSlot, NumUAVs, ppUnorderedAccessViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[115]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), NumRTVs, ppRenderTargetViews, ppDepthStencilView, UAVStartSlot, NumUAVs, ppUnorderedAccessViews); -#endif } /// @@ -30392,11 +25551,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(116)] public void OMGetBlendState(ID3D11BlendState* ppBlendState, float* BlendFactor, uint* pSampleMask) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[116]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ppBlendState, BlendFactor, pSampleMask); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[116]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ppBlendState, BlendFactor, pSampleMask); -#endif } /// @@ -30404,11 +25559,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(117)] public void OMGetDepthStencilState(ID3D11DepthStencilState* ppDepthStencilState, uint* pStencilRef) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[117]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ppDepthStencilState, pStencilRef); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[117]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ppDepthStencilState, pStencilRef); -#endif } /// @@ -30416,11 +25567,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(118)] public void SOGetTargets(uint NumBuffers, ID3D11Buffer* ppSOTargets) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[118]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), NumBuffers, ppSOTargets); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[118]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), NumBuffers, ppSOTargets); -#endif } /// @@ -30428,11 +25575,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(119)] public void RSGetState(ID3D11RasterizerState* ppRasterizerState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[119]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ppRasterizerState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[119]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ppRasterizerState); -#endif } /// @@ -30440,11 +25583,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(120)] public void RSGetViewports(uint* pNumViewports, Viewport* pViewports) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[120]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pNumViewports, pViewports); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[120]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pNumViewports, pViewports); -#endif } /// @@ -30452,11 +25591,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(121)] public void RSGetScissorRects(uint* pNumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[121]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pNumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[121]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pNumRects, pRects); -#endif } /// @@ -30464,11 +25599,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(122)] public void HSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[122]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[122]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -30476,11 +25607,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(123)] public void HSGetShader(ID3D11HullShader* ppHullShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[123]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ppHullShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[123]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ppHullShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -30488,11 +25615,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(124)] public void HSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[124]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[124]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -30500,11 +25623,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(125)] public void HSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[125]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[125]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -30512,11 +25631,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(126)] public void DSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[126]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[126]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -30524,11 +25639,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(127)] public void DSGetShader(ID3D11DomainShader* ppDomainShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[127]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ppDomainShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[127]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ppDomainShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -30536,11 +25647,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(128)] public void DSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[128]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[128]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -30548,11 +25655,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(129)] public void DSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[129]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[129]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -30560,11 +25663,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(130)] public void CSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[130]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[130]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -30572,11 +25671,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(131)] public void CSGetUnorderedAccessViews(uint StartSlot, uint NumUAVs, ID3D11UnorderedAccessView* ppUnorderedAccessViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[131]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumUAVs, ppUnorderedAccessViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[131]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumUAVs, ppUnorderedAccessViews); -#endif } /// @@ -30584,11 +25679,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(132)] public void CSGetShader(ID3D11ComputeShader* ppComputeShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[132]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ppComputeShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[132]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ppComputeShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -30596,11 +25687,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(133)] public void CSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[133]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[133]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -30608,11 +25695,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(134)] public void CSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[134]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[134]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -30620,11 +25703,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(135)] public void ClearState() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[135]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[135]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -30632,11 +25711,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(136)] public void Flush() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[136]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[136]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -30644,11 +25719,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(137)] public new Graphics.Direct3D11.DeviceContextType GetType() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[137]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[137]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -30656,11 +25727,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(138)] public uint GetContextFlags() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[138]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[138]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -30668,11 +25735,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(139)] public HResult FinishCommandList(Bool32 RestoreDeferredContextState, ID3D11CommandList** ppCommandList) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[139]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[139]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); -#endif } /// @@ -30680,11 +25743,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(140)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[140]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[140]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -30692,11 +25751,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(141)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[141]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[141]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -30704,11 +25759,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(142)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[142]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[142]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -30716,11 +25767,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(143)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[143]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[143]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -30728,11 +25775,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(144)] public void Flush1(ContextType ContextType, IntPtr hEvent) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[144]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ContextType, hEvent); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[144]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ContextType, hEvent); -#endif } /// @@ -30740,11 +25783,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(145)] public void SetHardwareProtectionState(Bool32 HwProtectionEnable) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[145]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), HwProtectionEnable); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[145]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), HwProtectionEnable); -#endif } /// @@ -30752,16 +25791,9 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [VtblIndex(146)] public void GetHardwareProtectionState(Bool32* pHwProtectionEnable) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[146]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pHwProtectionEnable); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[146]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pHwProtectionEnable); -#endif } - public interface Interface : ID3D11DeviceContext2.Interface - { - } } /// @@ -30769,7 +25801,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa [Guid("affde9d1-1df7-4bb7-8a34-0f46251dab80")] [NativeTypeName("struct ID3D11Fence : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11Fence : ID3D11Fence.Interface +public unsafe partial struct ID3D11Fence { public static ref readonly Guid IID_ID3D11Fence { @@ -30830,11 +25862,7 @@ public unsafe partial struct ID3D11Fence : ID3D11Fence.Interface [VtblIndex(3)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11Fence*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11Fence*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -30842,11 +25870,7 @@ public unsafe partial struct ID3D11Fence : ID3D11Fence.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11Fence*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11Fence*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -30854,11 +25878,7 @@ public unsafe partial struct ID3D11Fence : ID3D11Fence.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11Fence*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11Fence*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -30866,11 +25886,7 @@ public unsafe partial struct ID3D11Fence : ID3D11Fence.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11Fence*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11Fence*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -30878,11 +25894,7 @@ public unsafe partial struct ID3D11Fence : ID3D11Fence.Interface [VtblIndex(7)] public HResult CreateSharedHandle(Security.SECURITY_ATTRIBUTES* pAttributes, uint dwAccess, char** lpName, IntPtr* pHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11Fence*)Unsafe.AsPointer(ref this), pAttributes, dwAccess, lpName, pHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11Fence*)Unsafe.AsPointer(ref this), pAttributes, dwAccess, lpName, pHandle); -#endif } /// @@ -30890,11 +25902,7 @@ public unsafe partial struct ID3D11Fence : ID3D11Fence.Interface [VtblIndex(8)] public ulong GetCompletedValue() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11Fence*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11Fence*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -30902,16 +25910,9 @@ public unsafe partial struct ID3D11Fence : ID3D11Fence.Interface [VtblIndex(9)] public HResult SetEventOnCompletion(ulong Value, IntPtr hEvent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11Fence*)Unsafe.AsPointer(ref this), Value, hEvent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11Fence*)Unsafe.AsPointer(ref this), Value, hEvent); -#endif } - public interface Interface : ID3D11DeviceChild.Interface - { - } } /// @@ -30919,7 +25920,7 @@ public unsafe partial struct ID3D11Fence : ID3D11Fence.Interface [Guid("917600da-f58c-4c33-98d8-3e15b390fa24")] [NativeTypeName("struct ID3D11DeviceContext4 : ID3D11DeviceContext3")] [NativeInheritance("ID3D11DeviceContext3")] -public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interface +public unsafe partial struct ID3D11DeviceContext4 { public static ref readonly Guid IID_ID3D11DeviceContext4 { @@ -30980,11 +25981,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(3)] public void Flush1(ContextType ContextType, IntPtr hEvent) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ContextType, hEvent); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ContextType, hEvent); -#endif } /// @@ -30992,11 +25989,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(4)] public void SetHardwareProtectionState(Bool32 HwProtectionEnable) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), HwProtectionEnable); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), HwProtectionEnable); -#endif } /// @@ -31004,11 +25997,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(5)] public void GetHardwareProtectionState(Bool32* pHwProtectionEnable) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pHwProtectionEnable); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pHwProtectionEnable); -#endif } /// @@ -31016,11 +26005,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(6)] public HResult UpdateTileMappings(ID3D11Resource* pTiledResource, uint NumTiledResourceRegions, TiledResourceCoordinate* pTiledResourceRegionStartCoordinates, TileRegionSize* pTiledResourceRegionSizes, ID3D11Buffer* pTilePool, uint NumRanges, uint* pRangeFlags, uint* pTilePoolStartOffsets, uint* pRangeTileCounts, uint Flags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pTiledResource, NumTiledResourceRegions, pTiledResourceRegionStartCoordinates, pTiledResourceRegionSizes, pTilePool, NumRanges, pRangeFlags, pTilePoolStartOffsets, pRangeTileCounts, Flags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pTiledResource, NumTiledResourceRegions, pTiledResourceRegionStartCoordinates, pTiledResourceRegionSizes, pTilePool, NumRanges, pRangeFlags, pTilePoolStartOffsets, pRangeTileCounts, Flags); -#endif } /// @@ -31028,11 +26013,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(7)] public HResult CopyTileMappings(ID3D11Resource* pDestTiledResource, TiledResourceCoordinate* pDestRegionStartCoordinate, ID3D11Resource* pSourceTiledResource, TiledResourceCoordinate* pSourceRegionStartCoordinate, TileRegionSize* pTileRegionSize, uint Flags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pDestTiledResource, pDestRegionStartCoordinate, pSourceTiledResource, pSourceRegionStartCoordinate, pTileRegionSize, Flags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pDestTiledResource, pDestRegionStartCoordinate, pSourceTiledResource, pSourceRegionStartCoordinate, pTileRegionSize, Flags); -#endif } /// @@ -31040,11 +26021,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(8)] public void CopyTiles(ID3D11Resource* pTiledResource, TiledResourceCoordinate* pTileRegionStartCoordinate, TileRegionSize* pTileRegionSize, ID3D11Buffer* pBuffer, ulong BufferStartOffsetInBytes, uint Flags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pTiledResource, pTileRegionStartCoordinate, pTileRegionSize, pBuffer, BufferStartOffsetInBytes, Flags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pTiledResource, pTileRegionStartCoordinate, pTileRegionSize, pBuffer, BufferStartOffsetInBytes, Flags); -#endif } /// @@ -31052,11 +26029,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(9)] public void UpdateTiles(ID3D11Resource* pDestTiledResource, TiledResourceCoordinate* pDestTileRegionStartCoordinate, TileRegionSize* pDestTileRegionSize, void* pSourceTileData, uint Flags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[9]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pDestTiledResource, pDestTileRegionStartCoordinate, pDestTileRegionSize, pSourceTileData, Flags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pDestTiledResource, pDestTileRegionStartCoordinate, pDestTileRegionSize, pSourceTileData, Flags); -#endif } /// @@ -31064,11 +26037,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(10)] public HResult ResizeTilePool(ID3D11Buffer* pTilePool, ulong NewSizeInBytes) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pTilePool, NewSizeInBytes); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pTilePool, NewSizeInBytes); -#endif } /// @@ -31076,11 +26045,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(11)] public void TiledResourceBarrier(ID3D11DeviceChild* pTiledResourceOrViewAccessBeforeBarrier, ID3D11DeviceChild* pTiledResourceOrViewAccessAfterBarrier) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[11]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pTiledResourceOrViewAccessBeforeBarrier, pTiledResourceOrViewAccessAfterBarrier); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pTiledResourceOrViewAccessBeforeBarrier, pTiledResourceOrViewAccessAfterBarrier); -#endif } /// @@ -31088,11 +26053,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(12)] public Bool32 IsAnnotationEnabled() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -31100,11 +26061,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(13)] public void SetMarkerInt(char** pLabel, int Data) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[13]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pLabel, Data); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pLabel, Data); -#endif } /// @@ -31112,11 +26069,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(14)] public void BeginEventInt(char** pLabel, int Data) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[14]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pLabel, Data); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pLabel, Data); -#endif } /// @@ -31124,11 +26077,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(15)] public void EndEvent() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[15]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -31136,11 +26085,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(16)] public void CopySubresourceRegion1(ID3D11Resource* pDstResource, uint DstSubresource, uint DstX, uint DstY, uint DstZ, ID3D11Resource* pSrcResource, uint SrcSubresource, Box* pSrcBox, uint CopyFlags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[16]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, DstZ, pSrcResource, SrcSubresource, pSrcBox, CopyFlags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, DstZ, pSrcResource, SrcSubresource, pSrcBox, CopyFlags); -#endif } /// @@ -31148,11 +26093,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(17)] public void UpdateSubresource1(ID3D11Resource* pDstResource, uint DstSubresource, Box* pDstBox, void* pSrcData, uint SrcRowPitch, uint SrcDepthPitch, uint CopyFlags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[17]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch, CopyFlags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch, CopyFlags); -#endif } /// @@ -31160,11 +26101,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(18)] public void DiscardResource(ID3D11Resource* pResource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[18]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pResource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pResource); -#endif } /// @@ -31172,11 +26109,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(19)] public void DiscardView(ID3D11View* pResourceView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[19]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pResourceView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pResourceView); -#endif } /// @@ -31184,11 +26117,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(20)] public void VSSetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[20]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -31196,11 +26125,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(21)] public void HSSetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[21]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -31208,11 +26133,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(22)] public void DSSetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[22]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -31220,11 +26141,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(23)] public void GSSetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[23]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -31232,11 +26149,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(24)] public void PSSetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[24]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -31244,11 +26157,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(25)] public void CSSetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[25]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -31256,11 +26165,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(26)] public void VSGetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[26]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -31268,11 +26173,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(27)] public void HSGetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[27]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -31280,11 +26181,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(28)] public void DSGetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[28]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -31292,11 +26189,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(29)] public void GSGetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[29]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -31304,11 +26197,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(30)] public void PSGetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[30]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -31316,11 +26205,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(31)] public void CSGetConstantBuffers1(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers, uint* pFirstConstant, uint* pNumConstants) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[31]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers, pFirstConstant, pNumConstants); -#endif } /// @@ -31328,11 +26213,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(32)] public void SwapDeviceContextState(ID3DDeviceContextState* pState, ID3DDeviceContextState* ppPreviousState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[32]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pState, ppPreviousState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pState, ppPreviousState); -#endif } /// @@ -31340,11 +26221,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(33)] public void ClearView(ID3D11View* pView, float* Color, RawRect* pRect, uint NumRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[33]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pView, Color, pRect, NumRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pView, Color, pRect, NumRects); -#endif } /// @@ -31352,11 +26229,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(34)] public void DiscardView1(ID3D11View* pResourceView, RawRect* pRects, uint NumRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[34]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pResourceView, pRects, NumRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pResourceView, pRects, NumRects); -#endif } /// @@ -31364,11 +26237,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(35)] public void VSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[35]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -31376,11 +26245,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(36)] public void PSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[36]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -31388,11 +26253,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(37)] public void PSSetShader(ID3D11PixelShader* pPixelShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[37]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pPixelShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pPixelShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -31400,11 +26261,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(38)] public void PSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[38]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -31412,11 +26269,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(39)] public void VSSetShader(ID3D11VertexShader* pVertexShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[39]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pVertexShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pVertexShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -31424,11 +26277,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(40)] public void DrawIndexed(uint IndexCount, uint StartIndexLocation, int BaseVertexLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[40]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), IndexCount, StartIndexLocation, BaseVertexLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), IndexCount, StartIndexLocation, BaseVertexLocation); -#endif } /// @@ -31436,11 +26285,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(41)] public void Draw(uint VertexCount, uint StartVertexLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[41]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), VertexCount, StartVertexLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), VertexCount, StartVertexLocation); -#endif } /// @@ -31448,11 +26293,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(42)] public HResult Map(ID3D11Resource* pResource, uint Subresource, Map MapType, uint MapFlags, MappedSubresource* pMappedResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[42]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pResource, Subresource, MapType, MapFlags, pMappedResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pResource, Subresource, MapType, MapFlags, pMappedResource); -#endif } /// @@ -31460,11 +26301,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(43)] public void Unmap(ID3D11Resource* pResource, uint Subresource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[43]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pResource, Subresource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pResource, Subresource); -#endif } /// @@ -31472,11 +26309,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(44)] public void PSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[44]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -31484,11 +26317,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(45)] public void IASetInputLayout(ID3D11InputLayout* pInputLayout) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[45]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pInputLayout); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pInputLayout); -#endif } /// @@ -31496,11 +26325,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(46)] public void IASetVertexBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppVertexBuffers, uint* pStrides, uint* pOffsets) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[46]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppVertexBuffers, pStrides, pOffsets); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppVertexBuffers, pStrides, pOffsets); -#endif } /// @@ -31508,11 +26333,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(47)] public void IASetIndexBuffer(ID3D11Buffer* pIndexBuffer, Graphics.Dxgi.Common.Format Format, uint Offset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[47]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pIndexBuffer, Format, Offset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pIndexBuffer, Format, Offset); -#endif } /// @@ -31520,11 +26341,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(48)] public void DrawIndexedInstanced(uint IndexCountPerInstance, uint InstanceCount, uint StartIndexLocation, int BaseVertexLocation, uint StartInstanceLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[48]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), IndexCountPerInstance, InstanceCount, StartIndexLocation, BaseVertexLocation, StartInstanceLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), IndexCountPerInstance, InstanceCount, StartIndexLocation, BaseVertexLocation, StartInstanceLocation); -#endif } /// @@ -31532,11 +26349,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(49)] public void DrawInstanced(uint VertexCountPerInstance, uint InstanceCount, uint StartVertexLocation, uint StartInstanceLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[49]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), VertexCountPerInstance, InstanceCount, StartVertexLocation, StartInstanceLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), VertexCountPerInstance, InstanceCount, StartVertexLocation, StartInstanceLocation); -#endif } /// @@ -31544,11 +26357,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(50)] public void GSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[50]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -31556,11 +26365,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(51)] public void GSSetShader(ID3D11GeometryShader* pShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[51]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -31568,11 +26373,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(52)] public void IASetPrimitiveTopology(Graphics.Direct3D.PrimitiveTopology Topology) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[52]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), Topology); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), Topology); -#endif } /// @@ -31580,11 +26381,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(53)] public void VSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[53]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -31592,11 +26389,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(54)] public void VSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[54]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -31604,11 +26397,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(55)] public void Begin(ID3D11Asynchronous* pAsync) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[55]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pAsync); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pAsync); -#endif } /// @@ -31616,11 +26405,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(56)] public void End(ID3D11Asynchronous* pAsync) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[56]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pAsync); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pAsync); -#endif } /// @@ -31628,11 +26413,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(57)] public HResult GetData(ID3D11Asynchronous* pAsync, void* pData, uint DataSize, uint GetDataFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[57]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pAsync, pData, DataSize, GetDataFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pAsync, pData, DataSize, GetDataFlags); -#endif } /// @@ -31640,11 +26421,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(58)] public void SetPredication(ID3D11Predicate* pPredicate, Bool32 PredicateValue) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[58]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); -#endif } /// @@ -31652,11 +26429,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(59)] public void GSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[59]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -31664,11 +26437,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(60)] public void GSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[60]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -31676,11 +26445,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(61)] public void OMSetRenderTargets(uint NumViews, ID3D11RenderTargetView* ppRenderTargetViews, ID3D11DepthStencilView* pDepthStencilView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[61]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), NumViews, ppRenderTargetViews, pDepthStencilView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), NumViews, ppRenderTargetViews, pDepthStencilView); -#endif } /// @@ -31688,11 +26453,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(62)] public void OMSetRenderTargetsAndUnorderedAccessViews(uint NumRTVs, ID3D11RenderTargetView* ppRenderTargetViews, ID3D11DepthStencilView* pDepthStencilView, uint UAVStartSlot, uint NumUAVs, ID3D11UnorderedAccessView* ppUnorderedAccessViews, uint* pUAVInitialCounts) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[62]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), NumRTVs, ppRenderTargetViews, pDepthStencilView, UAVStartSlot, NumUAVs, ppUnorderedAccessViews, pUAVInitialCounts); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), NumRTVs, ppRenderTargetViews, pDepthStencilView, UAVStartSlot, NumUAVs, ppUnorderedAccessViews, pUAVInitialCounts); -#endif } /// @@ -31700,11 +26461,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(63)] public void OMSetBlendState(ID3D11BlendState* pBlendState, float* BlendFactor, uint SampleMask) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[63]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pBlendState, BlendFactor, SampleMask); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pBlendState, BlendFactor, SampleMask); -#endif } /// @@ -31712,11 +26469,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(64)] public void OMSetDepthStencilState(ID3D11DepthStencilState* pDepthStencilState, uint StencilRef) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[64]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pDepthStencilState, StencilRef); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pDepthStencilState, StencilRef); -#endif } /// @@ -31724,11 +26477,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(65)] public void SOSetTargets(uint NumBuffers, ID3D11Buffer* ppSOTargets, uint* pOffsets) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[65]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), NumBuffers, ppSOTargets, pOffsets); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), NumBuffers, ppSOTargets, pOffsets); -#endif } /// @@ -31736,11 +26485,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(66)] public void DrawAuto() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[66]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[66]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -31748,11 +26493,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(67)] public void DrawIndexedInstancedIndirect(ID3D11Buffer* pBufferForArgs, uint AlignedByteOffsetForArgs) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[67]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#endif } /// @@ -31760,11 +26501,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(68)] public void DrawInstancedIndirect(ID3D11Buffer* pBufferForArgs, uint AlignedByteOffsetForArgs) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[68]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[68]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#endif } /// @@ -31772,11 +26509,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(69)] public void Dispatch(uint ThreadGroupCountX, uint ThreadGroupCountY, uint ThreadGroupCountZ) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[69]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[69]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ); -#endif } /// @@ -31784,11 +26517,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(70)] public void DispatchIndirect(ID3D11Buffer* pBufferForArgs, uint AlignedByteOffsetForArgs) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[70]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pBufferForArgs, AlignedByteOffsetForArgs); -#endif } /// @@ -31796,11 +26525,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(71)] public void RSSetState(ID3D11RasterizerState* pRasterizerState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[71]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pRasterizerState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pRasterizerState); -#endif } /// @@ -31808,11 +26533,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(72)] public void RSSetViewports(uint NumViewports, Viewport* pViewports) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[72]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), NumViewports, pViewports); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), NumViewports, pViewports); -#endif } /// @@ -31820,11 +26541,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(73)] public void RSSetScissorRects(uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[73]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[73]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), NumRects, pRects); -#endif } /// @@ -31832,11 +26549,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(74)] public void CopySubresourceRegion(ID3D11Resource* pDstResource, uint DstSubresource, uint DstX, uint DstY, uint DstZ, ID3D11Resource* pSrcResource, uint SrcSubresource, Box* pSrcBox) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[74]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, DstZ, pSrcResource, SrcSubresource, pSrcBox); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[74]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, DstZ, pSrcResource, SrcSubresource, pSrcBox); -#endif } /// @@ -31844,11 +26557,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(75)] public void CopyResource(ID3D11Resource* pDstResource, ID3D11Resource* pSrcResource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[75]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pDstResource, pSrcResource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[75]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pDstResource, pSrcResource); -#endif } /// @@ -31856,11 +26565,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(76)] public void UpdateSubresource(ID3D11Resource* pDstResource, uint DstSubresource, Box* pDstBox, void* pSrcData, uint SrcRowPitch, uint SrcDepthPitch) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[76]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[76]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch); -#endif } /// @@ -31868,11 +26573,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(77)] public void CopyStructureCount(ID3D11Buffer* pDstBuffer, uint DstAlignedByteOffset, ID3D11UnorderedAccessView* pSrcView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[77]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pDstBuffer, DstAlignedByteOffset, pSrcView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[77]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pDstBuffer, DstAlignedByteOffset, pSrcView); -#endif } /// @@ -31880,11 +26581,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(78)] public void ClearRenderTargetView(ID3D11RenderTargetView* pRenderTargetView, float* ColorRGBA) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[78]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pRenderTargetView, ColorRGBA); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[78]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pRenderTargetView, ColorRGBA); -#endif } /// @@ -31892,11 +26589,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(79)] public void ClearUnorderedAccessViewUint(ID3D11UnorderedAccessView* pUnorderedAccessView, uint* Values) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[79]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[79]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); -#endif } /// @@ -31904,11 +26597,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(80)] public void ClearUnorderedAccessViewFloat(ID3D11UnorderedAccessView* pUnorderedAccessView, float* Values) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[80]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[80]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); -#endif } /// @@ -31916,11 +26605,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(81)] public void ClearDepthStencilView(ID3D11DepthStencilView* pDepthStencilView, uint ClearFlags, float Depth, byte Stencil) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[81]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pDepthStencilView, ClearFlags, Depth, Stencil); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[81]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pDepthStencilView, ClearFlags, Depth, Stencil); -#endif } /// @@ -31928,11 +26613,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(82)] public void GenerateMips(ID3D11ShaderResourceView* pShaderResourceView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[82]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pShaderResourceView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[82]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pShaderResourceView); -#endif } /// @@ -31940,11 +26621,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(83)] public void SetResourceMinLOD(ID3D11Resource* pResource, float MinLOD) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[83]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pResource, MinLOD); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[83]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pResource, MinLOD); -#endif } /// @@ -31952,11 +26629,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(84)] public float GetResourceMinLOD(ID3D11Resource* pResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[84]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[84]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pResource); -#endif } /// @@ -31964,11 +26637,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(85)] public void ResolveSubresource(ID3D11Resource* pDstResource, uint DstSubresource, ID3D11Resource* pSrcResource, uint SrcSubresource, Graphics.Dxgi.Common.Format Format) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[85]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pSrcResource, SrcSubresource, Format); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[85]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pSrcResource, SrcSubresource, Format); -#endif } /// @@ -31976,11 +26645,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(86)] public void ExecuteCommandList(ID3D11CommandList* pCommandList, Bool32 RestoreContextState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[86]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[86]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); -#endif } /// @@ -31988,11 +26653,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(87)] public void HSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[87]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[87]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -32000,11 +26661,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(88)] public void HSSetShader(ID3D11HullShader* pHullShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[88]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pHullShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[88]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pHullShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -32012,11 +26669,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(89)] public void HSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[89]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[89]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -32024,11 +26677,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(90)] public void HSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[90]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[90]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -32036,11 +26685,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(91)] public void DSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[91]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[91]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -32048,11 +26693,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(92)] public void DSSetShader(ID3D11DomainShader* pDomainShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[92]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pDomainShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[92]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pDomainShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -32060,11 +26701,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(93)] public void DSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[93]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[93]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -32072,11 +26709,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(94)] public void DSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[94]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[94]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -32084,11 +26717,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(95)] public void CSSetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[95]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[95]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -32096,11 +26725,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(96)] public void CSSetUnorderedAccessViews(uint StartSlot, uint NumUAVs, ID3D11UnorderedAccessView* ppUnorderedAccessViews, uint* pUAVInitialCounts) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[96]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumUAVs, ppUnorderedAccessViews, pUAVInitialCounts); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[96]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumUAVs, ppUnorderedAccessViews, pUAVInitialCounts); -#endif } /// @@ -32108,11 +26733,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(97)] public void CSSetShader(ID3D11ComputeShader* pComputeShader, ID3D11ClassInstance* ppClassInstances, uint NumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[97]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pComputeShader, ppClassInstances, NumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[97]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pComputeShader, ppClassInstances, NumClassInstances); -#endif } /// @@ -32120,11 +26741,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(98)] public void CSSetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[98]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[98]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -32132,11 +26749,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(99)] public void CSSetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[99]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[99]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -32144,11 +26757,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(100)] public void VSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[100]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[100]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -32156,11 +26765,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(101)] public void PSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[101]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[101]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -32168,11 +26773,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(102)] public void PSGetShader(ID3D11PixelShader* ppPixelShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[102]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ppPixelShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[102]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ppPixelShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -32180,11 +26781,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(103)] public void PSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[103]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[103]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -32192,11 +26789,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(104)] public void VSGetShader(ID3D11VertexShader* ppVertexShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[104]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ppVertexShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[104]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ppVertexShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -32204,11 +26797,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(105)] public void PSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[105]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[105]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -32216,11 +26805,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(106)] public void IAGetInputLayout(ID3D11InputLayout* ppInputLayout) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[106]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ppInputLayout); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[106]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ppInputLayout); -#endif } /// @@ -32228,11 +26813,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(107)] public void IAGetVertexBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppVertexBuffers, uint* pStrides, uint* pOffsets) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[107]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppVertexBuffers, pStrides, pOffsets); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[107]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppVertexBuffers, pStrides, pOffsets); -#endif } /// @@ -32240,11 +26821,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(108)] public void IAGetIndexBuffer(ID3D11Buffer* pIndexBuffer, Graphics.Dxgi.Common.Format* Format, uint* Offset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[108]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pIndexBuffer, Format, Offset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[108]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pIndexBuffer, Format, Offset); -#endif } /// @@ -32252,11 +26829,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(109)] public void GSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[109]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[109]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -32264,11 +26837,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(110)] public void GSGetShader(ID3D11GeometryShader* ppGeometryShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[110]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ppGeometryShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[110]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ppGeometryShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -32276,11 +26845,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(111)] public void IAGetPrimitiveTopology(Graphics.Direct3D.PrimitiveTopology* pTopology) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[111]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pTopology); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[111]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pTopology); -#endif } /// @@ -32288,11 +26853,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(112)] public void VSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[112]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[112]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -32300,11 +26861,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(113)] public void VSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[113]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[113]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -32312,11 +26869,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(114)] public void GetPredication(ID3D11Predicate* ppPredicate, Bool32* pPredicateValue) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[114]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ppPredicate, pPredicateValue); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[114]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ppPredicate, pPredicateValue); -#endif } /// @@ -32324,11 +26877,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(115)] public void GSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[115]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[115]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -32336,11 +26885,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(116)] public void GSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[116]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[116]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -32348,11 +26893,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(117)] public void OMGetRenderTargets(uint NumViews, ID3D11RenderTargetView* ppRenderTargetViews, ID3D11DepthStencilView* ppDepthStencilView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[117]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), NumViews, ppRenderTargetViews, ppDepthStencilView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[117]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), NumViews, ppRenderTargetViews, ppDepthStencilView); -#endif } /// @@ -32360,11 +26901,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(118)] public void OMGetRenderTargetsAndUnorderedAccessViews(uint NumRTVs, ID3D11RenderTargetView* ppRenderTargetViews, ID3D11DepthStencilView* ppDepthStencilView, uint UAVStartSlot, uint NumUAVs, ID3D11UnorderedAccessView* ppUnorderedAccessViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[118]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), NumRTVs, ppRenderTargetViews, ppDepthStencilView, UAVStartSlot, NumUAVs, ppUnorderedAccessViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[118]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), NumRTVs, ppRenderTargetViews, ppDepthStencilView, UAVStartSlot, NumUAVs, ppUnorderedAccessViews); -#endif } /// @@ -32372,11 +26909,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(119)] public void OMGetBlendState(ID3D11BlendState* ppBlendState, float* BlendFactor, uint* pSampleMask) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[119]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ppBlendState, BlendFactor, pSampleMask); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[119]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ppBlendState, BlendFactor, pSampleMask); -#endif } /// @@ -32384,11 +26917,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(120)] public void OMGetDepthStencilState(ID3D11DepthStencilState* ppDepthStencilState, uint* pStencilRef) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[120]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ppDepthStencilState, pStencilRef); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[120]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ppDepthStencilState, pStencilRef); -#endif } /// @@ -32396,11 +26925,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(121)] public void SOGetTargets(uint NumBuffers, ID3D11Buffer* ppSOTargets) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[121]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), NumBuffers, ppSOTargets); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[121]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), NumBuffers, ppSOTargets); -#endif } /// @@ -32408,11 +26933,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(122)] public void RSGetState(ID3D11RasterizerState* ppRasterizerState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[122]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ppRasterizerState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[122]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ppRasterizerState); -#endif } /// @@ -32420,11 +26941,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(123)] public void RSGetViewports(uint* pNumViewports, Viewport* pViewports) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[123]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pNumViewports, pViewports); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[123]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pNumViewports, pViewports); -#endif } /// @@ -32432,11 +26949,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(124)] public void RSGetScissorRects(uint* pNumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[124]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pNumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[124]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pNumRects, pRects); -#endif } /// @@ -32444,11 +26957,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(125)] public void HSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[125]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[125]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -32456,11 +26965,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(126)] public void HSGetShader(ID3D11HullShader* ppHullShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[126]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ppHullShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[126]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ppHullShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -32468,11 +26973,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(127)] public void HSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[127]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[127]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -32480,11 +26981,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(128)] public void HSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[128]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[128]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -32492,11 +26989,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(129)] public void DSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[129]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[129]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -32504,11 +26997,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(130)] public void DSGetShader(ID3D11DomainShader* ppDomainShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[130]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ppDomainShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[130]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ppDomainShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -32516,11 +27005,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(131)] public void DSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[131]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[131]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -32528,11 +27013,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(132)] public void DSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[132]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[132]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -32540,11 +27021,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(133)] public void CSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView* ppShaderResourceViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[133]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[133]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, ppShaderResourceViews); -#endif } /// @@ -32552,11 +27029,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(134)] public void CSGetUnorderedAccessViews(uint StartSlot, uint NumUAVs, ID3D11UnorderedAccessView* ppUnorderedAccessViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[134]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumUAVs, ppUnorderedAccessViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[134]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumUAVs, ppUnorderedAccessViews); -#endif } /// @@ -32564,11 +27037,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(135)] public void CSGetShader(ID3D11ComputeShader* ppComputeShader, ID3D11ClassInstance* ppClassInstances, uint* pNumClassInstances) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[135]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ppComputeShader, ppClassInstances, pNumClassInstances); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[135]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ppComputeShader, ppClassInstances, pNumClassInstances); -#endif } /// @@ -32576,11 +27045,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(136)] public void CSGetSamplers(uint StartSlot, uint NumSamplers, ID3D11SamplerState* ppSamplers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[136]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[136]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumSamplers, ppSamplers); -#endif } /// @@ -32588,11 +27053,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(137)] public void CSGetConstantBuffers(uint StartSlot, uint NumBuffers, ID3D11Buffer* ppConstantBuffers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[137]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[137]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), StartSlot, NumBuffers, ppConstantBuffers); -#endif } /// @@ -32600,11 +27061,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(138)] public void ClearState() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[138]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[138]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -32612,11 +27069,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(139)] public void Flush() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[139]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[139]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -32624,11 +27077,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(140)] public new Graphics.Direct3D11.DeviceContextType GetType() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[140]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[140]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -32636,11 +27085,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(141)] public uint GetContextFlags() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[141]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[141]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -32648,11 +27093,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(142)] public HResult FinishCommandList(Bool32 RestoreDeferredContextState, ID3D11CommandList** ppCommandList) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[142]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[142]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); -#endif } /// @@ -32660,11 +27101,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(143)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[143]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[143]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -32672,11 +27109,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(144)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[144]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[144]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -32684,11 +27117,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(145)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[145]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[145]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -32696,11 +27125,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(146)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[146]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[146]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -32708,11 +27133,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(147)] public HResult Signal(ID3D11Fence* pFence, ulong Value) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[147]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pFence, Value); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[147]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pFence, Value); -#endif } /// @@ -32720,16 +27141,9 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [VtblIndex(148)] public HResult Wait(ID3D11Fence* pFence, ulong Value) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[148]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pFence, Value); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[148]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pFence, Value); -#endif } - public interface Interface : ID3D11DeviceContext3.Interface - { - } } /// @@ -32737,7 +27151,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa [Guid("a05c8c37-d2c6-4732-b3a0-9ce0b0dc9ae6")] [NativeTypeName("struct ID3D11Device3 : ID3D11Device2")] [NativeInheritance("ID3D11Device2")] -public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface +public unsafe partial struct ID3D11Device3 { public static ref readonly Guid IID_ID3D11Device3 { @@ -32798,11 +27212,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(3)] public void GetImmediateContext2(ID3D11DeviceContext2* ppImmediateContext) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ppImmediateContext); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ppImmediateContext); -#endif } /// @@ -32810,11 +27220,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(4)] public HResult CreateDeferredContext2(uint ContextFlags, ID3D11DeviceContext2** ppDeferredContext) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#endif } /// @@ -32822,11 +27228,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(5)] public void GetResourceTiling(ID3D11Resource* pTiledResource, uint* pNumTilesForEntireResource, PackedMipDescription* pPackedMipDesc, TileShape* pStandardTileShapeForNonPackedMips, uint* pNumSubresourceTilings, uint FirstSubresourceTilingToGet, SubresourceTiling* pSubresourceTilingsForNonPackedMips) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#endif } /// @@ -32834,11 +27236,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(6)] public HResult CheckMultisampleQualityLevels1(Graphics.Dxgi.Common.Format Format, uint SampleCount, uint Flags, uint* pNumQualityLevels) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11Device3*)Unsafe.AsPointer(ref this), Format, SampleCount, Flags, pNumQualityLevels); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11Device3*)Unsafe.AsPointer(ref this), Format, SampleCount, Flags, pNumQualityLevels); -#endif } /// @@ -32846,11 +27244,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(7)] public void GetImmediateContext1(ID3D11DeviceContext1* ppImmediateContext) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[7]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ppImmediateContext); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ppImmediateContext); -#endif } /// @@ -32858,11 +27252,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(8)] public HResult CreateDeferredContext1(uint ContextFlags, ID3D11DeviceContext1** ppDeferredContext) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#endif } /// @@ -32870,11 +27260,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(9)] public HResult CreateBlendState1(BlendDescription1* pBlendStateDesc, ID3D11BlendState1** ppBlendState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState); -#endif } /// @@ -32882,11 +27268,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(10)] public HResult CreateRasterizerState1(RasterizerDescription1* pRasterizerDesc, ID3D11RasterizerState1** ppRasterizerState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#endif } /// @@ -32894,11 +27276,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(11)] public HResult CreateDeviceContextState(uint Flags, Graphics.Direct3D.FeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Guid* EmulatedInterface, Graphics.Direct3D.FeatureLevel* pChosenFeatureLevel, ID3DDeviceContextState* ppContextState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D11Device3*)Unsafe.AsPointer(ref this), Flags, pFeatureLevels, FeatureLevels, SDKVersion, EmulatedInterface, pChosenFeatureLevel, ppContextState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D11Device3*)Unsafe.AsPointer(ref this), Flags, pFeatureLevels, FeatureLevels, SDKVersion, EmulatedInterface, pChosenFeatureLevel, ppContextState); -#endif } /// @@ -32906,11 +27284,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(12)] public HResult OpenSharedResource1(IntPtr hResource, Guid* returnedInterface, void** ppResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D11Device3*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D11Device3*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); -#endif } /// @@ -32918,11 +27292,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(13)] public HResult OpenSharedResourceByName(char** lpName, uint dwDesiredAccess, Guid* returnedInterface, void** ppResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((ID3D11Device3*)Unsafe.AsPointer(ref this), lpName, dwDesiredAccess, returnedInterface, ppResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11Device3*)Unsafe.AsPointer(ref this), lpName, dwDesiredAccess, returnedInterface, ppResource); -#endif } /// @@ -32930,11 +27300,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(14)] public HResult CreateBuffer(BufferDescription* pDesc, SubresourceData* pInitialData, ID3D11Buffer** ppBuffer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppBuffer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppBuffer); -#endif } /// @@ -32942,11 +27308,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(15)] public HResult CreateTexture1D(Texture1DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture1D** ppTexture1D) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture1D); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture1D); -#endif } /// @@ -32954,11 +27316,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(16)] public HResult CreateTexture2D(Texture2DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture2D** ppTexture2D) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture2D); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture2D); -#endif } /// @@ -32966,11 +27324,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(17)] public HResult CreateTexture3D(Texture3DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture3D** ppTexture3D) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture3D); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture3D); -#endif } /// @@ -32978,11 +27332,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(18)] public HResult CreateShaderResourceView(ID3D11Resource* pResource, ShaderResourceViewDescription* pDesc, ID3D11ShaderResourceView** ppSRView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc, ppSRView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc, ppSRView); -#endif } /// @@ -32990,11 +27340,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(19)] public HResult CreateUnorderedAccessView(ID3D11Resource* pResource, UnorderedAccessViewDescription* pDesc, ID3D11UnorderedAccessView** ppUAView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc, ppUAView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc, ppUAView); -#endif } /// @@ -33002,11 +27348,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(20)] public HResult CreateRenderTargetView(ID3D11Resource* pResource, RenderTargetViewDescription* pDesc, ID3D11RenderTargetView** ppRTView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc, ppRTView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc, ppRTView); -#endif } /// @@ -33014,11 +27356,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(21)] public HResult CreateDepthStencilView(ID3D11Resource* pResource, DepthStencilViewDescription* pDesc, ID3D11DepthStencilView** ppDepthStencilView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc, ppDepthStencilView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc, ppDepthStencilView); -#endif } /// @@ -33026,11 +27364,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(22)] public HResult CreateInputLayout(InputElementDescription* pInputElementDescs, uint NumElements, void* pShaderBytecodeWithInputSignature, nuint BytecodeLength, ID3D11InputLayout** ppInputLayout) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pInputElementDescs, NumElements, pShaderBytecodeWithInputSignature, BytecodeLength, ppInputLayout); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pInputElementDescs, NumElements, pShaderBytecodeWithInputSignature, BytecodeLength, ppInputLayout); -#endif } /// @@ -33038,11 +27372,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(23)] public HResult CreateVertexShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11VertexShader** ppVertexShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppVertexShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppVertexShader); -#endif } /// @@ -33050,23 +27380,15 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(24)] public HResult CreateGeometryShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppGeometryShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppGeometryShader); -#endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] - public HResult CreateGeometryShaderWithStreamOutput(void* pShaderBytecode, nuint BytecodeLength, SoDeclarationEntry* pSODeclaration, uint NumEntries, uint* pBufferStrides, uint NumStrides, uint RasterizedStream, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader) + public HResult CreateGeometryShaderWithStreamOutput(void* pShaderBytecode, nuint BytecodeLength, SODeclarationEntry* pSODeclaration, uint NumEntries, uint* pBufferStrides, uint NumStrides, uint RasterizedStream, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader); -#else - return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader); -#endif + return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader); } /// @@ -33074,11 +27396,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(26)] public HResult CreatePixelShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11PixelShader** ppPixelShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[26]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppPixelShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppPixelShader); -#endif } /// @@ -33086,11 +27404,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(27)] public HResult CreateHullShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11HullShader** ppHullShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppHullShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppHullShader); -#endif } /// @@ -33098,11 +27412,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(28)] public HResult CreateDomainShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11DomainShader** ppDomainShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppDomainShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppDomainShader); -#endif } /// @@ -33110,11 +27420,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(29)] public HResult CreateComputeShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11ComputeShader** ppComputeShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[29]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppComputeShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppComputeShader); -#endif } /// @@ -33122,11 +27428,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(30)] public HResult CreateClassLinkage(ID3D11ClassLinkage** ppLinkage) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[30]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ppLinkage); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ppLinkage); -#endif } /// @@ -33134,11 +27436,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(31)] public HResult CreateBlendState(BlendDescription* pBlendStateDesc, ID3D11BlendState** ppBlendState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[31]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState); -#endif } /// @@ -33146,11 +27444,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(32)] public HResult CreateDepthStencilState(DepthStencilDescription* pDepthStencilDesc, ID3D11DepthStencilState** ppDepthStencilState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[32]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDepthStencilDesc, ppDepthStencilState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDepthStencilDesc, ppDepthStencilState); -#endif } /// @@ -33158,11 +27452,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(33)] public HResult CreateRasterizerState(RasterizerDescription* pRasterizerDesc, ID3D11RasterizerState** ppRasterizerState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[33]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#endif } /// @@ -33170,11 +27460,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(34)] public HResult CreateSamplerState(SamplerDescription* pSamplerDesc, ID3D11SamplerState** ppSamplerState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[34]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pSamplerDesc, ppSamplerState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pSamplerDesc, ppSamplerState); -#endif } /// @@ -33182,11 +27468,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(35)] public HResult CreateQuery(QueryDescription* pQueryDesc, ID3D11Query** ppQuery) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[35]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pQueryDesc, ppQuery); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pQueryDesc, ppQuery); -#endif } /// @@ -33194,11 +27476,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(36)] public HResult CreatePredicate(QueryDescription* pPredicateDesc, ID3D11Predicate** ppPredicate) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[36]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pPredicateDesc, ppPredicate); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pPredicateDesc, ppPredicate); -#endif } /// @@ -33206,11 +27484,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(37)] public HResult CreateCounter(CounterDescription* pCounterDesc, ID3D11Counter** ppCounter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[37]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pCounterDesc, ppCounter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pCounterDesc, ppCounter); -#endif } /// @@ -33218,11 +27492,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(38)] public HResult CreateDeferredContext(uint ContextFlags, ID3D11DeviceContext** ppDeferredContext) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[38]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#endif } /// @@ -33230,11 +27500,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(39)] public HResult OpenSharedResource(IntPtr hResource, Guid* ReturnedInterface, void** ppResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[39]))((ID3D11Device3*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D11Device3*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); -#endif } /// @@ -33242,11 +27508,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(40)] public HResult CheckFormatSupport(Graphics.Dxgi.Common.Format Format, uint* pFormatSupport) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[40]))((ID3D11Device3*)Unsafe.AsPointer(ref this), Format, pFormatSupport); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D11Device3*)Unsafe.AsPointer(ref this), Format, pFormatSupport); -#endif } /// @@ -33254,11 +27516,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(41)] public HResult CheckMultisampleQualityLevels(Graphics.Dxgi.Common.Format Format, uint SampleCount, uint* pNumQualityLevels) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[41]))((ID3D11Device3*)Unsafe.AsPointer(ref this), Format, SampleCount, pNumQualityLevels); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D11Device3*)Unsafe.AsPointer(ref this), Format, SampleCount, pNumQualityLevels); -#endif } /// @@ -33266,11 +27524,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(42)] public void CheckCounterInfo(CounterInfo* pCounterInfo) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[42]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pCounterInfo); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pCounterInfo); -#endif } /// @@ -33278,11 +27532,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(43)] public HResult CheckCounter(CounterDescription* pDesc, CounterType* pType, uint* pActiveCounters, byte* szName, uint* pNameLength, byte* szUnits, uint* pUnitsLength, byte* szDescription, uint* pDescriptionLength) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[43]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); -#endif } /// @@ -33290,11 +27540,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(44)] public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, uint FeatureSupportDataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[44]))((ID3D11Device3*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D11Device3*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#endif } /// @@ -33302,11 +27548,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(45)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[45]))((ID3D11Device3*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D11Device3*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -33314,11 +27556,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(46)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[46]))((ID3D11Device3*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D11Device3*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -33326,11 +27564,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(47)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[47]))((ID3D11Device3*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D11Device3*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -33338,11 +27572,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(48)] public Graphics.Direct3D.FeatureLevel GetFeatureLevel() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[48]))((ID3D11Device3*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D11Device3*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -33350,11 +27580,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(49)] public uint GetCreationFlags() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[49]))((ID3D11Device3*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D11Device3*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -33362,11 +27588,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(50)] public HResult GetDeviceRemovedReason() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[50]))((ID3D11Device3*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D11Device3*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -33374,11 +27596,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(51)] public void GetImmediateContext(ID3D11DeviceContext* ppImmediateContext) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[51]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ppImmediateContext); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ppImmediateContext); -#endif } /// @@ -33386,11 +27604,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(52)] public HResult SetExceptionMode(uint RaiseFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[52]))((ID3D11Device3*)Unsafe.AsPointer(ref this), RaiseFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D11Device3*)Unsafe.AsPointer(ref this), RaiseFlags); -#endif } /// @@ -33398,11 +27612,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(53)] public uint GetExceptionMode() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[53]))((ID3D11Device3*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID3D11Device3*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -33410,11 +27620,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(54)] public HResult CreateTexture2D1(Texture2DDescription1* pDesc1, SubresourceData* pInitialData, ID3D11Texture2D1** ppTexture2D) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[54]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc1, pInitialData, ppTexture2D); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc1, pInitialData, ppTexture2D); -#endif } /// @@ -33422,11 +27628,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(55)] public HResult CreateTexture3D1(Texture3DDescription1* pDesc1, SubresourceData* pInitialData, ID3D11Texture3D1** ppTexture3D) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[55]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc1, pInitialData, ppTexture3D); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc1, pInitialData, ppTexture3D); -#endif } /// @@ -33434,11 +27636,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(56)] public HResult CreateRasterizerState2(RasterizerDescription2* pRasterizerDesc, ID3D11RasterizerState2** ppRasterizerState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[56]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#endif } /// @@ -33446,11 +27644,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(57)] public HResult CreateShaderResourceView1(ID3D11Resource* pResource, ShaderResourceViewDescription1* pDesc1, ID3D11ShaderResourceView1** ppSRView1) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[57]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppSRView1); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppSRView1); -#endif } /// @@ -33458,11 +27652,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(58)] public HResult CreateUnorderedAccessView1(ID3D11Resource* pResource, UnorderedAccessViewDescription1* pDesc1, ID3D11UnorderedAccessView1** ppUAView1) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[58]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppUAView1); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppUAView1); -#endif } /// @@ -33470,11 +27660,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(59)] public HResult CreateRenderTargetView1(ID3D11Resource* pResource, RenderTargetViewDescription1* pDesc1, ID3D11RenderTargetView1** ppRTView1) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[59]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppRTView1); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppRTView1); -#endif } /// @@ -33482,11 +27668,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(60)] public HResult CreateQuery1(QueryDescription1* pQueryDesc1, ID3D11Query1** ppQuery1) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[60]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pQueryDesc1, ppQuery1); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pQueryDesc1, ppQuery1); -#endif } /// @@ -33494,11 +27676,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(61)] public void GetImmediateContext3(ID3D11DeviceContext3* ppImmediateContext) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[61]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ppImmediateContext); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ppImmediateContext); -#endif } /// @@ -33506,11 +27684,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(62)] public HResult CreateDeferredContext3(uint ContextFlags, ID3D11DeviceContext3** ppDeferredContext) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[62]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#endif } /// @@ -33518,11 +27692,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(63)] public void WriteToSubresource(ID3D11Resource* pDstResource, uint DstSubresource, Box* pDstBox, void* pSrcData, uint SrcRowPitch, uint SrcDepthPitch) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[63]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch); -#endif } /// @@ -33530,16 +27700,9 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [VtblIndex(64)] public void ReadFromSubresource(void* pDstData, uint DstRowPitch, uint DstDepthPitch, ID3D11Resource* pSrcResource, uint SrcSubresource, Box* pSrcBox) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[64]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDstData, DstRowPitch, DstDepthPitch, pSrcResource, SrcSubresource, pSrcBox); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDstData, DstRowPitch, DstDepthPitch, pSrcResource, SrcSubresource, pSrcBox); -#endif } - public interface Interface : ID3D11Device2.Interface - { - } } /// @@ -33547,7 +27710,7 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface [Guid("8992ab71-02e6-4b8d-ba48-b056dcda42c4")] [NativeTypeName("struct ID3D11Device4 : ID3D11Device3")] [NativeInheritance("ID3D11Device3")] -public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface +public unsafe partial struct ID3D11Device4 { public static ref readonly Guid IID_ID3D11Device4 { @@ -33608,11 +27771,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(3)] public HResult CreateTexture2D1(Texture2DDescription1* pDesc1, SubresourceData* pInitialData, ID3D11Texture2D1** ppTexture2D) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc1, pInitialData, ppTexture2D); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc1, pInitialData, ppTexture2D); -#endif } /// @@ -33620,11 +27779,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(4)] public HResult CreateTexture3D1(Texture3DDescription1* pDesc1, SubresourceData* pInitialData, ID3D11Texture3D1** ppTexture3D) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc1, pInitialData, ppTexture3D); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc1, pInitialData, ppTexture3D); -#endif } /// @@ -33632,11 +27787,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(5)] public HResult CreateRasterizerState2(RasterizerDescription2* pRasterizerDesc, ID3D11RasterizerState2** ppRasterizerState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#endif } /// @@ -33644,11 +27795,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(6)] public HResult CreateShaderResourceView1(ID3D11Resource* pResource, ShaderResourceViewDescription1* pDesc1, ID3D11ShaderResourceView1** ppSRView1) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppSRView1); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppSRView1); -#endif } /// @@ -33656,11 +27803,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(7)] public HResult CreateUnorderedAccessView1(ID3D11Resource* pResource, UnorderedAccessViewDescription1* pDesc1, ID3D11UnorderedAccessView1** ppUAView1) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppUAView1); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppUAView1); -#endif } /// @@ -33668,11 +27811,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(8)] public HResult CreateRenderTargetView1(ID3D11Resource* pResource, RenderTargetViewDescription1* pDesc1, ID3D11RenderTargetView1** ppRTView1) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppRTView1); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppRTView1); -#endif } /// @@ -33680,11 +27819,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(9)] public HResult CreateQuery1(QueryDescription1* pQueryDesc1, ID3D11Query1** ppQuery1) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pQueryDesc1, ppQuery1); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pQueryDesc1, ppQuery1); -#endif } /// @@ -33692,11 +27827,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(10)] public void GetImmediateContext3(ID3D11DeviceContext3* ppImmediateContext) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[10]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ppImmediateContext); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ppImmediateContext); -#endif } /// @@ -33704,11 +27835,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(11)] public HResult CreateDeferredContext3(uint ContextFlags, ID3D11DeviceContext3** ppDeferredContext) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#endif } /// @@ -33716,11 +27843,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(12)] public void WriteToSubresource(ID3D11Resource* pDstResource, uint DstSubresource, Box* pDstBox, void* pSrcData, uint SrcRowPitch, uint SrcDepthPitch) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[12]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch); -#endif } /// @@ -33728,11 +27851,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(13)] public void ReadFromSubresource(void* pDstData, uint DstRowPitch, uint DstDepthPitch, ID3D11Resource* pSrcResource, uint SrcSubresource, Box* pSrcBox) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[13]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDstData, DstRowPitch, DstDepthPitch, pSrcResource, SrcSubresource, pSrcBox); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDstData, DstRowPitch, DstDepthPitch, pSrcResource, SrcSubresource, pSrcBox); -#endif } /// @@ -33740,11 +27859,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(14)] public void GetImmediateContext2(ID3D11DeviceContext2* ppImmediateContext) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[14]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ppImmediateContext); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ppImmediateContext); -#endif } /// @@ -33752,11 +27867,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(15)] public HResult CreateDeferredContext2(uint ContextFlags, ID3D11DeviceContext2** ppDeferredContext) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#endif } /// @@ -33764,11 +27875,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(16)] public void GetResourceTiling(ID3D11Resource* pTiledResource, uint* pNumTilesForEntireResource, PackedMipDescription* pPackedMipDesc, TileShape* pStandardTileShapeForNonPackedMips, uint* pNumSubresourceTilings, uint FirstSubresourceTilingToGet, SubresourceTiling* pSubresourceTilingsForNonPackedMips) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[16]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#endif } /// @@ -33776,11 +27883,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(17)] public HResult CheckMultisampleQualityLevels1(Graphics.Dxgi.Common.Format Format, uint SampleCount, uint Flags, uint* pNumQualityLevels) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((ID3D11Device4*)Unsafe.AsPointer(ref this), Format, SampleCount, Flags, pNumQualityLevels); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D11Device4*)Unsafe.AsPointer(ref this), Format, SampleCount, Flags, pNumQualityLevels); -#endif } /// @@ -33788,11 +27891,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(18)] public void GetImmediateContext1(ID3D11DeviceContext1* ppImmediateContext) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[18]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ppImmediateContext); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ppImmediateContext); -#endif } /// @@ -33800,11 +27899,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(19)] public HResult CreateDeferredContext1(uint ContextFlags, ID3D11DeviceContext1** ppDeferredContext) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#endif } /// @@ -33812,11 +27907,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(20)] public HResult CreateBlendState1(BlendDescription1* pBlendStateDesc, ID3D11BlendState1** ppBlendState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState); -#endif } /// @@ -33824,11 +27915,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(21)] public HResult CreateRasterizerState1(RasterizerDescription1* pRasterizerDesc, ID3D11RasterizerState1** ppRasterizerState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#endif } /// @@ -33836,11 +27923,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(22)] public HResult CreateDeviceContextState(uint Flags, Graphics.Direct3D.FeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Guid* EmulatedInterface, Graphics.Direct3D.FeatureLevel* pChosenFeatureLevel, ID3DDeviceContextState* ppContextState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((ID3D11Device4*)Unsafe.AsPointer(ref this), Flags, pFeatureLevels, FeatureLevels, SDKVersion, EmulatedInterface, pChosenFeatureLevel, ppContextState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D11Device4*)Unsafe.AsPointer(ref this), Flags, pFeatureLevels, FeatureLevels, SDKVersion, EmulatedInterface, pChosenFeatureLevel, ppContextState); -#endif } /// @@ -33848,11 +27931,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(23)] public HResult OpenSharedResource1(IntPtr hResource, Guid* returnedInterface, void** ppResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((ID3D11Device4*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D11Device4*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); -#endif } /// @@ -33860,11 +27939,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(24)] public HResult OpenSharedResourceByName(char** lpName, uint dwDesiredAccess, Guid* returnedInterface, void** ppResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((ID3D11Device4*)Unsafe.AsPointer(ref this), lpName, dwDesiredAccess, returnedInterface, ppResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D11Device4*)Unsafe.AsPointer(ref this), lpName, dwDesiredAccess, returnedInterface, ppResource); -#endif } /// @@ -33872,11 +27947,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(25)] public HResult CreateBuffer(BufferDescription* pDesc, SubresourceData* pInitialData, ID3D11Buffer** ppBuffer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppBuffer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppBuffer); -#endif } /// @@ -33884,11 +27955,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(26)] public HResult CreateTexture1D(Texture1DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture1D** ppTexture1D) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[26]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture1D); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture1D); -#endif } /// @@ -33896,11 +27963,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(27)] public HResult CreateTexture2D(Texture2DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture2D** ppTexture2D) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture2D); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture2D); -#endif } /// @@ -33908,11 +27971,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(28)] public HResult CreateTexture3D(Texture3DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture3D** ppTexture3D) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture3D); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture3D); -#endif } /// @@ -33920,11 +27979,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(29)] public HResult CreateShaderResourceView(ID3D11Resource* pResource, ShaderResourceViewDescription* pDesc, ID3D11ShaderResourceView** ppSRView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[29]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc, ppSRView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc, ppSRView); -#endif } /// @@ -33932,11 +27987,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(30)] public HResult CreateUnorderedAccessView(ID3D11Resource* pResource, UnorderedAccessViewDescription* pDesc, ID3D11UnorderedAccessView** ppUAView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[30]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc, ppUAView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc, ppUAView); -#endif } /// @@ -33944,11 +27995,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(31)] public HResult CreateRenderTargetView(ID3D11Resource* pResource, RenderTargetViewDescription* pDesc, ID3D11RenderTargetView** ppRTView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[31]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc, ppRTView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc, ppRTView); -#endif } /// @@ -33956,11 +28003,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(32)] public HResult CreateDepthStencilView(ID3D11Resource* pResource, DepthStencilViewDescription* pDesc, ID3D11DepthStencilView** ppDepthStencilView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[32]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc, ppDepthStencilView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc, ppDepthStencilView); -#endif } /// @@ -33968,11 +28011,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(33)] public HResult CreateInputLayout(InputElementDescription* pInputElementDescs, uint NumElements, void* pShaderBytecodeWithInputSignature, nuint BytecodeLength, ID3D11InputLayout** ppInputLayout) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[33]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pInputElementDescs, NumElements, pShaderBytecodeWithInputSignature, BytecodeLength, ppInputLayout); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pInputElementDescs, NumElements, pShaderBytecodeWithInputSignature, BytecodeLength, ppInputLayout); -#endif } /// @@ -33980,11 +28019,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(34)] public HResult CreateVertexShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11VertexShader** ppVertexShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[34]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppVertexShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppVertexShader); -#endif } /// @@ -33992,23 +28027,15 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(35)] public HResult CreateGeometryShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[35]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppGeometryShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppGeometryShader); -#endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(36)] - public HResult CreateGeometryShaderWithStreamOutput(void* pShaderBytecode, nuint BytecodeLength, SoDeclarationEntry* pSODeclaration, uint NumEntries, uint* pBufferStrides, uint NumStrides, uint RasterizedStream, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader) + public HResult CreateGeometryShaderWithStreamOutput(void* pShaderBytecode, nuint BytecodeLength, SODeclarationEntry* pSODeclaration, uint NumEntries, uint* pBufferStrides, uint NumStrides, uint RasterizedStream, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[36]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader); -#else - return ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader); -#endif + return ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader); } /// @@ -34016,11 +28043,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(37)] public HResult CreatePixelShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11PixelShader** ppPixelShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[37]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppPixelShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppPixelShader); -#endif } /// @@ -34028,11 +28051,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(38)] public HResult CreateHullShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11HullShader** ppHullShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[38]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppHullShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppHullShader); -#endif } /// @@ -34040,11 +28059,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(39)] public HResult CreateDomainShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11DomainShader** ppDomainShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[39]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppDomainShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppDomainShader); -#endif } /// @@ -34052,11 +28067,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(40)] public HResult CreateComputeShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11ComputeShader** ppComputeShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[40]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppComputeShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppComputeShader); -#endif } /// @@ -34064,11 +28075,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(41)] public HResult CreateClassLinkage(ID3D11ClassLinkage** ppLinkage) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[41]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ppLinkage); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ppLinkage); -#endif } /// @@ -34076,11 +28083,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(42)] public HResult CreateBlendState(BlendDescription* pBlendStateDesc, ID3D11BlendState** ppBlendState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[42]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState); -#endif } /// @@ -34088,11 +28091,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(43)] public HResult CreateDepthStencilState(DepthStencilDescription* pDepthStencilDesc, ID3D11DepthStencilState** ppDepthStencilState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[43]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDepthStencilDesc, ppDepthStencilState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDepthStencilDesc, ppDepthStencilState); -#endif } /// @@ -34100,11 +28099,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(44)] public HResult CreateRasterizerState(RasterizerDescription* pRasterizerDesc, ID3D11RasterizerState** ppRasterizerState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[44]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#endif } /// @@ -34112,11 +28107,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(45)] public HResult CreateSamplerState(SamplerDescription* pSamplerDesc, ID3D11SamplerState** ppSamplerState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[45]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pSamplerDesc, ppSamplerState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pSamplerDesc, ppSamplerState); -#endif } /// @@ -34124,11 +28115,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(46)] public HResult CreateQuery(QueryDescription* pQueryDesc, ID3D11Query** ppQuery) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[46]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pQueryDesc, ppQuery); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pQueryDesc, ppQuery); -#endif } /// @@ -34136,11 +28123,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(47)] public HResult CreatePredicate(QueryDescription* pPredicateDesc, ID3D11Predicate** ppPredicate) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[47]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pPredicateDesc, ppPredicate); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pPredicateDesc, ppPredicate); -#endif } /// @@ -34148,11 +28131,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(48)] public HResult CreateCounter(CounterDescription* pCounterDesc, ID3D11Counter** ppCounter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[48]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pCounterDesc, ppCounter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pCounterDesc, ppCounter); -#endif } /// @@ -34160,11 +28139,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(49)] public HResult CreateDeferredContext(uint ContextFlags, ID3D11DeviceContext** ppDeferredContext) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[49]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#endif } /// @@ -34172,11 +28147,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(50)] public HResult OpenSharedResource(IntPtr hResource, Guid* ReturnedInterface, void** ppResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[50]))((ID3D11Device4*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D11Device4*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); -#endif } /// @@ -34184,11 +28155,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(51)] public HResult CheckFormatSupport(Graphics.Dxgi.Common.Format Format, uint* pFormatSupport) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[51]))((ID3D11Device4*)Unsafe.AsPointer(ref this), Format, pFormatSupport); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D11Device4*)Unsafe.AsPointer(ref this), Format, pFormatSupport); -#endif } /// @@ -34196,11 +28163,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(52)] public HResult CheckMultisampleQualityLevels(Graphics.Dxgi.Common.Format Format, uint SampleCount, uint* pNumQualityLevels) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[52]))((ID3D11Device4*)Unsafe.AsPointer(ref this), Format, SampleCount, pNumQualityLevels); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D11Device4*)Unsafe.AsPointer(ref this), Format, SampleCount, pNumQualityLevels); -#endif } /// @@ -34208,11 +28171,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(53)] public void CheckCounterInfo(CounterInfo* pCounterInfo) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[53]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pCounterInfo); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pCounterInfo); -#endif } /// @@ -34220,11 +28179,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(54)] public HResult CheckCounter(CounterDescription* pDesc, CounterType* pType, uint* pActiveCounters, byte* szName, uint* pNameLength, byte* szUnits, uint* pUnitsLength, byte* szDescription, uint* pDescriptionLength) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[54]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); -#endif } /// @@ -34232,11 +28187,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(55)] public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, uint FeatureSupportDataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[55]))((ID3D11Device4*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID3D11Device4*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#endif } /// @@ -34244,11 +28195,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(56)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[56]))((ID3D11Device4*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID3D11Device4*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -34256,11 +28203,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(57)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[57]))((ID3D11Device4*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID3D11Device4*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -34268,11 +28211,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(58)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[58]))((ID3D11Device4*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D11Device4*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -34280,11 +28219,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(59)] public Graphics.Direct3D.FeatureLevel GetFeatureLevel() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[59]))((ID3D11Device4*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID3D11Device4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -34292,11 +28227,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(60)] public uint GetCreationFlags() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[60]))((ID3D11Device4*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((ID3D11Device4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -34304,11 +28235,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(61)] public HResult GetDeviceRemovedReason() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[61]))((ID3D11Device4*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((ID3D11Device4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -34316,11 +28243,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(62)] public void GetImmediateContext(ID3D11DeviceContext* ppImmediateContext) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[62]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ppImmediateContext); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ppImmediateContext); -#endif } /// @@ -34328,11 +28251,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(63)] public HResult SetExceptionMode(uint RaiseFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[63]))((ID3D11Device4*)Unsafe.AsPointer(ref this), RaiseFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((ID3D11Device4*)Unsafe.AsPointer(ref this), RaiseFlags); -#endif } /// @@ -34340,11 +28259,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(64)] public uint GetExceptionMode() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[64]))((ID3D11Device4*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((ID3D11Device4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -34352,11 +28267,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(65)] public HResult RegisterDeviceRemovedEvent(IntPtr hEvent, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[65]))((ID3D11Device4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((ID3D11Device4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#endif } /// @@ -34364,16 +28275,9 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [VtblIndex(66)] public void UnregisterDeviceRemoved(uint dwCookie) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[66]))((ID3D11Device4*)Unsafe.AsPointer(ref this), dwCookie); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[66]))((ID3D11Device4*)Unsafe.AsPointer(ref this), dwCookie); -#endif } - public interface Interface : ID3D11Device3.Interface - { - } } /// @@ -34381,7 +28285,7 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface [Guid("8ffde202-a0e7-45df-9e01-e837801b5ea0")] [NativeTypeName("struct ID3D11Device5 : ID3D11Device4")] [NativeInheritance("ID3D11Device4")] -public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface +public unsafe partial struct ID3D11Device5 { public static ref readonly Guid IID_ID3D11Device5 { @@ -34442,11 +28346,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(3)] public HResult RegisterDeviceRemovedEvent(IntPtr hEvent, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#endif } /// @@ -34454,11 +28354,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(4)] public void UnregisterDeviceRemoved(uint dwCookie) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11Device5*)Unsafe.AsPointer(ref this), dwCookie); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11Device5*)Unsafe.AsPointer(ref this), dwCookie); -#endif } /// @@ -34466,11 +28362,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(5)] public HResult CreateTexture2D1(Texture2DDescription1* pDesc1, SubresourceData* pInitialData, ID3D11Texture2D1** ppTexture2D) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc1, pInitialData, ppTexture2D); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc1, pInitialData, ppTexture2D); -#endif } /// @@ -34478,11 +28370,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(6)] public HResult CreateTexture3D1(Texture3DDescription1* pDesc1, SubresourceData* pInitialData, ID3D11Texture3D1** ppTexture3D) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc1, pInitialData, ppTexture3D); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc1, pInitialData, ppTexture3D); -#endif } /// @@ -34490,11 +28378,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(7)] public HResult CreateRasterizerState2(RasterizerDescription2* pRasterizerDesc, ID3D11RasterizerState2** ppRasterizerState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#endif } /// @@ -34502,11 +28386,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(8)] public HResult CreateShaderResourceView1(ID3D11Resource* pResource, ShaderResourceViewDescription1* pDesc1, ID3D11ShaderResourceView1** ppSRView1) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppSRView1); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppSRView1); -#endif } /// @@ -34514,11 +28394,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(9)] public HResult CreateUnorderedAccessView1(ID3D11Resource* pResource, UnorderedAccessViewDescription1* pDesc1, ID3D11UnorderedAccessView1** ppUAView1) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppUAView1); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppUAView1); -#endif } /// @@ -34526,11 +28402,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(10)] public HResult CreateRenderTargetView1(ID3D11Resource* pResource, RenderTargetViewDescription1* pDesc1, ID3D11RenderTargetView1** ppRTView1) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppRTView1); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppRTView1); -#endif } /// @@ -34538,11 +28410,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(11)] public HResult CreateQuery1(QueryDescription1* pQueryDesc1, ID3D11Query1** ppQuery1) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pQueryDesc1, ppQuery1); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pQueryDesc1, ppQuery1); -#endif } /// @@ -34550,11 +28418,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(12)] public void GetImmediateContext3(ID3D11DeviceContext3* ppImmediateContext) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[12]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ppImmediateContext); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ppImmediateContext); -#endif } /// @@ -34562,11 +28426,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(13)] public HResult CreateDeferredContext3(uint ContextFlags, ID3D11DeviceContext3** ppDeferredContext) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#endif } /// @@ -34574,11 +28434,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(14)] public void WriteToSubresource(ID3D11Resource* pDstResource, uint DstSubresource, Box* pDstBox, void* pSrcData, uint SrcRowPitch, uint SrcDepthPitch) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[14]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch); -#endif } /// @@ -34586,11 +28442,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(15)] public void ReadFromSubresource(void* pDstData, uint DstRowPitch, uint DstDepthPitch, ID3D11Resource* pSrcResource, uint SrcSubresource, Box* pSrcBox) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[15]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDstData, DstRowPitch, DstDepthPitch, pSrcResource, SrcSubresource, pSrcBox); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDstData, DstRowPitch, DstDepthPitch, pSrcResource, SrcSubresource, pSrcBox); -#endif } /// @@ -34598,11 +28450,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(16)] public void GetImmediateContext2(ID3D11DeviceContext2* ppImmediateContext) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[16]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ppImmediateContext); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ppImmediateContext); -#endif } /// @@ -34610,11 +28458,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(17)] public HResult CreateDeferredContext2(uint ContextFlags, ID3D11DeviceContext2** ppDeferredContext) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#endif } /// @@ -34622,11 +28466,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(18)] public void GetResourceTiling(ID3D11Resource* pTiledResource, uint* pNumTilesForEntireResource, PackedMipDescription* pPackedMipDesc, TileShape* pStandardTileShapeForNonPackedMips, uint* pNumSubresourceTilings, uint FirstSubresourceTilingToGet, SubresourceTiling* pSubresourceTilingsForNonPackedMips) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[18]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#endif } /// @@ -34634,11 +28474,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(19)] public HResult CheckMultisampleQualityLevels1(Graphics.Dxgi.Common.Format Format, uint SampleCount, uint Flags, uint* pNumQualityLevels) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((ID3D11Device5*)Unsafe.AsPointer(ref this), Format, SampleCount, Flags, pNumQualityLevels); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D11Device5*)Unsafe.AsPointer(ref this), Format, SampleCount, Flags, pNumQualityLevels); -#endif } /// @@ -34646,11 +28482,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(20)] public void GetImmediateContext1(ID3D11DeviceContext1* ppImmediateContext) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[20]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ppImmediateContext); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ppImmediateContext); -#endif } /// @@ -34658,11 +28490,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(21)] public HResult CreateDeferredContext1(uint ContextFlags, ID3D11DeviceContext1** ppDeferredContext) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#endif } /// @@ -34670,11 +28498,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(22)] public HResult CreateBlendState1(BlendDescription1* pBlendStateDesc, ID3D11BlendState1** ppBlendState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState); -#endif } /// @@ -34682,11 +28506,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(23)] public HResult CreateRasterizerState1(RasterizerDescription1* pRasterizerDesc, ID3D11RasterizerState1** ppRasterizerState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#endif } /// @@ -34694,11 +28514,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(24)] public HResult CreateDeviceContextState(uint Flags, Graphics.Direct3D.FeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Guid* EmulatedInterface, Graphics.Direct3D.FeatureLevel* pChosenFeatureLevel, ID3DDeviceContextState* ppContextState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((ID3D11Device5*)Unsafe.AsPointer(ref this), Flags, pFeatureLevels, FeatureLevels, SDKVersion, EmulatedInterface, pChosenFeatureLevel, ppContextState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D11Device5*)Unsafe.AsPointer(ref this), Flags, pFeatureLevels, FeatureLevels, SDKVersion, EmulatedInterface, pChosenFeatureLevel, ppContextState); -#endif } /// @@ -34706,11 +28522,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(25)] public HResult OpenSharedResource1(IntPtr hResource, Guid* returnedInterface, void** ppResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); -#endif } /// @@ -34718,11 +28530,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(26)] public HResult OpenSharedResourceByName(char** lpName, uint dwDesiredAccess, Guid* returnedInterface, void** ppResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[26]))((ID3D11Device5*)Unsafe.AsPointer(ref this), lpName, dwDesiredAccess, returnedInterface, ppResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D11Device5*)Unsafe.AsPointer(ref this), lpName, dwDesiredAccess, returnedInterface, ppResource); -#endif } /// @@ -34730,11 +28538,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(27)] public HResult CreateBuffer(BufferDescription* pDesc, SubresourceData* pInitialData, ID3D11Buffer** ppBuffer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppBuffer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppBuffer); -#endif } /// @@ -34742,11 +28546,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(28)] public HResult CreateTexture1D(Texture1DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture1D** ppTexture1D) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture1D); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture1D); -#endif } /// @@ -34754,11 +28554,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(29)] public HResult CreateTexture2D(Texture2DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture2D** ppTexture2D) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[29]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture2D); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture2D); -#endif } /// @@ -34766,11 +28562,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(30)] public HResult CreateTexture3D(Texture3DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture3D** ppTexture3D) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[30]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture3D); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture3D); -#endif } /// @@ -34778,11 +28570,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(31)] public HResult CreateShaderResourceView(ID3D11Resource* pResource, ShaderResourceViewDescription* pDesc, ID3D11ShaderResourceView** ppSRView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[31]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc, ppSRView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc, ppSRView); -#endif } /// @@ -34790,11 +28578,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(32)] public HResult CreateUnorderedAccessView(ID3D11Resource* pResource, UnorderedAccessViewDescription* pDesc, ID3D11UnorderedAccessView** ppUAView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[32]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc, ppUAView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc, ppUAView); -#endif } /// @@ -34802,11 +28586,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(33)] public HResult CreateRenderTargetView(ID3D11Resource* pResource, RenderTargetViewDescription* pDesc, ID3D11RenderTargetView** ppRTView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[33]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc, ppRTView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc, ppRTView); -#endif } /// @@ -34814,11 +28594,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(34)] public HResult CreateDepthStencilView(ID3D11Resource* pResource, DepthStencilViewDescription* pDesc, ID3D11DepthStencilView** ppDepthStencilView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[34]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc, ppDepthStencilView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc, ppDepthStencilView); -#endif } /// @@ -34826,11 +28602,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(35)] public HResult CreateInputLayout(InputElementDescription* pInputElementDescs, uint NumElements, void* pShaderBytecodeWithInputSignature, nuint BytecodeLength, ID3D11InputLayout** ppInputLayout) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[35]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pInputElementDescs, NumElements, pShaderBytecodeWithInputSignature, BytecodeLength, ppInputLayout); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pInputElementDescs, NumElements, pShaderBytecodeWithInputSignature, BytecodeLength, ppInputLayout); -#endif } /// @@ -34838,11 +28610,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(36)] public HResult CreateVertexShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11VertexShader** ppVertexShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[36]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppVertexShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppVertexShader); -#endif } /// @@ -34850,23 +28618,15 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(37)] public HResult CreateGeometryShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[37]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppGeometryShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppGeometryShader); -#endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(38)] - public HResult CreateGeometryShaderWithStreamOutput(void* pShaderBytecode, nuint BytecodeLength, SoDeclarationEntry* pSODeclaration, uint NumEntries, uint* pBufferStrides, uint NumStrides, uint RasterizedStream, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader) + public HResult CreateGeometryShaderWithStreamOutput(void* pShaderBytecode, nuint BytecodeLength, SODeclarationEntry* pSODeclaration, uint NumEntries, uint* pBufferStrides, uint NumStrides, uint RasterizedStream, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[38]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader); -#else - return ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader); -#endif + return ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader); } /// @@ -34874,11 +28634,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(39)] public HResult CreatePixelShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11PixelShader** ppPixelShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[39]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppPixelShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppPixelShader); -#endif } /// @@ -34886,11 +28642,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(40)] public HResult CreateHullShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11HullShader** ppHullShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[40]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppHullShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppHullShader); -#endif } /// @@ -34898,11 +28650,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(41)] public HResult CreateDomainShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11DomainShader** ppDomainShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[41]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppDomainShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppDomainShader); -#endif } /// @@ -34910,11 +28658,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(42)] public HResult CreateComputeShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11ComputeShader** ppComputeShader) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[42]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppComputeShader); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppComputeShader); -#endif } /// @@ -34922,11 +28666,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(43)] public HResult CreateClassLinkage(ID3D11ClassLinkage** ppLinkage) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[43]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ppLinkage); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ppLinkage); -#endif } /// @@ -34934,11 +28674,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(44)] public HResult CreateBlendState(BlendDescription* pBlendStateDesc, ID3D11BlendState** ppBlendState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[44]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState); -#endif } /// @@ -34946,11 +28682,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(45)] public HResult CreateDepthStencilState(DepthStencilDescription* pDepthStencilDesc, ID3D11DepthStencilState** ppDepthStencilState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[45]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDepthStencilDesc, ppDepthStencilState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDepthStencilDesc, ppDepthStencilState); -#endif } /// @@ -34958,11 +28690,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(46)] public HResult CreateRasterizerState(RasterizerDescription* pRasterizerDesc, ID3D11RasterizerState** ppRasterizerState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[46]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState); -#endif } /// @@ -34970,11 +28698,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(47)] public HResult CreateSamplerState(SamplerDescription* pSamplerDesc, ID3D11SamplerState** ppSamplerState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[47]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pSamplerDesc, ppSamplerState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pSamplerDesc, ppSamplerState); -#endif } /// @@ -34982,11 +28706,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(48)] public HResult CreateQuery(QueryDescription* pQueryDesc, ID3D11Query** ppQuery) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[48]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pQueryDesc, ppQuery); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pQueryDesc, ppQuery); -#endif } /// @@ -34994,11 +28714,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(49)] public HResult CreatePredicate(QueryDescription* pPredicateDesc, ID3D11Predicate** ppPredicate) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[49]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pPredicateDesc, ppPredicate); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pPredicateDesc, ppPredicate); -#endif } /// @@ -35006,11 +28722,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(50)] public HResult CreateCounter(CounterDescription* pCounterDesc, ID3D11Counter** ppCounter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[50]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pCounterDesc, ppCounter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pCounterDesc, ppCounter); -#endif } /// @@ -35018,11 +28730,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(51)] public HResult CreateDeferredContext(uint ContextFlags, ID3D11DeviceContext** ppDeferredContext) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[51]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext); -#endif } /// @@ -35030,11 +28738,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(52)] public HResult OpenSharedResource(IntPtr hResource, Guid* ReturnedInterface, void** ppResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[52]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); -#endif } /// @@ -35042,11 +28746,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(53)] public HResult CheckFormatSupport(Graphics.Dxgi.Common.Format Format, uint* pFormatSupport) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[53]))((ID3D11Device5*)Unsafe.AsPointer(ref this), Format, pFormatSupport); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID3D11Device5*)Unsafe.AsPointer(ref this), Format, pFormatSupport); -#endif } /// @@ -35054,11 +28754,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(54)] public HResult CheckMultisampleQualityLevels(Graphics.Dxgi.Common.Format Format, uint SampleCount, uint* pNumQualityLevels) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[54]))((ID3D11Device5*)Unsafe.AsPointer(ref this), Format, SampleCount, pNumQualityLevels); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D11Device5*)Unsafe.AsPointer(ref this), Format, SampleCount, pNumQualityLevels); -#endif } /// @@ -35066,11 +28762,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(55)] public void CheckCounterInfo(CounterInfo* pCounterInfo) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[55]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pCounterInfo); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pCounterInfo); -#endif } /// @@ -35078,11 +28770,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(56)] public HResult CheckCounter(CounterDescription* pDesc, CounterType* pType, uint* pActiveCounters, byte* szName, uint* pNameLength, byte* szUnits, uint* pUnitsLength, byte* szDescription, uint* pDescriptionLength) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[56]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); -#endif } /// @@ -35090,11 +28778,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(57)] public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, uint FeatureSupportDataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[57]))((ID3D11Device5*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID3D11Device5*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#endif } /// @@ -35102,11 +28786,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(58)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[58]))((ID3D11Device5*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D11Device5*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -35114,11 +28794,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(59)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[59]))((ID3D11Device5*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID3D11Device5*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -35126,11 +28802,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(60)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[60]))((ID3D11Device5*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((ID3D11Device5*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -35138,11 +28810,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(61)] public Graphics.Direct3D.FeatureLevel GetFeatureLevel() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[61]))((ID3D11Device5*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((ID3D11Device5*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -35150,11 +28818,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(62)] public uint GetCreationFlags() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[62]))((ID3D11Device5*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((ID3D11Device5*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -35162,11 +28826,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(63)] public HResult GetDeviceRemovedReason() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[63]))((ID3D11Device5*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((ID3D11Device5*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -35174,11 +28834,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(64)] public void GetImmediateContext(ID3D11DeviceContext* ppImmediateContext) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[64]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ppImmediateContext); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ppImmediateContext); -#endif } /// @@ -35186,11 +28842,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(65)] public HResult SetExceptionMode(uint RaiseFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[65]))((ID3D11Device5*)Unsafe.AsPointer(ref this), RaiseFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((ID3D11Device5*)Unsafe.AsPointer(ref this), RaiseFlags); -#endif } /// @@ -35198,11 +28850,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(66)] public uint GetExceptionMode() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[66]))((ID3D11Device5*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[66]))((ID3D11Device5*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -35210,11 +28858,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(67)] public HResult OpenSharedFence(IntPtr hFence, Guid* ReturnedInterface, void** ppFence) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[67]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hFence, ReturnedInterface, ppFence); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hFence, ReturnedInterface, ppFence); -#endif } /// @@ -35222,16 +28866,9 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [VtblIndex(68)] public HResult CreateFence(ulong InitialValue, FenceFlag Flags, Guid* ReturnedInterface, void** ppFence) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[68]))((ID3D11Device5*)Unsafe.AsPointer(ref this), InitialValue, Flags, ReturnedInterface, ppFence); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[68]))((ID3D11Device5*)Unsafe.AsPointer(ref this), InitialValue, Flags, ReturnedInterface, ppFence); -#endif } - public interface Interface : ID3D11Device4.Interface - { - } } /// @@ -35239,7 +28876,7 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface [Guid("9b7e4e00-342c-4106-a19f-4f2704f689f0")] [NativeTypeName("struct ID3D11Multithread : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11Multithread : ID3D11Multithread.Interface +public unsafe partial struct ID3D11Multithread { public static ref readonly Guid IID_ID3D11Multithread { @@ -35300,11 +28937,7 @@ public unsafe partial struct ID3D11Multithread : ID3D11Multithread.Interface [VtblIndex(3)] public void Enter() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11Multithread*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11Multithread*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -35312,11 +28945,7 @@ public unsafe partial struct ID3D11Multithread : ID3D11Multithread.Interface [VtblIndex(4)] public void Leave() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11Multithread*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11Multithread*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -35324,11 +28953,7 @@ public unsafe partial struct ID3D11Multithread : ID3D11Multithread.Interface [VtblIndex(5)] public Bool32 SetMultithreadProtected(Bool32 bMTProtect) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11Multithread*)Unsafe.AsPointer(ref this), bMTProtect); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11Multithread*)Unsafe.AsPointer(ref this), bMTProtect); -#endif } /// @@ -35336,16 +28961,9 @@ public unsafe partial struct ID3D11Multithread : ID3D11Multithread.Interface [VtblIndex(6)] public Bool32 GetMultithreadProtected() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11Multithread*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11Multithread*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -35353,7 +28971,7 @@ public unsafe partial struct ID3D11Multithread : ID3D11Multithread.Interface [Guid("c4e7374c-6243-4d1b-ae87-52b4f740e261")] [NativeTypeName("struct ID3D11VideoContext2 : ID3D11VideoContext1")] [NativeInheritance("ID3D11VideoContext1")] -public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface +public unsafe partial struct ID3D11VideoContext2 { public static ref readonly Guid IID_ID3D11VideoContext2 { @@ -35414,11 +29032,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(3)] public HResult SubmitDecoderBuffers1(ID3D11VideoDecoder* pDecoder, uint NumBuffers, VideoDecoderBufferDescription1* pBufferDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc); -#endif } /// @@ -35426,11 +29040,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(4)] public HResult GetDataForNewHardwareKey(ID3D11CryptoSession* pCryptoSession, uint PrivateInputSize, void* pPrivatInputData, ulong* pPrivateOutputData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, PrivateInputSize, pPrivatInputData, pPrivateOutputData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, PrivateInputSize, pPrivatInputData, pPrivateOutputData); -#endif } /// @@ -35438,11 +29048,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(5)] public HResult CheckCryptoSessionStatus(ID3D11CryptoSession* pCryptoSession, CryptoSessionStatus* pStatus) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, pStatus); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, pStatus); -#endif } /// @@ -35450,11 +29056,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(6)] public HResult DecoderEnableDownsampling(ID3D11VideoDecoder* pDecoder, Graphics.Dxgi.Common.ColorSpaceType InputColorSpace, VideoSampleDescription* pOutputDesc, uint ReferenceFrameCount) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, InputColorSpace, pOutputDesc, ReferenceFrameCount); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, InputColorSpace, pOutputDesc, ReferenceFrameCount); -#endif } /// @@ -35462,11 +29064,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(7)] public HResult DecoderUpdateDownsampling(ID3D11VideoDecoder* pDecoder, VideoSampleDescription* pOutputDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, pOutputDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, pOutputDesc); -#endif } /// @@ -35474,11 +29072,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(8)] public void VideoProcessorSetOutputColorSpace1(ID3D11VideoProcessor* pVideoProcessor, Graphics.Dxgi.Common.ColorSpaceType ColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, ColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, ColorSpace); -#endif } /// @@ -35486,11 +29080,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(9)] public void VideoProcessorSetOutputShaderUsage(ID3D11VideoProcessor* pVideoProcessor, Bool32 ShaderUsage) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[9]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, ShaderUsage); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, ShaderUsage); -#endif } /// @@ -35498,11 +29088,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(10)] public void VideoProcessorGetOutputColorSpace1(ID3D11VideoProcessor* pVideoProcessor, Graphics.Dxgi.Common.ColorSpaceType* pColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[10]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace); -#endif } /// @@ -35510,11 +29096,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(11)] public void VideoProcessorGetOutputShaderUsage(ID3D11VideoProcessor* pVideoProcessor, Bool32* pShaderUsage) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[11]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pShaderUsage); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pShaderUsage); -#endif } /// @@ -35522,11 +29104,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(12)] public void VideoProcessorSetStreamColorSpace1(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Graphics.Dxgi.Common.ColorSpaceType ColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[12]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, ColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, ColorSpace); -#endif } /// @@ -35534,11 +29112,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(13)] public void VideoProcessorSetStreamMirror(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Bool32 FlipHorizontal, Bool32 FlipVertical) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[13]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, FlipHorizontal, FlipVertical); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, FlipHorizontal, FlipVertical); -#endif } /// @@ -35546,11 +29120,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(14)] public void VideoProcessorGetStreamColorSpace1(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Graphics.Dxgi.Common.ColorSpaceType* pColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[14]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace); -#endif } /// @@ -35558,11 +29128,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(15)] public void VideoProcessorGetStreamMirror(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnable, Bool32* pFlipHorizontal, Bool32* pFlipVertical) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[15]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFlipHorizontal, pFlipVertical); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFlipHorizontal, pFlipVertical); -#endif } /// @@ -35570,11 +29136,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(16)] public HResult VideoProcessorGetBehaviorHints(ID3D11VideoProcessor* pVideoProcessor, uint OutputWidth, uint OutputHeight, Graphics.Dxgi.Common.Format OutputFormat, uint StreamCount, VideoProcessorStreamBehaviorHint* pStreams, uint* pBehaviorHints) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, OutputWidth, OutputHeight, OutputFormat, StreamCount, pStreams, pBehaviorHints); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, OutputWidth, OutputHeight, OutputFormat, StreamCount, pStreams, pBehaviorHints); -#endif } /// @@ -35582,11 +29144,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(17)] public HResult GetDecoderBuffer(ID3D11VideoDecoder* pDecoder, VideoDecoderBufferType Type, uint* pBufferSize, void** ppBuffer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, Type, pBufferSize, ppBuffer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, Type, pBufferSize, ppBuffer); -#endif } /// @@ -35594,11 +29152,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(18)] public HResult ReleaseDecoderBuffer(ID3D11VideoDecoder* pDecoder, VideoDecoderBufferType Type) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, Type); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, Type); -#endif } /// @@ -35606,11 +29160,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(19)] public HResult DecoderBeginFrame(ID3D11VideoDecoder* pDecoder, ID3D11VideoDecoderOutputView* pView, uint ContentKeySize, void* pContentKey) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, pView, ContentKeySize, pContentKey); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, pView, ContentKeySize, pContentKey); -#endif } /// @@ -35618,11 +29168,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(20)] public HResult DecoderEndFrame(ID3D11VideoDecoder* pDecoder) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder); -#endif } /// @@ -35630,11 +29176,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(21)] public HResult SubmitDecoderBuffers(ID3D11VideoDecoder* pDecoder, uint NumBuffers, VideoDecoderBufferDescription* pBufferDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc); -#endif } /// @@ -35642,11 +29184,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(22)] public int DecoderExtension(ID3D11VideoDecoder* pDecoder, VideoDecoderExtension* pExtensionData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, pExtensionData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, pExtensionData); -#endif } /// @@ -35654,11 +29192,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(23)] public void VideoProcessorSetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, RawRect* pRect) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[23]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect); -#endif } /// @@ -35666,11 +29200,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(24)] public void VideoProcessorSetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, Bool32 YCbCr, VideoColor* pColor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[24]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor); -#endif } /// @@ -35678,11 +29208,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(25)] public void VideoProcessorSetOutputColorSpace(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorColorSpace* pColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[25]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace); -#endif } /// @@ -35690,11 +29216,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(26)] public void VideoProcessorSetOutputAlphaFillMode(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorAlphaFillMode AlphaFillMode, uint StreamIndex) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[26]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, AlphaFillMode, StreamIndex); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, AlphaFillMode, StreamIndex); -#endif } /// @@ -35702,11 +29224,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(27)] public void VideoProcessorSetOutputConstriction(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, System.Drawing.Size* Size) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[27]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size); -#endif } /// @@ -35714,11 +29232,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(28)] public void VideoProcessorSetOutputStereoMode(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[28]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable); -#endif } /// @@ -35726,11 +29240,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(29)] public int VideoProcessorSetOutputExtension(ID3D11VideoProcessor* pVideoProcessor, Guid* pExtensionGuid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[29]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData); -#endif } /// @@ -35738,11 +29248,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(30)] public void VideoProcessorGetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enabled, RawRect* pRect) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[30]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enabled, pRect); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enabled, pRect); -#endif } /// @@ -35750,11 +29256,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(31)] public void VideoProcessorGetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, Bool32* pYCbCr, VideoColor* pColor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[31]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pYCbCr, pColor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pYCbCr, pColor); -#endif } /// @@ -35762,11 +29264,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(32)] public void VideoProcessorGetOutputColorSpace(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorColorSpace* pColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[32]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace); -#endif } /// @@ -35774,11 +29272,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(33)] public void VideoProcessorGetOutputAlphaFillMode(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorAlphaFillMode* pAlphaFillMode, uint* pStreamIndex) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[33]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pAlphaFillMode, pStreamIndex); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pAlphaFillMode, pStreamIndex); -#endif } /// @@ -35786,11 +29280,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(34)] public void VideoProcessorGetOutputConstriction(ID3D11VideoProcessor* pVideoProcessor, Bool32* pEnabled, System.Drawing.Size* pSize) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[34]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled, pSize); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled, pSize); -#endif } /// @@ -35798,11 +29288,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(35)] public void VideoProcessorGetOutputStereoMode(ID3D11VideoProcessor* pVideoProcessor, Bool32* pEnabled) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[35]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled); -#endif } /// @@ -35810,11 +29296,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(36)] public int VideoProcessorGetOutputExtension(ID3D11VideoProcessor* pVideoProcessor, Guid* pExtensionGuid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[36]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData); -#endif } /// @@ -35822,11 +29304,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(37)] public void VideoProcessorSetStreamFrameFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoFrameFormat FrameFormat) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[37]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, FrameFormat); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, FrameFormat); -#endif } /// @@ -35834,11 +29312,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(38)] public void VideoProcessorSetStreamColorSpace(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorColorSpace* pColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[38]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace); -#endif } /// @@ -35846,11 +29320,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(39)] public void VideoProcessorSetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorOutputRate OutputRate, Bool32 RepeatFrame, Graphics.Dxgi.Common.Rational* pCustomRate) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[39]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate); -#endif } /// @@ -35858,11 +29328,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(40)] public void VideoProcessorSetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, RawRect* pRect) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[40]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); -#endif } /// @@ -35870,11 +29336,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(41)] public void VideoProcessorSetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, RawRect* pRect) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[41]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); -#endif } /// @@ -35882,11 +29344,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(42)] public void VideoProcessorSetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, float Alpha) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[42]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha); -#endif } /// @@ -35894,11 +29352,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(43)] public void VideoProcessorSetStreamPalette(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, uint Count, uint* pEntries) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[43]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries); -#endif } /// @@ -35906,11 +29360,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(44)] public void VideoProcessorSetStreamPixelAspectRatio(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Graphics.Dxgi.Common.Rational* pSourceAspectRatio, Graphics.Dxgi.Common.Rational* pDestinationAspectRatio) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[44]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio); -#endif } /// @@ -35918,11 +29368,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(45)] public void VideoProcessorSetStreamLumaKey(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, float Lower, float Upper) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[45]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper); -#endif } /// @@ -35930,11 +29376,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(46)] public void VideoProcessorSetStreamStereoFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, VideoProcessorStereoFormat Format, Bool32 LeftViewFrame0, Bool32 BaseViewFrame0, VideoProcessorStereoFlipMode FlipMode, int MonoOffset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[46]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset); -#endif } /// @@ -35942,11 +29384,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(47)] public void VideoProcessorSetStreamAutoProcessingMode(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[47]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable); -#endif } /// @@ -35954,11 +29392,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(48)] public void VideoProcessorSetStreamFilter(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorFilter Filter, Bool32 Enable, int Level) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[48]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level); -#endif } /// @@ -35966,11 +29400,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(49)] public int VideoProcessorSetStreamExtension(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Guid* pExtensionGuid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[49]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData); -#endif } /// @@ -35978,11 +29408,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(50)] public void VideoProcessorGetStreamFrameFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoFrameFormat* pFrameFormat) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[50]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pFrameFormat); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pFrameFormat); -#endif } /// @@ -35990,11 +29416,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(51)] public void VideoProcessorGetStreamColorSpace(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorColorSpace* pColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[51]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace); -#endif } /// @@ -36002,11 +29424,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(52)] public void VideoProcessorGetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorOutputRate* pOutputRate, Bool32* pRepeatFrame, Graphics.Dxgi.Common.Rational* pCustomRate) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[52]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pOutputRate, pRepeatFrame, pCustomRate); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pOutputRate, pRepeatFrame, pCustomRate); -#endif } /// @@ -36014,11 +29432,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(53)] public void VideoProcessorGetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, RawRect* pRect) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[53]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect); -#endif } /// @@ -36026,11 +29440,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(54)] public void VideoProcessorGetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, RawRect* pRect) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[54]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect); -#endif } /// @@ -36038,11 +29448,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(55)] public void VideoProcessorGetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, float* pAlpha) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[55]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pAlpha); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pAlpha); -#endif } /// @@ -36050,11 +29456,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(56)] public void VideoProcessorGetStreamPalette(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, uint Count, uint* pEntries) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[56]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries); -#endif } /// @@ -36062,11 +29464,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(57)] public void VideoProcessorGetStreamPixelAspectRatio(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, Graphics.Dxgi.Common.Rational* pSourceAspectRatio, Graphics.Dxgi.Common.Rational* pDestinationAspectRatio) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[57]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pSourceAspectRatio, pDestinationAspectRatio); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pSourceAspectRatio, pDestinationAspectRatio); -#endif } /// @@ -36074,11 +29472,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(58)] public void VideoProcessorGetStreamLumaKey(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, float* pLower, float* pUpper) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[58]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pLower, pUpper); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pLower, pUpper); -#endif } /// @@ -36086,11 +29480,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(59)] public void VideoProcessorGetStreamStereoFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnable, VideoProcessorStereoFormat* pFormat, Bool32* pLeftViewFrame0, Bool32* pBaseViewFrame0, VideoProcessorStereoFlipMode* pFlipMode, int* MonoOffset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[59]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFormat, pLeftViewFrame0, pBaseViewFrame0, pFlipMode, MonoOffset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFormat, pLeftViewFrame0, pBaseViewFrame0, pFlipMode, MonoOffset); -#endif } /// @@ -36098,11 +29488,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(60)] public void VideoProcessorGetStreamAutoProcessingMode(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[60]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled); -#endif } /// @@ -36110,11 +29496,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(61)] public void VideoProcessorGetStreamFilter(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorFilter Filter, Bool32* pEnabled, int* pLevel) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[61]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, pEnabled, pLevel); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, pEnabled, pLevel); -#endif } /// @@ -36122,11 +29504,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(62)] public int VideoProcessorGetStreamExtension(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Guid* pExtensionGuid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[62]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData); -#endif } /// @@ -36134,11 +29512,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(63)] public HResult VideoProcessorBlt(ID3D11VideoProcessor* pVideoProcessor, ID3D11VideoProcessorOutputView* pView, uint OutputFrame, uint StreamCount, VideoProcessorStream* pStreams) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[63]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pView, OutputFrame, StreamCount, pStreams); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pView, OutputFrame, StreamCount, pStreams); -#endif } /// @@ -36146,11 +29520,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(64)] public HResult NegotiateCryptoSessionKeyExchange(ID3D11CryptoSession* pCryptoSession, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[64]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, DataSize, pData); -#endif } /// @@ -36158,11 +29528,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(65)] public void EncryptionBlt(ID3D11CryptoSession* pCryptoSession, ID3D11Texture2D* pSrcSurface, ID3D11Texture2D* pDstSurface, uint IVSize, void* pIV) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[65]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, IVSize, pIV); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, IVSize, pIV); -#endif } /// @@ -36170,11 +29536,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(66)] public void DecryptionBlt(ID3D11CryptoSession* pCryptoSession, ID3D11Texture2D* pSrcSurface, ID3D11Texture2D* pDstSurface, EncryptedBlockInfo* pEncryptedBlockInfo, uint ContentKeySize, void* pContentKey, uint IVSize, void* pIV) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[66]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, pEncryptedBlockInfo, ContentKeySize, pContentKey, IVSize, pIV); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[66]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, pEncryptedBlockInfo, ContentKeySize, pContentKey, IVSize, pIV); -#endif } /// @@ -36182,11 +29544,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(67)] public void StartSessionKeyRefresh(ID3D11CryptoSession* pCryptoSession, uint RandomNumberSize, void* pRandomNumber) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[67]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, RandomNumberSize, pRandomNumber); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, RandomNumberSize, pRandomNumber); -#endif } /// @@ -36194,11 +29552,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(68)] public void FinishSessionKeyRefresh(ID3D11CryptoSession* pCryptoSession) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[68]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[68]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession); -#endif } /// @@ -36206,11 +29560,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(69)] public HResult GetEncryptionBltKey(ID3D11CryptoSession* pCryptoSession, uint KeySize, void* pReadbackKey) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[69]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, KeySize, pReadbackKey); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[69]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, KeySize, pReadbackKey); -#endif } /// @@ -36218,11 +29568,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(70)] public HResult NegotiateAuthenticatedChannelKeyExchange(ID3D11AuthenticatedChannel* pChannel, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[70]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pChannel, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pChannel, DataSize, pData); -#endif } /// @@ -36230,11 +29576,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(71)] public HResult QueryAuthenticatedChannel(ID3D11AuthenticatedChannel* pChannel, uint InputSize, void* pInput, uint OutputSize, void* pOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[71]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, OutputSize, pOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, OutputSize, pOutput); -#endif } /// @@ -36242,11 +29584,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(72)] public HResult ConfigureAuthenticatedChannel(ID3D11AuthenticatedChannel* pChannel, uint InputSize, void* pInput, AuthenticatedConfigureOutput* pOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[72]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, pOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, pOutput); -#endif } /// @@ -36254,11 +29592,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(73)] public void VideoProcessorSetStreamRotation(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, VideoProcessorRotation Rotation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[73]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[73]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation); -#endif } /// @@ -36266,11 +29600,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(74)] public void VideoProcessorGetStreamRotation(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnable, VideoProcessorRotation* pRotation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[74]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pRotation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[74]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pRotation); -#endif } /// @@ -36278,11 +29608,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(75)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[75]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[75]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -36290,11 +29616,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(76)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[76]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[76]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -36302,11 +29624,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(77)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[77]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[77]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -36314,11 +29632,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(78)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[78]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[78]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -36326,11 +29640,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(79)] public void VideoProcessorSetOutputHDRMetaData(ID3D11VideoProcessor* pVideoProcessor, Graphics.Dxgi.HdrMetadataType Type, uint Size, void* pHDRMetaData) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[79]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Type, Size, pHDRMetaData); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[79]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Type, Size, pHDRMetaData); -#endif } /// @@ -36338,11 +29648,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(80)] public void VideoProcessorGetOutputHDRMetaData(ID3D11VideoProcessor* pVideoProcessor, Graphics.Dxgi.HdrMetadataType* pType, uint Size, void* pMetaData) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[80]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pType, Size, pMetaData); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[80]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pType, Size, pMetaData); -#endif } /// @@ -36350,11 +29656,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(81)] public void VideoProcessorSetStreamHDRMetaData(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Graphics.Dxgi.HdrMetadataType Type, uint Size, void* pHDRMetaData) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[81]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Type, Size, pHDRMetaData); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[81]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Type, Size, pHDRMetaData); -#endif } /// @@ -36362,16 +29664,9 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [VtblIndex(82)] public void VideoProcessorGetStreamHDRMetaData(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Graphics.Dxgi.HdrMetadataType* pType, uint Size, void* pMetaData) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[82]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pType, Size, pMetaData); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[82]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pType, Size, pMetaData); -#endif } - public interface Interface : ID3D11VideoContext1.Interface - { - } } /// @@ -36379,7 +29674,7 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface [Guid("59c0cb01-35f0-4a70-8f67-87905c906a53")] [NativeTypeName("struct ID3D11VideoDevice2 : ID3D11VideoDevice1")] [NativeInheritance("ID3D11VideoDevice1")] -public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface +public unsafe partial struct ID3D11VideoDevice2 { public static ref readonly Guid IID_ID3D11VideoDevice2 { @@ -36440,11 +29735,7 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface [VtblIndex(3)] public HResult GetCryptoSessionPrivateDataSize(Guid* pCryptoType, Guid* pDecoderProfile, Guid* pKeyExchangeType, uint* pPrivateInputSize, uint* pPrivateOutputSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pKeyExchangeType, pPrivateInputSize, pPrivateOutputSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pKeyExchangeType, pPrivateInputSize, pPrivateOutputSize); -#endif } /// @@ -36452,11 +29743,7 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface [VtblIndex(4)] public HResult GetVideoDecoderCaps(Guid* pDecoderProfile, uint SampleWidth, uint SampleHeight, Graphics.Dxgi.Common.Rational* pFrameRate, uint BitRate, Guid* pCryptoType, uint* pDecoderCaps) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pDecoderProfile, SampleWidth, SampleHeight, pFrameRate, BitRate, pCryptoType, pDecoderCaps); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pDecoderProfile, SampleWidth, SampleHeight, pFrameRate, BitRate, pCryptoType, pDecoderCaps); -#endif } /// @@ -36464,11 +29751,7 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface [VtblIndex(5)] public HResult CheckVideoDecoderDownsampling(VideoDecoderDescription* pInputDesc, Graphics.Dxgi.Common.ColorSpaceType InputColorSpace, VideoDecoderConfig* pInputConfig, Graphics.Dxgi.Common.Rational* pFrameRate, VideoSampleDescription* pOutputDesc, Bool32* pSupported, Bool32* pRealTimeHint) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pInputDesc, InputColorSpace, pInputConfig, pFrameRate, pOutputDesc, pSupported, pRealTimeHint); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pInputDesc, InputColorSpace, pInputConfig, pFrameRate, pOutputDesc, pSupported, pRealTimeHint); -#endif } /// @@ -36476,11 +29759,7 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface [VtblIndex(6)] public HResult RecommendVideoDecoderDownsampleParameters(VideoDecoderDescription* pInputDesc, Graphics.Dxgi.Common.ColorSpaceType InputColorSpace, VideoDecoderConfig* pInputConfig, Graphics.Dxgi.Common.Rational* pFrameRate, VideoSampleDescription* pRecommendedOutputDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pInputDesc, InputColorSpace, pInputConfig, pFrameRate, pRecommendedOutputDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pInputDesc, InputColorSpace, pInputConfig, pFrameRate, pRecommendedOutputDesc); -#endif } /// @@ -36488,11 +29767,7 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface [VtblIndex(7)] public HResult CreateVideoDecoder(VideoDecoderDescription* pVideoDesc, VideoDecoderConfig* pConfig, ID3D11VideoDecoder** ppDecoder) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pVideoDesc, pConfig, ppDecoder); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pVideoDesc, pConfig, ppDecoder); -#endif } /// @@ -36500,11 +29775,7 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface [VtblIndex(8)] public HResult CreateVideoProcessor(ID3D11VideoProcessorEnumerator* pEnum, uint RateConversionIndex, ID3D11VideoProcessor** ppVideoProcessor) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pEnum, RateConversionIndex, ppVideoProcessor); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pEnum, RateConversionIndex, ppVideoProcessor); -#endif } /// @@ -36512,11 +29783,7 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface [VtblIndex(9)] public HResult CreateAuthenticatedChannel(AuthenticatedChannelType ChannelType, ID3D11AuthenticatedChannel** ppAuthenticatedChannel) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), ChannelType, ppAuthenticatedChannel); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), ChannelType, ppAuthenticatedChannel); -#endif } /// @@ -36524,11 +29791,7 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface [VtblIndex(10)] public HResult CreateCryptoSession(Guid* pCryptoType, Guid* pDecoderProfile, Guid* pKeyExchangeType, ID3D11CryptoSession** ppCryptoSession) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pKeyExchangeType, ppCryptoSession); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pKeyExchangeType, ppCryptoSession); -#endif } /// @@ -36536,11 +29799,7 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface [VtblIndex(11)] public HResult CreateVideoDecoderOutputView(ID3D11Resource* pResource, VideoDecoderOutputViewDescription* pDesc, ID3D11VideoDecoderOutputView** ppVDOVView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pResource, pDesc, ppVDOVView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pResource, pDesc, ppVDOVView); -#endif } /// @@ -36548,11 +29807,7 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface [VtblIndex(12)] public HResult CreateVideoProcessorInputView(ID3D11Resource* pResource, ID3D11VideoProcessorEnumerator* pEnum, VideoProcessorInputViewDescription* pDesc, ID3D11VideoProcessorInputView** ppVPIView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pResource, pEnum, pDesc, ppVPIView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pResource, pEnum, pDesc, ppVPIView); -#endif } /// @@ -36560,11 +29815,7 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface [VtblIndex(13)] public HResult CreateVideoProcessorOutputView(ID3D11Resource* pResource, ID3D11VideoProcessorEnumerator* pEnum, VideoProcessorOutputViewDescription* pDesc, ID3D11VideoProcessorOutputView** ppVPOView) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pResource, pEnum, pDesc, ppVPOView); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pResource, pEnum, pDesc, ppVPOView); -#endif } /// @@ -36572,11 +29823,7 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface [VtblIndex(14)] public HResult CreateVideoProcessorEnumerator(VideoProcessorContentDescription* pDesc, ID3D11VideoProcessorEnumerator** ppEnum) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pDesc, ppEnum); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pDesc, ppEnum); -#endif } /// @@ -36584,11 +29831,7 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface [VtblIndex(15)] public uint GetVideoDecoderProfileCount() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -36596,11 +29839,7 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface [VtblIndex(16)] public HResult GetVideoDecoderProfile(uint Index, Guid* pDecoderProfile) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), Index, pDecoderProfile); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), Index, pDecoderProfile); -#endif } /// @@ -36608,11 +29847,7 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface [VtblIndex(17)] public HResult CheckVideoDecoderFormat(Guid* pDecoderProfile, Graphics.Dxgi.Common.Format Format, Bool32* pSupported) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pDecoderProfile, Format, pSupported); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pDecoderProfile, Format, pSupported); -#endif } /// @@ -36620,11 +29855,7 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface [VtblIndex(18)] public HResult GetVideoDecoderConfigCount(VideoDecoderDescription* pDesc, uint* pCount) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pDesc, pCount); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pDesc, pCount); -#endif } /// @@ -36632,11 +29863,7 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface [VtblIndex(19)] public HResult GetVideoDecoderConfig(VideoDecoderDescription* pDesc, uint Index, VideoDecoderConfig* pConfig) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pDesc, Index, pConfig); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pDesc, Index, pConfig); -#endif } /// @@ -36644,11 +29871,7 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface [VtblIndex(20)] public HResult GetContentProtectionCaps(Guid* pCryptoType, Guid* pDecoderProfile, VideoContentProtectionCaps* pCaps) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pCaps); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pCaps); -#endif } /// @@ -36656,11 +29879,7 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface [VtblIndex(21)] public HResult CheckCryptoKeyExchange(Guid* pCryptoType, Guid* pDecoderProfile, uint Index, Guid* pKeyExchangeType) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, Index, pKeyExchangeType); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, Index, pKeyExchangeType); -#endif } /// @@ -36668,11 +29887,7 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface [VtblIndex(22)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -36680,11 +29895,7 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface [VtblIndex(23)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -36692,11 +29903,7 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface [VtblIndex(24)] public HResult CheckFeatureSupport(FeatureVideo Feature, void* pFeatureSupportData, uint FeatureSupportDataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#endif } /// @@ -36704,16 +29911,9 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface [VtblIndex(25)] public HResult NegotiateCryptoSessionKeyExchangeMT(ID3D11CryptoSession* pCryptoSession, CryptoSessionKeyExchangeFlags flags, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pCryptoSession, flags, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pCryptoSession, flags, DataSize, pData); -#endif } - public interface Interface : ID3D11VideoDevice1.Interface - { - } } /// @@ -36721,7 +29921,7 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface [Guid("a9e2faa0-cb39-418f-a0b7-d8aad4de672e")] [NativeTypeName("struct ID3D11VideoContext3 : ID3D11VideoContext2")] [NativeInheritance("ID3D11VideoContext2")] -public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface +public unsafe partial struct ID3D11VideoContext3 { public static ref readonly Guid IID_ID3D11VideoContext3 { @@ -36782,11 +29982,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(3)] public void VideoProcessorSetOutputHDRMetaData(ID3D11VideoProcessor* pVideoProcessor, Graphics.Dxgi.HdrMetadataType Type, uint Size, void* pHDRMetaData) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Type, Size, pHDRMetaData); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Type, Size, pHDRMetaData); -#endif } /// @@ -36794,11 +29990,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(4)] public void VideoProcessorGetOutputHDRMetaData(ID3D11VideoProcessor* pVideoProcessor, Graphics.Dxgi.HdrMetadataType* pType, uint Size, void* pMetaData) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pType, Size, pMetaData); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pType, Size, pMetaData); -#endif } /// @@ -36806,11 +29998,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(5)] public void VideoProcessorSetStreamHDRMetaData(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Graphics.Dxgi.HdrMetadataType Type, uint Size, void* pHDRMetaData) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Type, Size, pHDRMetaData); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Type, Size, pHDRMetaData); -#endif } /// @@ -36818,11 +30006,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(6)] public void VideoProcessorGetStreamHDRMetaData(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Graphics.Dxgi.HdrMetadataType* pType, uint Size, void* pMetaData) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[6]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pType, Size, pMetaData); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pType, Size, pMetaData); -#endif } /// @@ -36830,11 +30014,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(7)] public HResult SubmitDecoderBuffers1(ID3D11VideoDecoder* pDecoder, uint NumBuffers, VideoDecoderBufferDescription1* pBufferDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc); -#endif } /// @@ -36842,11 +30022,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(8)] public HResult GetDataForNewHardwareKey(ID3D11CryptoSession* pCryptoSession, uint PrivateInputSize, void* pPrivatInputData, ulong* pPrivateOutputData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, PrivateInputSize, pPrivatInputData, pPrivateOutputData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, PrivateInputSize, pPrivatInputData, pPrivateOutputData); -#endif } /// @@ -36854,11 +30030,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(9)] public HResult CheckCryptoSessionStatus(ID3D11CryptoSession* pCryptoSession, CryptoSessionStatus* pStatus) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, pStatus); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, pStatus); -#endif } /// @@ -36866,11 +30038,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(10)] public HResult DecoderEnableDownsampling(ID3D11VideoDecoder* pDecoder, Graphics.Dxgi.Common.ColorSpaceType InputColorSpace, VideoSampleDescription* pOutputDesc, uint ReferenceFrameCount) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, InputColorSpace, pOutputDesc, ReferenceFrameCount); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, InputColorSpace, pOutputDesc, ReferenceFrameCount); -#endif } /// @@ -36878,11 +30046,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(11)] public HResult DecoderUpdateDownsampling(ID3D11VideoDecoder* pDecoder, VideoSampleDescription* pOutputDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, pOutputDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, pOutputDesc); -#endif } /// @@ -36890,11 +30054,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(12)] public void VideoProcessorSetOutputColorSpace1(ID3D11VideoProcessor* pVideoProcessor, Graphics.Dxgi.Common.ColorSpaceType ColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[12]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, ColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, ColorSpace); -#endif } /// @@ -36902,11 +30062,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(13)] public void VideoProcessorSetOutputShaderUsage(ID3D11VideoProcessor* pVideoProcessor, Bool32 ShaderUsage) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[13]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, ShaderUsage); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, ShaderUsage); -#endif } /// @@ -36914,11 +30070,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(14)] public void VideoProcessorGetOutputColorSpace1(ID3D11VideoProcessor* pVideoProcessor, Graphics.Dxgi.Common.ColorSpaceType* pColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[14]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace); -#endif } /// @@ -36926,11 +30078,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(15)] public void VideoProcessorGetOutputShaderUsage(ID3D11VideoProcessor* pVideoProcessor, Bool32* pShaderUsage) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[15]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pShaderUsage); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pShaderUsage); -#endif } /// @@ -36938,11 +30086,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(16)] public void VideoProcessorSetStreamColorSpace1(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Graphics.Dxgi.Common.ColorSpaceType ColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[16]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, ColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, ColorSpace); -#endif } /// @@ -36950,11 +30094,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(17)] public void VideoProcessorSetStreamMirror(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Bool32 FlipHorizontal, Bool32 FlipVertical) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[17]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, FlipHorizontal, FlipVertical); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, FlipHorizontal, FlipVertical); -#endif } /// @@ -36962,11 +30102,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(18)] public void VideoProcessorGetStreamColorSpace1(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Graphics.Dxgi.Common.ColorSpaceType* pColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[18]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace); -#endif } /// @@ -36974,11 +30110,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(19)] public void VideoProcessorGetStreamMirror(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnable, Bool32* pFlipHorizontal, Bool32* pFlipVertical) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[19]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFlipHorizontal, pFlipVertical); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFlipHorizontal, pFlipVertical); -#endif } /// @@ -36986,11 +30118,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(20)] public HResult VideoProcessorGetBehaviorHints(ID3D11VideoProcessor* pVideoProcessor, uint OutputWidth, uint OutputHeight, Graphics.Dxgi.Common.Format OutputFormat, uint StreamCount, VideoProcessorStreamBehaviorHint* pStreams, uint* pBehaviorHints) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, OutputWidth, OutputHeight, OutputFormat, StreamCount, pStreams, pBehaviorHints); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, OutputWidth, OutputHeight, OutputFormat, StreamCount, pStreams, pBehaviorHints); -#endif } /// @@ -36998,11 +30126,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(21)] public HResult GetDecoderBuffer(ID3D11VideoDecoder* pDecoder, VideoDecoderBufferType Type, uint* pBufferSize, void** ppBuffer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, Type, pBufferSize, ppBuffer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, Type, pBufferSize, ppBuffer); -#endif } /// @@ -37010,11 +30134,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(22)] public HResult ReleaseDecoderBuffer(ID3D11VideoDecoder* pDecoder, VideoDecoderBufferType Type) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, Type); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, Type); -#endif } /// @@ -37022,11 +30142,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(23)] public HResult DecoderBeginFrame(ID3D11VideoDecoder* pDecoder, ID3D11VideoDecoderOutputView* pView, uint ContentKeySize, void* pContentKey) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, pView, ContentKeySize, pContentKey); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, pView, ContentKeySize, pContentKey); -#endif } /// @@ -37034,11 +30150,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(24)] public HResult DecoderEndFrame(ID3D11VideoDecoder* pDecoder) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder); -#endif } /// @@ -37046,11 +30158,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(25)] public HResult SubmitDecoderBuffers(ID3D11VideoDecoder* pDecoder, uint NumBuffers, VideoDecoderBufferDescription* pBufferDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc); -#endif } /// @@ -37058,11 +30166,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(26)] public int DecoderExtension(ID3D11VideoDecoder* pDecoder, VideoDecoderExtension* pExtensionData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[26]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, pExtensionData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, pExtensionData); -#endif } /// @@ -37070,11 +30174,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(27)] public void VideoProcessorSetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, RawRect* pRect) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[27]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect); -#endif } /// @@ -37082,11 +30182,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(28)] public void VideoProcessorSetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, Bool32 YCbCr, VideoColor* pColor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[28]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor); -#endif } /// @@ -37094,11 +30190,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(29)] public void VideoProcessorSetOutputColorSpace(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorColorSpace* pColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[29]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace); -#endif } /// @@ -37106,11 +30198,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(30)] public void VideoProcessorSetOutputAlphaFillMode(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorAlphaFillMode AlphaFillMode, uint StreamIndex) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[30]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, AlphaFillMode, StreamIndex); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, AlphaFillMode, StreamIndex); -#endif } /// @@ -37118,11 +30206,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(31)] public void VideoProcessorSetOutputConstriction(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, System.Drawing.Size* Size) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[31]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size); -#endif } /// @@ -37130,11 +30214,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(32)] public void VideoProcessorSetOutputStereoMode(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[32]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable); -#endif } /// @@ -37142,11 +30222,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(33)] public int VideoProcessorSetOutputExtension(ID3D11VideoProcessor* pVideoProcessor, Guid* pExtensionGuid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[33]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData); -#endif } /// @@ -37154,11 +30230,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(34)] public void VideoProcessorGetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enabled, RawRect* pRect) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[34]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enabled, pRect); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enabled, pRect); -#endif } /// @@ -37166,11 +30238,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(35)] public void VideoProcessorGetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, Bool32* pYCbCr, VideoColor* pColor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[35]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pYCbCr, pColor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pYCbCr, pColor); -#endif } /// @@ -37178,11 +30246,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(36)] public void VideoProcessorGetOutputColorSpace(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorColorSpace* pColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[36]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace); -#endif } /// @@ -37190,11 +30254,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(37)] public void VideoProcessorGetOutputAlphaFillMode(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorAlphaFillMode* pAlphaFillMode, uint* pStreamIndex) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[37]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pAlphaFillMode, pStreamIndex); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pAlphaFillMode, pStreamIndex); -#endif } /// @@ -37202,11 +30262,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(38)] public void VideoProcessorGetOutputConstriction(ID3D11VideoProcessor* pVideoProcessor, Bool32* pEnabled, System.Drawing.Size* pSize) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[38]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled, pSize); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled, pSize); -#endif } /// @@ -37214,11 +30270,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(39)] public void VideoProcessorGetOutputStereoMode(ID3D11VideoProcessor* pVideoProcessor, Bool32* pEnabled) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[39]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled); -#endif } /// @@ -37226,11 +30278,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(40)] public int VideoProcessorGetOutputExtension(ID3D11VideoProcessor* pVideoProcessor, Guid* pExtensionGuid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[40]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData); -#endif } /// @@ -37238,11 +30286,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(41)] public void VideoProcessorSetStreamFrameFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoFrameFormat FrameFormat) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[41]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, FrameFormat); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, FrameFormat); -#endif } /// @@ -37250,11 +30294,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(42)] public void VideoProcessorSetStreamColorSpace(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorColorSpace* pColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[42]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace); -#endif } /// @@ -37262,11 +30302,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(43)] public void VideoProcessorSetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorOutputRate OutputRate, Bool32 RepeatFrame, Graphics.Dxgi.Common.Rational* pCustomRate) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[43]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate); -#endif } /// @@ -37274,11 +30310,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(44)] public void VideoProcessorSetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, RawRect* pRect) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[44]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); -#endif } /// @@ -37286,11 +30318,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(45)] public void VideoProcessorSetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, RawRect* pRect) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[45]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); -#endif } /// @@ -37298,11 +30326,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(46)] public void VideoProcessorSetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, float Alpha) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[46]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha); -#endif } /// @@ -37310,11 +30334,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(47)] public void VideoProcessorSetStreamPalette(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, uint Count, uint* pEntries) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[47]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries); -#endif } /// @@ -37322,11 +30342,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(48)] public void VideoProcessorSetStreamPixelAspectRatio(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Graphics.Dxgi.Common.Rational* pSourceAspectRatio, Graphics.Dxgi.Common.Rational* pDestinationAspectRatio) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[48]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio); -#endif } /// @@ -37334,11 +30350,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(49)] public void VideoProcessorSetStreamLumaKey(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, float Lower, float Upper) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[49]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper); -#endif } /// @@ -37346,11 +30358,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(50)] public void VideoProcessorSetStreamStereoFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, VideoProcessorStereoFormat Format, Bool32 LeftViewFrame0, Bool32 BaseViewFrame0, VideoProcessorStereoFlipMode FlipMode, int MonoOffset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[50]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset); -#endif } /// @@ -37358,11 +30366,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(51)] public void VideoProcessorSetStreamAutoProcessingMode(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[51]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable); -#endif } /// @@ -37370,11 +30374,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(52)] public void VideoProcessorSetStreamFilter(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorFilter Filter, Bool32 Enable, int Level) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[52]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level); -#endif } /// @@ -37382,11 +30382,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(53)] public int VideoProcessorSetStreamExtension(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Guid* pExtensionGuid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[53]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData); -#endif } /// @@ -37394,11 +30390,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(54)] public void VideoProcessorGetStreamFrameFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoFrameFormat* pFrameFormat) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[54]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pFrameFormat); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pFrameFormat); -#endif } /// @@ -37406,11 +30398,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(55)] public void VideoProcessorGetStreamColorSpace(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorColorSpace* pColorSpace) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[55]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace); -#endif } /// @@ -37418,11 +30406,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(56)] public void VideoProcessorGetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorOutputRate* pOutputRate, Bool32* pRepeatFrame, Graphics.Dxgi.Common.Rational* pCustomRate) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[56]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pOutputRate, pRepeatFrame, pCustomRate); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pOutputRate, pRepeatFrame, pCustomRate); -#endif } /// @@ -37430,11 +30414,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(57)] public void VideoProcessorGetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, RawRect* pRect) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[57]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect); -#endif } /// @@ -37442,11 +30422,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(58)] public void VideoProcessorGetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, RawRect* pRect) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[58]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect); -#endif } /// @@ -37454,11 +30430,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(59)] public void VideoProcessorGetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, float* pAlpha) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[59]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pAlpha); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pAlpha); -#endif } /// @@ -37466,11 +30438,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(60)] public void VideoProcessorGetStreamPalette(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, uint Count, uint* pEntries) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[60]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries); -#endif } /// @@ -37478,11 +30446,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(61)] public void VideoProcessorGetStreamPixelAspectRatio(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, Graphics.Dxgi.Common.Rational* pSourceAspectRatio, Graphics.Dxgi.Common.Rational* pDestinationAspectRatio) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[61]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pSourceAspectRatio, pDestinationAspectRatio); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pSourceAspectRatio, pDestinationAspectRatio); -#endif } /// @@ -37490,11 +30454,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(62)] public void VideoProcessorGetStreamLumaKey(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, float* pLower, float* pUpper) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[62]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pLower, pUpper); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pLower, pUpper); -#endif } /// @@ -37502,11 +30462,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(63)] public void VideoProcessorGetStreamStereoFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnable, VideoProcessorStereoFormat* pFormat, Bool32* pLeftViewFrame0, Bool32* pBaseViewFrame0, VideoProcessorStereoFlipMode* pFlipMode, int* MonoOffset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[63]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFormat, pLeftViewFrame0, pBaseViewFrame0, pFlipMode, MonoOffset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFormat, pLeftViewFrame0, pBaseViewFrame0, pFlipMode, MonoOffset); -#endif } /// @@ -37514,11 +30470,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(64)] public void VideoProcessorGetStreamAutoProcessingMode(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[64]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled); -#endif } /// @@ -37526,11 +30478,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(65)] public void VideoProcessorGetStreamFilter(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorFilter Filter, Bool32* pEnabled, int* pLevel) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[65]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, pEnabled, pLevel); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, pEnabled, pLevel); -#endif } /// @@ -37538,11 +30486,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(66)] public int VideoProcessorGetStreamExtension(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Guid* pExtensionGuid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[66]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[66]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData); -#endif } /// @@ -37550,11 +30494,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(67)] public HResult VideoProcessorBlt(ID3D11VideoProcessor* pVideoProcessor, ID3D11VideoProcessorOutputView* pView, uint OutputFrame, uint StreamCount, VideoProcessorStream* pStreams) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[67]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pView, OutputFrame, StreamCount, pStreams); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pView, OutputFrame, StreamCount, pStreams); -#endif } /// @@ -37562,11 +30502,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(68)] public HResult NegotiateCryptoSessionKeyExchange(ID3D11CryptoSession* pCryptoSession, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[68]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[68]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, DataSize, pData); -#endif } /// @@ -37574,11 +30510,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(69)] public void EncryptionBlt(ID3D11CryptoSession* pCryptoSession, ID3D11Texture2D* pSrcSurface, ID3D11Texture2D* pDstSurface, uint IVSize, void* pIV) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[69]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, IVSize, pIV); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[69]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, IVSize, pIV); -#endif } /// @@ -37586,11 +30518,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(70)] public void DecryptionBlt(ID3D11CryptoSession* pCryptoSession, ID3D11Texture2D* pSrcSurface, ID3D11Texture2D* pDstSurface, EncryptedBlockInfo* pEncryptedBlockInfo, uint ContentKeySize, void* pContentKey, uint IVSize, void* pIV) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[70]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, pEncryptedBlockInfo, ContentKeySize, pContentKey, IVSize, pIV); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, pEncryptedBlockInfo, ContentKeySize, pContentKey, IVSize, pIV); -#endif } /// @@ -37598,11 +30526,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(71)] public void StartSessionKeyRefresh(ID3D11CryptoSession* pCryptoSession, uint RandomNumberSize, void* pRandomNumber) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[71]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, RandomNumberSize, pRandomNumber); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, RandomNumberSize, pRandomNumber); -#endif } /// @@ -37610,11 +30534,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(72)] public void FinishSessionKeyRefresh(ID3D11CryptoSession* pCryptoSession) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[72]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession); -#endif } /// @@ -37622,11 +30542,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(73)] public HResult GetEncryptionBltKey(ID3D11CryptoSession* pCryptoSession, uint KeySize, void* pReadbackKey) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[73]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, KeySize, pReadbackKey); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[73]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, KeySize, pReadbackKey); -#endif } /// @@ -37634,11 +30550,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(74)] public HResult NegotiateAuthenticatedChannelKeyExchange(ID3D11AuthenticatedChannel* pChannel, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[74]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pChannel, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[74]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pChannel, DataSize, pData); -#endif } /// @@ -37646,11 +30558,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(75)] public HResult QueryAuthenticatedChannel(ID3D11AuthenticatedChannel* pChannel, uint InputSize, void* pInput, uint OutputSize, void* pOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[75]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, OutputSize, pOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[75]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, OutputSize, pOutput); -#endif } /// @@ -37658,11 +30566,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(76)] public HResult ConfigureAuthenticatedChannel(ID3D11AuthenticatedChannel* pChannel, uint InputSize, void* pInput, AuthenticatedConfigureOutput* pOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[76]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, pOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[76]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, pOutput); -#endif } /// @@ -37670,11 +30574,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(77)] public void VideoProcessorSetStreamRotation(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, VideoProcessorRotation Rotation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[77]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[77]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation); -#endif } /// @@ -37682,11 +30582,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(78)] public void VideoProcessorGetStreamRotation(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnable, VideoProcessorRotation* pRotation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[78]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pRotation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[78]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pRotation); -#endif } /// @@ -37694,11 +30590,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(79)] public void GetDevice(ID3D11Device* ppDevice) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[79]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), ppDevice); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[79]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), ppDevice); -#endif } /// @@ -37706,11 +30598,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(80)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[80]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[80]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -37718,11 +30606,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(81)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[81]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[81]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -37730,11 +30614,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(82)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[82]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[82]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -37742,11 +30622,7 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(83)] public HResult DecoderBeginFrame1(ID3D11VideoDecoder* pDecoder, ID3D11VideoDecoderOutputView* pView, uint ContentKeySize, void* pContentKey, uint NumComponentHistograms, uint* pHistogramOffsets, ID3D11Buffer* ppHistogramBuffers) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[83]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, pView, ContentKeySize, pContentKey, NumComponentHistograms, pHistogramOffsets, ppHistogramBuffers); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[83]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, pView, ContentKeySize, pContentKey, NumComponentHistograms, pHistogramOffsets, ppHistogramBuffers); -#endif } /// @@ -37754,22 +30630,15 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface [VtblIndex(84)] public HResult SubmitDecoderBuffers2(ID3D11VideoDecoder* pDecoder, uint NumBuffers, VideoDecoderBufferDescription2* pBufferDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[84]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[84]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc); -#endif } - public interface Interface : ID3D11VideoContext2.Interface - { - } } /// /// ID3D11ShaderReflectionType [Guid("6e6ffa6a-9bae-4613-a51e-91652d508c21")] -public unsafe partial struct ID3D11ShaderReflectionType : ID3D11ShaderReflectionType.Interface +public unsafe partial struct ID3D11ShaderReflectionType { public static ref readonly Guid IID_ID3D11ShaderReflectionType { @@ -37804,11 +30673,7 @@ public unsafe partial struct ID3D11ShaderReflectionType : ID3D11ShaderReflection [VtblIndex(0)] public HResult GetDesc(ShaderTypeDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[0]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[0]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -37816,11 +30681,7 @@ public unsafe partial struct ID3D11ShaderReflectionType : ID3D11ShaderReflection [VtblIndex(1)] public Graphics.Direct3D11.ID3D11ShaderReflectionType GetMemberTypeByIndex(uint Index) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[1]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), Index); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), Index); -#endif } /// @@ -37828,11 +30689,7 @@ public unsafe partial struct ID3D11ShaderReflectionType : ID3D11ShaderReflection [VtblIndex(2)] public Graphics.Direct3D11.ID3D11ShaderReflectionType GetMemberTypeByName(byte** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[2]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -37840,11 +30697,7 @@ public unsafe partial struct ID3D11ShaderReflectionType : ID3D11ShaderReflection [VtblIndex(3)] public byte* GetMemberTypeName(uint Index) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), Index); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), Index); -#endif } /// @@ -37852,11 +30705,7 @@ public unsafe partial struct ID3D11ShaderReflectionType : ID3D11ShaderReflection [VtblIndex(4)] public HResult IsEqual(ID3D11ShaderReflectionType* pType) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), pType); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), pType); -#endif } /// @@ -37864,11 +30713,7 @@ public unsafe partial struct ID3D11ShaderReflectionType : ID3D11ShaderReflection [VtblIndex(5)] public Graphics.Direct3D11.ID3D11ShaderReflectionType GetSubType() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -37876,11 +30721,7 @@ public unsafe partial struct ID3D11ShaderReflectionType : ID3D11ShaderReflection [VtblIndex(6)] public Graphics.Direct3D11.ID3D11ShaderReflectionType GetBaseClass() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -37888,11 +30729,7 @@ public unsafe partial struct ID3D11ShaderReflectionType : ID3D11ShaderReflection [VtblIndex(7)] public uint GetNumInterfaces() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -37900,11 +30737,7 @@ public unsafe partial struct ID3D11ShaderReflectionType : ID3D11ShaderReflection [VtblIndex(8)] public Graphics.Direct3D11.ID3D11ShaderReflectionType GetInterfaceByIndex(uint uIndex) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), uIndex); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), uIndex); -#endif } /// @@ -37912,11 +30745,7 @@ public unsafe partial struct ID3D11ShaderReflectionType : ID3D11ShaderReflection [VtblIndex(9)] public HResult IsOfType(ID3D11ShaderReflectionType* pType) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), pType); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), pType); -#endif } /// @@ -37924,22 +30753,15 @@ public unsafe partial struct ID3D11ShaderReflectionType : ID3D11ShaderReflection [VtblIndex(10)] public HResult ImplementsInterface(ID3D11ShaderReflectionType* pBase) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), pBase); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), pBase); -#endif } - public interface Interface - { - } } /// /// ID3D11ShaderReflectionVariable [Guid("51f23923-f3e5-4bd1-91cb-606177d8db4c")] -public unsafe partial struct ID3D11ShaderReflectionVariable : ID3D11ShaderReflectionVariable.Interface +public unsafe partial struct ID3D11ShaderReflectionVariable { public static ref readonly Guid IID_ID3D11ShaderReflectionVariable { @@ -37974,11 +30796,7 @@ public unsafe partial struct ID3D11ShaderReflectionVariable : ID3D11ShaderReflec [VtblIndex(0)] public HResult GetDesc(ShaderVariableDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[0]))((ID3D11ShaderReflectionVariable*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[0]))((ID3D11ShaderReflectionVariable*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -37986,11 +30804,7 @@ public unsafe partial struct ID3D11ShaderReflectionVariable : ID3D11ShaderReflec [VtblIndex(1)] public new Graphics.Direct3D11.ID3D11ShaderReflectionType GetType() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[1]))((ID3D11ShaderReflectionVariable*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((ID3D11ShaderReflectionVariable*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -37998,11 +30812,7 @@ public unsafe partial struct ID3D11ShaderReflectionVariable : ID3D11ShaderReflec [VtblIndex(2)] public Graphics.Direct3D11.ID3D11ShaderReflectionConstantBuffer GetBuffer() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[2]))((ID3D11ShaderReflectionVariable*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((ID3D11ShaderReflectionVariable*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -38010,22 +30820,15 @@ public unsafe partial struct ID3D11ShaderReflectionVariable : ID3D11ShaderReflec [VtblIndex(3)] public uint GetInterfaceSlot(uint uArrayIndex) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11ShaderReflectionVariable*)Unsafe.AsPointer(ref this), uArrayIndex); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11ShaderReflectionVariable*)Unsafe.AsPointer(ref this), uArrayIndex); -#endif } - public interface Interface - { - } } /// /// ID3D11ShaderReflectionConstantBuffer [Guid("eb62d63d-93dd-4318-8ae8-c6f83ad371b8")] -public unsafe partial struct ID3D11ShaderReflectionConstantBuffer : ID3D11ShaderReflectionConstantBuffer.Interface +public unsafe partial struct ID3D11ShaderReflectionConstantBuffer { public static ref readonly Guid IID_ID3D11ShaderReflectionConstantBuffer { @@ -38060,11 +30863,7 @@ public unsafe partial struct ID3D11ShaderReflectionConstantBuffer : ID3D11Shader [VtblIndex(0)] public HResult GetDesc(ShaderBufferDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[0]))((ID3D11ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[0]))((ID3D11ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -38072,11 +30871,7 @@ public unsafe partial struct ID3D11ShaderReflectionConstantBuffer : ID3D11Shader [VtblIndex(1)] public Graphics.Direct3D11.ID3D11ShaderReflectionVariable GetVariableByIndex(uint Index) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[1]))((ID3D11ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), Index); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((ID3D11ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), Index); -#endif } /// @@ -38084,16 +30879,9 @@ public unsafe partial struct ID3D11ShaderReflectionConstantBuffer : ID3D11Shader [VtblIndex(2)] public Graphics.Direct3D11.ID3D11ShaderReflectionVariable GetVariableByName(byte** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[2]))((ID3D11ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((ID3D11ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), Name); -#endif } - public interface Interface - { - } } /// @@ -38101,7 +30889,7 @@ public unsafe partial struct ID3D11ShaderReflectionConstantBuffer : ID3D11Shader [Guid("8d536ca1-0cca-4956-a837-786963755584")] [NativeTypeName("struct ID3D11ShaderReflection : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Interface +public unsafe partial struct ID3D11ShaderReflection { public static ref readonly Guid IID_ID3D11ShaderReflection { @@ -38162,11 +30950,7 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int [VtblIndex(3)] public HResult GetDesc(ShaderDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -38174,11 +30958,7 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int [VtblIndex(4)] public Graphics.Direct3D11.ID3D11ShaderReflectionConstantBuffer GetConstantBufferByIndex(uint Index) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Index); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Index); -#endif } /// @@ -38186,11 +30966,7 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int [VtblIndex(5)] public Graphics.Direct3D11.ID3D11ShaderReflectionConstantBuffer GetConstantBufferByName(byte** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -38198,11 +30974,7 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int [VtblIndex(6)] public HResult GetResourceBindingDesc(uint ResourceIndex, ShaderInputBindDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), ResourceIndex, pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), ResourceIndex, pDesc); -#endif } /// @@ -38210,11 +30982,7 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int [VtblIndex(7)] public HResult GetInputParameterDesc(uint ParameterIndex, SignatureParameterDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), ParameterIndex, pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), ParameterIndex, pDesc); -#endif } /// @@ -38222,11 +30990,7 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int [VtblIndex(8)] public HResult GetOutputParameterDesc(uint ParameterIndex, SignatureParameterDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), ParameterIndex, pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), ParameterIndex, pDesc); -#endif } /// @@ -38234,11 +30998,7 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int [VtblIndex(9)] public HResult GetPatchConstantParameterDesc(uint ParameterIndex, SignatureParameterDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), ParameterIndex, pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), ParameterIndex, pDesc); -#endif } /// @@ -38246,11 +31006,7 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int [VtblIndex(10)] public Graphics.Direct3D11.ID3D11ShaderReflectionVariable GetVariableByName(byte** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -38258,11 +31014,7 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int [VtblIndex(11)] public HResult GetResourceBindingDescByName(byte** Name, ShaderInputBindDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Name, pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Name, pDesc); -#endif } /// @@ -38270,11 +31022,7 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int [VtblIndex(12)] public uint GetMovInstructionCount() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -38282,11 +31030,7 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int [VtblIndex(13)] public uint GetMovcInstructionCount() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -38294,11 +31038,7 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int [VtblIndex(14)] public uint GetConversionInstructionCount() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -38306,11 +31046,7 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int [VtblIndex(15)] public uint GetBitwiseInstructionCount() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -38318,11 +31054,7 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int [VtblIndex(16)] public Graphics.Direct3D.Primitive GetGSInputPrimitive() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -38330,11 +31062,7 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int [VtblIndex(17)] public Bool32 IsSampleFrequencyShader() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -38342,11 +31070,7 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int [VtblIndex(18)] public uint GetNumInterfaceSlots() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -38354,11 +31078,7 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int [VtblIndex(19)] public HResult GetMinFeatureLevel(Graphics.Direct3D.FeatureLevel* pLevel) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), pLevel); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), pLevel); -#endif } /// @@ -38366,11 +31086,7 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int [VtblIndex(20)] public uint GetThreadGroupSize(uint* pSizeX, uint* pSizeY, uint* pSizeZ) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), pSizeX, pSizeY, pSizeZ); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), pSizeX, pSizeY, pSizeZ); -#endif } /// @@ -38378,16 +31094,9 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int [VtblIndex(21)] public ulong GetRequiresFlags() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -38395,7 +31104,7 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int [Guid("54384f1b-5b3e-4bb7-ae01-60ba3097cbb6")] [NativeTypeName("struct ID3D11LibraryReflection : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11LibraryReflection : ID3D11LibraryReflection.Interface +public unsafe partial struct ID3D11LibraryReflection { public static ref readonly Guid IID_ID3D11LibraryReflection { @@ -38456,11 +31165,7 @@ public unsafe partial struct ID3D11LibraryReflection : ID3D11LibraryReflection.I [VtblIndex(3)] public HResult GetDesc(LibraryDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11LibraryReflection*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11LibraryReflection*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -38468,22 +31173,15 @@ public unsafe partial struct ID3D11LibraryReflection : ID3D11LibraryReflection.I [VtblIndex(4)] public Graphics.Direct3D11.ID3D11FunctionReflection GetFunctionByIndex(int FunctionIndex) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11LibraryReflection*)Unsafe.AsPointer(ref this), FunctionIndex); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11LibraryReflection*)Unsafe.AsPointer(ref this), FunctionIndex); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// /// ID3D11FunctionReflection [Guid("207bcecb-d683-4a06-a8a3-9b149b9f73a4")] -public unsafe partial struct ID3D11FunctionReflection : ID3D11FunctionReflection.Interface +public unsafe partial struct ID3D11FunctionReflection { public static ref readonly Guid IID_ID3D11FunctionReflection { @@ -38518,11 +31216,7 @@ public unsafe partial struct ID3D11FunctionReflection : ID3D11FunctionReflection [VtblIndex(0)] public HResult GetDesc(FunctionDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[0]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[0]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -38530,11 +31224,7 @@ public unsafe partial struct ID3D11FunctionReflection : ID3D11FunctionReflection [VtblIndex(1)] public Graphics.Direct3D11.ID3D11ShaderReflectionConstantBuffer GetConstantBufferByIndex(uint BufferIndex) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[1]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), BufferIndex); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), BufferIndex); -#endif } /// @@ -38542,11 +31232,7 @@ public unsafe partial struct ID3D11FunctionReflection : ID3D11FunctionReflection [VtblIndex(2)] public Graphics.Direct3D11.ID3D11ShaderReflectionConstantBuffer GetConstantBufferByName(byte** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[2]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -38554,11 +31240,7 @@ public unsafe partial struct ID3D11FunctionReflection : ID3D11FunctionReflection [VtblIndex(3)] public HResult GetResourceBindingDesc(uint ResourceIndex, ShaderInputBindDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), ResourceIndex, pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), ResourceIndex, pDesc); -#endif } /// @@ -38566,11 +31248,7 @@ public unsafe partial struct ID3D11FunctionReflection : ID3D11FunctionReflection [VtblIndex(4)] public Graphics.Direct3D11.ID3D11ShaderReflectionVariable GetVariableByName(byte** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -38578,11 +31256,7 @@ public unsafe partial struct ID3D11FunctionReflection : ID3D11FunctionReflection [VtblIndex(5)] public HResult GetResourceBindingDescByName(byte** Name, ShaderInputBindDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), Name, pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), Name, pDesc); -#endif } /// @@ -38590,22 +31264,15 @@ public unsafe partial struct ID3D11FunctionReflection : ID3D11FunctionReflection [VtblIndex(6)] public Graphics.Direct3D11.ID3D11FunctionParameterReflection GetFunctionParameter(int ParameterIndex) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), ParameterIndex); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), ParameterIndex); -#endif } - public interface Interface - { - } } /// /// ID3D11FunctionParameterReflection [Guid("42757488-334f-47fe-982e-1a65d08cc462")] -public unsafe partial struct ID3D11FunctionParameterReflection : ID3D11FunctionParameterReflection.Interface +public unsafe partial struct ID3D11FunctionParameterReflection { public static ref readonly Guid IID_ID3D11FunctionParameterReflection { @@ -38640,16 +31307,9 @@ public unsafe partial struct ID3D11FunctionParameterReflection : ID3D11FunctionP [VtblIndex(0)] public HResult GetDesc(ParameterDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[0]))((ID3D11FunctionParameterReflection*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[0]))((ID3D11FunctionParameterReflection*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface - { - } } /// @@ -38657,7 +31317,7 @@ public unsafe partial struct ID3D11FunctionParameterReflection : ID3D11FunctionP [Guid("469e07f7-045a-48d5-aa12-68a478cdf75d")] [NativeTypeName("struct ID3D11ModuleInstance : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interface +public unsafe partial struct ID3D11ModuleInstance { public static ref readonly Guid IID_ID3D11ModuleInstance { @@ -38718,11 +31378,7 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa [VtblIndex(3)] public HResult BindConstantBuffer(uint uSrcSlot, uint uDstSlot, uint cbDstOffset) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), uSrcSlot, uDstSlot, cbDstOffset); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), uSrcSlot, uDstSlot, cbDstOffset); -#endif } /// @@ -38730,11 +31386,7 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa [VtblIndex(4)] public HResult BindConstantBufferByName(byte** pName, uint uDstSlot, uint cbDstOffset) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pName, uDstSlot, cbDstOffset); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pName, uDstSlot, cbDstOffset); -#endif } /// @@ -38742,11 +31394,7 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa [VtblIndex(5)] public HResult BindResource(uint uSrcSlot, uint uDstSlot, uint uCount) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), uSrcSlot, uDstSlot, uCount); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), uSrcSlot, uDstSlot, uCount); -#endif } /// @@ -38754,11 +31402,7 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa [VtblIndex(6)] public HResult BindResourceByName(byte** pName, uint uDstSlot, uint uCount) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pName, uDstSlot, uCount); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pName, uDstSlot, uCount); -#endif } /// @@ -38766,11 +31410,7 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa [VtblIndex(7)] public HResult BindSampler(uint uSrcSlot, uint uDstSlot, uint uCount) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), uSrcSlot, uDstSlot, uCount); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), uSrcSlot, uDstSlot, uCount); -#endif } /// @@ -38778,11 +31418,7 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa [VtblIndex(8)] public HResult BindSamplerByName(byte** pName, uint uDstSlot, uint uCount) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pName, uDstSlot, uCount); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pName, uDstSlot, uCount); -#endif } /// @@ -38790,11 +31426,7 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa [VtblIndex(9)] public HResult BindUnorderedAccessView(uint uSrcSlot, uint uDstSlot, uint uCount) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), uSrcSlot, uDstSlot, uCount); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), uSrcSlot, uDstSlot, uCount); -#endif } /// @@ -38802,11 +31434,7 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa [VtblIndex(10)] public HResult BindUnorderedAccessViewByName(byte** pName, uint uDstSlot, uint uCount) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pName, uDstSlot, uCount); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pName, uDstSlot, uCount); -#endif } /// @@ -38814,11 +31442,7 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa [VtblIndex(11)] public HResult BindResourceAsUnorderedAccessView(uint uSrcSrvSlot, uint uDstUavSlot, uint uCount) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), uSrcSrvSlot, uDstUavSlot, uCount); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), uSrcSrvSlot, uDstUavSlot, uCount); -#endif } /// @@ -38826,16 +31450,9 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa [VtblIndex(12)] public HResult BindResourceAsUnorderedAccessViewByName(byte** pSrvName, uint uDstUavSlot, uint uCount) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pSrvName, uDstUavSlot, uCount); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pSrvName, uDstUavSlot, uCount); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -38843,7 +31460,7 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa [Guid("cac701ee-80fc-4122-8242-10b39c8cec34")] [NativeTypeName("struct ID3D11Module : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11Module : ID3D11Module.Interface +public unsafe partial struct ID3D11Module { public static ref readonly Guid IID_ID3D11Module { @@ -38904,16 +31521,9 @@ public unsafe partial struct ID3D11Module : ID3D11Module.Interface [VtblIndex(3)] public HResult CreateInstance(byte** pNamespace, ID3D11ModuleInstance** ppModuleInstance) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11Module*)Unsafe.AsPointer(ref this), pNamespace, ppModuleInstance); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11Module*)Unsafe.AsPointer(ref this), pNamespace, ppModuleInstance); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -38921,7 +31531,7 @@ public unsafe partial struct ID3D11Module : ID3D11Module.Interface [Guid("59a6cd0e-e10d-4c1f-88c0-63aba1daf30e")] [NativeTypeName("struct ID3D11Linker : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11Linker : ID3D11Linker.Interface +public unsafe partial struct ID3D11Linker { public static ref readonly Guid IID_ID3D11Linker { @@ -38982,11 +31592,7 @@ public unsafe partial struct ID3D11Linker : ID3D11Linker.Interface [VtblIndex(3)] public HResult Link(ID3D11ModuleInstance* pEntry, byte** pEntryName, byte** pTargetName, uint uFlags, Graphics.Direct3D.ID3DBlob** ppShaderBlob, Graphics.Direct3D.ID3DBlob* ppErrorBuffer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11Linker*)Unsafe.AsPointer(ref this), pEntry, pEntryName, pTargetName, uFlags, ppShaderBlob, ppErrorBuffer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11Linker*)Unsafe.AsPointer(ref this), pEntry, pEntryName, pTargetName, uFlags, ppShaderBlob, ppErrorBuffer); -#endif } /// @@ -38994,11 +31600,7 @@ public unsafe partial struct ID3D11Linker : ID3D11Linker.Interface [VtblIndex(4)] public HResult UseLibrary(ID3D11ModuleInstance* pLibraryMI) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11Linker*)Unsafe.AsPointer(ref this), pLibraryMI); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11Linker*)Unsafe.AsPointer(ref this), pLibraryMI); -#endif } /// @@ -39006,16 +31608,9 @@ public unsafe partial struct ID3D11Linker : ID3D11Linker.Interface [VtblIndex(5)] public HResult AddClipPlaneFromCBuffer(uint uCBufferSlot, uint uCBufferEntry) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11Linker*)Unsafe.AsPointer(ref this), uCBufferSlot, uCBufferEntry); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11Linker*)Unsafe.AsPointer(ref this), uCBufferSlot, uCBufferEntry); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -39023,7 +31618,7 @@ public unsafe partial struct ID3D11Linker : ID3D11Linker.Interface [Guid("d80dd70c-8d2f-4751-94a1-03c79b3556db")] [NativeTypeName("struct ID3D11LinkingNode : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11LinkingNode : ID3D11LinkingNode.Interface +public unsafe partial struct ID3D11LinkingNode { public static ref readonly Guid IID_ID3D11LinkingNode { @@ -39079,9 +31674,6 @@ public unsafe partial struct ID3D11LinkingNode : ID3D11LinkingNode.Interface return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - public interface Interface : IUnknown.Interface - { - } } /// @@ -39089,7 +31681,7 @@ public unsafe partial struct ID3D11LinkingNode : ID3D11LinkingNode.Interface [Guid("54133220-1ce8-43d3-8236-9855c5ceecff")] [NativeTypeName("struct ID3D11FunctionLinkingGraph : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11FunctionLinkingGraph : ID3D11FunctionLinkingGraph.Interface +public unsafe partial struct ID3D11FunctionLinkingGraph { public static ref readonly Guid IID_ID3D11FunctionLinkingGraph { @@ -39150,11 +31742,7 @@ public unsafe partial struct ID3D11FunctionLinkingGraph : ID3D11FunctionLinkingG [VtblIndex(3)] public HResult CreateModuleInstance(ID3D11ModuleInstance** ppModuleInstance, Graphics.Direct3D.ID3DBlob* ppErrorBuffer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), ppModuleInstance, ppErrorBuffer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), ppModuleInstance, ppErrorBuffer); -#endif } /// @@ -39162,11 +31750,7 @@ public unsafe partial struct ID3D11FunctionLinkingGraph : ID3D11FunctionLinkingG [VtblIndex(4)] public HResult SetInputSignature(ParameterDescription* pInputParameters, uint cInputParameters, ID3D11LinkingNode** ppInputNode) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), pInputParameters, cInputParameters, ppInputNode); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), pInputParameters, cInputParameters, ppInputNode); -#endif } /// @@ -39174,11 +31758,7 @@ public unsafe partial struct ID3D11FunctionLinkingGraph : ID3D11FunctionLinkingG [VtblIndex(5)] public HResult SetOutputSignature(ParameterDescription* pOutputParameters, uint cOutputParameters, ID3D11LinkingNode** ppOutputNode) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), pOutputParameters, cOutputParameters, ppOutputNode); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), pOutputParameters, cOutputParameters, ppOutputNode); -#endif } /// @@ -39186,11 +31766,7 @@ public unsafe partial struct ID3D11FunctionLinkingGraph : ID3D11FunctionLinkingG [VtblIndex(6)] public HResult CallFunction(byte** pModuleInstanceNamespace, ID3D11Module* pModuleWithFunctionPrototype, byte** pFunctionName, ID3D11LinkingNode** ppCallNode) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), pModuleInstanceNamespace, pModuleWithFunctionPrototype, pFunctionName, ppCallNode); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), pModuleInstanceNamespace, pModuleWithFunctionPrototype, pFunctionName, ppCallNode); -#endif } /// @@ -39198,11 +31774,7 @@ public unsafe partial struct ID3D11FunctionLinkingGraph : ID3D11FunctionLinkingG [VtblIndex(7)] public HResult PassValue(ID3D11LinkingNode* pSrcNode, int SrcParameterIndex, ID3D11LinkingNode* pDstNode, int DstParameterIndex) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), pSrcNode, SrcParameterIndex, pDstNode, DstParameterIndex); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), pSrcNode, SrcParameterIndex, pDstNode, DstParameterIndex); -#endif } /// @@ -39210,11 +31782,7 @@ public unsafe partial struct ID3D11FunctionLinkingGraph : ID3D11FunctionLinkingG [VtblIndex(8)] public HResult PassValueWithSwizzle(ID3D11LinkingNode* pSrcNode, int SrcParameterIndex, byte** pSrcSwizzle, ID3D11LinkingNode* pDstNode, int DstParameterIndex, byte** pDstSwizzle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), pSrcNode, SrcParameterIndex, pSrcSwizzle, pDstNode, DstParameterIndex, pDstSwizzle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), pSrcNode, SrcParameterIndex, pSrcSwizzle, pDstNode, DstParameterIndex, pDstSwizzle); -#endif } /// @@ -39222,11 +31790,7 @@ public unsafe partial struct ID3D11FunctionLinkingGraph : ID3D11FunctionLinkingG [VtblIndex(9)] public HResult GetLastError(Graphics.Direct3D.ID3DBlob* ppErrorBuffer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), ppErrorBuffer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), ppErrorBuffer); -#endif } /// @@ -39234,16 +31798,9 @@ public unsafe partial struct ID3D11FunctionLinkingGraph : ID3D11FunctionLinkingG [VtblIndex(10)] public HResult GenerateHlsl(uint uFlags, Graphics.Direct3D.ID3DBlob** ppBuffer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), uFlags, ppBuffer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), uFlags, ppBuffer); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -39251,7 +31808,7 @@ public unsafe partial struct ID3D11FunctionLinkingGraph : ID3D11FunctionLinkingG [Guid("36b013e6-2811-4845-baa7-d623fe0df104")] [NativeTypeName("struct ID3D11ShaderTrace : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11ShaderTrace : ID3D11ShaderTrace.Interface +public unsafe partial struct ID3D11ShaderTrace { public static ref readonly Guid IID_ID3D11ShaderTrace { @@ -39312,11 +31869,7 @@ public unsafe partial struct ID3D11ShaderTrace : ID3D11ShaderTrace.Interface [VtblIndex(3)] public HResult TraceReady(ulong* pTestCount) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), pTestCount); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), pTestCount); -#endif } /// @@ -39324,11 +31877,7 @@ public unsafe partial struct ID3D11ShaderTrace : ID3D11ShaderTrace.Interface [VtblIndex(4)] public void ResetTrace() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -39336,11 +31885,7 @@ public unsafe partial struct ID3D11ShaderTrace : ID3D11ShaderTrace.Interface [VtblIndex(5)] public HResult GetTraceStats(TraceStats* pTraceStats) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), pTraceStats); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), pTraceStats); -#endif } /// @@ -39348,11 +31893,7 @@ public unsafe partial struct ID3D11ShaderTrace : ID3D11ShaderTrace.Interface [VtblIndex(6)] public HResult PSSelectStamp(uint stampIndex) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), stampIndex); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), stampIndex); -#endif } /// @@ -39360,11 +31901,7 @@ public unsafe partial struct ID3D11ShaderTrace : ID3D11ShaderTrace.Interface [VtblIndex(7)] public HResult GetInitialRegisterContents(TraceRegister* pRegister, TraceValue* pValue) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), pRegister, pValue); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), pRegister, pValue); -#endif } /// @@ -39372,11 +31909,7 @@ public unsafe partial struct ID3D11ShaderTrace : ID3D11ShaderTrace.Interface [VtblIndex(8)] public HResult GetStep(uint stepIndex, TraceStep* pTraceStep) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), stepIndex, pTraceStep); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), stepIndex, pTraceStep); -#endif } /// @@ -39384,11 +31917,7 @@ public unsafe partial struct ID3D11ShaderTrace : ID3D11ShaderTrace.Interface [VtblIndex(9)] public HResult GetWrittenRegister(uint stepIndex, uint writtenRegisterIndex, TraceRegister* pRegister, TraceValue* pValue) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), stepIndex, writtenRegisterIndex, pRegister, pValue); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), stepIndex, writtenRegisterIndex, pRegister, pValue); -#endif } /// @@ -39396,16 +31925,9 @@ public unsafe partial struct ID3D11ShaderTrace : ID3D11ShaderTrace.Interface [VtblIndex(10)] public HResult GetReadRegister(uint stepIndex, uint readRegisterIndex, TraceRegister* pRegister, TraceValue* pValue) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), stepIndex, readRegisterIndex, pRegister, pValue); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), stepIndex, readRegisterIndex, pRegister, pValue); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -39413,7 +31935,7 @@ public unsafe partial struct ID3D11ShaderTrace : ID3D11ShaderTrace.Interface [Guid("1fbad429-66ab-41cc-9617-667ac10e4459")] [NativeTypeName("struct ID3D11ShaderTraceFactory : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11ShaderTraceFactory : ID3D11ShaderTraceFactory.Interface +public unsafe partial struct ID3D11ShaderTraceFactory { public static ref readonly Guid IID_ID3D11ShaderTraceFactory { @@ -39474,16 +31996,9 @@ public unsafe partial struct ID3D11ShaderTraceFactory : ID3D11ShaderTraceFactory [VtblIndex(3)] public HResult CreateShaderTrace(IUnknown* pShader, ShaderTraceDescription* pTraceDesc, ID3D11ShaderTrace** ppShaderTrace) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11ShaderTraceFactory*)Unsafe.AsPointer(ref this), pShader, pTraceDesc, ppShaderTrace); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11ShaderTraceFactory*)Unsafe.AsPointer(ref this), pShader, pTraceDesc, ppShaderTrace); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -39491,7 +32006,7 @@ public unsafe partial struct ID3D11ShaderTraceFactory : ID3D11ShaderTraceFactory [Guid("5089b68f-e71d-4d38-be8e-f363b95a9405")] [NativeTypeName("struct ID3DX11Scan : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3DX11Scan : ID3DX11Scan.Interface +public unsafe partial struct ID3DX11Scan { public static ref readonly Guid IID_ID3DX11Scan { @@ -39552,11 +32067,7 @@ public unsafe partial struct ID3DX11Scan : ID3DX11Scan.Interface [VtblIndex(3)] public HResult SetScanDirection(D3dx11ScanDirection Direction) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3DX11Scan*)Unsafe.AsPointer(ref this), Direction); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3DX11Scan*)Unsafe.AsPointer(ref this), Direction); -#endif } /// @@ -39564,11 +32075,7 @@ public unsafe partial struct ID3DX11Scan : ID3DX11Scan.Interface [VtblIndex(4)] public HResult Scan(D3dx11ScanDataType ElementType, D3dx11ScanOpcode OpCode, uint ElementScanSize, ID3D11UnorderedAccessView* pSrc, ID3D11UnorderedAccessView* pDst) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3DX11Scan*)Unsafe.AsPointer(ref this), ElementType, OpCode, ElementScanSize, pSrc, pDst); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3DX11Scan*)Unsafe.AsPointer(ref this), ElementType, OpCode, ElementScanSize, pSrc, pDst); -#endif } /// @@ -39576,16 +32083,9 @@ public unsafe partial struct ID3DX11Scan : ID3DX11Scan.Interface [VtblIndex(5)] public HResult Multiscan(D3dx11ScanDataType ElementType, D3dx11ScanOpcode OpCode, uint ElementScanSize, uint ElementScanPitch, uint ScanCount, ID3D11UnorderedAccessView* pSrc, ID3D11UnorderedAccessView* pDst) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3DX11Scan*)Unsafe.AsPointer(ref this), ElementType, OpCode, ElementScanSize, ElementScanPitch, ScanCount, pSrc, pDst); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3DX11Scan*)Unsafe.AsPointer(ref this), ElementType, OpCode, ElementScanSize, ElementScanPitch, ScanCount, pSrc, pDst); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -39593,7 +32093,7 @@ public unsafe partial struct ID3DX11Scan : ID3DX11Scan.Interface [Guid("a915128c-d954-4c79-bfe1-64db923194d6")] [NativeTypeName("struct ID3DX11SegmentedScan : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3DX11SegmentedScan : ID3DX11SegmentedScan.Interface +public unsafe partial struct ID3DX11SegmentedScan { public static ref readonly Guid IID_ID3DX11SegmentedScan { @@ -39654,11 +32154,7 @@ public unsafe partial struct ID3DX11SegmentedScan : ID3DX11SegmentedScan.Interfa [VtblIndex(3)] public HResult SetScanDirection(D3dx11ScanDirection Direction) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3DX11SegmentedScan*)Unsafe.AsPointer(ref this), Direction); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3DX11SegmentedScan*)Unsafe.AsPointer(ref this), Direction); -#endif } /// @@ -39666,16 +32162,9 @@ public unsafe partial struct ID3DX11SegmentedScan : ID3DX11SegmentedScan.Interfa [VtblIndex(4)] public HResult SegScan(D3dx11ScanDataType ElementType, D3dx11ScanOpcode OpCode, uint ElementScanSize, ID3D11UnorderedAccessView* pSrc, ID3D11UnorderedAccessView* pSrcElementFlags, ID3D11UnorderedAccessView* pDst) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3DX11SegmentedScan*)Unsafe.AsPointer(ref this), ElementType, OpCode, ElementScanSize, pSrc, pSrcElementFlags, pDst); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3DX11SegmentedScan*)Unsafe.AsPointer(ref this), ElementType, OpCode, ElementScanSize, pSrc, pSrcElementFlags, pDst); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -39683,7 +32172,7 @@ public unsafe partial struct ID3DX11SegmentedScan : ID3DX11SegmentedScan.Interfa [Guid("b3f7a938-4c93-4310-a675-b30d6de50553")] [NativeTypeName("struct ID3DX11FFT : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3DX11FFT : ID3DX11FFT.Interface +public unsafe partial struct ID3DX11FFT { public static ref readonly Guid IID_ID3DX11FFT { @@ -39744,11 +32233,7 @@ public unsafe partial struct ID3DX11FFT : ID3DX11FFT.Interface [VtblIndex(3)] public HResult SetForwardScale(float ForwardScale) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3DX11FFT*)Unsafe.AsPointer(ref this), ForwardScale); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3DX11FFT*)Unsafe.AsPointer(ref this), ForwardScale); -#endif } /// @@ -39756,11 +32241,7 @@ public unsafe partial struct ID3DX11FFT : ID3DX11FFT.Interface [VtblIndex(4)] public float GetForwardScale() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3DX11FFT*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3DX11FFT*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -39768,11 +32249,7 @@ public unsafe partial struct ID3DX11FFT : ID3DX11FFT.Interface [VtblIndex(5)] public HResult SetInverseScale(float InverseScale) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3DX11FFT*)Unsafe.AsPointer(ref this), InverseScale); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3DX11FFT*)Unsafe.AsPointer(ref this), InverseScale); -#endif } /// @@ -39780,11 +32257,7 @@ public unsafe partial struct ID3DX11FFT : ID3DX11FFT.Interface [VtblIndex(6)] public float GetInverseScale() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3DX11FFT*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3DX11FFT*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -39792,11 +32265,7 @@ public unsafe partial struct ID3DX11FFT : ID3DX11FFT.Interface [VtblIndex(7)] public HResult AttachBuffersAndPrecompute(uint NumTempBuffers, ID3D11UnorderedAccessView* ppTempBuffers, uint NumPrecomputeBuffers, ID3D11UnorderedAccessView* ppPrecomputeBufferSizes) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3DX11FFT*)Unsafe.AsPointer(ref this), NumTempBuffers, ppTempBuffers, NumPrecomputeBuffers, ppPrecomputeBufferSizes); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3DX11FFT*)Unsafe.AsPointer(ref this), NumTempBuffers, ppTempBuffers, NumPrecomputeBuffers, ppPrecomputeBufferSizes); -#endif } /// @@ -39804,11 +32273,7 @@ public unsafe partial struct ID3DX11FFT : ID3DX11FFT.Interface [VtblIndex(8)] public HResult ForwardTransform(ID3D11UnorderedAccessView* pInputBuffer, ID3D11UnorderedAccessView* ppOutputBuffer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3DX11FFT*)Unsafe.AsPointer(ref this), pInputBuffer, ppOutputBuffer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3DX11FFT*)Unsafe.AsPointer(ref this), pInputBuffer, ppOutputBuffer); -#endif } /// @@ -39816,16 +32281,9 @@ public unsafe partial struct ID3DX11FFT : ID3DX11FFT.Interface [VtblIndex(9)] public HResult InverseTransform(ID3D11UnorderedAccessView* pInputBuffer, ID3D11UnorderedAccessView* ppOutputBuffer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3DX11FFT*)Unsafe.AsPointer(ref this), pInputBuffer, ppOutputBuffer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3DX11FFT*)Unsafe.AsPointer(ref this), pInputBuffer, ppOutputBuffer); -#endif } - public interface Interface : IUnknown.Interface - { - } } #endregion Com Types diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D12.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D12.cs index 518e8c5..6a35ad6 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D12.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D12.cs @@ -1136,13 +1136,13 @@ public enum FormatSupport1 : uint Buffer = 1, /// /// D3D12_FORMAT_SUPPORT1_IA_VERTEX_BUFFER - IaVertexBuffer = 2, + IAVertexBuffer = 2, /// /// D3D12_FORMAT_SUPPORT1_IA_INDEX_BUFFER - IaIndexBuffer = 4, + IAIndexBuffer = 4, /// /// D3D12_FORMAT_SUPPORT1_SO_BUFFER - SoBuffer = 8, + SOBuffer = 8, /// /// D3D12_FORMAT_SUPPORT1_TEXTURE1D Texture1D = 16, @@ -2599,7 +2599,7 @@ public enum QueryHeapType : int PipelineStatistics = 2, /// /// D3D12_QUERY_HEAP_TYPE_SO_STATISTICS - SoStatistics = 3, + SOStatistics = 3, /// /// D3D12_QUERY_HEAP_TYPE_VIDEO_DECODE_STATISTICS VideoDecodeStatistics = 4, @@ -2629,16 +2629,16 @@ public enum QueryType : int PipelineStatistics = 3, /// /// D3D12_QUERY_TYPE_SO_STATISTICS_STREAM0 - SoStatisticsStream0 = 4, + SOStatisticsStream0 = 4, /// /// D3D12_QUERY_TYPE_SO_STATISTICS_STREAM1 - SoStatisticsStream1 = 5, + SOStatisticsStream1 = 5, /// /// D3D12_QUERY_TYPE_SO_STATISTICS_STREAM2 - SoStatisticsStream2 = 6, + SOStatisticsStream2 = 6, /// /// D3D12_QUERY_TYPE_SO_STATISTICS_STREAM3 - SoStatisticsStream3 = 7, + SOStatisticsStream3 = 7, /// /// D3D12_QUERY_TYPE_VIDEO_DECODE_STATISTICS VideoDecodeStatistics = 8, @@ -6792,7 +6792,7 @@ public partial struct InputElementDescription /// /// D3D12_SO_DECLARATION_ENTRY -public partial struct SoDeclarationEntry +public partial struct SODeclarationEntry { /// public uint Stream; @@ -7069,7 +7069,7 @@ public partial struct ShaderBytecode public partial struct StreamOutputDescription { /// - public unsafe SoDeclarationEntry* pSODeclaration; + public unsafe SODeclarationEntry* pSODeclaration; /// public uint NumEntries; @@ -9894,7 +9894,7 @@ public partial struct QueryDataPipelineStatistics1 /// /// D3D12_QUERY_DATA_SO_STATISTICS -public partial struct QueryDataSoStatistics +public partial struct QueryDataSOStatistics { /// public ulong NumPrimitivesWritten; @@ -11902,7 +11902,7 @@ public partial struct ParameterDescription [Guid("c4fec28f-7966-4e95-9f94-f431cb56c3b8")] [NativeTypeName("struct ID3D12Object : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12Object : ID3D12Object.Interface +public unsafe partial struct ID3D12Object { public static ref readonly Guid IID_ID3D12Object { @@ -11963,11 +11963,7 @@ public unsafe partial struct ID3D12Object : ID3D12Object.Interface [VtblIndex(3)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12Object*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Object*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -11975,11 +11971,7 @@ public unsafe partial struct ID3D12Object : ID3D12Object.Interface [VtblIndex(4)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12Object*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12Object*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -11987,11 +11979,7 @@ public unsafe partial struct ID3D12Object : ID3D12Object.Interface [VtblIndex(5)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12Object*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12Object*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -11999,16 +11987,9 @@ public unsafe partial struct ID3D12Object : ID3D12Object.Interface [VtblIndex(6)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12Object*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12Object*)Unsafe.AsPointer(ref this), Name); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -12016,7 +11997,7 @@ public unsafe partial struct ID3D12Object : ID3D12Object.Interface [Guid("905db94b-a00c-4140-9df5-2b64ca9ea357")] [NativeTypeName("struct ID3D12DeviceChild : ID3D12Object")] [NativeInheritance("ID3D12Object")] -public unsafe partial struct ID3D12DeviceChild : ID3D12DeviceChild.Interface +public unsafe partial struct ID3D12DeviceChild { public static ref readonly Guid IID_ID3D12DeviceChild { @@ -12077,11 +12058,7 @@ public unsafe partial struct ID3D12DeviceChild : ID3D12DeviceChild.Interface [VtblIndex(3)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12DeviceChild*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12DeviceChild*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -12089,11 +12066,7 @@ public unsafe partial struct ID3D12DeviceChild : ID3D12DeviceChild.Interface [VtblIndex(4)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12DeviceChild*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12DeviceChild*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -12101,11 +12074,7 @@ public unsafe partial struct ID3D12DeviceChild : ID3D12DeviceChild.Interface [VtblIndex(5)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12DeviceChild*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12DeviceChild*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -12113,11 +12082,7 @@ public unsafe partial struct ID3D12DeviceChild : ID3D12DeviceChild.Interface [VtblIndex(6)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12DeviceChild*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12DeviceChild*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -12125,16 +12090,9 @@ public unsafe partial struct ID3D12DeviceChild : ID3D12DeviceChild.Interface [VtblIndex(7)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12DeviceChild*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12DeviceChild*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } - public interface Interface : ID3D12Object.Interface - { - } } /// @@ -12142,7 +12100,7 @@ public unsafe partial struct ID3D12DeviceChild : ID3D12DeviceChild.Interface [Guid("c54a6b66-72df-4ee8-8be5-a946a1429214")] [NativeTypeName("struct ID3D12RootSignature : ID3D12DeviceChild")] [NativeInheritance("ID3D12DeviceChild")] -public unsafe partial struct ID3D12RootSignature : ID3D12RootSignature.Interface +public unsafe partial struct ID3D12RootSignature { public static ref readonly Guid IID_ID3D12RootSignature { @@ -12203,11 +12161,7 @@ public unsafe partial struct ID3D12RootSignature : ID3D12RootSignature.Interface [VtblIndex(3)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12RootSignature*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12RootSignature*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -12215,11 +12169,7 @@ public unsafe partial struct ID3D12RootSignature : ID3D12RootSignature.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12RootSignature*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12RootSignature*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -12227,11 +12177,7 @@ public unsafe partial struct ID3D12RootSignature : ID3D12RootSignature.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12RootSignature*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12RootSignature*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -12239,11 +12185,7 @@ public unsafe partial struct ID3D12RootSignature : ID3D12RootSignature.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12RootSignature*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12RootSignature*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -12251,16 +12193,9 @@ public unsafe partial struct ID3D12RootSignature : ID3D12RootSignature.Interface [VtblIndex(7)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12RootSignature*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12RootSignature*)Unsafe.AsPointer(ref this), Name); -#endif } - public interface Interface : ID3D12DeviceChild.Interface - { - } } /// @@ -12268,7 +12203,7 @@ public unsafe partial struct ID3D12RootSignature : ID3D12RootSignature.Interface [Guid("34ab647b-3cc8-46ac-841b-c0965645c046")] [NativeTypeName("struct ID3D12RootSignatureDeserializer : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12RootSignatureDeserializer : ID3D12RootSignatureDeserializer.Interface +public unsafe partial struct ID3D12RootSignatureDeserializer { public static ref readonly Guid IID_ID3D12RootSignatureDeserializer { @@ -12329,16 +12264,9 @@ public unsafe partial struct ID3D12RootSignatureDeserializer : ID3D12RootSignatu [VtblIndex(3)] public Graphics.Direct3D12.RootSignatureDescription* GetRootSignatureDesc() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12RootSignatureDeserializer*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12RootSignatureDeserializer*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -12346,7 +12274,7 @@ public unsafe partial struct ID3D12RootSignatureDeserializer : ID3D12RootSignatu [Guid("7f91ce67-090c-4bb7-b78e-ed8ff2e31da0")] [NativeTypeName("struct ID3D12VersionedRootSignatureDeserializer : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12VersionedRootSignatureDeserializer : ID3D12VersionedRootSignatureDeserializer.Interface +public unsafe partial struct ID3D12VersionedRootSignatureDeserializer { public static ref readonly Guid IID_ID3D12VersionedRootSignatureDeserializer { @@ -12407,11 +12335,7 @@ public unsafe partial struct ID3D12VersionedRootSignatureDeserializer : ID3D12Ve [VtblIndex(3)] public HResult GetRootSignatureDescAtVersion(RootSignatureVersion convertToVersion, VersionedRootSignatureDescription** ppDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12VersionedRootSignatureDeserializer*)Unsafe.AsPointer(ref this), convertToVersion, ppDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12VersionedRootSignatureDeserializer*)Unsafe.AsPointer(ref this), convertToVersion, ppDesc); -#endif } /// @@ -12419,16 +12343,9 @@ public unsafe partial struct ID3D12VersionedRootSignatureDeserializer : ID3D12Ve [VtblIndex(4)] public Graphics.Direct3D12.VersionedRootSignatureDescription* GetUnconvertedRootSignatureDesc() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12VersionedRootSignatureDeserializer*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12VersionedRootSignatureDeserializer*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -12436,7 +12353,7 @@ public unsafe partial struct ID3D12VersionedRootSignatureDeserializer : ID3D12Ve [Guid("63ee58fb-1268-4835-86da-f008ce62f0d6")] [NativeTypeName("struct ID3D12Pageable : ID3D12DeviceChild")] [NativeInheritance("ID3D12DeviceChild")] -public unsafe partial struct ID3D12Pageable : ID3D12Pageable.Interface +public unsafe partial struct ID3D12Pageable { public static ref readonly Guid IID_ID3D12Pageable { @@ -12497,11 +12414,7 @@ public unsafe partial struct ID3D12Pageable : ID3D12Pageable.Interface [VtblIndex(3)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12Pageable*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Pageable*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -12509,11 +12422,7 @@ public unsafe partial struct ID3D12Pageable : ID3D12Pageable.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12Pageable*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12Pageable*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -12521,11 +12430,7 @@ public unsafe partial struct ID3D12Pageable : ID3D12Pageable.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12Pageable*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12Pageable*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -12533,11 +12438,7 @@ public unsafe partial struct ID3D12Pageable : ID3D12Pageable.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12Pageable*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12Pageable*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -12545,16 +12446,9 @@ public unsafe partial struct ID3D12Pageable : ID3D12Pageable.Interface [VtblIndex(7)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Pageable*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12Pageable*)Unsafe.AsPointer(ref this), Name); -#endif } - public interface Interface : ID3D12DeviceChild.Interface - { - } } /// @@ -12562,7 +12456,7 @@ public unsafe partial struct ID3D12Pageable : ID3D12Pageable.Interface [Guid("6b3b2502-6e51-45b3-90ee-9884265e8df3")] [NativeTypeName("struct ID3D12Heap : ID3D12Pageable")] [NativeInheritance("ID3D12Pageable")] -public unsafe partial struct ID3D12Heap : ID3D12Heap.Interface +public unsafe partial struct ID3D12Heap { public static ref readonly Guid IID_ID3D12Heap { @@ -12623,11 +12517,7 @@ public unsafe partial struct ID3D12Heap : ID3D12Heap.Interface [VtblIndex(3)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12Heap*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Heap*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -12635,11 +12525,7 @@ public unsafe partial struct ID3D12Heap : ID3D12Heap.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12Heap*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12Heap*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -12647,11 +12533,7 @@ public unsafe partial struct ID3D12Heap : ID3D12Heap.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12Heap*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12Heap*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -12659,11 +12541,7 @@ public unsafe partial struct ID3D12Heap : ID3D12Heap.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12Heap*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12Heap*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -12671,11 +12549,7 @@ public unsafe partial struct ID3D12Heap : ID3D12Heap.Interface [VtblIndex(7)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Heap*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12Heap*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -12683,16 +12557,9 @@ public unsafe partial struct ID3D12Heap : ID3D12Heap.Interface [VtblIndex(8)] public Graphics.Direct3D12.HeapDescription GetDesc() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12Heap*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12Heap*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : ID3D12Pageable.Interface - { - } } /// @@ -12700,7 +12567,7 @@ public unsafe partial struct ID3D12Heap : ID3D12Heap.Interface [Guid("696442be-a72e-4059-bc79-5b5c98040fad")] [NativeTypeName("struct ID3D12Resource : ID3D12Pageable")] [NativeInheritance("ID3D12Pageable")] -public unsafe partial struct ID3D12Resource : ID3D12Resource.Interface +public unsafe partial struct ID3D12Resource { public static ref readonly Guid IID_ID3D12Resource { @@ -12761,11 +12628,7 @@ public unsafe partial struct ID3D12Resource : ID3D12Resource.Interface [VtblIndex(3)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12Resource*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Resource*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -12773,11 +12636,7 @@ public unsafe partial struct ID3D12Resource : ID3D12Resource.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12Resource*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12Resource*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -12785,11 +12644,7 @@ public unsafe partial struct ID3D12Resource : ID3D12Resource.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12Resource*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12Resource*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -12797,11 +12652,7 @@ public unsafe partial struct ID3D12Resource : ID3D12Resource.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12Resource*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12Resource*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -12809,11 +12660,7 @@ public unsafe partial struct ID3D12Resource : ID3D12Resource.Interface [VtblIndex(7)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Resource*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12Resource*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -12821,11 +12668,7 @@ public unsafe partial struct ID3D12Resource : ID3D12Resource.Interface [VtblIndex(8)] public HResult Map(uint Subresource, Range* pReadRange, void** ppData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12Resource*)Unsafe.AsPointer(ref this), Subresource, pReadRange, ppData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12Resource*)Unsafe.AsPointer(ref this), Subresource, pReadRange, ppData); -#endif } /// @@ -12833,11 +12676,7 @@ public unsafe partial struct ID3D12Resource : ID3D12Resource.Interface [VtblIndex(9)] public void Unmap(uint Subresource, Range* pWrittenRange) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[9]))((ID3D12Resource*)Unsafe.AsPointer(ref this), Subresource, pWrittenRange); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12Resource*)Unsafe.AsPointer(ref this), Subresource, pWrittenRange); -#endif } /// @@ -12845,11 +12684,7 @@ public unsafe partial struct ID3D12Resource : ID3D12Resource.Interface [VtblIndex(10)] public Graphics.Direct3D12.ResourceDescription GetDesc() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D12Resource*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12Resource*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -12857,11 +12692,7 @@ public unsafe partial struct ID3D12Resource : ID3D12Resource.Interface [VtblIndex(11)] public ulong GetGPUVirtualAddress() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D12Resource*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12Resource*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -12869,11 +12700,7 @@ public unsafe partial struct ID3D12Resource : ID3D12Resource.Interface [VtblIndex(12)] public HResult WriteToSubresource(uint DstSubresource, Box* pDstBox, void* pSrcData, uint SrcRowPitch, uint SrcDepthPitch) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D12Resource*)Unsafe.AsPointer(ref this), DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D12Resource*)Unsafe.AsPointer(ref this), DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch); -#endif } /// @@ -12881,11 +12708,7 @@ public unsafe partial struct ID3D12Resource : ID3D12Resource.Interface [VtblIndex(13)] public HResult ReadFromSubresource(void* pDstData, uint DstRowPitch, uint DstDepthPitch, uint SrcSubresource, Box* pSrcBox) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((ID3D12Resource*)Unsafe.AsPointer(ref this), pDstData, DstRowPitch, DstDepthPitch, SrcSubresource, pSrcBox); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12Resource*)Unsafe.AsPointer(ref this), pDstData, DstRowPitch, DstDepthPitch, SrcSubresource, pSrcBox); -#endif } /// @@ -12893,16 +12716,9 @@ public unsafe partial struct ID3D12Resource : ID3D12Resource.Interface [VtblIndex(14)] public HResult GetHeapProperties(HeapProperties* pHeapProperties, HeapFlags* pHeapFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((ID3D12Resource*)Unsafe.AsPointer(ref this), pHeapProperties, pHeapFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D12Resource*)Unsafe.AsPointer(ref this), pHeapProperties, pHeapFlags); -#endif } - public interface Interface : ID3D12Pageable.Interface - { - } } /// @@ -12910,7 +12726,7 @@ public unsafe partial struct ID3D12Resource : ID3D12Resource.Interface [Guid("6102dee4-af59-4b09-b999-b44d73f09b24")] [NativeTypeName("struct ID3D12CommandAllocator : ID3D12Pageable")] [NativeInheritance("ID3D12Pageable")] -public unsafe partial struct ID3D12CommandAllocator : ID3D12CommandAllocator.Interface +public unsafe partial struct ID3D12CommandAllocator { public static ref readonly Guid IID_ID3D12CommandAllocator { @@ -12971,11 +12787,7 @@ public unsafe partial struct ID3D12CommandAllocator : ID3D12CommandAllocator.Int [VtblIndex(3)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12CommandAllocator*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12CommandAllocator*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -12983,11 +12795,7 @@ public unsafe partial struct ID3D12CommandAllocator : ID3D12CommandAllocator.Int [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12CommandAllocator*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12CommandAllocator*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -12995,11 +12803,7 @@ public unsafe partial struct ID3D12CommandAllocator : ID3D12CommandAllocator.Int [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12CommandAllocator*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12CommandAllocator*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -13007,11 +12811,7 @@ public unsafe partial struct ID3D12CommandAllocator : ID3D12CommandAllocator.Int [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12CommandAllocator*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12CommandAllocator*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -13019,11 +12819,7 @@ public unsafe partial struct ID3D12CommandAllocator : ID3D12CommandAllocator.Int [VtblIndex(7)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12CommandAllocator*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12CommandAllocator*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -13031,16 +12827,9 @@ public unsafe partial struct ID3D12CommandAllocator : ID3D12CommandAllocator.Int [VtblIndex(8)] public HResult Reset() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12CommandAllocator*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12CommandAllocator*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : ID3D12Pageable.Interface - { - } } /// @@ -13048,7 +12837,7 @@ public unsafe partial struct ID3D12CommandAllocator : ID3D12CommandAllocator.Int [Guid("0a753dcf-c4d8-4b91-adf6-be5a60d95a76")] [NativeTypeName("struct ID3D12Fence : ID3D12Pageable")] [NativeInheritance("ID3D12Pageable")] -public unsafe partial struct ID3D12Fence : ID3D12Fence.Interface +public unsafe partial struct ID3D12Fence { public static ref readonly Guid IID_ID3D12Fence { @@ -13109,11 +12898,7 @@ public unsafe partial struct ID3D12Fence : ID3D12Fence.Interface [VtblIndex(3)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12Fence*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Fence*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -13121,11 +12906,7 @@ public unsafe partial struct ID3D12Fence : ID3D12Fence.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12Fence*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12Fence*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -13133,11 +12914,7 @@ public unsafe partial struct ID3D12Fence : ID3D12Fence.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12Fence*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12Fence*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -13145,11 +12922,7 @@ public unsafe partial struct ID3D12Fence : ID3D12Fence.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12Fence*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12Fence*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -13157,11 +12930,7 @@ public unsafe partial struct ID3D12Fence : ID3D12Fence.Interface [VtblIndex(7)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Fence*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12Fence*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -13169,11 +12938,7 @@ public unsafe partial struct ID3D12Fence : ID3D12Fence.Interface [VtblIndex(8)] public ulong GetCompletedValue() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12Fence*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12Fence*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -13181,11 +12946,7 @@ public unsafe partial struct ID3D12Fence : ID3D12Fence.Interface [VtblIndex(9)] public HResult SetEventOnCompletion(ulong Value, IntPtr hEvent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D12Fence*)Unsafe.AsPointer(ref this), Value, hEvent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12Fence*)Unsafe.AsPointer(ref this), Value, hEvent); -#endif } /// @@ -13193,16 +12954,9 @@ public unsafe partial struct ID3D12Fence : ID3D12Fence.Interface [VtblIndex(10)] public HResult Signal(ulong Value) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D12Fence*)Unsafe.AsPointer(ref this), Value); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12Fence*)Unsafe.AsPointer(ref this), Value); -#endif } - public interface Interface : ID3D12Pageable.Interface - { - } } /// @@ -13210,7 +12964,7 @@ public unsafe partial struct ID3D12Fence : ID3D12Fence.Interface [Guid("433685fe-e22b-4ca0-a8db-b5b4f4dd0e4a")] [NativeTypeName("struct ID3D12Fence1 : ID3D12Fence")] [NativeInheritance("ID3D12Fence")] -public unsafe partial struct ID3D12Fence1 : ID3D12Fence1.Interface +public unsafe partial struct ID3D12Fence1 { public static ref readonly Guid IID_ID3D12Fence1 { @@ -13271,11 +13025,7 @@ public unsafe partial struct ID3D12Fence1 : ID3D12Fence1.Interface [VtblIndex(3)] public ulong GetCompletedValue() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12Fence1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Fence1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -13283,11 +13033,7 @@ public unsafe partial struct ID3D12Fence1 : ID3D12Fence1.Interface [VtblIndex(4)] public HResult SetEventOnCompletion(ulong Value, IntPtr hEvent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12Fence1*)Unsafe.AsPointer(ref this), Value, hEvent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12Fence1*)Unsafe.AsPointer(ref this), Value, hEvent); -#endif } /// @@ -13295,11 +13041,7 @@ public unsafe partial struct ID3D12Fence1 : ID3D12Fence1.Interface [VtblIndex(5)] public HResult Signal(ulong Value) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12Fence1*)Unsafe.AsPointer(ref this), Value); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12Fence1*)Unsafe.AsPointer(ref this), Value); -#endif } /// @@ -13307,11 +13049,7 @@ public unsafe partial struct ID3D12Fence1 : ID3D12Fence1.Interface [VtblIndex(6)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12Fence1*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12Fence1*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -13319,11 +13057,7 @@ public unsafe partial struct ID3D12Fence1 : ID3D12Fence1.Interface [VtblIndex(7)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Fence1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12Fence1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -13331,11 +13065,7 @@ public unsafe partial struct ID3D12Fence1 : ID3D12Fence1.Interface [VtblIndex(8)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12Fence1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12Fence1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -13343,11 +13073,7 @@ public unsafe partial struct ID3D12Fence1 : ID3D12Fence1.Interface [VtblIndex(9)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D12Fence1*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12Fence1*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -13355,11 +13081,7 @@ public unsafe partial struct ID3D12Fence1 : ID3D12Fence1.Interface [VtblIndex(10)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D12Fence1*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12Fence1*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -13367,16 +13089,9 @@ public unsafe partial struct ID3D12Fence1 : ID3D12Fence1.Interface [VtblIndex(11)] public Graphics.Direct3D12.FenceFlags GetCreationFlags() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D12Fence1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12Fence1*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : ID3D12Fence.Interface - { - } } /// @@ -13384,7 +13099,7 @@ public unsafe partial struct ID3D12Fence1 : ID3D12Fence1.Interface [Guid("765a30f3-f624-4c6f-a828-ace948622445")] [NativeTypeName("struct ID3D12PipelineState : ID3D12Pageable")] [NativeInheritance("ID3D12Pageable")] -public unsafe partial struct ID3D12PipelineState : ID3D12PipelineState.Interface +public unsafe partial struct ID3D12PipelineState { public static ref readonly Guid IID_ID3D12PipelineState { @@ -13445,11 +13160,7 @@ public unsafe partial struct ID3D12PipelineState : ID3D12PipelineState.Interface [VtblIndex(3)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12PipelineState*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12PipelineState*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -13457,11 +13168,7 @@ public unsafe partial struct ID3D12PipelineState : ID3D12PipelineState.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12PipelineState*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12PipelineState*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -13469,11 +13176,7 @@ public unsafe partial struct ID3D12PipelineState : ID3D12PipelineState.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12PipelineState*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12PipelineState*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -13481,11 +13184,7 @@ public unsafe partial struct ID3D12PipelineState : ID3D12PipelineState.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12PipelineState*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12PipelineState*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -13493,11 +13192,7 @@ public unsafe partial struct ID3D12PipelineState : ID3D12PipelineState.Interface [VtblIndex(7)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12PipelineState*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12PipelineState*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -13505,16 +13200,9 @@ public unsafe partial struct ID3D12PipelineState : ID3D12PipelineState.Interface [VtblIndex(8)] public HResult GetCachedBlob(Graphics.Direct3D.ID3DBlob** ppBlob) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12PipelineState*)Unsafe.AsPointer(ref this), ppBlob); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12PipelineState*)Unsafe.AsPointer(ref this), ppBlob); -#endif } - public interface Interface : ID3D12Pageable.Interface - { - } } /// @@ -13522,7 +13210,7 @@ public unsafe partial struct ID3D12PipelineState : ID3D12PipelineState.Interface [Guid("8efb471d-616c-4f49-90f7-127bb763fa51")] [NativeTypeName("struct ID3D12DescriptorHeap : ID3D12Pageable")] [NativeInheritance("ID3D12Pageable")] -public unsafe partial struct ID3D12DescriptorHeap : ID3D12DescriptorHeap.Interface +public unsafe partial struct ID3D12DescriptorHeap { public static ref readonly Guid IID_ID3D12DescriptorHeap { @@ -13583,11 +13271,7 @@ public unsafe partial struct ID3D12DescriptorHeap : ID3D12DescriptorHeap.Interfa [VtblIndex(3)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -13595,11 +13279,7 @@ public unsafe partial struct ID3D12DescriptorHeap : ID3D12DescriptorHeap.Interfa [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -13607,11 +13287,7 @@ public unsafe partial struct ID3D12DescriptorHeap : ID3D12DescriptorHeap.Interfa [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -13619,11 +13295,7 @@ public unsafe partial struct ID3D12DescriptorHeap : ID3D12DescriptorHeap.Interfa [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -13631,11 +13303,7 @@ public unsafe partial struct ID3D12DescriptorHeap : ID3D12DescriptorHeap.Interfa [VtblIndex(7)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -13643,11 +13311,7 @@ public unsafe partial struct ID3D12DescriptorHeap : ID3D12DescriptorHeap.Interfa [VtblIndex(8)] public Graphics.Direct3D12.DescriptorHeapDescription GetDesc() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -13655,11 +13319,7 @@ public unsafe partial struct ID3D12DescriptorHeap : ID3D12DescriptorHeap.Interfa [VtblIndex(9)] public Graphics.Direct3D12.CpuDescriptorHandle GetCPUDescriptorHandleForHeapStart() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -13667,16 +13327,9 @@ public unsafe partial struct ID3D12DescriptorHeap : ID3D12DescriptorHeap.Interfa [VtblIndex(10)] public Graphics.Direct3D12.GpuDescriptorHandle GetGPUDescriptorHandleForHeapStart() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : ID3D12Pageable.Interface - { - } } /// @@ -13684,7 +13337,7 @@ public unsafe partial struct ID3D12DescriptorHeap : ID3D12DescriptorHeap.Interfa [Guid("0d9658ae-ed45-469e-a61d-970ec583cab4")] [NativeTypeName("struct ID3D12QueryHeap : ID3D12Pageable")] [NativeInheritance("ID3D12Pageable")] -public unsafe partial struct ID3D12QueryHeap : ID3D12QueryHeap.Interface +public unsafe partial struct ID3D12QueryHeap { public static ref readonly Guid IID_ID3D12QueryHeap { @@ -13745,11 +13398,7 @@ public unsafe partial struct ID3D12QueryHeap : ID3D12QueryHeap.Interface [VtblIndex(3)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12QueryHeap*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12QueryHeap*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -13757,11 +13406,7 @@ public unsafe partial struct ID3D12QueryHeap : ID3D12QueryHeap.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12QueryHeap*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12QueryHeap*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -13769,11 +13414,7 @@ public unsafe partial struct ID3D12QueryHeap : ID3D12QueryHeap.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12QueryHeap*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12QueryHeap*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -13781,11 +13422,7 @@ public unsafe partial struct ID3D12QueryHeap : ID3D12QueryHeap.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12QueryHeap*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12QueryHeap*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -13793,16 +13430,9 @@ public unsafe partial struct ID3D12QueryHeap : ID3D12QueryHeap.Interface [VtblIndex(7)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12QueryHeap*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12QueryHeap*)Unsafe.AsPointer(ref this), Name); -#endif } - public interface Interface : ID3D12Pageable.Interface - { - } } /// @@ -13810,7 +13440,7 @@ public unsafe partial struct ID3D12QueryHeap : ID3D12QueryHeap.Interface [Guid("c36a797c-ec80-4f0a-8985-a7b2475082d1")] [NativeTypeName("struct ID3D12CommandSignature : ID3D12Pageable")] [NativeInheritance("ID3D12Pageable")] -public unsafe partial struct ID3D12CommandSignature : ID3D12CommandSignature.Interface +public unsafe partial struct ID3D12CommandSignature { public static ref readonly Guid IID_ID3D12CommandSignature { @@ -13871,11 +13501,7 @@ public unsafe partial struct ID3D12CommandSignature : ID3D12CommandSignature.Int [VtblIndex(3)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12CommandSignature*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12CommandSignature*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -13883,11 +13509,7 @@ public unsafe partial struct ID3D12CommandSignature : ID3D12CommandSignature.Int [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12CommandSignature*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12CommandSignature*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -13895,11 +13517,7 @@ public unsafe partial struct ID3D12CommandSignature : ID3D12CommandSignature.Int [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12CommandSignature*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12CommandSignature*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -13907,11 +13525,7 @@ public unsafe partial struct ID3D12CommandSignature : ID3D12CommandSignature.Int [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12CommandSignature*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12CommandSignature*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -13919,16 +13533,9 @@ public unsafe partial struct ID3D12CommandSignature : ID3D12CommandSignature.Int [VtblIndex(7)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12CommandSignature*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12CommandSignature*)Unsafe.AsPointer(ref this), Name); -#endif } - public interface Interface : ID3D12Pageable.Interface - { - } } /// @@ -13936,7 +13543,7 @@ public unsafe partial struct ID3D12CommandSignature : ID3D12CommandSignature.Int [Guid("7116d91c-e7e4-47ce-b8c6-ec8168f437e5")] [NativeTypeName("struct ID3D12CommandList : ID3D12DeviceChild")] [NativeInheritance("ID3D12DeviceChild")] -public unsafe partial struct ID3D12CommandList : ID3D12CommandList.Interface +public unsafe partial struct ID3D12CommandList { public static ref readonly Guid IID_ID3D12CommandList { @@ -13997,11 +13604,7 @@ public unsafe partial struct ID3D12CommandList : ID3D12CommandList.Interface [VtblIndex(3)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12CommandList*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12CommandList*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -14009,11 +13612,7 @@ public unsafe partial struct ID3D12CommandList : ID3D12CommandList.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12CommandList*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12CommandList*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -14021,11 +13620,7 @@ public unsafe partial struct ID3D12CommandList : ID3D12CommandList.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12CommandList*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12CommandList*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -14033,11 +13628,7 @@ public unsafe partial struct ID3D12CommandList : ID3D12CommandList.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12CommandList*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12CommandList*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -14045,11 +13636,7 @@ public unsafe partial struct ID3D12CommandList : ID3D12CommandList.Interface [VtblIndex(7)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12CommandList*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12CommandList*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -14057,16 +13644,9 @@ public unsafe partial struct ID3D12CommandList : ID3D12CommandList.Interface [VtblIndex(8)] public new Graphics.Direct3D12.CommandListType GetType() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12CommandList*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12CommandList*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : ID3D12DeviceChild.Interface - { - } } /// @@ -14074,7 +13654,7 @@ public unsafe partial struct ID3D12CommandList : ID3D12CommandList.Interface [Guid("5b160d0f-ac1b-4185-8ba8-b3ae42a5a455")] [NativeTypeName("struct ID3D12GraphicsCommandList : ID3D12CommandList")] [NativeInheritance("ID3D12CommandList")] -public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandList.Interface +public unsafe partial struct ID3D12GraphicsCommandList { public static ref readonly Guid IID_ID3D12GraphicsCommandList { @@ -14135,11 +13715,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(3)] public new Graphics.Direct3D12.CommandListType GetType() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -14147,11 +13723,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(4)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -14159,11 +13731,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(5)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -14171,11 +13739,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(6)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -14183,11 +13747,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(7)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -14195,11 +13755,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(8)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -14207,11 +13763,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(9)] public HResult Close() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -14219,11 +13771,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(10)] public HResult Reset(ID3D12CommandAllocator* pAllocator, ID3D12PipelineState* pInitialState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pAllocator, pInitialState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pAllocator, pInitialState); -#endif } /// @@ -14231,11 +13779,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(11)] public void ClearState(ID3D12PipelineState* pPipelineState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[11]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pPipelineState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pPipelineState); -#endif } /// @@ -14243,11 +13787,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(12)] public void DrawInstanced(uint VertexCountPerInstance, uint InstanceCount, uint StartVertexLocation, uint StartInstanceLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[12]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), VertexCountPerInstance, InstanceCount, StartVertexLocation, StartInstanceLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), VertexCountPerInstance, InstanceCount, StartVertexLocation, StartInstanceLocation); -#endif } /// @@ -14255,11 +13795,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(13)] public void DrawIndexedInstanced(uint IndexCountPerInstance, uint InstanceCount, uint StartIndexLocation, int BaseVertexLocation, uint StartInstanceLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[13]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), IndexCountPerInstance, InstanceCount, StartIndexLocation, BaseVertexLocation, StartInstanceLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), IndexCountPerInstance, InstanceCount, StartIndexLocation, BaseVertexLocation, StartInstanceLocation); -#endif } /// @@ -14267,11 +13803,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(14)] public void Dispatch(uint ThreadGroupCountX, uint ThreadGroupCountY, uint ThreadGroupCountZ) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[14]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ); -#endif } /// @@ -14279,11 +13811,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(15)] public void CopyBufferRegion(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, ulong NumBytes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[15]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, NumBytes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, NumBytes); -#endif } /// @@ -14291,11 +13819,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(16)] public void CopyTextureRegion(TextureCopyLocation* pDst, uint DstX, uint DstY, uint DstZ, TextureCopyLocation* pSrc, Box* pSrcBox) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[16]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pDst, DstX, DstY, DstZ, pSrc, pSrcBox); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pDst, DstX, DstY, DstZ, pSrc, pSrcBox); -#endif } /// @@ -14303,11 +13827,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(17)] public void CopyResource(ID3D12Resource* pDstResource, ID3D12Resource* pSrcResource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[17]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pDstResource, pSrcResource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pDstResource, pSrcResource); -#endif } /// @@ -14315,11 +13835,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(18)] public void CopyTiles(ID3D12Resource* pTiledResource, TiledResourceCoordinate* pTileRegionStartCoordinate, TileRegionSize* pTileRegionSize, ID3D12Resource* pBuffer, ulong BufferStartOffsetInBytes, TileCopyFlags Flags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[18]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pTiledResource, pTileRegionStartCoordinate, pTileRegionSize, pBuffer, BufferStartOffsetInBytes, Flags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pTiledResource, pTileRegionStartCoordinate, pTileRegionSize, pBuffer, BufferStartOffsetInBytes, Flags); -#endif } /// @@ -14327,11 +13843,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(19)] public void ResolveSubresource(ID3D12Resource* pDstResource, uint DstSubresource, ID3D12Resource* pSrcResource, uint SrcSubresource, Graphics.Dxgi.Common.Format Format) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[19]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pSrcResource, SrcSubresource, Format); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pSrcResource, SrcSubresource, Format); -#endif } /// @@ -14339,11 +13851,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(20)] public void IASetPrimitiveTopology(Graphics.Direct3D.PrimitiveTopology PrimitiveTopology) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[20]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), PrimitiveTopology); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), PrimitiveTopology); -#endif } /// @@ -14351,11 +13859,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(21)] public void RSSetViewports(uint NumViewports, Viewport* pViewports) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[21]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), NumViewports, pViewports); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), NumViewports, pViewports); -#endif } /// @@ -14363,11 +13867,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(22)] public void RSSetScissorRects(uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[22]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), NumRects, pRects); -#endif } /// @@ -14375,11 +13875,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(23)] public void OMSetBlendFactor(float* BlendFactor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[23]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), BlendFactor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), BlendFactor); -#endif } /// @@ -14387,11 +13883,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(24)] public void OMSetStencilRef(uint StencilRef) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[24]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), StencilRef); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), StencilRef); -#endif } /// @@ -14399,11 +13891,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(25)] public void SetPipelineState(ID3D12PipelineState* pPipelineState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[25]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pPipelineState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pPipelineState); -#endif } /// @@ -14411,11 +13899,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(26)] public void ResourceBarrier(uint NumBarriers, ResourceBarrier* pBarriers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[26]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), NumBarriers, pBarriers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), NumBarriers, pBarriers); -#endif } /// @@ -14423,11 +13907,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(27)] public void ExecuteBundle(ID3D12GraphicsCommandList* pCommandList) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[27]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pCommandList); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pCommandList); -#endif } /// @@ -14435,11 +13915,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(28)] public void SetDescriptorHeaps(uint NumDescriptorHeaps, ID3D12DescriptorHeap* ppDescriptorHeaps) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[28]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps); -#endif } /// @@ -14447,11 +13923,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(29)] public void SetComputeRootSignature(ID3D12RootSignature* pRootSignature) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[29]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pRootSignature); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pRootSignature); -#endif } /// @@ -14459,11 +13931,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(30)] public void SetGraphicsRootSignature(ID3D12RootSignature* pRootSignature) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[30]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pRootSignature); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pRootSignature); -#endif } /// @@ -14471,11 +13939,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(31)] public void SetComputeRootDescriptorTable(uint RootParameterIndex, GpuDescriptorHandle* BaseDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[31]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#endif } /// @@ -14483,11 +13947,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(32)] public void SetGraphicsRootDescriptorTable(uint RootParameterIndex, GpuDescriptorHandle* BaseDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[32]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#endif } /// @@ -14495,11 +13955,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(33)] public void SetComputeRoot32BitConstant(uint RootParameterIndex, uint SrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[33]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#endif } /// @@ -14507,11 +13963,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(34)] public void SetGraphicsRoot32BitConstant(uint RootParameterIndex, uint SrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[34]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#endif } /// @@ -14519,11 +13971,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(35)] public void SetComputeRoot32BitConstants(uint RootParameterIndex, uint Num32BitValuesToSet, void* pSrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[35]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#endif } /// @@ -14531,11 +13979,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(36)] public void SetGraphicsRoot32BitConstants(uint RootParameterIndex, uint Num32BitValuesToSet, void* pSrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[36]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#endif } /// @@ -14543,11 +13987,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(37)] public void SetComputeRootConstantBufferView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[37]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -14555,11 +13995,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(38)] public void SetGraphicsRootConstantBufferView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[38]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -14567,11 +14003,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(39)] public void SetComputeRootShaderResourceView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[39]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -14579,11 +14011,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(40)] public void SetGraphicsRootShaderResourceView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[40]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -14591,11 +14019,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(41)] public void SetComputeRootUnorderedAccessView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[41]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -14603,11 +14027,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(42)] public void SetGraphicsRootUnorderedAccessView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[42]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -14615,11 +14035,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(43)] public void IASetIndexBuffer(IndexBufferView* pView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[43]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pView); -#endif } /// @@ -14627,11 +14043,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(44)] public void IASetVertexBuffers(uint StartSlot, uint NumViews, VertexBufferView* pViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[44]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#endif } /// @@ -14639,11 +14051,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(45)] public void SOSetTargets(uint StartSlot, uint NumViews, StreamOutputBufferView* pViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[45]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#endif } /// @@ -14651,11 +14059,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(46)] public void OMSetRenderTargets(uint NumRenderTargetDescriptors, CpuDescriptorHandle* pRenderTargetDescriptors, Bool32 RTsSingleHandleToDescriptorRange, CpuDescriptorHandle* pDepthStencilDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[46]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), NumRenderTargetDescriptors, pRenderTargetDescriptors, RTsSingleHandleToDescriptorRange, pDepthStencilDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), NumRenderTargetDescriptors, pRenderTargetDescriptors, RTsSingleHandleToDescriptorRange, pDepthStencilDescriptor); -#endif } /// @@ -14663,11 +14067,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(47)] public void ClearDepthStencilView(CpuDescriptorHandle* DepthStencilView, ClearFlags ClearFlags, float Depth, byte Stencil, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[47]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), DepthStencilView, ClearFlags, Depth, Stencil, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), DepthStencilView, ClearFlags, Depth, Stencil, NumRects, pRects); -#endif } /// @@ -14675,11 +14075,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(48)] public void ClearRenderTargetView(CpuDescriptorHandle* RenderTargetView, float* ColorRGBA, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[48]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), RenderTargetView, ColorRGBA, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), RenderTargetView, ColorRGBA, NumRects, pRects); -#endif } /// @@ -14687,11 +14083,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(49)] public void ClearUnorderedAccessViewUint(GpuDescriptorHandle* ViewGPUHandleInCurrentHeap, CpuDescriptorHandle* ViewCPUHandle, ID3D12Resource* pResource, uint* Values, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[49]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#endif } /// @@ -14699,11 +14091,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(50)] public void ClearUnorderedAccessViewFloat(GpuDescriptorHandle* ViewGPUHandleInCurrentHeap, CpuDescriptorHandle* ViewCPUHandle, ID3D12Resource* pResource, float* Values, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[50]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#endif } /// @@ -14711,11 +14099,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(51)] public void DiscardResource(ID3D12Resource* pResource, DiscardRegion* pRegion) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[51]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pResource, pRegion); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pResource, pRegion); -#endif } /// @@ -14723,11 +14107,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(52)] public void BeginQuery(ID3D12QueryHeap* pQueryHeap, QueryType Type, uint Index) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[52]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#endif } /// @@ -14735,11 +14115,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(53)] public void EndQuery(ID3D12QueryHeap* pQueryHeap, QueryType Type, uint Index) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[53]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#endif } /// @@ -14747,11 +14123,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(54)] public void ResolveQueryData(ID3D12QueryHeap* pQueryHeap, QueryType Type, uint StartIndex, uint NumQueries, ID3D12Resource* pDestinationBuffer, ulong AlignedDestinationBufferOffset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[54]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pQueryHeap, Type, StartIndex, NumQueries, pDestinationBuffer, AlignedDestinationBufferOffset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pQueryHeap, Type, StartIndex, NumQueries, pDestinationBuffer, AlignedDestinationBufferOffset); -#endif } /// @@ -14759,11 +14131,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(55)] public void SetPredication(ID3D12Resource* pBuffer, ulong AlignedBufferOffset, PredicationOp Operation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[55]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pBuffer, AlignedBufferOffset, Operation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pBuffer, AlignedBufferOffset, Operation); -#endif } /// @@ -14771,11 +14139,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(56)] public void SetMarker(uint Metadata, void* pData, uint Size) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[56]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#endif } /// @@ -14783,11 +14147,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(57)] public void BeginEvent(uint Metadata, void* pData, uint Size) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[57]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#endif } /// @@ -14795,11 +14155,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(58)] public void EndEvent() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[58]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -14807,16 +14163,9 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [VtblIndex(59)] public void ExecuteIndirect(ID3D12CommandSignature* pCommandSignature, uint MaxCommandCount, ID3D12Resource* pArgumentBuffer, ulong ArgumentBufferOffset, ID3D12Resource* pCountBuffer, ulong CountBufferOffset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[59]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pCommandSignature, MaxCommandCount, pArgumentBuffer, ArgumentBufferOffset, pCountBuffer, CountBufferOffset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), pCommandSignature, MaxCommandCount, pArgumentBuffer, ArgumentBufferOffset, pCountBuffer, CountBufferOffset); -#endif } - public interface Interface : ID3D12CommandList.Interface - { - } } /// @@ -14824,7 +14173,7 @@ public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandLi [Guid("553103fb-1fe7-4557-bb38-946d7d0e7ca7")] [NativeTypeName("struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandList")] [NativeInheritance("ID3D12GraphicsCommandList")] -public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandList1.Interface +public unsafe partial struct ID3D12GraphicsCommandList1 { public static ref readonly Guid IID_ID3D12GraphicsCommandList1 { @@ -14885,11 +14234,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(3)] public HResult Close() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -14897,11 +14242,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(4)] public HResult Reset(ID3D12CommandAllocator* pAllocator, ID3D12PipelineState* pInitialState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pAllocator, pInitialState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pAllocator, pInitialState); -#endif } /// @@ -14909,11 +14250,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(5)] public void ClearState(ID3D12PipelineState* pPipelineState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pPipelineState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pPipelineState); -#endif } /// @@ -14921,11 +14258,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(6)] public void DrawInstanced(uint VertexCountPerInstance, uint InstanceCount, uint StartVertexLocation, uint StartInstanceLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[6]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), VertexCountPerInstance, InstanceCount, StartVertexLocation, StartInstanceLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), VertexCountPerInstance, InstanceCount, StartVertexLocation, StartInstanceLocation); -#endif } /// @@ -14933,11 +14266,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(7)] public void DrawIndexedInstanced(uint IndexCountPerInstance, uint InstanceCount, uint StartIndexLocation, int BaseVertexLocation, uint StartInstanceLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[7]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), IndexCountPerInstance, InstanceCount, StartIndexLocation, BaseVertexLocation, StartInstanceLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), IndexCountPerInstance, InstanceCount, StartIndexLocation, BaseVertexLocation, StartInstanceLocation); -#endif } /// @@ -14945,11 +14274,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(8)] public void Dispatch(uint ThreadGroupCountX, uint ThreadGroupCountY, uint ThreadGroupCountZ) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ); -#endif } /// @@ -14957,11 +14282,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(9)] public void CopyBufferRegion(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, ulong NumBytes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[9]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, NumBytes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, NumBytes); -#endif } /// @@ -14969,11 +14290,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(10)] public void CopyTextureRegion(TextureCopyLocation* pDst, uint DstX, uint DstY, uint DstZ, TextureCopyLocation* pSrc, Box* pSrcBox) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[10]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pDst, DstX, DstY, DstZ, pSrc, pSrcBox); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pDst, DstX, DstY, DstZ, pSrc, pSrcBox); -#endif } /// @@ -14981,11 +14298,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(11)] public void CopyResource(ID3D12Resource* pDstResource, ID3D12Resource* pSrcResource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[11]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pDstResource, pSrcResource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pDstResource, pSrcResource); -#endif } /// @@ -14993,11 +14306,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(12)] public void CopyTiles(ID3D12Resource* pTiledResource, TiledResourceCoordinate* pTileRegionStartCoordinate, TileRegionSize* pTileRegionSize, ID3D12Resource* pBuffer, ulong BufferStartOffsetInBytes, TileCopyFlags Flags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[12]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pTiledResource, pTileRegionStartCoordinate, pTileRegionSize, pBuffer, BufferStartOffsetInBytes, Flags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pTiledResource, pTileRegionStartCoordinate, pTileRegionSize, pBuffer, BufferStartOffsetInBytes, Flags); -#endif } /// @@ -15005,11 +14314,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(13)] public void ResolveSubresource(ID3D12Resource* pDstResource, uint DstSubresource, ID3D12Resource* pSrcResource, uint SrcSubresource, Graphics.Dxgi.Common.Format Format) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[13]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pSrcResource, SrcSubresource, Format); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pSrcResource, SrcSubresource, Format); -#endif } /// @@ -15017,11 +14322,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(14)] public void IASetPrimitiveTopology(Graphics.Direct3D.PrimitiveTopology PrimitiveTopology) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[14]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), PrimitiveTopology); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), PrimitiveTopology); -#endif } /// @@ -15029,11 +14330,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(15)] public void RSSetViewports(uint NumViewports, Viewport* pViewports) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[15]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), NumViewports, pViewports); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), NumViewports, pViewports); -#endif } /// @@ -15041,11 +14338,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(16)] public void RSSetScissorRects(uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[16]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), NumRects, pRects); -#endif } /// @@ -15053,11 +14346,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(17)] public void OMSetBlendFactor(float* BlendFactor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[17]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), BlendFactor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), BlendFactor); -#endif } /// @@ -15065,11 +14354,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(18)] public void OMSetStencilRef(uint StencilRef) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[18]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), StencilRef); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), StencilRef); -#endif } /// @@ -15077,11 +14362,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(19)] public void SetPipelineState(ID3D12PipelineState* pPipelineState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[19]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pPipelineState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pPipelineState); -#endif } /// @@ -15089,11 +14370,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(20)] public void ResourceBarrier(uint NumBarriers, ResourceBarrier* pBarriers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[20]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), NumBarriers, pBarriers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), NumBarriers, pBarriers); -#endif } /// @@ -15101,11 +14378,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(21)] public void ExecuteBundle(ID3D12GraphicsCommandList* pCommandList) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[21]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pCommandList); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pCommandList); -#endif } /// @@ -15113,11 +14386,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(22)] public void SetDescriptorHeaps(uint NumDescriptorHeaps, ID3D12DescriptorHeap* ppDescriptorHeaps) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[22]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps); -#endif } /// @@ -15125,11 +14394,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(23)] public void SetComputeRootSignature(ID3D12RootSignature* pRootSignature) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[23]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pRootSignature); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pRootSignature); -#endif } /// @@ -15137,11 +14402,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(24)] public void SetGraphicsRootSignature(ID3D12RootSignature* pRootSignature) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[24]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pRootSignature); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pRootSignature); -#endif } /// @@ -15149,11 +14410,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(25)] public void SetComputeRootDescriptorTable(uint RootParameterIndex, GpuDescriptorHandle* BaseDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[25]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#endif } /// @@ -15161,11 +14418,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(26)] public void SetGraphicsRootDescriptorTable(uint RootParameterIndex, GpuDescriptorHandle* BaseDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[26]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#endif } /// @@ -15173,11 +14426,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(27)] public void SetComputeRoot32BitConstant(uint RootParameterIndex, uint SrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[27]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#endif } /// @@ -15185,11 +14434,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(28)] public void SetGraphicsRoot32BitConstant(uint RootParameterIndex, uint SrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[28]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#endif } /// @@ -15197,11 +14442,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(29)] public void SetComputeRoot32BitConstants(uint RootParameterIndex, uint Num32BitValuesToSet, void* pSrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[29]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#endif } /// @@ -15209,11 +14450,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(30)] public void SetGraphicsRoot32BitConstants(uint RootParameterIndex, uint Num32BitValuesToSet, void* pSrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[30]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#endif } /// @@ -15221,11 +14458,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(31)] public void SetComputeRootConstantBufferView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[31]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -15233,11 +14466,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(32)] public void SetGraphicsRootConstantBufferView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[32]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -15245,11 +14474,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(33)] public void SetComputeRootShaderResourceView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[33]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -15257,11 +14482,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(34)] public void SetGraphicsRootShaderResourceView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[34]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -15269,11 +14490,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(35)] public void SetComputeRootUnorderedAccessView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[35]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -15281,11 +14498,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(36)] public void SetGraphicsRootUnorderedAccessView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[36]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -15293,11 +14506,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(37)] public void IASetIndexBuffer(IndexBufferView* pView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[37]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pView); -#endif } /// @@ -15305,11 +14514,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(38)] public void IASetVertexBuffers(uint StartSlot, uint NumViews, VertexBufferView* pViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[38]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#endif } /// @@ -15317,11 +14522,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(39)] public void SOSetTargets(uint StartSlot, uint NumViews, StreamOutputBufferView* pViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[39]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#endif } /// @@ -15329,11 +14530,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(40)] public void OMSetRenderTargets(uint NumRenderTargetDescriptors, CpuDescriptorHandle* pRenderTargetDescriptors, Bool32 RTsSingleHandleToDescriptorRange, CpuDescriptorHandle* pDepthStencilDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[40]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), NumRenderTargetDescriptors, pRenderTargetDescriptors, RTsSingleHandleToDescriptorRange, pDepthStencilDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), NumRenderTargetDescriptors, pRenderTargetDescriptors, RTsSingleHandleToDescriptorRange, pDepthStencilDescriptor); -#endif } /// @@ -15341,11 +14538,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(41)] public void ClearDepthStencilView(CpuDescriptorHandle* DepthStencilView, ClearFlags ClearFlags, float Depth, byte Stencil, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[41]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), DepthStencilView, ClearFlags, Depth, Stencil, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), DepthStencilView, ClearFlags, Depth, Stencil, NumRects, pRects); -#endif } /// @@ -15353,11 +14546,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(42)] public void ClearRenderTargetView(CpuDescriptorHandle* RenderTargetView, float* ColorRGBA, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[42]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), RenderTargetView, ColorRGBA, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), RenderTargetView, ColorRGBA, NumRects, pRects); -#endif } /// @@ -15365,11 +14554,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(43)] public void ClearUnorderedAccessViewUint(GpuDescriptorHandle* ViewGPUHandleInCurrentHeap, CpuDescriptorHandle* ViewCPUHandle, ID3D12Resource* pResource, uint* Values, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[43]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#endif } /// @@ -15377,11 +14562,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(44)] public void ClearUnorderedAccessViewFloat(GpuDescriptorHandle* ViewGPUHandleInCurrentHeap, CpuDescriptorHandle* ViewCPUHandle, ID3D12Resource* pResource, float* Values, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[44]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#endif } /// @@ -15389,11 +14570,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(45)] public void DiscardResource(ID3D12Resource* pResource, DiscardRegion* pRegion) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[45]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pResource, pRegion); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pResource, pRegion); -#endif } /// @@ -15401,11 +14578,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(46)] public void BeginQuery(ID3D12QueryHeap* pQueryHeap, QueryType Type, uint Index) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[46]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#endif } /// @@ -15413,11 +14586,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(47)] public void EndQuery(ID3D12QueryHeap* pQueryHeap, QueryType Type, uint Index) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[47]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#endif } /// @@ -15425,11 +14594,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(48)] public void ResolveQueryData(ID3D12QueryHeap* pQueryHeap, QueryType Type, uint StartIndex, uint NumQueries, ID3D12Resource* pDestinationBuffer, ulong AlignedDestinationBufferOffset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[48]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pQueryHeap, Type, StartIndex, NumQueries, pDestinationBuffer, AlignedDestinationBufferOffset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pQueryHeap, Type, StartIndex, NumQueries, pDestinationBuffer, AlignedDestinationBufferOffset); -#endif } /// @@ -15437,11 +14602,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(49)] public void SetPredication(ID3D12Resource* pBuffer, ulong AlignedBufferOffset, PredicationOp Operation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[49]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pBuffer, AlignedBufferOffset, Operation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pBuffer, AlignedBufferOffset, Operation); -#endif } /// @@ -15449,11 +14610,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(50)] public void SetMarker(uint Metadata, void* pData, uint Size) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[50]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#endif } /// @@ -15461,11 +14618,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(51)] public void BeginEvent(uint Metadata, void* pData, uint Size) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[51]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#endif } /// @@ -15473,11 +14626,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(52)] public void EndEvent() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[52]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -15485,11 +14634,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(53)] public void ExecuteIndirect(ID3D12CommandSignature* pCommandSignature, uint MaxCommandCount, ID3D12Resource* pArgumentBuffer, ulong ArgumentBufferOffset, ID3D12Resource* pCountBuffer, ulong CountBufferOffset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[53]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pCommandSignature, MaxCommandCount, pArgumentBuffer, ArgumentBufferOffset, pCountBuffer, CountBufferOffset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pCommandSignature, MaxCommandCount, pArgumentBuffer, ArgumentBufferOffset, pCountBuffer, CountBufferOffset); -#endif } /// @@ -15497,11 +14642,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(54)] public new Graphics.Direct3D12.CommandListType GetType() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[54]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -15509,11 +14650,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(55)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[55]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -15521,11 +14658,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(56)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[56]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -15533,11 +14666,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(57)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[57]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -15545,11 +14674,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(58)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[58]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -15557,11 +14682,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(59)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[59]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -15569,11 +14690,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(60)] public void AtomicCopyBufferUINT(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource* ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[60]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); -#endif } /// @@ -15581,11 +14698,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(61)] public void AtomicCopyBufferUINT64(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource* ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[61]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); -#endif } /// @@ -15593,11 +14706,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(62)] public void OMSetDepthBounds(float Min, float Max) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[62]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), Min, Max); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), Min, Max); -#endif } /// @@ -15605,11 +14714,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(63)] public void SetSamplePositions(uint NumSamplesPerPixel, uint NumPixels, SamplePosition* pSamplePositions) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[63]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), NumSamplesPerPixel, NumPixels, pSamplePositions); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), NumSamplesPerPixel, NumPixels, pSamplePositions); -#endif } /// @@ -15617,11 +14722,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(64)] public void ResolveSubresourceRegion(ID3D12Resource* pDstResource, uint DstSubresource, uint DstX, uint DstY, ID3D12Resource* pSrcResource, uint SrcSubresource, RawRect* pSrcRect, Graphics.Dxgi.Common.Format Format, ResolveMode ResolveMode) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[64]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, pSrcResource, SrcSubresource, pSrcRect, Format, ResolveMode); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, pSrcResource, SrcSubresource, pSrcRect, Format, ResolveMode); -#endif } /// @@ -15629,16 +14730,9 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [VtblIndex(65)] public void SetViewInstanceMask(uint Mask) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[65]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), Mask); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), Mask); -#endif } - public interface Interface : ID3D12GraphicsCommandList.Interface - { - } } /// @@ -15646,7 +14740,7 @@ public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandL [Guid("38c3e585-ff17-412c-9150-4fc6f9d72a28")] [NativeTypeName("struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandList1")] [NativeInheritance("ID3D12GraphicsCommandList1")] -public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandList2.Interface +public unsafe partial struct ID3D12GraphicsCommandList2 { public static ref readonly Guid IID_ID3D12GraphicsCommandList2 { @@ -15707,11 +14801,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(3)] public void AtomicCopyBufferUINT(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource* ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); -#endif } /// @@ -15719,11 +14809,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(4)] public void AtomicCopyBufferUINT64(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource* ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); -#endif } /// @@ -15731,11 +14817,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(5)] public void OMSetDepthBounds(float Min, float Max) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), Min, Max); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), Min, Max); -#endif } /// @@ -15743,11 +14825,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(6)] public void SetSamplePositions(uint NumSamplesPerPixel, uint NumPixels, SamplePosition* pSamplePositions) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[6]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), NumSamplesPerPixel, NumPixels, pSamplePositions); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), NumSamplesPerPixel, NumPixels, pSamplePositions); -#endif } /// @@ -15755,11 +14833,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(7)] public void ResolveSubresourceRegion(ID3D12Resource* pDstResource, uint DstSubresource, uint DstX, uint DstY, ID3D12Resource* pSrcResource, uint SrcSubresource, RawRect* pSrcRect, Graphics.Dxgi.Common.Format Format, ResolveMode ResolveMode) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[7]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, pSrcResource, SrcSubresource, pSrcRect, Format, ResolveMode); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, pSrcResource, SrcSubresource, pSrcRect, Format, ResolveMode); -#endif } /// @@ -15767,11 +14841,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(8)] public void SetViewInstanceMask(uint Mask) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), Mask); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), Mask); -#endif } /// @@ -15779,11 +14849,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(9)] public HResult Close() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -15791,11 +14857,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(10)] public HResult Reset(ID3D12CommandAllocator* pAllocator, ID3D12PipelineState* pInitialState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pAllocator, pInitialState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pAllocator, pInitialState); -#endif } /// @@ -15803,11 +14865,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(11)] public void ClearState(ID3D12PipelineState* pPipelineState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[11]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pPipelineState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pPipelineState); -#endif } /// @@ -15815,11 +14873,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(12)] public void DrawInstanced(uint VertexCountPerInstance, uint InstanceCount, uint StartVertexLocation, uint StartInstanceLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[12]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), VertexCountPerInstance, InstanceCount, StartVertexLocation, StartInstanceLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), VertexCountPerInstance, InstanceCount, StartVertexLocation, StartInstanceLocation); -#endif } /// @@ -15827,11 +14881,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(13)] public void DrawIndexedInstanced(uint IndexCountPerInstance, uint InstanceCount, uint StartIndexLocation, int BaseVertexLocation, uint StartInstanceLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[13]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), IndexCountPerInstance, InstanceCount, StartIndexLocation, BaseVertexLocation, StartInstanceLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), IndexCountPerInstance, InstanceCount, StartIndexLocation, BaseVertexLocation, StartInstanceLocation); -#endif } /// @@ -15839,11 +14889,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(14)] public void Dispatch(uint ThreadGroupCountX, uint ThreadGroupCountY, uint ThreadGroupCountZ) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[14]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ); -#endif } /// @@ -15851,11 +14897,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(15)] public void CopyBufferRegion(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, ulong NumBytes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[15]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, NumBytes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, NumBytes); -#endif } /// @@ -15863,11 +14905,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(16)] public void CopyTextureRegion(TextureCopyLocation* pDst, uint DstX, uint DstY, uint DstZ, TextureCopyLocation* pSrc, Box* pSrcBox) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[16]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pDst, DstX, DstY, DstZ, pSrc, pSrcBox); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pDst, DstX, DstY, DstZ, pSrc, pSrcBox); -#endif } /// @@ -15875,11 +14913,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(17)] public void CopyResource(ID3D12Resource* pDstResource, ID3D12Resource* pSrcResource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[17]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pDstResource, pSrcResource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pDstResource, pSrcResource); -#endif } /// @@ -15887,11 +14921,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(18)] public void CopyTiles(ID3D12Resource* pTiledResource, TiledResourceCoordinate* pTileRegionStartCoordinate, TileRegionSize* pTileRegionSize, ID3D12Resource* pBuffer, ulong BufferStartOffsetInBytes, TileCopyFlags Flags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[18]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pTiledResource, pTileRegionStartCoordinate, pTileRegionSize, pBuffer, BufferStartOffsetInBytes, Flags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pTiledResource, pTileRegionStartCoordinate, pTileRegionSize, pBuffer, BufferStartOffsetInBytes, Flags); -#endif } /// @@ -15899,11 +14929,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(19)] public void ResolveSubresource(ID3D12Resource* pDstResource, uint DstSubresource, ID3D12Resource* pSrcResource, uint SrcSubresource, Graphics.Dxgi.Common.Format Format) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[19]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pSrcResource, SrcSubresource, Format); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pSrcResource, SrcSubresource, Format); -#endif } /// @@ -15911,11 +14937,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(20)] public void IASetPrimitiveTopology(Graphics.Direct3D.PrimitiveTopology PrimitiveTopology) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[20]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), PrimitiveTopology); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), PrimitiveTopology); -#endif } /// @@ -15923,11 +14945,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(21)] public void RSSetViewports(uint NumViewports, Viewport* pViewports) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[21]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), NumViewports, pViewports); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), NumViewports, pViewports); -#endif } /// @@ -15935,11 +14953,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(22)] public void RSSetScissorRects(uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[22]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), NumRects, pRects); -#endif } /// @@ -15947,11 +14961,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(23)] public void OMSetBlendFactor(float* BlendFactor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[23]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), BlendFactor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), BlendFactor); -#endif } /// @@ -15959,11 +14969,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(24)] public void OMSetStencilRef(uint StencilRef) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[24]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), StencilRef); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), StencilRef); -#endif } /// @@ -15971,11 +14977,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(25)] public void SetPipelineState(ID3D12PipelineState* pPipelineState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[25]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pPipelineState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pPipelineState); -#endif } /// @@ -15983,11 +14985,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(26)] public void ResourceBarrier(uint NumBarriers, ResourceBarrier* pBarriers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[26]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), NumBarriers, pBarriers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), NumBarriers, pBarriers); -#endif } /// @@ -15995,11 +14993,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(27)] public void ExecuteBundle(ID3D12GraphicsCommandList* pCommandList) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[27]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pCommandList); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pCommandList); -#endif } /// @@ -16007,11 +15001,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(28)] public void SetDescriptorHeaps(uint NumDescriptorHeaps, ID3D12DescriptorHeap* ppDescriptorHeaps) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[28]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps); -#endif } /// @@ -16019,11 +15009,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(29)] public void SetComputeRootSignature(ID3D12RootSignature* pRootSignature) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[29]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pRootSignature); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pRootSignature); -#endif } /// @@ -16031,11 +15017,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(30)] public void SetGraphicsRootSignature(ID3D12RootSignature* pRootSignature) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[30]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pRootSignature); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pRootSignature); -#endif } /// @@ -16043,11 +15025,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(31)] public void SetComputeRootDescriptorTable(uint RootParameterIndex, GpuDescriptorHandle* BaseDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[31]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#endif } /// @@ -16055,11 +15033,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(32)] public void SetGraphicsRootDescriptorTable(uint RootParameterIndex, GpuDescriptorHandle* BaseDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[32]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#endif } /// @@ -16067,11 +15041,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(33)] public void SetComputeRoot32BitConstant(uint RootParameterIndex, uint SrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[33]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#endif } /// @@ -16079,11 +15049,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(34)] public void SetGraphicsRoot32BitConstant(uint RootParameterIndex, uint SrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[34]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#endif } /// @@ -16091,11 +15057,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(35)] public void SetComputeRoot32BitConstants(uint RootParameterIndex, uint Num32BitValuesToSet, void* pSrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[35]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#endif } /// @@ -16103,11 +15065,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(36)] public void SetGraphicsRoot32BitConstants(uint RootParameterIndex, uint Num32BitValuesToSet, void* pSrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[36]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#endif } /// @@ -16115,11 +15073,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(37)] public void SetComputeRootConstantBufferView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[37]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -16127,11 +15081,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(38)] public void SetGraphicsRootConstantBufferView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[38]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -16139,11 +15089,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(39)] public void SetComputeRootShaderResourceView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[39]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -16151,11 +15097,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(40)] public void SetGraphicsRootShaderResourceView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[40]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -16163,11 +15105,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(41)] public void SetComputeRootUnorderedAccessView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[41]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -16175,11 +15113,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(42)] public void SetGraphicsRootUnorderedAccessView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[42]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -16187,11 +15121,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(43)] public void IASetIndexBuffer(IndexBufferView* pView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[43]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pView); -#endif } /// @@ -16199,11 +15129,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(44)] public void IASetVertexBuffers(uint StartSlot, uint NumViews, VertexBufferView* pViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[44]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#endif } /// @@ -16211,11 +15137,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(45)] public void SOSetTargets(uint StartSlot, uint NumViews, StreamOutputBufferView* pViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[45]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#endif } /// @@ -16223,11 +15145,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(46)] public void OMSetRenderTargets(uint NumRenderTargetDescriptors, CpuDescriptorHandle* pRenderTargetDescriptors, Bool32 RTsSingleHandleToDescriptorRange, CpuDescriptorHandle* pDepthStencilDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[46]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), NumRenderTargetDescriptors, pRenderTargetDescriptors, RTsSingleHandleToDescriptorRange, pDepthStencilDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), NumRenderTargetDescriptors, pRenderTargetDescriptors, RTsSingleHandleToDescriptorRange, pDepthStencilDescriptor); -#endif } /// @@ -16235,11 +15153,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(47)] public void ClearDepthStencilView(CpuDescriptorHandle* DepthStencilView, ClearFlags ClearFlags, float Depth, byte Stencil, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[47]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), DepthStencilView, ClearFlags, Depth, Stencil, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), DepthStencilView, ClearFlags, Depth, Stencil, NumRects, pRects); -#endif } /// @@ -16247,11 +15161,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(48)] public void ClearRenderTargetView(CpuDescriptorHandle* RenderTargetView, float* ColorRGBA, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[48]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), RenderTargetView, ColorRGBA, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), RenderTargetView, ColorRGBA, NumRects, pRects); -#endif } /// @@ -16259,11 +15169,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(49)] public void ClearUnorderedAccessViewUint(GpuDescriptorHandle* ViewGPUHandleInCurrentHeap, CpuDescriptorHandle* ViewCPUHandle, ID3D12Resource* pResource, uint* Values, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[49]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#endif } /// @@ -16271,11 +15177,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(50)] public void ClearUnorderedAccessViewFloat(GpuDescriptorHandle* ViewGPUHandleInCurrentHeap, CpuDescriptorHandle* ViewCPUHandle, ID3D12Resource* pResource, float* Values, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[50]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#endif } /// @@ -16283,11 +15185,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(51)] public void DiscardResource(ID3D12Resource* pResource, DiscardRegion* pRegion) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[51]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pResource, pRegion); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pResource, pRegion); -#endif } /// @@ -16295,11 +15193,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(52)] public void BeginQuery(ID3D12QueryHeap* pQueryHeap, QueryType Type, uint Index) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[52]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#endif } /// @@ -16307,11 +15201,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(53)] public void EndQuery(ID3D12QueryHeap* pQueryHeap, QueryType Type, uint Index) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[53]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#endif } /// @@ -16319,11 +15209,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(54)] public void ResolveQueryData(ID3D12QueryHeap* pQueryHeap, QueryType Type, uint StartIndex, uint NumQueries, ID3D12Resource* pDestinationBuffer, ulong AlignedDestinationBufferOffset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[54]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pQueryHeap, Type, StartIndex, NumQueries, pDestinationBuffer, AlignedDestinationBufferOffset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pQueryHeap, Type, StartIndex, NumQueries, pDestinationBuffer, AlignedDestinationBufferOffset); -#endif } /// @@ -16331,11 +15217,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(55)] public void SetPredication(ID3D12Resource* pBuffer, ulong AlignedBufferOffset, PredicationOp Operation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[55]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pBuffer, AlignedBufferOffset, Operation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pBuffer, AlignedBufferOffset, Operation); -#endif } /// @@ -16343,11 +15225,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(56)] public void SetMarker(uint Metadata, void* pData, uint Size) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[56]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#endif } /// @@ -16355,11 +15233,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(57)] public void BeginEvent(uint Metadata, void* pData, uint Size) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[57]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#endif } /// @@ -16367,11 +15241,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(58)] public void EndEvent() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[58]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -16379,11 +15249,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(59)] public void ExecuteIndirect(ID3D12CommandSignature* pCommandSignature, uint MaxCommandCount, ID3D12Resource* pArgumentBuffer, ulong ArgumentBufferOffset, ID3D12Resource* pCountBuffer, ulong CountBufferOffset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[59]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pCommandSignature, MaxCommandCount, pArgumentBuffer, ArgumentBufferOffset, pCountBuffer, CountBufferOffset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), pCommandSignature, MaxCommandCount, pArgumentBuffer, ArgumentBufferOffset, pCountBuffer, CountBufferOffset); -#endif } /// @@ -16391,11 +15257,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(60)] public new Graphics.Direct3D12.CommandListType GetType() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[60]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -16403,11 +15265,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(61)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[61]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -16415,11 +15273,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(62)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[62]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -16427,11 +15281,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(63)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[63]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -16439,11 +15289,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(64)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[64]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -16451,11 +15297,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(65)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[65]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -16463,16 +15305,9 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [VtblIndex(66)] public void WriteBufferImmediate(uint Count, WritebufferimmediateParameter* pParams, WritebufferimmediateMode* pModes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[66]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), Count, pParams, pModes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[66]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), Count, pParams, pModes); -#endif } - public interface Interface : ID3D12GraphicsCommandList1.Interface - { - } } /// @@ -16480,7 +15315,7 @@ public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandL [Guid("0ec870a6-5d7e-4c22-8cfc-5baae07616ed")] [NativeTypeName("struct ID3D12CommandQueue : ID3D12Pageable")] [NativeInheritance("ID3D12Pageable")] -public unsafe partial struct ID3D12CommandQueue : ID3D12CommandQueue.Interface +public unsafe partial struct ID3D12CommandQueue { public static ref readonly Guid IID_ID3D12CommandQueue { @@ -16541,11 +15376,7 @@ public unsafe partial struct ID3D12CommandQueue : ID3D12CommandQueue.Interface [VtblIndex(3)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -16553,11 +15384,7 @@ public unsafe partial struct ID3D12CommandQueue : ID3D12CommandQueue.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -16565,11 +15392,7 @@ public unsafe partial struct ID3D12CommandQueue : ID3D12CommandQueue.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -16577,11 +15400,7 @@ public unsafe partial struct ID3D12CommandQueue : ID3D12CommandQueue.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -16589,11 +15408,7 @@ public unsafe partial struct ID3D12CommandQueue : ID3D12CommandQueue.Interface [VtblIndex(7)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -16601,11 +15416,7 @@ public unsafe partial struct ID3D12CommandQueue : ID3D12CommandQueue.Interface [VtblIndex(8)] public void UpdateTileMappings(ID3D12Resource* pResource, uint NumResourceRegions, TiledResourceCoordinate* pResourceRegionStartCoordinates, TileRegionSize* pResourceRegionSizes, ID3D12Heap* pHeap, uint NumRanges, TileRangeFlags* pRangeFlags, uint* pHeapRangeStartOffsets, uint* pRangeTileCounts, TileMappingFlags Flags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), pResource, NumResourceRegions, pResourceRegionStartCoordinates, pResourceRegionSizes, pHeap, NumRanges, pRangeFlags, pHeapRangeStartOffsets, pRangeTileCounts, Flags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), pResource, NumResourceRegions, pResourceRegionStartCoordinates, pResourceRegionSizes, pHeap, NumRanges, pRangeFlags, pHeapRangeStartOffsets, pRangeTileCounts, Flags); -#endif } /// @@ -16613,11 +15424,7 @@ public unsafe partial struct ID3D12CommandQueue : ID3D12CommandQueue.Interface [VtblIndex(9)] public void CopyTileMappings(ID3D12Resource* pDstResource, TiledResourceCoordinate* pDstRegionStartCoordinate, ID3D12Resource* pSrcResource, TiledResourceCoordinate* pSrcRegionStartCoordinate, TileRegionSize* pRegionSize, TileMappingFlags Flags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[9]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), pDstResource, pDstRegionStartCoordinate, pSrcResource, pSrcRegionStartCoordinate, pRegionSize, Flags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), pDstResource, pDstRegionStartCoordinate, pSrcResource, pSrcRegionStartCoordinate, pRegionSize, Flags); -#endif } /// @@ -16625,11 +15432,7 @@ public unsafe partial struct ID3D12CommandQueue : ID3D12CommandQueue.Interface [VtblIndex(10)] public void ExecuteCommandLists(uint NumCommandLists, ID3D12CommandList* ppCommandLists) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[10]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), NumCommandLists, ppCommandLists); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), NumCommandLists, ppCommandLists); -#endif } /// @@ -16637,11 +15440,7 @@ public unsafe partial struct ID3D12CommandQueue : ID3D12CommandQueue.Interface [VtblIndex(11)] public void SetMarker(uint Metadata, void* pData, uint Size) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[11]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#endif } /// @@ -16649,11 +15448,7 @@ public unsafe partial struct ID3D12CommandQueue : ID3D12CommandQueue.Interface [VtblIndex(12)] public void BeginEvent(uint Metadata, void* pData, uint Size) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[12]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#endif } /// @@ -16661,11 +15456,7 @@ public unsafe partial struct ID3D12CommandQueue : ID3D12CommandQueue.Interface [VtblIndex(13)] public void EndEvent() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[13]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -16673,11 +15464,7 @@ public unsafe partial struct ID3D12CommandQueue : ID3D12CommandQueue.Interface [VtblIndex(14)] public HResult Signal(ID3D12Fence* pFence, ulong Value) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), pFence, Value); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), pFence, Value); -#endif } /// @@ -16685,11 +15472,7 @@ public unsafe partial struct ID3D12CommandQueue : ID3D12CommandQueue.Interface [VtblIndex(15)] public HResult Wait(ID3D12Fence* pFence, ulong Value) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), pFence, Value); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), pFence, Value); -#endif } /// @@ -16697,11 +15480,7 @@ public unsafe partial struct ID3D12CommandQueue : ID3D12CommandQueue.Interface [VtblIndex(16)] public HResult GetTimestampFrequency(ulong* pFrequency) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), pFrequency); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), pFrequency); -#endif } /// @@ -16709,11 +15488,7 @@ public unsafe partial struct ID3D12CommandQueue : ID3D12CommandQueue.Interface [VtblIndex(17)] public HResult GetClockCalibration(ulong* pGpuTimestamp, ulong* pCpuTimestamp) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), pGpuTimestamp, pCpuTimestamp); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), pGpuTimestamp, pCpuTimestamp); -#endif } /// @@ -16721,16 +15496,9 @@ public unsafe partial struct ID3D12CommandQueue : ID3D12CommandQueue.Interface [VtblIndex(18)] public Graphics.Direct3D12.CommandQueueDescription GetDesc() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : ID3D12Pageable.Interface - { - } } /// @@ -16738,7 +15506,7 @@ public unsafe partial struct ID3D12CommandQueue : ID3D12CommandQueue.Interface [Guid("189819f1-1db6-4b57-be54-1821339b85f7")] [NativeTypeName("struct ID3D12Device : ID3D12Object")] [NativeInheritance("ID3D12Object")] -public unsafe partial struct ID3D12Device : ID3D12Device.Interface +public unsafe partial struct ID3D12Device { public static ref readonly Guid IID_ID3D12Device { @@ -16799,11 +15567,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(3)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12Device*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Device*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -16811,11 +15575,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(4)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12Device*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12Device*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -16823,11 +15583,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(5)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12Device*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12Device*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -16835,11 +15591,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(6)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12Device*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12Device*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -16847,11 +15599,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(7)] public uint GetNodeCount() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Device*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12Device*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -16859,11 +15607,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(8)] public HResult CreateCommandQueue(CommandQueueDescription* pDesc, Guid* riid, void** ppCommandQueue) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12Device*)Unsafe.AsPointer(ref this), pDesc, riid, ppCommandQueue); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12Device*)Unsafe.AsPointer(ref this), pDesc, riid, ppCommandQueue); -#endif } /// @@ -16871,11 +15615,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(9)] public HResult CreateCommandAllocator(CommandListType type, Guid* riid, void** ppCommandAllocator) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D12Device*)Unsafe.AsPointer(ref this), type, riid, ppCommandAllocator); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12Device*)Unsafe.AsPointer(ref this), type, riid, ppCommandAllocator); -#endif } /// @@ -16883,11 +15623,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(10)] public HResult CreateGraphicsPipelineState(GraphicsPipelineStateDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D12Device*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12Device*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } /// @@ -16895,11 +15631,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(11)] public HResult CreateComputePipelineState(ComputePipelineStateDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D12Device*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12Device*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } /// @@ -16907,11 +15639,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(12)] public HResult CreateCommandList(uint nodeMask, CommandListType type, ID3D12CommandAllocator* pCommandAllocator, ID3D12PipelineState* pInitialState, Guid* riid, void** ppCommandList) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D12Device*)Unsafe.AsPointer(ref this), nodeMask, type, pCommandAllocator, pInitialState, riid, ppCommandList); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D12Device*)Unsafe.AsPointer(ref this), nodeMask, type, pCommandAllocator, pInitialState, riid, ppCommandList); -#endif } /// @@ -16919,11 +15647,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(13)] public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, uint FeatureSupportDataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((ID3D12Device*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12Device*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#endif } /// @@ -16931,11 +15655,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(14)] public HResult CreateDescriptorHeap(DescriptorHeapDescription* pDescriptorHeapDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((ID3D12Device*)Unsafe.AsPointer(ref this), pDescriptorHeapDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D12Device*)Unsafe.AsPointer(ref this), pDescriptorHeapDesc, riid, ppvHeap); -#endif } /// @@ -16943,11 +15663,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(15)] public uint GetDescriptorHandleIncrementSize(DescriptorHeapType DescriptorHeapType) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((ID3D12Device*)Unsafe.AsPointer(ref this), DescriptorHeapType); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D12Device*)Unsafe.AsPointer(ref this), DescriptorHeapType); -#endif } /// @@ -16955,11 +15671,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(16)] public HResult CreateRootSignature(uint nodeMask, void* pBlobWithRootSignature, nuint blobLengthInBytes, Guid* riid, void** ppvRootSignature) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((ID3D12Device*)Unsafe.AsPointer(ref this), nodeMask, pBlobWithRootSignature, blobLengthInBytes, riid, ppvRootSignature); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D12Device*)Unsafe.AsPointer(ref this), nodeMask, pBlobWithRootSignature, blobLengthInBytes, riid, ppvRootSignature); -#endif } /// @@ -16967,11 +15679,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(17)] public void CreateConstantBufferView(ConstantBufferViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[17]))((ID3D12Device*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D12Device*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#endif } /// @@ -16979,11 +15687,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(18)] public void CreateShaderResourceView(ID3D12Resource* pResource, ShaderResourceViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[18]))((ID3D12Device*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D12Device*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -16991,11 +15695,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(19)] public void CreateUnorderedAccessView(ID3D12Resource* pResource, ID3D12Resource* pCounterResource, UnorderedAccessViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[19]))((ID3D12Device*)Unsafe.AsPointer(ref this), pResource, pCounterResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D12Device*)Unsafe.AsPointer(ref this), pResource, pCounterResource, pDesc, DestDescriptor); -#endif } /// @@ -17003,11 +15703,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(20)] public void CreateRenderTargetView(ID3D12Resource* pResource, RenderTargetViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[20]))((ID3D12Device*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D12Device*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -17015,11 +15711,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(21)] public void CreateDepthStencilView(ID3D12Resource* pResource, DepthStencilViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[21]))((ID3D12Device*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D12Device*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -17027,11 +15719,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(22)] public void CreateSampler(SamplerDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[22]))((ID3D12Device*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D12Device*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#endif } /// @@ -17039,11 +15727,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(23)] public void CopyDescriptors(uint NumDestDescriptorRanges, CpuDescriptorHandle* pDestDescriptorRangeStarts, uint* pDestDescriptorRangeSizes, uint NumSrcDescriptorRanges, CpuDescriptorHandle* pSrcDescriptorRangeStarts, uint* pSrcDescriptorRangeSizes, DescriptorHeapType DescriptorHeapsType) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[23]))((ID3D12Device*)Unsafe.AsPointer(ref this), NumDestDescriptorRanges, pDestDescriptorRangeStarts, pDestDescriptorRangeSizes, NumSrcDescriptorRanges, pSrcDescriptorRangeStarts, pSrcDescriptorRangeSizes, DescriptorHeapsType); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D12Device*)Unsafe.AsPointer(ref this), NumDestDescriptorRanges, pDestDescriptorRangeStarts, pDestDescriptorRangeSizes, NumSrcDescriptorRanges, pSrcDescriptorRangeStarts, pSrcDescriptorRangeSizes, DescriptorHeapsType); -#endif } /// @@ -17051,11 +15735,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(24)] public void CopyDescriptorsSimple(uint NumDescriptors, CpuDescriptorHandle* DestDescriptorRangeStart, CpuDescriptorHandle* SrcDescriptorRangeStart, DescriptorHeapType DescriptorHeapsType) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[24]))((ID3D12Device*)Unsafe.AsPointer(ref this), NumDescriptors, DestDescriptorRangeStart, SrcDescriptorRangeStart, DescriptorHeapsType); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D12Device*)Unsafe.AsPointer(ref this), NumDescriptors, DestDescriptorRangeStart, SrcDescriptorRangeStart, DescriptorHeapsType); -#endif } /// @@ -17063,11 +15743,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(25)] public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((ID3D12Device*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D12Device*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); -#endif } /// @@ -17075,11 +15751,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(26)] public Graphics.Direct3D12.HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[26]))((ID3D12Device*)Unsafe.AsPointer(ref this), nodeMask, heapType); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D12Device*)Unsafe.AsPointer(ref this), nodeMask, heapType); -#endif } /// @@ -17087,11 +15759,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(27)] public HResult CreateCommittedResource(HeapProperties* pHeapProperties, HeapFlags HeapFlags, ResourceDescription* pDesc, ResourceStates InitialResourceState, ClearValue* pOptimizedClearValue, Guid* riidResource, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((ID3D12Device*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, riidResource, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D12Device*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, riidResource, ppvResource); -#endif } /// @@ -17099,11 +15767,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(28)] public HResult CreateHeap(HeapDescription* pDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((ID3D12Device*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D12Device*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#endif } /// @@ -17111,11 +15775,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(29)] public HResult CreatePlacedResource(ID3D12Heap* pHeap, ulong HeapOffset, ResourceDescription* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[29]))((ID3D12Device*)Unsafe.AsPointer(ref this), pHeap, HeapOffset, pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D12Device*)Unsafe.AsPointer(ref this), pHeap, HeapOffset, pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#endif } /// @@ -17123,11 +15783,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(30)] public HResult CreateReservedResource(ResourceDescription* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[30]))((ID3D12Device*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D12Device*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#endif } /// @@ -17135,11 +15791,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(31)] public HResult CreateSharedHandle(ID3D12DeviceChild* pObject, Security.SECURITY_ATTRIBUTES* pAttributes, uint Access, char** Name, IntPtr* pHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[31]))((ID3D12Device*)Unsafe.AsPointer(ref this), pObject, pAttributes, Access, Name, pHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D12Device*)Unsafe.AsPointer(ref this), pObject, pAttributes, Access, Name, pHandle); -#endif } /// @@ -17147,11 +15799,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(32)] public HResult OpenSharedHandle(IntPtr NTHandle, Guid* riid, void** ppvObj) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[32]))((ID3D12Device*)Unsafe.AsPointer(ref this), NTHandle, riid, ppvObj); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D12Device*)Unsafe.AsPointer(ref this), NTHandle, riid, ppvObj); -#endif } /// @@ -17159,11 +15807,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(33)] public HResult OpenSharedHandleByName(char** Name, uint Access, IntPtr* pNTHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[33]))((ID3D12Device*)Unsafe.AsPointer(ref this), Name, Access, pNTHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D12Device*)Unsafe.AsPointer(ref this), Name, Access, pNTHandle); -#endif } /// @@ -17171,11 +15815,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(34)] public HResult MakeResident(uint NumObjects, ID3D12Pageable* ppObjects) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[34]))((ID3D12Device*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D12Device*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#endif } /// @@ -17183,11 +15823,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(35)] public HResult Evict(uint NumObjects, ID3D12Pageable* ppObjects) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[35]))((ID3D12Device*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D12Device*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#endif } /// @@ -17195,11 +15831,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(36)] public HResult CreateFence(ulong InitialValue, FenceFlags Flags, Guid* riid, void** ppFence) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[36]))((ID3D12Device*)Unsafe.AsPointer(ref this), InitialValue, Flags, riid, ppFence); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D12Device*)Unsafe.AsPointer(ref this), InitialValue, Flags, riid, ppFence); -#endif } /// @@ -17207,11 +15839,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(37)] public HResult GetDeviceRemovedReason() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[37]))((ID3D12Device*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D12Device*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -17219,11 +15847,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(38)] public void GetCopyableFootprints(ResourceDescription* pResourceDesc, uint FirstSubresource, uint NumSubresources, ulong BaseOffset, PlacedSubresourceFootprint* pLayouts, uint* pNumRows, ulong* pRowSizeInBytes, ulong* pTotalBytes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[38]))((ID3D12Device*)Unsafe.AsPointer(ref this), pResourceDesc, FirstSubresource, NumSubresources, BaseOffset, pLayouts, pNumRows, pRowSizeInBytes, pTotalBytes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D12Device*)Unsafe.AsPointer(ref this), pResourceDesc, FirstSubresource, NumSubresources, BaseOffset, pLayouts, pNumRows, pRowSizeInBytes, pTotalBytes); -#endif } /// @@ -17231,11 +15855,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(39)] public HResult CreateQueryHeap(QueryHeapDescription* pDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[39]))((ID3D12Device*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D12Device*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#endif } /// @@ -17243,11 +15863,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(40)] public HResult SetStablePowerState(Bool32 Enable) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[40]))((ID3D12Device*)Unsafe.AsPointer(ref this), Enable); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D12Device*)Unsafe.AsPointer(ref this), Enable); -#endif } /// @@ -17255,11 +15871,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(41)] public HResult CreateCommandSignature(CommandSignatureDescription* pDesc, ID3D12RootSignature* pRootSignature, Guid* riid, void** ppvCommandSignature) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[41]))((ID3D12Device*)Unsafe.AsPointer(ref this), pDesc, pRootSignature, riid, ppvCommandSignature); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D12Device*)Unsafe.AsPointer(ref this), pDesc, pRootSignature, riid, ppvCommandSignature); -#endif } /// @@ -17267,11 +15879,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(42)] public void GetResourceTiling(ID3D12Resource* pTiledResource, uint* pNumTilesForEntireResource, PackedMipInfo* pPackedMipDesc, TileShape* pStandardTileShapeForNonPackedMips, uint* pNumSubresourceTilings, uint FirstSubresourceTilingToGet, SubresourceTiling* pSubresourceTilingsForNonPackedMips) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[42]))((ID3D12Device*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D12Device*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#endif } /// @@ -17279,16 +15887,9 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [VtblIndex(43)] public Luid GetAdapterLuid() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[43]))((ID3D12Device*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D12Device*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : ID3D12Object.Interface - { - } } /// @@ -17296,7 +15897,7 @@ public unsafe partial struct ID3D12Device : ID3D12Device.Interface [Guid("c64226a8-9201-46af-b4cc-53fb9ff7414f")] [NativeTypeName("struct ID3D12PipelineLibrary : ID3D12DeviceChild")] [NativeInheritance("ID3D12DeviceChild")] -public unsafe partial struct ID3D12PipelineLibrary : ID3D12PipelineLibrary.Interface +public unsafe partial struct ID3D12PipelineLibrary { public static ref readonly Guid IID_ID3D12PipelineLibrary { @@ -17357,11 +15958,7 @@ public unsafe partial struct ID3D12PipelineLibrary : ID3D12PipelineLibrary.Inter [VtblIndex(3)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12PipelineLibrary*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12PipelineLibrary*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -17369,11 +15966,7 @@ public unsafe partial struct ID3D12PipelineLibrary : ID3D12PipelineLibrary.Inter [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12PipelineLibrary*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12PipelineLibrary*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -17381,11 +15974,7 @@ public unsafe partial struct ID3D12PipelineLibrary : ID3D12PipelineLibrary.Inter [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12PipelineLibrary*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12PipelineLibrary*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -17393,11 +15982,7 @@ public unsafe partial struct ID3D12PipelineLibrary : ID3D12PipelineLibrary.Inter [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12PipelineLibrary*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12PipelineLibrary*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -17405,11 +15990,7 @@ public unsafe partial struct ID3D12PipelineLibrary : ID3D12PipelineLibrary.Inter [VtblIndex(7)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12PipelineLibrary*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12PipelineLibrary*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -17417,11 +15998,7 @@ public unsafe partial struct ID3D12PipelineLibrary : ID3D12PipelineLibrary.Inter [VtblIndex(8)] public HResult StorePipeline(char** pName, ID3D12PipelineState* pPipeline) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12PipelineLibrary*)Unsafe.AsPointer(ref this), pName, pPipeline); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12PipelineLibrary*)Unsafe.AsPointer(ref this), pName, pPipeline); -#endif } /// @@ -17429,11 +16006,7 @@ public unsafe partial struct ID3D12PipelineLibrary : ID3D12PipelineLibrary.Inter [VtblIndex(9)] public HResult LoadGraphicsPipeline(char** pName, GraphicsPipelineStateDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D12PipelineLibrary*)Unsafe.AsPointer(ref this), pName, pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12PipelineLibrary*)Unsafe.AsPointer(ref this), pName, pDesc, riid, ppPipelineState); -#endif } /// @@ -17441,11 +16014,7 @@ public unsafe partial struct ID3D12PipelineLibrary : ID3D12PipelineLibrary.Inter [VtblIndex(10)] public HResult LoadComputePipeline(char** pName, ComputePipelineStateDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D12PipelineLibrary*)Unsafe.AsPointer(ref this), pName, pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12PipelineLibrary*)Unsafe.AsPointer(ref this), pName, pDesc, riid, ppPipelineState); -#endif } /// @@ -17453,11 +16022,7 @@ public unsafe partial struct ID3D12PipelineLibrary : ID3D12PipelineLibrary.Inter [VtblIndex(11)] public nuint GetSerializedSize() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D12PipelineLibrary*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12PipelineLibrary*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -17465,16 +16030,9 @@ public unsafe partial struct ID3D12PipelineLibrary : ID3D12PipelineLibrary.Inter [VtblIndex(12)] public HResult Serialize(void* pData, nuint DataSizeInBytes) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D12PipelineLibrary*)Unsafe.AsPointer(ref this), pData, DataSizeInBytes); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D12PipelineLibrary*)Unsafe.AsPointer(ref this), pData, DataSizeInBytes); -#endif } - public interface Interface : ID3D12DeviceChild.Interface - { - } } /// @@ -17482,7 +16040,7 @@ public unsafe partial struct ID3D12PipelineLibrary : ID3D12PipelineLibrary.Inter [Guid("80eabf42-2568-4e5e-bd82-c37f86961dc3")] [NativeTypeName("struct ID3D12PipelineLibrary1 : ID3D12PipelineLibrary")] [NativeInheritance("ID3D12PipelineLibrary")] -public unsafe partial struct ID3D12PipelineLibrary1 : ID3D12PipelineLibrary1.Interface +public unsafe partial struct ID3D12PipelineLibrary1 { public static ref readonly Guid IID_ID3D12PipelineLibrary1 { @@ -17543,11 +16101,7 @@ public unsafe partial struct ID3D12PipelineLibrary1 : ID3D12PipelineLibrary1.Int [VtblIndex(3)] public HResult StorePipeline(char** pName, ID3D12PipelineState* pPipeline) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12PipelineLibrary1*)Unsafe.AsPointer(ref this), pName, pPipeline); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12PipelineLibrary1*)Unsafe.AsPointer(ref this), pName, pPipeline); -#endif } /// @@ -17555,11 +16109,7 @@ public unsafe partial struct ID3D12PipelineLibrary1 : ID3D12PipelineLibrary1.Int [VtblIndex(4)] public HResult LoadGraphicsPipeline(char** pName, GraphicsPipelineStateDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12PipelineLibrary1*)Unsafe.AsPointer(ref this), pName, pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12PipelineLibrary1*)Unsafe.AsPointer(ref this), pName, pDesc, riid, ppPipelineState); -#endif } /// @@ -17567,11 +16117,7 @@ public unsafe partial struct ID3D12PipelineLibrary1 : ID3D12PipelineLibrary1.Int [VtblIndex(5)] public HResult LoadComputePipeline(char** pName, ComputePipelineStateDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12PipelineLibrary1*)Unsafe.AsPointer(ref this), pName, pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12PipelineLibrary1*)Unsafe.AsPointer(ref this), pName, pDesc, riid, ppPipelineState); -#endif } /// @@ -17579,11 +16125,7 @@ public unsafe partial struct ID3D12PipelineLibrary1 : ID3D12PipelineLibrary1.Int [VtblIndex(6)] public nuint GetSerializedSize() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12PipelineLibrary1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12PipelineLibrary1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -17591,11 +16133,7 @@ public unsafe partial struct ID3D12PipelineLibrary1 : ID3D12PipelineLibrary1.Int [VtblIndex(7)] public HResult Serialize(void* pData, nuint DataSizeInBytes) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12PipelineLibrary1*)Unsafe.AsPointer(ref this), pData, DataSizeInBytes); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12PipelineLibrary1*)Unsafe.AsPointer(ref this), pData, DataSizeInBytes); -#endif } /// @@ -17603,11 +16141,7 @@ public unsafe partial struct ID3D12PipelineLibrary1 : ID3D12PipelineLibrary1.Int [VtblIndex(8)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12PipelineLibrary1*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12PipelineLibrary1*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -17615,11 +16149,7 @@ public unsafe partial struct ID3D12PipelineLibrary1 : ID3D12PipelineLibrary1.Int [VtblIndex(9)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D12PipelineLibrary1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12PipelineLibrary1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -17627,11 +16157,7 @@ public unsafe partial struct ID3D12PipelineLibrary1 : ID3D12PipelineLibrary1.Int [VtblIndex(10)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D12PipelineLibrary1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12PipelineLibrary1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -17639,11 +16165,7 @@ public unsafe partial struct ID3D12PipelineLibrary1 : ID3D12PipelineLibrary1.Int [VtblIndex(11)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D12PipelineLibrary1*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12PipelineLibrary1*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -17651,11 +16173,7 @@ public unsafe partial struct ID3D12PipelineLibrary1 : ID3D12PipelineLibrary1.Int [VtblIndex(12)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D12PipelineLibrary1*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D12PipelineLibrary1*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -17663,16 +16181,9 @@ public unsafe partial struct ID3D12PipelineLibrary1 : ID3D12PipelineLibrary1.Int [VtblIndex(13)] public HResult LoadPipeline(char** pName, PipelineStateStreamDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((ID3D12PipelineLibrary1*)Unsafe.AsPointer(ref this), pName, pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12PipelineLibrary1*)Unsafe.AsPointer(ref this), pName, pDesc, riid, ppPipelineState); -#endif } - public interface Interface : ID3D12PipelineLibrary.Interface - { - } } /// @@ -17680,7 +16191,7 @@ public unsafe partial struct ID3D12PipelineLibrary1 : ID3D12PipelineLibrary1.Int [Guid("77acce80-638e-4e65-8895-c1f23386863e")] [NativeTypeName("struct ID3D12Device1 : ID3D12Device")] [NativeInheritance("ID3D12Device")] -public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface +public unsafe partial struct ID3D12Device1 { public static ref readonly Guid IID_ID3D12Device1 { @@ -17741,11 +16252,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(3)] public uint GetNodeCount() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12Device1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Device1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -17753,11 +16260,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(4)] public HResult CreateCommandQueue(CommandQueueDescription* pDesc, Guid* riid, void** ppCommandQueue) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pDesc, riid, ppCommandQueue); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pDesc, riid, ppCommandQueue); -#endif } /// @@ -17765,11 +16268,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(5)] public HResult CreateCommandAllocator(CommandListType type, Guid* riid, void** ppCommandAllocator) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12Device1*)Unsafe.AsPointer(ref this), type, riid, ppCommandAllocator); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12Device1*)Unsafe.AsPointer(ref this), type, riid, ppCommandAllocator); -#endif } /// @@ -17777,11 +16276,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(6)] public HResult CreateGraphicsPipelineState(GraphicsPipelineStateDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } /// @@ -17789,11 +16284,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(7)] public HResult CreateComputePipelineState(ComputePipelineStateDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } /// @@ -17801,11 +16292,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(8)] public HResult CreateCommandList(uint nodeMask, CommandListType type, ID3D12CommandAllocator* pCommandAllocator, ID3D12PipelineState* pInitialState, Guid* riid, void** ppCommandList) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12Device1*)Unsafe.AsPointer(ref this), nodeMask, type, pCommandAllocator, pInitialState, riid, ppCommandList); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12Device1*)Unsafe.AsPointer(ref this), nodeMask, type, pCommandAllocator, pInitialState, riid, ppCommandList); -#endif } /// @@ -17813,11 +16300,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(9)] public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, uint FeatureSupportDataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D12Device1*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12Device1*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#endif } /// @@ -17825,11 +16308,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(10)] public HResult CreateDescriptorHeap(DescriptorHeapDescription* pDescriptorHeapDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pDescriptorHeapDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pDescriptorHeapDesc, riid, ppvHeap); -#endif } /// @@ -17837,11 +16316,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(11)] public uint GetDescriptorHandleIncrementSize(DescriptorHeapType DescriptorHeapType) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D12Device1*)Unsafe.AsPointer(ref this), DescriptorHeapType); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12Device1*)Unsafe.AsPointer(ref this), DescriptorHeapType); -#endif } /// @@ -17849,11 +16324,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(12)] public HResult CreateRootSignature(uint nodeMask, void* pBlobWithRootSignature, nuint blobLengthInBytes, Guid* riid, void** ppvRootSignature) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D12Device1*)Unsafe.AsPointer(ref this), nodeMask, pBlobWithRootSignature, blobLengthInBytes, riid, ppvRootSignature); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D12Device1*)Unsafe.AsPointer(ref this), nodeMask, pBlobWithRootSignature, blobLengthInBytes, riid, ppvRootSignature); -#endif } /// @@ -17861,11 +16332,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(13)] public void CreateConstantBufferView(ConstantBufferViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[13]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#endif } /// @@ -17873,11 +16340,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(14)] public void CreateShaderResourceView(ID3D12Resource* pResource, ShaderResourceViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[14]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -17885,11 +16348,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(15)] public void CreateUnorderedAccessView(ID3D12Resource* pResource, ID3D12Resource* pCounterResource, UnorderedAccessViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[15]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pResource, pCounterResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pResource, pCounterResource, pDesc, DestDescriptor); -#endif } /// @@ -17897,11 +16356,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(16)] public void CreateRenderTargetView(ID3D12Resource* pResource, RenderTargetViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[16]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -17909,11 +16364,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(17)] public void CreateDepthStencilView(ID3D12Resource* pResource, DepthStencilViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[17]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -17921,11 +16372,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(18)] public void CreateSampler(SamplerDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[18]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#endif } /// @@ -17933,11 +16380,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(19)] public void CopyDescriptors(uint NumDestDescriptorRanges, CpuDescriptorHandle* pDestDescriptorRangeStarts, uint* pDestDescriptorRangeSizes, uint NumSrcDescriptorRanges, CpuDescriptorHandle* pSrcDescriptorRangeStarts, uint* pSrcDescriptorRangeSizes, DescriptorHeapType DescriptorHeapsType) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[19]))((ID3D12Device1*)Unsafe.AsPointer(ref this), NumDestDescriptorRanges, pDestDescriptorRangeStarts, pDestDescriptorRangeSizes, NumSrcDescriptorRanges, pSrcDescriptorRangeStarts, pSrcDescriptorRangeSizes, DescriptorHeapsType); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D12Device1*)Unsafe.AsPointer(ref this), NumDestDescriptorRanges, pDestDescriptorRangeStarts, pDestDescriptorRangeSizes, NumSrcDescriptorRanges, pSrcDescriptorRangeStarts, pSrcDescriptorRangeSizes, DescriptorHeapsType); -#endif } /// @@ -17945,11 +16388,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(20)] public void CopyDescriptorsSimple(uint NumDescriptors, CpuDescriptorHandle* DestDescriptorRangeStart, CpuDescriptorHandle* SrcDescriptorRangeStart, DescriptorHeapType DescriptorHeapsType) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[20]))((ID3D12Device1*)Unsafe.AsPointer(ref this), NumDescriptors, DestDescriptorRangeStart, SrcDescriptorRangeStart, DescriptorHeapsType); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D12Device1*)Unsafe.AsPointer(ref this), NumDescriptors, DestDescriptorRangeStart, SrcDescriptorRangeStart, DescriptorHeapsType); -#endif } /// @@ -17957,11 +16396,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(21)] public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((ID3D12Device1*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D12Device1*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); -#endif } /// @@ -17969,11 +16404,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(22)] public Graphics.Direct3D12.HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((ID3D12Device1*)Unsafe.AsPointer(ref this), nodeMask, heapType); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D12Device1*)Unsafe.AsPointer(ref this), nodeMask, heapType); -#endif } /// @@ -17981,11 +16412,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(23)] public HResult CreateCommittedResource(HeapProperties* pHeapProperties, HeapFlags HeapFlags, ResourceDescription* pDesc, ResourceStates InitialResourceState, ClearValue* pOptimizedClearValue, Guid* riidResource, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, riidResource, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, riidResource, ppvResource); -#endif } /// @@ -17993,11 +16420,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(24)] public HResult CreateHeap(HeapDescription* pDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#endif } /// @@ -18005,11 +16428,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(25)] public HResult CreatePlacedResource(ID3D12Heap* pHeap, ulong HeapOffset, ResourceDescription* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pHeap, HeapOffset, pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pHeap, HeapOffset, pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#endif } /// @@ -18017,11 +16436,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(26)] public HResult CreateReservedResource(ResourceDescription* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[26]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#endif } /// @@ -18029,11 +16444,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(27)] public HResult CreateSharedHandle(ID3D12DeviceChild* pObject, Security.SECURITY_ATTRIBUTES* pAttributes, uint Access, char** Name, IntPtr* pHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pObject, pAttributes, Access, Name, pHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pObject, pAttributes, Access, Name, pHandle); -#endif } /// @@ -18041,11 +16452,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(28)] public HResult OpenSharedHandle(IntPtr NTHandle, Guid* riid, void** ppvObj) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((ID3D12Device1*)Unsafe.AsPointer(ref this), NTHandle, riid, ppvObj); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D12Device1*)Unsafe.AsPointer(ref this), NTHandle, riid, ppvObj); -#endif } /// @@ -18053,11 +16460,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(29)] public HResult OpenSharedHandleByName(char** Name, uint Access, IntPtr* pNTHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[29]))((ID3D12Device1*)Unsafe.AsPointer(ref this), Name, Access, pNTHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D12Device1*)Unsafe.AsPointer(ref this), Name, Access, pNTHandle); -#endif } /// @@ -18065,11 +16468,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(30)] public HResult MakeResident(uint NumObjects, ID3D12Pageable* ppObjects) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[30]))((ID3D12Device1*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D12Device1*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#endif } /// @@ -18077,11 +16476,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(31)] public HResult Evict(uint NumObjects, ID3D12Pageable* ppObjects) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[31]))((ID3D12Device1*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D12Device1*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#endif } /// @@ -18089,11 +16484,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(32)] public HResult CreateFence(ulong InitialValue, FenceFlags Flags, Guid* riid, void** ppFence) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[32]))((ID3D12Device1*)Unsafe.AsPointer(ref this), InitialValue, Flags, riid, ppFence); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D12Device1*)Unsafe.AsPointer(ref this), InitialValue, Flags, riid, ppFence); -#endif } /// @@ -18101,11 +16492,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(33)] public HResult GetDeviceRemovedReason() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[33]))((ID3D12Device1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D12Device1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -18113,11 +16500,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(34)] public void GetCopyableFootprints(ResourceDescription* pResourceDesc, uint FirstSubresource, uint NumSubresources, ulong BaseOffset, PlacedSubresourceFootprint* pLayouts, uint* pNumRows, ulong* pRowSizeInBytes, ulong* pTotalBytes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[34]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pResourceDesc, FirstSubresource, NumSubresources, BaseOffset, pLayouts, pNumRows, pRowSizeInBytes, pTotalBytes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pResourceDesc, FirstSubresource, NumSubresources, BaseOffset, pLayouts, pNumRows, pRowSizeInBytes, pTotalBytes); -#endif } /// @@ -18125,11 +16508,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(35)] public HResult CreateQueryHeap(QueryHeapDescription* pDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[35]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#endif } /// @@ -18137,11 +16516,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(36)] public HResult SetStablePowerState(Bool32 Enable) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[36]))((ID3D12Device1*)Unsafe.AsPointer(ref this), Enable); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D12Device1*)Unsafe.AsPointer(ref this), Enable); -#endif } /// @@ -18149,11 +16524,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(37)] public HResult CreateCommandSignature(CommandSignatureDescription* pDesc, ID3D12RootSignature* pRootSignature, Guid* riid, void** ppvCommandSignature) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[37]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pDesc, pRootSignature, riid, ppvCommandSignature); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pDesc, pRootSignature, riid, ppvCommandSignature); -#endif } /// @@ -18161,11 +16532,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(38)] public void GetResourceTiling(ID3D12Resource* pTiledResource, uint* pNumTilesForEntireResource, PackedMipInfo* pPackedMipDesc, TileShape* pStandardTileShapeForNonPackedMips, uint* pNumSubresourceTilings, uint FirstSubresourceTilingToGet, SubresourceTiling* pSubresourceTilingsForNonPackedMips) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[38]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#endif } /// @@ -18173,11 +16540,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(39)] public Luid GetAdapterLuid() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[39]))((ID3D12Device1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D12Device1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -18185,11 +16548,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(40)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[40]))((ID3D12Device1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D12Device1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -18197,11 +16556,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(41)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[41]))((ID3D12Device1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D12Device1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -18209,11 +16564,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(42)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[42]))((ID3D12Device1*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D12Device1*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -18221,11 +16572,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(43)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[43]))((ID3D12Device1*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D12Device1*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -18233,11 +16580,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(44)] public HResult CreatePipelineLibrary(void* pLibraryBlob, nuint BlobLength, Guid* riid, void** ppPipelineLibrary) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[44]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pLibraryBlob, BlobLength, riid, ppPipelineLibrary); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D12Device1*)Unsafe.AsPointer(ref this), pLibraryBlob, BlobLength, riid, ppPipelineLibrary); -#endif } /// @@ -18245,11 +16588,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(45)] public HResult SetEventOnMultipleFenceCompletion(ID3D12Fence* ppFences, ulong* pFenceValues, uint NumFences, MultipleFenceWaitFlags Flags, IntPtr hEvent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[45]))((ID3D12Device1*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D12Device1*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent); -#endif } /// @@ -18257,16 +16596,9 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [VtblIndex(46)] public HResult SetResidencyPriority(uint NumObjects, ID3D12Pageable* ppObjects, ResidencyPriority* pPriorities) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[46]))((ID3D12Device1*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D12Device1*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities); -#endif } - public interface Interface : ID3D12Device.Interface - { - } } /// @@ -18274,7 +16606,7 @@ public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface [Guid("30baa41e-b15b-475c-a0bb-1af5c5b64328")] [NativeTypeName("struct ID3D12Device2 : ID3D12Device1")] [NativeInheritance("ID3D12Device1")] -public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface +public unsafe partial struct ID3D12Device2 { public static ref readonly Guid IID_ID3D12Device2 { @@ -18335,11 +16667,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(3)] public HResult CreatePipelineLibrary(void* pLibraryBlob, nuint BlobLength, Guid* riid, void** ppPipelineLibrary) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pLibraryBlob, BlobLength, riid, ppPipelineLibrary); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pLibraryBlob, BlobLength, riid, ppPipelineLibrary); -#endif } /// @@ -18347,11 +16675,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(4)] public HResult SetEventOnMultipleFenceCompletion(ID3D12Fence* ppFences, ulong* pFenceValues, uint NumFences, MultipleFenceWaitFlags Flags, IntPtr hEvent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12Device2*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12Device2*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent); -#endif } /// @@ -18359,11 +16683,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(5)] public HResult SetResidencyPriority(uint NumObjects, ID3D12Pageable* ppObjects, ResidencyPriority* pPriorities) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12Device2*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12Device2*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities); -#endif } /// @@ -18371,11 +16691,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(6)] public uint GetNodeCount() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12Device2*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12Device2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -18383,11 +16699,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(7)] public HResult CreateCommandQueue(CommandQueueDescription* pDesc, Guid* riid, void** ppCommandQueue) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pDesc, riid, ppCommandQueue); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pDesc, riid, ppCommandQueue); -#endif } /// @@ -18395,11 +16707,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(8)] public HResult CreateCommandAllocator(CommandListType type, Guid* riid, void** ppCommandAllocator) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12Device2*)Unsafe.AsPointer(ref this), type, riid, ppCommandAllocator); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12Device2*)Unsafe.AsPointer(ref this), type, riid, ppCommandAllocator); -#endif } /// @@ -18407,11 +16715,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(9)] public HResult CreateGraphicsPipelineState(GraphicsPipelineStateDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } /// @@ -18419,11 +16723,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(10)] public HResult CreateComputePipelineState(ComputePipelineStateDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } /// @@ -18431,11 +16731,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(11)] public HResult CreateCommandList(uint nodeMask, CommandListType type, ID3D12CommandAllocator* pCommandAllocator, ID3D12PipelineState* pInitialState, Guid* riid, void** ppCommandList) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D12Device2*)Unsafe.AsPointer(ref this), nodeMask, type, pCommandAllocator, pInitialState, riid, ppCommandList); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12Device2*)Unsafe.AsPointer(ref this), nodeMask, type, pCommandAllocator, pInitialState, riid, ppCommandList); -#endif } /// @@ -18443,11 +16739,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(12)] public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, uint FeatureSupportDataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D12Device2*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D12Device2*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#endif } /// @@ -18455,11 +16747,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(13)] public HResult CreateDescriptorHeap(DescriptorHeapDescription* pDescriptorHeapDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pDescriptorHeapDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pDescriptorHeapDesc, riid, ppvHeap); -#endif } /// @@ -18467,11 +16755,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(14)] public uint GetDescriptorHandleIncrementSize(DescriptorHeapType DescriptorHeapType) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((ID3D12Device2*)Unsafe.AsPointer(ref this), DescriptorHeapType); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D12Device2*)Unsafe.AsPointer(ref this), DescriptorHeapType); -#endif } /// @@ -18479,11 +16763,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(15)] public HResult CreateRootSignature(uint nodeMask, void* pBlobWithRootSignature, nuint blobLengthInBytes, Guid* riid, void** ppvRootSignature) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((ID3D12Device2*)Unsafe.AsPointer(ref this), nodeMask, pBlobWithRootSignature, blobLengthInBytes, riid, ppvRootSignature); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D12Device2*)Unsafe.AsPointer(ref this), nodeMask, pBlobWithRootSignature, blobLengthInBytes, riid, ppvRootSignature); -#endif } /// @@ -18491,11 +16771,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(16)] public void CreateConstantBufferView(ConstantBufferViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[16]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#endif } /// @@ -18503,11 +16779,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(17)] public void CreateShaderResourceView(ID3D12Resource* pResource, ShaderResourceViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[17]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -18515,11 +16787,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(18)] public void CreateUnorderedAccessView(ID3D12Resource* pResource, ID3D12Resource* pCounterResource, UnorderedAccessViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[18]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pResource, pCounterResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pResource, pCounterResource, pDesc, DestDescriptor); -#endif } /// @@ -18527,11 +16795,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(19)] public void CreateRenderTargetView(ID3D12Resource* pResource, RenderTargetViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[19]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -18539,11 +16803,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(20)] public void CreateDepthStencilView(ID3D12Resource* pResource, DepthStencilViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[20]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -18551,11 +16811,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(21)] public void CreateSampler(SamplerDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[21]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#endif } /// @@ -18563,11 +16819,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(22)] public void CopyDescriptors(uint NumDestDescriptorRanges, CpuDescriptorHandle* pDestDescriptorRangeStarts, uint* pDestDescriptorRangeSizes, uint NumSrcDescriptorRanges, CpuDescriptorHandle* pSrcDescriptorRangeStarts, uint* pSrcDescriptorRangeSizes, DescriptorHeapType DescriptorHeapsType) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[22]))((ID3D12Device2*)Unsafe.AsPointer(ref this), NumDestDescriptorRanges, pDestDescriptorRangeStarts, pDestDescriptorRangeSizes, NumSrcDescriptorRanges, pSrcDescriptorRangeStarts, pSrcDescriptorRangeSizes, DescriptorHeapsType); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D12Device2*)Unsafe.AsPointer(ref this), NumDestDescriptorRanges, pDestDescriptorRangeStarts, pDestDescriptorRangeSizes, NumSrcDescriptorRanges, pSrcDescriptorRangeStarts, pSrcDescriptorRangeSizes, DescriptorHeapsType); -#endif } /// @@ -18575,11 +16827,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(23)] public void CopyDescriptorsSimple(uint NumDescriptors, CpuDescriptorHandle* DestDescriptorRangeStart, CpuDescriptorHandle* SrcDescriptorRangeStart, DescriptorHeapType DescriptorHeapsType) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[23]))((ID3D12Device2*)Unsafe.AsPointer(ref this), NumDescriptors, DestDescriptorRangeStart, SrcDescriptorRangeStart, DescriptorHeapsType); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D12Device2*)Unsafe.AsPointer(ref this), NumDescriptors, DestDescriptorRangeStart, SrcDescriptorRangeStart, DescriptorHeapsType); -#endif } /// @@ -18587,11 +16835,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(24)] public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((ID3D12Device2*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D12Device2*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); -#endif } /// @@ -18599,11 +16843,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(25)] public Graphics.Direct3D12.HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((ID3D12Device2*)Unsafe.AsPointer(ref this), nodeMask, heapType); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D12Device2*)Unsafe.AsPointer(ref this), nodeMask, heapType); -#endif } /// @@ -18611,11 +16851,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(26)] public HResult CreateCommittedResource(HeapProperties* pHeapProperties, HeapFlags HeapFlags, ResourceDescription* pDesc, ResourceStates InitialResourceState, ClearValue* pOptimizedClearValue, Guid* riidResource, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[26]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, riidResource, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, riidResource, ppvResource); -#endif } /// @@ -18623,11 +16859,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(27)] public HResult CreateHeap(HeapDescription* pDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#endif } /// @@ -18635,11 +16867,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(28)] public HResult CreatePlacedResource(ID3D12Heap* pHeap, ulong HeapOffset, ResourceDescription* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pHeap, HeapOffset, pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pHeap, HeapOffset, pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#endif } /// @@ -18647,11 +16875,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(29)] public HResult CreateReservedResource(ResourceDescription* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[29]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#endif } /// @@ -18659,11 +16883,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(30)] public HResult CreateSharedHandle(ID3D12DeviceChild* pObject, Security.SECURITY_ATTRIBUTES* pAttributes, uint Access, char** Name, IntPtr* pHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[30]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pObject, pAttributes, Access, Name, pHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pObject, pAttributes, Access, Name, pHandle); -#endif } /// @@ -18671,11 +16891,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(31)] public HResult OpenSharedHandle(IntPtr NTHandle, Guid* riid, void** ppvObj) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[31]))((ID3D12Device2*)Unsafe.AsPointer(ref this), NTHandle, riid, ppvObj); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D12Device2*)Unsafe.AsPointer(ref this), NTHandle, riid, ppvObj); -#endif } /// @@ -18683,11 +16899,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(32)] public HResult OpenSharedHandleByName(char** Name, uint Access, IntPtr* pNTHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[32]))((ID3D12Device2*)Unsafe.AsPointer(ref this), Name, Access, pNTHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D12Device2*)Unsafe.AsPointer(ref this), Name, Access, pNTHandle); -#endif } /// @@ -18695,11 +16907,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(33)] public HResult MakeResident(uint NumObjects, ID3D12Pageable* ppObjects) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[33]))((ID3D12Device2*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D12Device2*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#endif } /// @@ -18707,11 +16915,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(34)] public HResult Evict(uint NumObjects, ID3D12Pageable* ppObjects) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[34]))((ID3D12Device2*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D12Device2*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#endif } /// @@ -18719,11 +16923,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(35)] public HResult CreateFence(ulong InitialValue, FenceFlags Flags, Guid* riid, void** ppFence) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[35]))((ID3D12Device2*)Unsafe.AsPointer(ref this), InitialValue, Flags, riid, ppFence); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D12Device2*)Unsafe.AsPointer(ref this), InitialValue, Flags, riid, ppFence); -#endif } /// @@ -18731,11 +16931,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(36)] public HResult GetDeviceRemovedReason() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[36]))((ID3D12Device2*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D12Device2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -18743,11 +16939,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(37)] public void GetCopyableFootprints(ResourceDescription* pResourceDesc, uint FirstSubresource, uint NumSubresources, ulong BaseOffset, PlacedSubresourceFootprint* pLayouts, uint* pNumRows, ulong* pRowSizeInBytes, ulong* pTotalBytes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[37]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pResourceDesc, FirstSubresource, NumSubresources, BaseOffset, pLayouts, pNumRows, pRowSizeInBytes, pTotalBytes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pResourceDesc, FirstSubresource, NumSubresources, BaseOffset, pLayouts, pNumRows, pRowSizeInBytes, pTotalBytes); -#endif } /// @@ -18755,11 +16947,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(38)] public HResult CreateQueryHeap(QueryHeapDescription* pDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[38]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#endif } /// @@ -18767,11 +16955,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(39)] public HResult SetStablePowerState(Bool32 Enable) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[39]))((ID3D12Device2*)Unsafe.AsPointer(ref this), Enable); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D12Device2*)Unsafe.AsPointer(ref this), Enable); -#endif } /// @@ -18779,11 +16963,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(40)] public HResult CreateCommandSignature(CommandSignatureDescription* pDesc, ID3D12RootSignature* pRootSignature, Guid* riid, void** ppvCommandSignature) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[40]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pDesc, pRootSignature, riid, ppvCommandSignature); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pDesc, pRootSignature, riid, ppvCommandSignature); -#endif } /// @@ -18791,11 +16971,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(41)] public void GetResourceTiling(ID3D12Resource* pTiledResource, uint* pNumTilesForEntireResource, PackedMipInfo* pPackedMipDesc, TileShape* pStandardTileShapeForNonPackedMips, uint* pNumSubresourceTilings, uint FirstSubresourceTilingToGet, SubresourceTiling* pSubresourceTilingsForNonPackedMips) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[41]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#endif } /// @@ -18803,11 +16979,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(42)] public Luid GetAdapterLuid() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[42]))((ID3D12Device2*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D12Device2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -18815,11 +16987,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(43)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[43]))((ID3D12Device2*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D12Device2*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -18827,11 +16995,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(44)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[44]))((ID3D12Device2*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D12Device2*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -18839,11 +17003,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(45)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[45]))((ID3D12Device2*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D12Device2*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -18851,11 +17011,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(46)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[46]))((ID3D12Device2*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D12Device2*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -18863,16 +17019,9 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [VtblIndex(47)] public HResult CreatePipelineState(PipelineStateStreamDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[47]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D12Device2*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } - public interface Interface : ID3D12Device1.Interface - { - } } /// @@ -18880,7 +17029,7 @@ public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface [Guid("81dadc15-2bad-4392-93c5-101345c4aa98")] [NativeTypeName("struct ID3D12Device3 : ID3D12Device2")] [NativeInheritance("ID3D12Device2")] -public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface +public unsafe partial struct ID3D12Device3 { public static ref readonly Guid IID_ID3D12Device3 { @@ -18941,11 +17090,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(3)] public HResult CreatePipelineState(PipelineStateStreamDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } /// @@ -18953,11 +17098,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(4)] public HResult CreatePipelineLibrary(void* pLibraryBlob, nuint BlobLength, Guid* riid, void** ppPipelineLibrary) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pLibraryBlob, BlobLength, riid, ppPipelineLibrary); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pLibraryBlob, BlobLength, riid, ppPipelineLibrary); -#endif } /// @@ -18965,11 +17106,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(5)] public HResult SetEventOnMultipleFenceCompletion(ID3D12Fence* ppFences, ulong* pFenceValues, uint NumFences, MultipleFenceWaitFlags Flags, IntPtr hEvent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12Device3*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12Device3*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent); -#endif } /// @@ -18977,11 +17114,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(6)] public HResult SetResidencyPriority(uint NumObjects, ID3D12Pageable* ppObjects, ResidencyPriority* pPriorities) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12Device3*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12Device3*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities); -#endif } /// @@ -18989,11 +17122,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(7)] public uint GetNodeCount() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Device3*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12Device3*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -19001,11 +17130,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(8)] public HResult CreateCommandQueue(CommandQueueDescription* pDesc, Guid* riid, void** ppCommandQueue) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pDesc, riid, ppCommandQueue); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pDesc, riid, ppCommandQueue); -#endif } /// @@ -19013,11 +17138,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(9)] public HResult CreateCommandAllocator(CommandListType type, Guid* riid, void** ppCommandAllocator) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D12Device3*)Unsafe.AsPointer(ref this), type, riid, ppCommandAllocator); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12Device3*)Unsafe.AsPointer(ref this), type, riid, ppCommandAllocator); -#endif } /// @@ -19025,11 +17146,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(10)] public HResult CreateGraphicsPipelineState(GraphicsPipelineStateDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } /// @@ -19037,11 +17154,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(11)] public HResult CreateComputePipelineState(ComputePipelineStateDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } /// @@ -19049,11 +17162,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(12)] public HResult CreateCommandList(uint nodeMask, CommandListType type, ID3D12CommandAllocator* pCommandAllocator, ID3D12PipelineState* pInitialState, Guid* riid, void** ppCommandList) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D12Device3*)Unsafe.AsPointer(ref this), nodeMask, type, pCommandAllocator, pInitialState, riid, ppCommandList); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D12Device3*)Unsafe.AsPointer(ref this), nodeMask, type, pCommandAllocator, pInitialState, riid, ppCommandList); -#endif } /// @@ -19061,11 +17170,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(13)] public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, uint FeatureSupportDataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((ID3D12Device3*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12Device3*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#endif } /// @@ -19073,11 +17178,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(14)] public HResult CreateDescriptorHeap(DescriptorHeapDescription* pDescriptorHeapDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pDescriptorHeapDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pDescriptorHeapDesc, riid, ppvHeap); -#endif } /// @@ -19085,11 +17186,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(15)] public uint GetDescriptorHandleIncrementSize(DescriptorHeapType DescriptorHeapType) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((ID3D12Device3*)Unsafe.AsPointer(ref this), DescriptorHeapType); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D12Device3*)Unsafe.AsPointer(ref this), DescriptorHeapType); -#endif } /// @@ -19097,11 +17194,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(16)] public HResult CreateRootSignature(uint nodeMask, void* pBlobWithRootSignature, nuint blobLengthInBytes, Guid* riid, void** ppvRootSignature) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((ID3D12Device3*)Unsafe.AsPointer(ref this), nodeMask, pBlobWithRootSignature, blobLengthInBytes, riid, ppvRootSignature); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D12Device3*)Unsafe.AsPointer(ref this), nodeMask, pBlobWithRootSignature, blobLengthInBytes, riid, ppvRootSignature); -#endif } /// @@ -19109,11 +17202,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(17)] public void CreateConstantBufferView(ConstantBufferViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[17]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#endif } /// @@ -19121,11 +17210,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(18)] public void CreateShaderResourceView(ID3D12Resource* pResource, ShaderResourceViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[18]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -19133,11 +17218,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(19)] public void CreateUnorderedAccessView(ID3D12Resource* pResource, ID3D12Resource* pCounterResource, UnorderedAccessViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[19]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pResource, pCounterResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pResource, pCounterResource, pDesc, DestDescriptor); -#endif } /// @@ -19145,11 +17226,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(20)] public void CreateRenderTargetView(ID3D12Resource* pResource, RenderTargetViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[20]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -19157,11 +17234,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(21)] public void CreateDepthStencilView(ID3D12Resource* pResource, DepthStencilViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[21]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -19169,11 +17242,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(22)] public void CreateSampler(SamplerDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[22]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#endif } /// @@ -19181,11 +17250,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(23)] public void CopyDescriptors(uint NumDestDescriptorRanges, CpuDescriptorHandle* pDestDescriptorRangeStarts, uint* pDestDescriptorRangeSizes, uint NumSrcDescriptorRanges, CpuDescriptorHandle* pSrcDescriptorRangeStarts, uint* pSrcDescriptorRangeSizes, DescriptorHeapType DescriptorHeapsType) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[23]))((ID3D12Device3*)Unsafe.AsPointer(ref this), NumDestDescriptorRanges, pDestDescriptorRangeStarts, pDestDescriptorRangeSizes, NumSrcDescriptorRanges, pSrcDescriptorRangeStarts, pSrcDescriptorRangeSizes, DescriptorHeapsType); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D12Device3*)Unsafe.AsPointer(ref this), NumDestDescriptorRanges, pDestDescriptorRangeStarts, pDestDescriptorRangeSizes, NumSrcDescriptorRanges, pSrcDescriptorRangeStarts, pSrcDescriptorRangeSizes, DescriptorHeapsType); -#endif } /// @@ -19193,11 +17258,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(24)] public void CopyDescriptorsSimple(uint NumDescriptors, CpuDescriptorHandle* DestDescriptorRangeStart, CpuDescriptorHandle* SrcDescriptorRangeStart, DescriptorHeapType DescriptorHeapsType) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[24]))((ID3D12Device3*)Unsafe.AsPointer(ref this), NumDescriptors, DestDescriptorRangeStart, SrcDescriptorRangeStart, DescriptorHeapsType); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D12Device3*)Unsafe.AsPointer(ref this), NumDescriptors, DestDescriptorRangeStart, SrcDescriptorRangeStart, DescriptorHeapsType); -#endif } /// @@ -19205,11 +17266,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(25)] public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((ID3D12Device3*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D12Device3*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); -#endif } /// @@ -19217,11 +17274,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(26)] public Graphics.Direct3D12.HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[26]))((ID3D12Device3*)Unsafe.AsPointer(ref this), nodeMask, heapType); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D12Device3*)Unsafe.AsPointer(ref this), nodeMask, heapType); -#endif } /// @@ -19229,11 +17282,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(27)] public HResult CreateCommittedResource(HeapProperties* pHeapProperties, HeapFlags HeapFlags, ResourceDescription* pDesc, ResourceStates InitialResourceState, ClearValue* pOptimizedClearValue, Guid* riidResource, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, riidResource, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, riidResource, ppvResource); -#endif } /// @@ -19241,11 +17290,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(28)] public HResult CreateHeap(HeapDescription* pDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#endif } /// @@ -19253,11 +17298,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(29)] public HResult CreatePlacedResource(ID3D12Heap* pHeap, ulong HeapOffset, ResourceDescription* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[29]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pHeap, HeapOffset, pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pHeap, HeapOffset, pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#endif } /// @@ -19265,11 +17306,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(30)] public HResult CreateReservedResource(ResourceDescription* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[30]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#endif } /// @@ -19277,11 +17314,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(31)] public HResult CreateSharedHandle(ID3D12DeviceChild* pObject, Security.SECURITY_ATTRIBUTES* pAttributes, uint Access, char** Name, IntPtr* pHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[31]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pObject, pAttributes, Access, Name, pHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pObject, pAttributes, Access, Name, pHandle); -#endif } /// @@ -19289,11 +17322,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(32)] public HResult OpenSharedHandle(IntPtr NTHandle, Guid* riid, void** ppvObj) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[32]))((ID3D12Device3*)Unsafe.AsPointer(ref this), NTHandle, riid, ppvObj); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D12Device3*)Unsafe.AsPointer(ref this), NTHandle, riid, ppvObj); -#endif } /// @@ -19301,11 +17330,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(33)] public HResult OpenSharedHandleByName(char** Name, uint Access, IntPtr* pNTHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[33]))((ID3D12Device3*)Unsafe.AsPointer(ref this), Name, Access, pNTHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D12Device3*)Unsafe.AsPointer(ref this), Name, Access, pNTHandle); -#endif } /// @@ -19313,11 +17338,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(34)] public HResult MakeResident(uint NumObjects, ID3D12Pageable* ppObjects) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[34]))((ID3D12Device3*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D12Device3*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#endif } /// @@ -19325,11 +17346,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(35)] public HResult Evict(uint NumObjects, ID3D12Pageable* ppObjects) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[35]))((ID3D12Device3*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D12Device3*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#endif } /// @@ -19337,11 +17354,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(36)] public HResult CreateFence(ulong InitialValue, FenceFlags Flags, Guid* riid, void** ppFence) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[36]))((ID3D12Device3*)Unsafe.AsPointer(ref this), InitialValue, Flags, riid, ppFence); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D12Device3*)Unsafe.AsPointer(ref this), InitialValue, Flags, riid, ppFence); -#endif } /// @@ -19349,11 +17362,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(37)] public HResult GetDeviceRemovedReason() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[37]))((ID3D12Device3*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D12Device3*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -19361,11 +17370,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(38)] public void GetCopyableFootprints(ResourceDescription* pResourceDesc, uint FirstSubresource, uint NumSubresources, ulong BaseOffset, PlacedSubresourceFootprint* pLayouts, uint* pNumRows, ulong* pRowSizeInBytes, ulong* pTotalBytes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[38]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pResourceDesc, FirstSubresource, NumSubresources, BaseOffset, pLayouts, pNumRows, pRowSizeInBytes, pTotalBytes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pResourceDesc, FirstSubresource, NumSubresources, BaseOffset, pLayouts, pNumRows, pRowSizeInBytes, pTotalBytes); -#endif } /// @@ -19373,11 +17378,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(39)] public HResult CreateQueryHeap(QueryHeapDescription* pDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[39]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#endif } /// @@ -19385,11 +17386,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(40)] public HResult SetStablePowerState(Bool32 Enable) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[40]))((ID3D12Device3*)Unsafe.AsPointer(ref this), Enable); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D12Device3*)Unsafe.AsPointer(ref this), Enable); -#endif } /// @@ -19397,11 +17394,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(41)] public HResult CreateCommandSignature(CommandSignatureDescription* pDesc, ID3D12RootSignature* pRootSignature, Guid* riid, void** ppvCommandSignature) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[41]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pDesc, pRootSignature, riid, ppvCommandSignature); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pDesc, pRootSignature, riid, ppvCommandSignature); -#endif } /// @@ -19409,11 +17402,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(42)] public void GetResourceTiling(ID3D12Resource* pTiledResource, uint* pNumTilesForEntireResource, PackedMipInfo* pPackedMipDesc, TileShape* pStandardTileShapeForNonPackedMips, uint* pNumSubresourceTilings, uint FirstSubresourceTilingToGet, SubresourceTiling* pSubresourceTilingsForNonPackedMips) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[42]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#endif } /// @@ -19421,11 +17410,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(43)] public Luid GetAdapterLuid() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[43]))((ID3D12Device3*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D12Device3*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -19433,11 +17418,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(44)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[44]))((ID3D12Device3*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D12Device3*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -19445,11 +17426,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(45)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[45]))((ID3D12Device3*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D12Device3*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -19457,11 +17434,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(46)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[46]))((ID3D12Device3*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D12Device3*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -19469,11 +17442,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(47)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[47]))((ID3D12Device3*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D12Device3*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -19481,11 +17450,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(48)] public HResult OpenExistingHeapFromAddress(void* pAddress, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[48]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pAddress, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D12Device3*)Unsafe.AsPointer(ref this), pAddress, riid, ppvHeap); -#endif } /// @@ -19493,11 +17458,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(49)] public HResult OpenExistingHeapFromFileMapping(IntPtr hFileMapping, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[49]))((ID3D12Device3*)Unsafe.AsPointer(ref this), hFileMapping, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D12Device3*)Unsafe.AsPointer(ref this), hFileMapping, riid, ppvHeap); -#endif } /// @@ -19505,16 +17466,9 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [VtblIndex(50)] public HResult EnqueueMakeResident(ResidencyFlags Flags, uint NumObjects, ID3D12Pageable* ppObjects, ID3D12Fence* pFenceToSignal, ulong FenceValueToSignal) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[50]))((ID3D12Device3*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D12Device3*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal); -#endif } - public interface Interface : ID3D12Device2.Interface - { - } } /// @@ -19522,7 +17476,7 @@ public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface [Guid("a1533d18-0ac1-4084-85b9-89a96116806b")] [NativeTypeName("struct ID3D12ProtectedSession : ID3D12DeviceChild")] [NativeInheritance("ID3D12DeviceChild")] -public unsafe partial struct ID3D12ProtectedSession : ID3D12ProtectedSession.Interface +public unsafe partial struct ID3D12ProtectedSession { public static ref readonly Guid IID_ID3D12ProtectedSession { @@ -19583,11 +17537,7 @@ public unsafe partial struct ID3D12ProtectedSession : ID3D12ProtectedSession.Int [VtblIndex(3)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12ProtectedSession*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12ProtectedSession*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -19595,11 +17545,7 @@ public unsafe partial struct ID3D12ProtectedSession : ID3D12ProtectedSession.Int [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12ProtectedSession*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12ProtectedSession*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -19607,11 +17553,7 @@ public unsafe partial struct ID3D12ProtectedSession : ID3D12ProtectedSession.Int [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12ProtectedSession*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12ProtectedSession*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -19619,11 +17561,7 @@ public unsafe partial struct ID3D12ProtectedSession : ID3D12ProtectedSession.Int [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12ProtectedSession*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12ProtectedSession*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -19631,11 +17569,7 @@ public unsafe partial struct ID3D12ProtectedSession : ID3D12ProtectedSession.Int [VtblIndex(7)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12ProtectedSession*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12ProtectedSession*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -19643,11 +17577,7 @@ public unsafe partial struct ID3D12ProtectedSession : ID3D12ProtectedSession.Int [VtblIndex(8)] public HResult GetStatusFence(Guid* riid, void** ppFence) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12ProtectedSession*)Unsafe.AsPointer(ref this), riid, ppFence); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12ProtectedSession*)Unsafe.AsPointer(ref this), riid, ppFence); -#endif } /// @@ -19655,16 +17585,9 @@ public unsafe partial struct ID3D12ProtectedSession : ID3D12ProtectedSession.Int [VtblIndex(9)] public Graphics.Direct3D12.ProtectedSessionStatus GetSessionStatus() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D12ProtectedSession*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12ProtectedSession*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : ID3D12DeviceChild.Interface - { - } } /// @@ -19672,7 +17595,7 @@ public unsafe partial struct ID3D12ProtectedSession : ID3D12ProtectedSession.Int [Guid("6cd696f4-f289-40cc-8091-5a6c0a099c3d")] [NativeTypeName("struct ID3D12ProtectedResourceSession : ID3D12ProtectedSession")] [NativeInheritance("ID3D12ProtectedSession")] -public unsafe partial struct ID3D12ProtectedResourceSession : ID3D12ProtectedResourceSession.Interface +public unsafe partial struct ID3D12ProtectedResourceSession { public static ref readonly Guid IID_ID3D12ProtectedResourceSession { @@ -19733,11 +17656,7 @@ public unsafe partial struct ID3D12ProtectedResourceSession : ID3D12ProtectedRes [VtblIndex(3)] public HResult GetStatusFence(Guid* riid, void** ppFence) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12ProtectedResourceSession*)Unsafe.AsPointer(ref this), riid, ppFence); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12ProtectedResourceSession*)Unsafe.AsPointer(ref this), riid, ppFence); -#endif } /// @@ -19745,11 +17664,7 @@ public unsafe partial struct ID3D12ProtectedResourceSession : ID3D12ProtectedRes [VtblIndex(4)] public Graphics.Direct3D12.ProtectedSessionStatus GetSessionStatus() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12ProtectedResourceSession*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12ProtectedResourceSession*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -19757,11 +17672,7 @@ public unsafe partial struct ID3D12ProtectedResourceSession : ID3D12ProtectedRes [VtblIndex(5)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12ProtectedResourceSession*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12ProtectedResourceSession*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -19769,11 +17680,7 @@ public unsafe partial struct ID3D12ProtectedResourceSession : ID3D12ProtectedRes [VtblIndex(6)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12ProtectedResourceSession*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12ProtectedResourceSession*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -19781,11 +17688,7 @@ public unsafe partial struct ID3D12ProtectedResourceSession : ID3D12ProtectedRes [VtblIndex(7)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12ProtectedResourceSession*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12ProtectedResourceSession*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -19793,11 +17696,7 @@ public unsafe partial struct ID3D12ProtectedResourceSession : ID3D12ProtectedRes [VtblIndex(8)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12ProtectedResourceSession*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12ProtectedResourceSession*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -19805,11 +17704,7 @@ public unsafe partial struct ID3D12ProtectedResourceSession : ID3D12ProtectedRes [VtblIndex(9)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D12ProtectedResourceSession*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12ProtectedResourceSession*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -19817,16 +17712,9 @@ public unsafe partial struct ID3D12ProtectedResourceSession : ID3D12ProtectedRes [VtblIndex(10)] public Graphics.Direct3D12.ProtectedResourceSessionDescription GetDesc() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D12ProtectedResourceSession*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12ProtectedResourceSession*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : ID3D12ProtectedSession.Interface - { - } } /// @@ -19834,7 +17722,7 @@ public unsafe partial struct ID3D12ProtectedResourceSession : ID3D12ProtectedRes [Guid("e865df17-a9ee-46f9-a463-3098315aa2e5")] [NativeTypeName("struct ID3D12Device4 : ID3D12Device3")] [NativeInheritance("ID3D12Device3")] -public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface +public unsafe partial struct ID3D12Device4 { public static ref readonly Guid IID_ID3D12Device4 { @@ -19895,11 +17783,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(3)] public HResult OpenExistingHeapFromAddress(void* pAddress, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pAddress, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pAddress, riid, ppvHeap); -#endif } /// @@ -19907,11 +17791,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(4)] public HResult OpenExistingHeapFromFileMapping(IntPtr hFileMapping, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12Device4*)Unsafe.AsPointer(ref this), hFileMapping, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12Device4*)Unsafe.AsPointer(ref this), hFileMapping, riid, ppvHeap); -#endif } /// @@ -19919,11 +17799,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(5)] public HResult EnqueueMakeResident(ResidencyFlags Flags, uint NumObjects, ID3D12Pageable* ppObjects, ID3D12Fence* pFenceToSignal, ulong FenceValueToSignal) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12Device4*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12Device4*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal); -#endif } /// @@ -19931,11 +17807,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(6)] public HResult CreatePipelineState(PipelineStateStreamDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } /// @@ -19943,11 +17815,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(7)] public HResult CreatePipelineLibrary(void* pLibraryBlob, nuint BlobLength, Guid* riid, void** ppPipelineLibrary) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pLibraryBlob, BlobLength, riid, ppPipelineLibrary); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pLibraryBlob, BlobLength, riid, ppPipelineLibrary); -#endif } /// @@ -19955,11 +17823,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(8)] public HResult SetEventOnMultipleFenceCompletion(ID3D12Fence* ppFences, ulong* pFenceValues, uint NumFences, MultipleFenceWaitFlags Flags, IntPtr hEvent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12Device4*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12Device4*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent); -#endif } /// @@ -19967,11 +17831,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(9)] public HResult SetResidencyPriority(uint NumObjects, ID3D12Pageable* ppObjects, ResidencyPriority* pPriorities) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D12Device4*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12Device4*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities); -#endif } /// @@ -19979,11 +17839,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(10)] public uint GetNodeCount() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D12Device4*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12Device4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -19991,11 +17847,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(11)] public HResult CreateCommandQueue(CommandQueueDescription* pDesc, Guid* riid, void** ppCommandQueue) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDesc, riid, ppCommandQueue); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDesc, riid, ppCommandQueue); -#endif } /// @@ -20003,11 +17855,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(12)] public HResult CreateCommandAllocator(CommandListType type, Guid* riid, void** ppCommandAllocator) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D12Device4*)Unsafe.AsPointer(ref this), type, riid, ppCommandAllocator); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D12Device4*)Unsafe.AsPointer(ref this), type, riid, ppCommandAllocator); -#endif } /// @@ -20015,11 +17863,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(13)] public HResult CreateGraphicsPipelineState(GraphicsPipelineStateDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } /// @@ -20027,11 +17871,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(14)] public HResult CreateComputePipelineState(ComputePipelineStateDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } /// @@ -20039,11 +17879,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(15)] public HResult CreateCommandList(uint nodeMask, CommandListType type, ID3D12CommandAllocator* pCommandAllocator, ID3D12PipelineState* pInitialState, Guid* riid, void** ppCommandList) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((ID3D12Device4*)Unsafe.AsPointer(ref this), nodeMask, type, pCommandAllocator, pInitialState, riid, ppCommandList); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D12Device4*)Unsafe.AsPointer(ref this), nodeMask, type, pCommandAllocator, pInitialState, riid, ppCommandList); -#endif } /// @@ -20051,11 +17887,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(16)] public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, uint FeatureSupportDataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((ID3D12Device4*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D12Device4*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#endif } /// @@ -20063,11 +17895,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(17)] public HResult CreateDescriptorHeap(DescriptorHeapDescription* pDescriptorHeapDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDescriptorHeapDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDescriptorHeapDesc, riid, ppvHeap); -#endif } /// @@ -20075,11 +17903,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(18)] public uint GetDescriptorHandleIncrementSize(DescriptorHeapType DescriptorHeapType) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((ID3D12Device4*)Unsafe.AsPointer(ref this), DescriptorHeapType); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D12Device4*)Unsafe.AsPointer(ref this), DescriptorHeapType); -#endif } /// @@ -20087,11 +17911,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(19)] public HResult CreateRootSignature(uint nodeMask, void* pBlobWithRootSignature, nuint blobLengthInBytes, Guid* riid, void** ppvRootSignature) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((ID3D12Device4*)Unsafe.AsPointer(ref this), nodeMask, pBlobWithRootSignature, blobLengthInBytes, riid, ppvRootSignature); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D12Device4*)Unsafe.AsPointer(ref this), nodeMask, pBlobWithRootSignature, blobLengthInBytes, riid, ppvRootSignature); -#endif } /// @@ -20099,11 +17919,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(20)] public void CreateConstantBufferView(ConstantBufferViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[20]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#endif } /// @@ -20111,11 +17927,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(21)] public void CreateShaderResourceView(ID3D12Resource* pResource, ShaderResourceViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[21]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -20123,11 +17935,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(22)] public void CreateUnorderedAccessView(ID3D12Resource* pResource, ID3D12Resource* pCounterResource, UnorderedAccessViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[22]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pResource, pCounterResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pResource, pCounterResource, pDesc, DestDescriptor); -#endif } /// @@ -20135,11 +17943,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(23)] public void CreateRenderTargetView(ID3D12Resource* pResource, RenderTargetViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[23]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -20147,11 +17951,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(24)] public void CreateDepthStencilView(ID3D12Resource* pResource, DepthStencilViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[24]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -20159,11 +17959,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(25)] public void CreateSampler(SamplerDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[25]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#endif } /// @@ -20171,11 +17967,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(26)] public void CopyDescriptors(uint NumDestDescriptorRanges, CpuDescriptorHandle* pDestDescriptorRangeStarts, uint* pDestDescriptorRangeSizes, uint NumSrcDescriptorRanges, CpuDescriptorHandle* pSrcDescriptorRangeStarts, uint* pSrcDescriptorRangeSizes, DescriptorHeapType DescriptorHeapsType) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[26]))((ID3D12Device4*)Unsafe.AsPointer(ref this), NumDestDescriptorRanges, pDestDescriptorRangeStarts, pDestDescriptorRangeSizes, NumSrcDescriptorRanges, pSrcDescriptorRangeStarts, pSrcDescriptorRangeSizes, DescriptorHeapsType); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D12Device4*)Unsafe.AsPointer(ref this), NumDestDescriptorRanges, pDestDescriptorRangeStarts, pDestDescriptorRangeSizes, NumSrcDescriptorRanges, pSrcDescriptorRangeStarts, pSrcDescriptorRangeSizes, DescriptorHeapsType); -#endif } /// @@ -20183,11 +17975,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(27)] public void CopyDescriptorsSimple(uint NumDescriptors, CpuDescriptorHandle* DestDescriptorRangeStart, CpuDescriptorHandle* SrcDescriptorRangeStart, DescriptorHeapType DescriptorHeapsType) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[27]))((ID3D12Device4*)Unsafe.AsPointer(ref this), NumDescriptors, DestDescriptorRangeStart, SrcDescriptorRangeStart, DescriptorHeapsType); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D12Device4*)Unsafe.AsPointer(ref this), NumDescriptors, DestDescriptorRangeStart, SrcDescriptorRangeStart, DescriptorHeapsType); -#endif } /// @@ -20195,11 +17983,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(28)] public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((ID3D12Device4*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D12Device4*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); -#endif } /// @@ -20207,11 +17991,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(29)] public Graphics.Direct3D12.HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[29]))((ID3D12Device4*)Unsafe.AsPointer(ref this), nodeMask, heapType); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D12Device4*)Unsafe.AsPointer(ref this), nodeMask, heapType); -#endif } /// @@ -20219,11 +17999,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(30)] public HResult CreateCommittedResource(HeapProperties* pHeapProperties, HeapFlags HeapFlags, ResourceDescription* pDesc, ResourceStates InitialResourceState, ClearValue* pOptimizedClearValue, Guid* riidResource, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[30]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, riidResource, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, riidResource, ppvResource); -#endif } /// @@ -20231,11 +18007,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(31)] public HResult CreateHeap(HeapDescription* pDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[31]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#endif } /// @@ -20243,11 +18015,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(32)] public HResult CreatePlacedResource(ID3D12Heap* pHeap, ulong HeapOffset, ResourceDescription* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[32]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pHeap, HeapOffset, pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pHeap, HeapOffset, pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#endif } /// @@ -20255,11 +18023,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(33)] public HResult CreateReservedResource(ResourceDescription* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[33]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#endif } /// @@ -20267,11 +18031,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(34)] public HResult CreateSharedHandle(ID3D12DeviceChild* pObject, Security.SECURITY_ATTRIBUTES* pAttributes, uint Access, char** Name, IntPtr* pHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[34]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pObject, pAttributes, Access, Name, pHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pObject, pAttributes, Access, Name, pHandle); -#endif } /// @@ -20279,11 +18039,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(35)] public HResult OpenSharedHandle(IntPtr NTHandle, Guid* riid, void** ppvObj) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[35]))((ID3D12Device4*)Unsafe.AsPointer(ref this), NTHandle, riid, ppvObj); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D12Device4*)Unsafe.AsPointer(ref this), NTHandle, riid, ppvObj); -#endif } /// @@ -20291,11 +18047,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(36)] public HResult OpenSharedHandleByName(char** Name, uint Access, IntPtr* pNTHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[36]))((ID3D12Device4*)Unsafe.AsPointer(ref this), Name, Access, pNTHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D12Device4*)Unsafe.AsPointer(ref this), Name, Access, pNTHandle); -#endif } /// @@ -20303,11 +18055,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(37)] public HResult MakeResident(uint NumObjects, ID3D12Pageable* ppObjects) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[37]))((ID3D12Device4*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D12Device4*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#endif } /// @@ -20315,11 +18063,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(38)] public HResult Evict(uint NumObjects, ID3D12Pageable* ppObjects) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[38]))((ID3D12Device4*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D12Device4*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#endif } /// @@ -20327,11 +18071,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(39)] public HResult CreateFence(ulong InitialValue, FenceFlags Flags, Guid* riid, void** ppFence) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[39]))((ID3D12Device4*)Unsafe.AsPointer(ref this), InitialValue, Flags, riid, ppFence); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D12Device4*)Unsafe.AsPointer(ref this), InitialValue, Flags, riid, ppFence); -#endif } /// @@ -20339,11 +18079,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(40)] public HResult GetDeviceRemovedReason() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[40]))((ID3D12Device4*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D12Device4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -20351,11 +18087,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(41)] public void GetCopyableFootprints(ResourceDescription* pResourceDesc, uint FirstSubresource, uint NumSubresources, ulong BaseOffset, PlacedSubresourceFootprint* pLayouts, uint* pNumRows, ulong* pRowSizeInBytes, ulong* pTotalBytes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[41]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pResourceDesc, FirstSubresource, NumSubresources, BaseOffset, pLayouts, pNumRows, pRowSizeInBytes, pTotalBytes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pResourceDesc, FirstSubresource, NumSubresources, BaseOffset, pLayouts, pNumRows, pRowSizeInBytes, pTotalBytes); -#endif } /// @@ -20363,11 +18095,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(42)] public HResult CreateQueryHeap(QueryHeapDescription* pDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[42]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#endif } /// @@ -20375,11 +18103,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(43)] public HResult SetStablePowerState(Bool32 Enable) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[43]))((ID3D12Device4*)Unsafe.AsPointer(ref this), Enable); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D12Device4*)Unsafe.AsPointer(ref this), Enable); -#endif } /// @@ -20387,11 +18111,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(44)] public HResult CreateCommandSignature(CommandSignatureDescription* pDesc, ID3D12RootSignature* pRootSignature, Guid* riid, void** ppvCommandSignature) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[44]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDesc, pRootSignature, riid, ppvCommandSignature); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDesc, pRootSignature, riid, ppvCommandSignature); -#endif } /// @@ -20399,11 +18119,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(45)] public void GetResourceTiling(ID3D12Resource* pTiledResource, uint* pNumTilesForEntireResource, PackedMipInfo* pPackedMipDesc, TileShape* pStandardTileShapeForNonPackedMips, uint* pNumSubresourceTilings, uint FirstSubresourceTilingToGet, SubresourceTiling* pSubresourceTilingsForNonPackedMips) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[45]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#endif } /// @@ -20411,11 +18127,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(46)] public Luid GetAdapterLuid() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[46]))((ID3D12Device4*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D12Device4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -20423,11 +18135,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(47)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[47]))((ID3D12Device4*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D12Device4*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -20435,11 +18143,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(48)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[48]))((ID3D12Device4*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D12Device4*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -20447,11 +18151,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(49)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[49]))((ID3D12Device4*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D12Device4*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -20459,11 +18159,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(50)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[50]))((ID3D12Device4*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D12Device4*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -20471,11 +18167,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(51)] public HResult CreateCommandList1(uint nodeMask, CommandListType type, CommandListFlags flags, Guid* riid, void** ppCommandList) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[51]))((ID3D12Device4*)Unsafe.AsPointer(ref this), nodeMask, type, flags, riid, ppCommandList); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D12Device4*)Unsafe.AsPointer(ref this), nodeMask, type, flags, riid, ppCommandList); -#endif } /// @@ -20483,11 +18175,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(52)] public HResult CreateProtectedResourceSession(ProtectedResourceSessionDescription* pDesc, Guid* riid, void** ppSession) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[52]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDesc, riid, ppSession); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDesc, riid, ppSession); -#endif } /// @@ -20495,11 +18183,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(53)] public HResult CreateCommittedResource1(HeapProperties* pHeapProperties, HeapFlags HeapFlags, ResourceDescription* pDesc, ResourceStates InitialResourceState, ClearValue* pOptimizedClearValue, ID3D12ProtectedResourceSession* pProtectedSession, Guid* riidResource, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[53]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, pProtectedSession, riidResource, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, pProtectedSession, riidResource, ppvResource); -#endif } /// @@ -20507,11 +18191,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(54)] public HResult CreateHeap1(HeapDescription* pDesc, ID3D12ProtectedResourceSession* pProtectedSession, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[54]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDesc, pProtectedSession, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDesc, pProtectedSession, riid, ppvHeap); -#endif } /// @@ -20519,11 +18199,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(55)] public HResult CreateReservedResource1(ResourceDescription* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, ID3D12ProtectedResourceSession* pProtectedSession, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[55]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, pProtectedSession, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID3D12Device4*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, pProtectedSession, riid, ppvResource); -#endif } /// @@ -20531,16 +18207,9 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [VtblIndex(56)] public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo1(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs, ResourceAllocationInfo1* pResourceAllocationInfo1) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[56]))((ID3D12Device4*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID3D12Device4*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); -#endif } - public interface Interface : ID3D12Device3.Interface - { - } } /// @@ -20548,7 +18217,7 @@ public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface [Guid("e667af9f-cd56-4f46-83ce-032e595d70a8")] [NativeTypeName("struct ID3D12LifetimeOwner : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12LifetimeOwner : ID3D12LifetimeOwner.Interface +public unsafe partial struct ID3D12LifetimeOwner { public static ref readonly Guid IID_ID3D12LifetimeOwner { @@ -20609,16 +18278,9 @@ public unsafe partial struct ID3D12LifetimeOwner : ID3D12LifetimeOwner.Interface [VtblIndex(3)] public void LifetimeStateUpdated(LifetimeState NewState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D12LifetimeOwner*)Unsafe.AsPointer(ref this), NewState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12LifetimeOwner*)Unsafe.AsPointer(ref this), NewState); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -20626,7 +18288,7 @@ public unsafe partial struct ID3D12LifetimeOwner : ID3D12LifetimeOwner.Interface [Guid("f1df64b6-57fd-49cd-8807-c0eb88b45c8f")] [NativeTypeName("struct ID3D12SwapChainAssistant : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12SwapChainAssistant : ID3D12SwapChainAssistant.Interface +public unsafe partial struct ID3D12SwapChainAssistant { public static ref readonly Guid IID_ID3D12SwapChainAssistant { @@ -20687,11 +18349,7 @@ public unsafe partial struct ID3D12SwapChainAssistant : ID3D12SwapChainAssistant [VtblIndex(3)] public Luid GetLUID() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12SwapChainAssistant*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12SwapChainAssistant*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -20699,11 +18357,7 @@ public unsafe partial struct ID3D12SwapChainAssistant : ID3D12SwapChainAssistant [VtblIndex(4)] public HResult GetSwapChainObject(Guid* riid, void** ppv) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12SwapChainAssistant*)Unsafe.AsPointer(ref this), riid, ppv); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12SwapChainAssistant*)Unsafe.AsPointer(ref this), riid, ppv); -#endif } /// @@ -20711,11 +18365,7 @@ public unsafe partial struct ID3D12SwapChainAssistant : ID3D12SwapChainAssistant [VtblIndex(5)] public HResult GetCurrentResourceAndCommandQueue(Guid* riidResource, void** ppvResource, Guid* riidQueue, void** ppvQueue) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12SwapChainAssistant*)Unsafe.AsPointer(ref this), riidResource, ppvResource, riidQueue, ppvQueue); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12SwapChainAssistant*)Unsafe.AsPointer(ref this), riidResource, ppvResource, riidQueue, ppvQueue); -#endif } /// @@ -20723,16 +18373,9 @@ public unsafe partial struct ID3D12SwapChainAssistant : ID3D12SwapChainAssistant [VtblIndex(6)] public HResult InsertImplicitSync() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12SwapChainAssistant*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12SwapChainAssistant*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -20740,7 +18383,7 @@ public unsafe partial struct ID3D12SwapChainAssistant : ID3D12SwapChainAssistant [Guid("3fd03d36-4eb1-424a-a582-494ecb8ba813")] [NativeTypeName("struct ID3D12LifetimeTracker : ID3D12DeviceChild")] [NativeInheritance("ID3D12DeviceChild")] -public unsafe partial struct ID3D12LifetimeTracker : ID3D12LifetimeTracker.Interface +public unsafe partial struct ID3D12LifetimeTracker { public static ref readonly Guid IID_ID3D12LifetimeTracker { @@ -20801,11 +18444,7 @@ public unsafe partial struct ID3D12LifetimeTracker : ID3D12LifetimeTracker.Inter [VtblIndex(3)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12LifetimeTracker*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12LifetimeTracker*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -20813,11 +18452,7 @@ public unsafe partial struct ID3D12LifetimeTracker : ID3D12LifetimeTracker.Inter [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12LifetimeTracker*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12LifetimeTracker*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -20825,11 +18460,7 @@ public unsafe partial struct ID3D12LifetimeTracker : ID3D12LifetimeTracker.Inter [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12LifetimeTracker*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12LifetimeTracker*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -20837,11 +18468,7 @@ public unsafe partial struct ID3D12LifetimeTracker : ID3D12LifetimeTracker.Inter [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12LifetimeTracker*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12LifetimeTracker*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -20849,11 +18476,7 @@ public unsafe partial struct ID3D12LifetimeTracker : ID3D12LifetimeTracker.Inter [VtblIndex(7)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12LifetimeTracker*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12LifetimeTracker*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -20861,16 +18484,9 @@ public unsafe partial struct ID3D12LifetimeTracker : ID3D12LifetimeTracker.Inter [VtblIndex(8)] public HResult DestroyOwnedObject(ID3D12DeviceChild* pObject) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12LifetimeTracker*)Unsafe.AsPointer(ref this), pObject); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12LifetimeTracker*)Unsafe.AsPointer(ref this), pObject); -#endif } - public interface Interface : ID3D12DeviceChild.Interface - { - } } /// @@ -20878,7 +18494,7 @@ public unsafe partial struct ID3D12LifetimeTracker : ID3D12LifetimeTracker.Inter [Guid("47016943-fca8-4594-93ea-af258b55346d")] [NativeTypeName("struct ID3D12StateObject : ID3D12Pageable")] [NativeInheritance("ID3D12Pageable")] -public unsafe partial struct ID3D12StateObject : ID3D12StateObject.Interface +public unsafe partial struct ID3D12StateObject { public static ref readonly Guid IID_ID3D12StateObject { @@ -20939,11 +18555,7 @@ public unsafe partial struct ID3D12StateObject : ID3D12StateObject.Interface [VtblIndex(3)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12StateObject*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12StateObject*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -20951,11 +18563,7 @@ public unsafe partial struct ID3D12StateObject : ID3D12StateObject.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12StateObject*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12StateObject*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -20963,11 +18571,7 @@ public unsafe partial struct ID3D12StateObject : ID3D12StateObject.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12StateObject*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12StateObject*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -20975,11 +18579,7 @@ public unsafe partial struct ID3D12StateObject : ID3D12StateObject.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12StateObject*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12StateObject*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -20987,16 +18587,9 @@ public unsafe partial struct ID3D12StateObject : ID3D12StateObject.Interface [VtblIndex(7)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12StateObject*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12StateObject*)Unsafe.AsPointer(ref this), Name); -#endif } - public interface Interface : ID3D12Pageable.Interface - { - } } /// @@ -21004,7 +18597,7 @@ public unsafe partial struct ID3D12StateObject : ID3D12StateObject.Interface [Guid("de5fa827-9bf9-4f26-89ff-d7f56fde3860")] [NativeTypeName("struct ID3D12StateObjectProperties : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12StateObjectProperties : ID3D12StateObjectProperties.Interface +public unsafe partial struct ID3D12StateObjectProperties { public static ref readonly Guid IID_ID3D12StateObjectProperties { @@ -21065,11 +18658,7 @@ public unsafe partial struct ID3D12StateObjectProperties : ID3D12StateObjectProp [VtblIndex(3)] public void* GetShaderIdentifier(char** pExportName) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12StateObjectProperties*)Unsafe.AsPointer(ref this), pExportName); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12StateObjectProperties*)Unsafe.AsPointer(ref this), pExportName); -#endif } /// @@ -21077,11 +18666,7 @@ public unsafe partial struct ID3D12StateObjectProperties : ID3D12StateObjectProp [VtblIndex(4)] public ulong GetShaderStackSize(char** pExportName) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12StateObjectProperties*)Unsafe.AsPointer(ref this), pExportName); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12StateObjectProperties*)Unsafe.AsPointer(ref this), pExportName); -#endif } /// @@ -21089,11 +18674,7 @@ public unsafe partial struct ID3D12StateObjectProperties : ID3D12StateObjectProp [VtblIndex(5)] public ulong GetPipelineStackSize() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12StateObjectProperties*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12StateObjectProperties*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -21101,16 +18682,9 @@ public unsafe partial struct ID3D12StateObjectProperties : ID3D12StateObjectProp [VtblIndex(6)] public void SetPipelineStackSize(ulong PipelineStackSizeInBytes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[6]))((ID3D12StateObjectProperties*)Unsafe.AsPointer(ref this), PipelineStackSizeInBytes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12StateObjectProperties*)Unsafe.AsPointer(ref this), PipelineStackSizeInBytes); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -21118,7 +18692,7 @@ public unsafe partial struct ID3D12StateObjectProperties : ID3D12StateObjectProp [Guid("8b4f173b-2fea-4b80-8f58-4307191ab95d")] [NativeTypeName("struct ID3D12Device5 : ID3D12Device4")] [NativeInheritance("ID3D12Device4")] -public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface +public unsafe partial struct ID3D12Device5 { public static ref readonly Guid IID_ID3D12Device5 { @@ -21179,11 +18753,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(3)] public HResult CreateCommandList1(uint nodeMask, CommandListType type, CommandListFlags flags, Guid* riid, void** ppCommandList) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12Device5*)Unsafe.AsPointer(ref this), nodeMask, type, flags, riid, ppCommandList); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Device5*)Unsafe.AsPointer(ref this), nodeMask, type, flags, riid, ppCommandList); -#endif } /// @@ -21191,11 +18761,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(4)] public HResult CreateProtectedResourceSession(ProtectedResourceSessionDescription* pDesc, Guid* riid, void** ppSession) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, riid, ppSession); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, riid, ppSession); -#endif } /// @@ -21203,11 +18769,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(5)] public HResult CreateCommittedResource1(HeapProperties* pHeapProperties, HeapFlags HeapFlags, ResourceDescription* pDesc, ResourceStates InitialResourceState, ClearValue* pOptimizedClearValue, ID3D12ProtectedResourceSession* pProtectedSession, Guid* riidResource, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, pProtectedSession, riidResource, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, pProtectedSession, riidResource, ppvResource); -#endif } /// @@ -21215,11 +18777,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(6)] public HResult CreateHeap1(HeapDescription* pDesc, ID3D12ProtectedResourceSession* pProtectedSession, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, pProtectedSession, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, pProtectedSession, riid, ppvHeap); -#endif } /// @@ -21227,11 +18785,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(7)] public HResult CreateReservedResource1(ResourceDescription* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, ID3D12ProtectedResourceSession* pProtectedSession, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, pProtectedSession, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, pProtectedSession, riid, ppvResource); -#endif } /// @@ -21239,11 +18793,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(8)] public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo1(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs, ResourceAllocationInfo1* pResourceAllocationInfo1) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12Device5*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12Device5*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); -#endif } /// @@ -21251,11 +18801,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(9)] public HResult OpenExistingHeapFromAddress(void* pAddress, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pAddress, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pAddress, riid, ppvHeap); -#endif } /// @@ -21263,11 +18809,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(10)] public HResult OpenExistingHeapFromFileMapping(IntPtr hFileMapping, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D12Device5*)Unsafe.AsPointer(ref this), hFileMapping, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12Device5*)Unsafe.AsPointer(ref this), hFileMapping, riid, ppvHeap); -#endif } /// @@ -21275,11 +18817,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(11)] public HResult EnqueueMakeResident(ResidencyFlags Flags, uint NumObjects, ID3D12Pageable* ppObjects, ID3D12Fence* pFenceToSignal, ulong FenceValueToSignal) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D12Device5*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12Device5*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal); -#endif } /// @@ -21287,11 +18825,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(12)] public HResult CreatePipelineState(PipelineStateStreamDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } /// @@ -21299,11 +18833,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(13)] public HResult CreatePipelineLibrary(void* pLibraryBlob, nuint BlobLength, Guid* riid, void** ppPipelineLibrary) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pLibraryBlob, BlobLength, riid, ppPipelineLibrary); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pLibraryBlob, BlobLength, riid, ppPipelineLibrary); -#endif } /// @@ -21311,11 +18841,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(14)] public HResult SetEventOnMultipleFenceCompletion(ID3D12Fence* ppFences, ulong* pFenceValues, uint NumFences, MultipleFenceWaitFlags Flags, IntPtr hEvent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((ID3D12Device5*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D12Device5*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent); -#endif } /// @@ -21323,11 +18849,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(15)] public HResult SetResidencyPriority(uint NumObjects, ID3D12Pageable* ppObjects, ResidencyPriority* pPriorities) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((ID3D12Device5*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D12Device5*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities); -#endif } /// @@ -21335,11 +18857,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(16)] public uint GetNodeCount() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((ID3D12Device5*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D12Device5*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -21347,11 +18865,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(17)] public HResult CreateCommandQueue(CommandQueueDescription* pDesc, Guid* riid, void** ppCommandQueue) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, riid, ppCommandQueue); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, riid, ppCommandQueue); -#endif } /// @@ -21359,11 +18873,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(18)] public HResult CreateCommandAllocator(CommandListType type, Guid* riid, void** ppCommandAllocator) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((ID3D12Device5*)Unsafe.AsPointer(ref this), type, riid, ppCommandAllocator); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D12Device5*)Unsafe.AsPointer(ref this), type, riid, ppCommandAllocator); -#endif } /// @@ -21371,11 +18881,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(19)] public HResult CreateGraphicsPipelineState(GraphicsPipelineStateDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } /// @@ -21383,11 +18889,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(20)] public HResult CreateComputePipelineState(ComputePipelineStateDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } /// @@ -21395,11 +18897,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(21)] public HResult CreateCommandList(uint nodeMask, CommandListType type, ID3D12CommandAllocator* pCommandAllocator, ID3D12PipelineState* pInitialState, Guid* riid, void** ppCommandList) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((ID3D12Device5*)Unsafe.AsPointer(ref this), nodeMask, type, pCommandAllocator, pInitialState, riid, ppCommandList); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D12Device5*)Unsafe.AsPointer(ref this), nodeMask, type, pCommandAllocator, pInitialState, riid, ppCommandList); -#endif } /// @@ -21407,11 +18905,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(22)] public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, uint FeatureSupportDataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((ID3D12Device5*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D12Device5*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#endif } /// @@ -21419,11 +18913,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(23)] public HResult CreateDescriptorHeap(DescriptorHeapDescription* pDescriptorHeapDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDescriptorHeapDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDescriptorHeapDesc, riid, ppvHeap); -#endif } /// @@ -21431,11 +18921,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(24)] public uint GetDescriptorHandleIncrementSize(DescriptorHeapType DescriptorHeapType) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((ID3D12Device5*)Unsafe.AsPointer(ref this), DescriptorHeapType); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D12Device5*)Unsafe.AsPointer(ref this), DescriptorHeapType); -#endif } /// @@ -21443,11 +18929,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(25)] public HResult CreateRootSignature(uint nodeMask, void* pBlobWithRootSignature, nuint blobLengthInBytes, Guid* riid, void** ppvRootSignature) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((ID3D12Device5*)Unsafe.AsPointer(ref this), nodeMask, pBlobWithRootSignature, blobLengthInBytes, riid, ppvRootSignature); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D12Device5*)Unsafe.AsPointer(ref this), nodeMask, pBlobWithRootSignature, blobLengthInBytes, riid, ppvRootSignature); -#endif } /// @@ -21455,11 +18937,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(26)] public void CreateConstantBufferView(ConstantBufferViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[26]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#endif } /// @@ -21467,11 +18945,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(27)] public void CreateShaderResourceView(ID3D12Resource* pResource, ShaderResourceViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[27]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -21479,11 +18953,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(28)] public void CreateUnorderedAccessView(ID3D12Resource* pResource, ID3D12Resource* pCounterResource, UnorderedAccessViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[28]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pResource, pCounterResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pResource, pCounterResource, pDesc, DestDescriptor); -#endif } /// @@ -21491,11 +18961,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(29)] public void CreateRenderTargetView(ID3D12Resource* pResource, RenderTargetViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[29]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -21503,11 +18969,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(30)] public void CreateDepthStencilView(ID3D12Resource* pResource, DepthStencilViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[30]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -21515,11 +18977,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(31)] public void CreateSampler(SamplerDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[31]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#endif } /// @@ -21527,11 +18985,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(32)] public void CopyDescriptors(uint NumDestDescriptorRanges, CpuDescriptorHandle* pDestDescriptorRangeStarts, uint* pDestDescriptorRangeSizes, uint NumSrcDescriptorRanges, CpuDescriptorHandle* pSrcDescriptorRangeStarts, uint* pSrcDescriptorRangeSizes, DescriptorHeapType DescriptorHeapsType) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[32]))((ID3D12Device5*)Unsafe.AsPointer(ref this), NumDestDescriptorRanges, pDestDescriptorRangeStarts, pDestDescriptorRangeSizes, NumSrcDescriptorRanges, pSrcDescriptorRangeStarts, pSrcDescriptorRangeSizes, DescriptorHeapsType); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D12Device5*)Unsafe.AsPointer(ref this), NumDestDescriptorRanges, pDestDescriptorRangeStarts, pDestDescriptorRangeSizes, NumSrcDescriptorRanges, pSrcDescriptorRangeStarts, pSrcDescriptorRangeSizes, DescriptorHeapsType); -#endif } /// @@ -21539,11 +18993,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(33)] public void CopyDescriptorsSimple(uint NumDescriptors, CpuDescriptorHandle* DestDescriptorRangeStart, CpuDescriptorHandle* SrcDescriptorRangeStart, DescriptorHeapType DescriptorHeapsType) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[33]))((ID3D12Device5*)Unsafe.AsPointer(ref this), NumDescriptors, DestDescriptorRangeStart, SrcDescriptorRangeStart, DescriptorHeapsType); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D12Device5*)Unsafe.AsPointer(ref this), NumDescriptors, DestDescriptorRangeStart, SrcDescriptorRangeStart, DescriptorHeapsType); -#endif } /// @@ -21551,11 +19001,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(34)] public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[34]))((ID3D12Device5*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D12Device5*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); -#endif } /// @@ -21563,11 +19009,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(35)] public Graphics.Direct3D12.HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[35]))((ID3D12Device5*)Unsafe.AsPointer(ref this), nodeMask, heapType); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D12Device5*)Unsafe.AsPointer(ref this), nodeMask, heapType); -#endif } /// @@ -21575,11 +19017,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(36)] public HResult CreateCommittedResource(HeapProperties* pHeapProperties, HeapFlags HeapFlags, ResourceDescription* pDesc, ResourceStates InitialResourceState, ClearValue* pOptimizedClearValue, Guid* riidResource, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[36]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, riidResource, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, riidResource, ppvResource); -#endif } /// @@ -21587,11 +19025,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(37)] public HResult CreateHeap(HeapDescription* pDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[37]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#endif } /// @@ -21599,11 +19033,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(38)] public HResult CreatePlacedResource(ID3D12Heap* pHeap, ulong HeapOffset, ResourceDescription* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[38]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pHeap, HeapOffset, pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pHeap, HeapOffset, pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#endif } /// @@ -21611,11 +19041,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(39)] public HResult CreateReservedResource(ResourceDescription* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[39]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#endif } /// @@ -21623,11 +19049,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(40)] public HResult CreateSharedHandle(ID3D12DeviceChild* pObject, Security.SECURITY_ATTRIBUTES* pAttributes, uint Access, char** Name, IntPtr* pHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[40]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pObject, pAttributes, Access, Name, pHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pObject, pAttributes, Access, Name, pHandle); -#endif } /// @@ -21635,11 +19057,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(41)] public HResult OpenSharedHandle(IntPtr NTHandle, Guid* riid, void** ppvObj) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[41]))((ID3D12Device5*)Unsafe.AsPointer(ref this), NTHandle, riid, ppvObj); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D12Device5*)Unsafe.AsPointer(ref this), NTHandle, riid, ppvObj); -#endif } /// @@ -21647,11 +19065,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(42)] public HResult OpenSharedHandleByName(char** Name, uint Access, IntPtr* pNTHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[42]))((ID3D12Device5*)Unsafe.AsPointer(ref this), Name, Access, pNTHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D12Device5*)Unsafe.AsPointer(ref this), Name, Access, pNTHandle); -#endif } /// @@ -21659,11 +19073,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(43)] public HResult MakeResident(uint NumObjects, ID3D12Pageable* ppObjects) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[43]))((ID3D12Device5*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D12Device5*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#endif } /// @@ -21671,11 +19081,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(44)] public HResult Evict(uint NumObjects, ID3D12Pageable* ppObjects) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[44]))((ID3D12Device5*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D12Device5*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#endif } /// @@ -21683,11 +19089,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(45)] public HResult CreateFence(ulong InitialValue, FenceFlags Flags, Guid* riid, void** ppFence) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[45]))((ID3D12Device5*)Unsafe.AsPointer(ref this), InitialValue, Flags, riid, ppFence); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D12Device5*)Unsafe.AsPointer(ref this), InitialValue, Flags, riid, ppFence); -#endif } /// @@ -21695,11 +19097,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(46)] public HResult GetDeviceRemovedReason() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[46]))((ID3D12Device5*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D12Device5*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -21707,11 +19105,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(47)] public void GetCopyableFootprints(ResourceDescription* pResourceDesc, uint FirstSubresource, uint NumSubresources, ulong BaseOffset, PlacedSubresourceFootprint* pLayouts, uint* pNumRows, ulong* pRowSizeInBytes, ulong* pTotalBytes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[47]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pResourceDesc, FirstSubresource, NumSubresources, BaseOffset, pLayouts, pNumRows, pRowSizeInBytes, pTotalBytes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pResourceDesc, FirstSubresource, NumSubresources, BaseOffset, pLayouts, pNumRows, pRowSizeInBytes, pTotalBytes); -#endif } /// @@ -21719,11 +19113,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(48)] public HResult CreateQueryHeap(QueryHeapDescription* pDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[48]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#endif } /// @@ -21731,11 +19121,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(49)] public HResult SetStablePowerState(Bool32 Enable) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[49]))((ID3D12Device5*)Unsafe.AsPointer(ref this), Enable); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D12Device5*)Unsafe.AsPointer(ref this), Enable); -#endif } /// @@ -21743,11 +19129,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(50)] public HResult CreateCommandSignature(CommandSignatureDescription* pDesc, ID3D12RootSignature* pRootSignature, Guid* riid, void** ppvCommandSignature) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[50]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, pRootSignature, riid, ppvCommandSignature); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, pRootSignature, riid, ppvCommandSignature); -#endif } /// @@ -21755,11 +19137,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(51)] public void GetResourceTiling(ID3D12Resource* pTiledResource, uint* pNumTilesForEntireResource, PackedMipInfo* pPackedMipDesc, TileShape* pStandardTileShapeForNonPackedMips, uint* pNumSubresourceTilings, uint FirstSubresourceTilingToGet, SubresourceTiling* pSubresourceTilingsForNonPackedMips) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[51]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#endif } /// @@ -21767,11 +19145,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(52)] public Luid GetAdapterLuid() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[52]))((ID3D12Device5*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D12Device5*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -21779,11 +19153,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(53)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[53]))((ID3D12Device5*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID3D12Device5*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -21791,11 +19161,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(54)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[54]))((ID3D12Device5*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D12Device5*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -21803,11 +19169,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(55)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[55]))((ID3D12Device5*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID3D12Device5*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -21815,11 +19177,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(56)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[56]))((ID3D12Device5*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID3D12Device5*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -21827,11 +19185,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(57)] public HResult CreateLifetimeTracker(ID3D12LifetimeOwner* pOwner, Guid* riid, void** ppvTracker) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[57]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pOwner, riid, ppvTracker); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pOwner, riid, ppvTracker); -#endif } /// @@ -21839,11 +19193,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(58)] public void RemoveDevice() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[58]))((ID3D12Device5*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D12Device5*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -21851,11 +19201,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(59)] public HResult EnumerateMetaCommands(uint* pNumMetaCommands, MetaCommandDescription* pDescs) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[59]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pNumMetaCommands, pDescs); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pNumMetaCommands, pDescs); -#endif } /// @@ -21863,11 +19209,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(60)] public HResult EnumerateMetaCommandParameters(Guid* CommandId, MetaCommandParameterStage Stage, uint* pTotalStructureSizeInBytes, uint* pParameterCount, MetaCommandParameterDescription* pParameterDescs) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[60]))((ID3D12Device5*)Unsafe.AsPointer(ref this), CommandId, Stage, pTotalStructureSizeInBytes, pParameterCount, pParameterDescs); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((ID3D12Device5*)Unsafe.AsPointer(ref this), CommandId, Stage, pTotalStructureSizeInBytes, pParameterCount, pParameterDescs); -#endif } /// @@ -21875,11 +19217,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(61)] public HResult CreateMetaCommand(Guid* CommandId, uint NodeMask, void* pCreationParametersData, nuint CreationParametersDataSizeInBytes, Guid* riid, void** ppMetaCommand) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[61]))((ID3D12Device5*)Unsafe.AsPointer(ref this), CommandId, NodeMask, pCreationParametersData, CreationParametersDataSizeInBytes, riid, ppMetaCommand); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((ID3D12Device5*)Unsafe.AsPointer(ref this), CommandId, NodeMask, pCreationParametersData, CreationParametersDataSizeInBytes, riid, ppMetaCommand); -#endif } /// @@ -21887,11 +19225,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(62)] public HResult CreateStateObject(StateObjectDescription* pDesc, Guid* riid, void** ppStateObject) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[62]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, riid, ppStateObject); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, riid, ppStateObject); -#endif } /// @@ -21899,11 +19233,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(63)] public void GetRaytracingAccelerationStructurePrebuildInfo(BuildRaytracingAccelerationStructureInputs* pDesc, RaytracingAccelerationStructurePrebuildInfo* pInfo) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[63]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, pInfo); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((ID3D12Device5*)Unsafe.AsPointer(ref this), pDesc, pInfo); -#endif } /// @@ -21911,16 +19241,9 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [VtblIndex(64)] public Graphics.Direct3D12.DriverMatchingIdentifierStatus CheckDriverMatchingIdentifier(SerializedDataType SerializedDataType, SerializedDataDriverMatchingIdentifier* pIdentifierToCheck) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[64]))((ID3D12Device5*)Unsafe.AsPointer(ref this), SerializedDataType, pIdentifierToCheck); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((ID3D12Device5*)Unsafe.AsPointer(ref this), SerializedDataType, pIdentifierToCheck); -#endif } - public interface Interface : ID3D12Device4.Interface - { - } } /// @@ -21928,7 +19251,7 @@ public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface [Guid("82bc481c-6b9b-4030-aedb-7ee3d1df1e63")] [NativeTypeName("struct ID3D12DeviceRemovedExtendedDataSettings : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12DeviceRemovedExtendedDataSettings : ID3D12DeviceRemovedExtendedDataSettings.Interface +public unsafe partial struct ID3D12DeviceRemovedExtendedDataSettings { public static ref readonly Guid IID_ID3D12DeviceRemovedExtendedDataSettings { @@ -21989,11 +19312,7 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedDataSettings : ID3D12Dev [VtblIndex(3)] public void SetAutoBreadcrumbsEnablement(DredEnablement Enablement) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D12DeviceRemovedExtendedDataSettings*)Unsafe.AsPointer(ref this), Enablement); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12DeviceRemovedExtendedDataSettings*)Unsafe.AsPointer(ref this), Enablement); -#endif } /// @@ -22001,11 +19320,7 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedDataSettings : ID3D12Dev [VtblIndex(4)] public void SetPageFaultEnablement(DredEnablement Enablement) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D12DeviceRemovedExtendedDataSettings*)Unsafe.AsPointer(ref this), Enablement); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12DeviceRemovedExtendedDataSettings*)Unsafe.AsPointer(ref this), Enablement); -#endif } /// @@ -22013,16 +19328,9 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedDataSettings : ID3D12Dev [VtblIndex(5)] public void SetWatsonDumpEnablement(DredEnablement Enablement) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D12DeviceRemovedExtendedDataSettings*)Unsafe.AsPointer(ref this), Enablement); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12DeviceRemovedExtendedDataSettings*)Unsafe.AsPointer(ref this), Enablement); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -22030,7 +19338,7 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedDataSettings : ID3D12Dev [Guid("dbd5ae51-3317-4f0a-adf9-1d7cedcaae0b")] [NativeTypeName("struct ID3D12DeviceRemovedExtendedDataSettings1 : ID3D12DeviceRemovedExtendedDataSettings")] [NativeInheritance("ID3D12DeviceRemovedExtendedDataSettings")] -public unsafe partial struct ID3D12DeviceRemovedExtendedDataSettings1 : ID3D12DeviceRemovedExtendedDataSettings1.Interface +public unsafe partial struct ID3D12DeviceRemovedExtendedDataSettings1 { public static ref readonly Guid IID_ID3D12DeviceRemovedExtendedDataSettings1 { @@ -22091,11 +19399,7 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedDataSettings1 : ID3D12De [VtblIndex(3)] public void SetAutoBreadcrumbsEnablement(DredEnablement Enablement) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D12DeviceRemovedExtendedDataSettings1*)Unsafe.AsPointer(ref this), Enablement); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12DeviceRemovedExtendedDataSettings1*)Unsafe.AsPointer(ref this), Enablement); -#endif } /// @@ -22103,11 +19407,7 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedDataSettings1 : ID3D12De [VtblIndex(4)] public void SetPageFaultEnablement(DredEnablement Enablement) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D12DeviceRemovedExtendedDataSettings1*)Unsafe.AsPointer(ref this), Enablement); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12DeviceRemovedExtendedDataSettings1*)Unsafe.AsPointer(ref this), Enablement); -#endif } /// @@ -22115,11 +19415,7 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedDataSettings1 : ID3D12De [VtblIndex(5)] public void SetWatsonDumpEnablement(DredEnablement Enablement) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D12DeviceRemovedExtendedDataSettings1*)Unsafe.AsPointer(ref this), Enablement); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12DeviceRemovedExtendedDataSettings1*)Unsafe.AsPointer(ref this), Enablement); -#endif } /// @@ -22127,16 +19423,9 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedDataSettings1 : ID3D12De [VtblIndex(6)] public void SetBreadcrumbContextEnablement(DredEnablement Enablement) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[6]))((ID3D12DeviceRemovedExtendedDataSettings1*)Unsafe.AsPointer(ref this), Enablement); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12DeviceRemovedExtendedDataSettings1*)Unsafe.AsPointer(ref this), Enablement); -#endif } - public interface Interface : ID3D12DeviceRemovedExtendedDataSettings.Interface - { - } } /// @@ -22144,7 +19433,7 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedDataSettings1 : ID3D12De [Guid("98931d33-5ae8-4791-aa3c-1a73a2934e71")] [NativeTypeName("struct ID3D12DeviceRemovedExtendedData : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12DeviceRemovedExtendedData : ID3D12DeviceRemovedExtendedData.Interface +public unsafe partial struct ID3D12DeviceRemovedExtendedData { public static ref readonly Guid IID_ID3D12DeviceRemovedExtendedData { @@ -22205,11 +19494,7 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedData : ID3D12DeviceRemov [VtblIndex(3)] public HResult GetAutoBreadcrumbsOutput(DredAutoBreadcrumbsOutput* pOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12DeviceRemovedExtendedData*)Unsafe.AsPointer(ref this), pOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12DeviceRemovedExtendedData*)Unsafe.AsPointer(ref this), pOutput); -#endif } /// @@ -22217,16 +19502,9 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedData : ID3D12DeviceRemov [VtblIndex(4)] public HResult GetPageFaultAllocationOutput(DredPageFaultOutput* pOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12DeviceRemovedExtendedData*)Unsafe.AsPointer(ref this), pOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12DeviceRemovedExtendedData*)Unsafe.AsPointer(ref this), pOutput); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -22234,7 +19512,7 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedData : ID3D12DeviceRemov [Guid("9727a022-cf1d-4dda-9eba-effa653fc506")] [NativeTypeName("struct ID3D12DeviceRemovedExtendedData1 : ID3D12DeviceRemovedExtendedData")] [NativeInheritance("ID3D12DeviceRemovedExtendedData")] -public unsafe partial struct ID3D12DeviceRemovedExtendedData1 : ID3D12DeviceRemovedExtendedData1.Interface +public unsafe partial struct ID3D12DeviceRemovedExtendedData1 { public static ref readonly Guid IID_ID3D12DeviceRemovedExtendedData1 { @@ -22295,11 +19573,7 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedData1 : ID3D12DeviceRemo [VtblIndex(3)] public HResult GetAutoBreadcrumbsOutput(DredAutoBreadcrumbsOutput* pOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12DeviceRemovedExtendedData1*)Unsafe.AsPointer(ref this), pOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12DeviceRemovedExtendedData1*)Unsafe.AsPointer(ref this), pOutput); -#endif } /// @@ -22307,11 +19581,7 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedData1 : ID3D12DeviceRemo [VtblIndex(4)] public HResult GetPageFaultAllocationOutput(DredPageFaultOutput* pOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12DeviceRemovedExtendedData1*)Unsafe.AsPointer(ref this), pOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12DeviceRemovedExtendedData1*)Unsafe.AsPointer(ref this), pOutput); -#endif } /// @@ -22319,11 +19589,7 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedData1 : ID3D12DeviceRemo [VtblIndex(5)] public HResult GetAutoBreadcrumbsOutput1(DredAutoBreadcrumbsOutput1* pOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12DeviceRemovedExtendedData1*)Unsafe.AsPointer(ref this), pOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12DeviceRemovedExtendedData1*)Unsafe.AsPointer(ref this), pOutput); -#endif } /// @@ -22331,16 +19597,9 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedData1 : ID3D12DeviceRemo [VtblIndex(6)] public HResult GetPageFaultAllocationOutput1(DredPageFaultOutput1* pOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12DeviceRemovedExtendedData1*)Unsafe.AsPointer(ref this), pOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12DeviceRemovedExtendedData1*)Unsafe.AsPointer(ref this), pOutput); -#endif } - public interface Interface : ID3D12DeviceRemovedExtendedData.Interface - { - } } /// @@ -22348,7 +19607,7 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedData1 : ID3D12DeviceRemo [Guid("67fc5816-e4ca-4915-bf18-42541272da54")] [NativeTypeName("struct ID3D12DeviceRemovedExtendedData2 : ID3D12DeviceRemovedExtendedData1")] [NativeInheritance("ID3D12DeviceRemovedExtendedData1")] -public unsafe partial struct ID3D12DeviceRemovedExtendedData2 : ID3D12DeviceRemovedExtendedData2.Interface +public unsafe partial struct ID3D12DeviceRemovedExtendedData2 { public static ref readonly Guid IID_ID3D12DeviceRemovedExtendedData2 { @@ -22409,11 +19668,7 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedData2 : ID3D12DeviceRemo [VtblIndex(3)] public HResult GetAutoBreadcrumbsOutput1(DredAutoBreadcrumbsOutput1* pOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12DeviceRemovedExtendedData2*)Unsafe.AsPointer(ref this), pOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12DeviceRemovedExtendedData2*)Unsafe.AsPointer(ref this), pOutput); -#endif } /// @@ -22421,11 +19676,7 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedData2 : ID3D12DeviceRemo [VtblIndex(4)] public HResult GetPageFaultAllocationOutput1(DredPageFaultOutput1* pOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12DeviceRemovedExtendedData2*)Unsafe.AsPointer(ref this), pOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12DeviceRemovedExtendedData2*)Unsafe.AsPointer(ref this), pOutput); -#endif } /// @@ -22433,11 +19684,7 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedData2 : ID3D12DeviceRemo [VtblIndex(5)] public HResult GetAutoBreadcrumbsOutput(DredAutoBreadcrumbsOutput* pOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12DeviceRemovedExtendedData2*)Unsafe.AsPointer(ref this), pOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12DeviceRemovedExtendedData2*)Unsafe.AsPointer(ref this), pOutput); -#endif } /// @@ -22445,11 +19692,7 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedData2 : ID3D12DeviceRemo [VtblIndex(6)] public HResult GetPageFaultAllocationOutput(DredPageFaultOutput* pOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12DeviceRemovedExtendedData2*)Unsafe.AsPointer(ref this), pOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12DeviceRemovedExtendedData2*)Unsafe.AsPointer(ref this), pOutput); -#endif } /// @@ -22457,11 +19700,7 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedData2 : ID3D12DeviceRemo [VtblIndex(7)] public HResult GetPageFaultAllocationOutput2(DredPageFaultOutput2* pOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12DeviceRemovedExtendedData2*)Unsafe.AsPointer(ref this), pOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12DeviceRemovedExtendedData2*)Unsafe.AsPointer(ref this), pOutput); -#endif } /// @@ -22469,16 +19708,9 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedData2 : ID3D12DeviceRemo [VtblIndex(8)] public Graphics.Direct3D12.DredDeviceState GetDeviceState() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12DeviceRemovedExtendedData2*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12DeviceRemovedExtendedData2*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : ID3D12DeviceRemovedExtendedData1.Interface - { - } } /// @@ -22486,7 +19718,7 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedData2 : ID3D12DeviceRemo [Guid("c70b221b-40e4-4a17-89af-025a0727a6dc")] [NativeTypeName("struct ID3D12Device6 : ID3D12Device5")] [NativeInheritance("ID3D12Device5")] -public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface +public unsafe partial struct ID3D12Device6 { public static ref readonly Guid IID_ID3D12Device6 { @@ -22547,11 +19779,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(3)] public HResult CreateLifetimeTracker(ID3D12LifetimeOwner* pOwner, Guid* riid, void** ppvTracker) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pOwner, riid, ppvTracker); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pOwner, riid, ppvTracker); -#endif } /// @@ -22559,11 +19787,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(4)] public void RemoveDevice() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D12Device6*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12Device6*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -22571,11 +19795,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(5)] public HResult EnumerateMetaCommands(uint* pNumMetaCommands, MetaCommandDescription* pDescs) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pNumMetaCommands, pDescs); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pNumMetaCommands, pDescs); -#endif } /// @@ -22583,11 +19803,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(6)] public HResult EnumerateMetaCommandParameters(Guid* CommandId, MetaCommandParameterStage Stage, uint* pTotalStructureSizeInBytes, uint* pParameterCount, MetaCommandParameterDescription* pParameterDescs) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12Device6*)Unsafe.AsPointer(ref this), CommandId, Stage, pTotalStructureSizeInBytes, pParameterCount, pParameterDescs); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12Device6*)Unsafe.AsPointer(ref this), CommandId, Stage, pTotalStructureSizeInBytes, pParameterCount, pParameterDescs); -#endif } /// @@ -22595,11 +19811,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(7)] public HResult CreateMetaCommand(Guid* CommandId, uint NodeMask, void* pCreationParametersData, nuint CreationParametersDataSizeInBytes, Guid* riid, void** ppMetaCommand) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Device6*)Unsafe.AsPointer(ref this), CommandId, NodeMask, pCreationParametersData, CreationParametersDataSizeInBytes, riid, ppMetaCommand); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12Device6*)Unsafe.AsPointer(ref this), CommandId, NodeMask, pCreationParametersData, CreationParametersDataSizeInBytes, riid, ppMetaCommand); -#endif } /// @@ -22607,11 +19819,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(8)] public HResult CreateStateObject(StateObjectDescription* pDesc, Guid* riid, void** ppStateObject) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, riid, ppStateObject); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, riid, ppStateObject); -#endif } /// @@ -22619,11 +19827,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(9)] public void GetRaytracingAccelerationStructurePrebuildInfo(BuildRaytracingAccelerationStructureInputs* pDesc, RaytracingAccelerationStructurePrebuildInfo* pInfo) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[9]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, pInfo); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, pInfo); -#endif } /// @@ -22631,11 +19835,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(10)] public Graphics.Direct3D12.DriverMatchingIdentifierStatus CheckDriverMatchingIdentifier(SerializedDataType SerializedDataType, SerializedDataDriverMatchingIdentifier* pIdentifierToCheck) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D12Device6*)Unsafe.AsPointer(ref this), SerializedDataType, pIdentifierToCheck); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12Device6*)Unsafe.AsPointer(ref this), SerializedDataType, pIdentifierToCheck); -#endif } /// @@ -22643,11 +19843,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(11)] public HResult CreateCommandList1(uint nodeMask, CommandListType type, CommandListFlags flags, Guid* riid, void** ppCommandList) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D12Device6*)Unsafe.AsPointer(ref this), nodeMask, type, flags, riid, ppCommandList); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12Device6*)Unsafe.AsPointer(ref this), nodeMask, type, flags, riid, ppCommandList); -#endif } /// @@ -22655,11 +19851,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(12)] public HResult CreateProtectedResourceSession(ProtectedResourceSessionDescription* pDesc, Guid* riid, void** ppSession) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, riid, ppSession); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, riid, ppSession); -#endif } /// @@ -22667,11 +19859,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(13)] public HResult CreateCommittedResource1(HeapProperties* pHeapProperties, HeapFlags HeapFlags, ResourceDescription* pDesc, ResourceStates InitialResourceState, ClearValue* pOptimizedClearValue, ID3D12ProtectedResourceSession* pProtectedSession, Guid* riidResource, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, pProtectedSession, riidResource, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, pProtectedSession, riidResource, ppvResource); -#endif } /// @@ -22679,11 +19867,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(14)] public HResult CreateHeap1(HeapDescription* pDesc, ID3D12ProtectedResourceSession* pProtectedSession, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, pProtectedSession, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, pProtectedSession, riid, ppvHeap); -#endif } /// @@ -22691,11 +19875,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(15)] public HResult CreateReservedResource1(ResourceDescription* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, ID3D12ProtectedResourceSession* pProtectedSession, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, pProtectedSession, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, pProtectedSession, riid, ppvResource); -#endif } /// @@ -22703,11 +19883,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(16)] public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo1(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs, ResourceAllocationInfo1* pResourceAllocationInfo1) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((ID3D12Device6*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D12Device6*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); -#endif } /// @@ -22715,11 +19891,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(17)] public HResult OpenExistingHeapFromAddress(void* pAddress, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pAddress, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pAddress, riid, ppvHeap); -#endif } /// @@ -22727,11 +19899,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(18)] public HResult OpenExistingHeapFromFileMapping(IntPtr hFileMapping, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((ID3D12Device6*)Unsafe.AsPointer(ref this), hFileMapping, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D12Device6*)Unsafe.AsPointer(ref this), hFileMapping, riid, ppvHeap); -#endif } /// @@ -22739,11 +19907,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(19)] public HResult EnqueueMakeResident(ResidencyFlags Flags, uint NumObjects, ID3D12Pageable* ppObjects, ID3D12Fence* pFenceToSignal, ulong FenceValueToSignal) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((ID3D12Device6*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D12Device6*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal); -#endif } /// @@ -22751,11 +19915,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(20)] public HResult CreatePipelineState(PipelineStateStreamDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } /// @@ -22763,11 +19923,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(21)] public HResult CreatePipelineLibrary(void* pLibraryBlob, nuint BlobLength, Guid* riid, void** ppPipelineLibrary) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pLibraryBlob, BlobLength, riid, ppPipelineLibrary); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pLibraryBlob, BlobLength, riid, ppPipelineLibrary); -#endif } /// @@ -22775,11 +19931,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(22)] public HResult SetEventOnMultipleFenceCompletion(ID3D12Fence* ppFences, ulong* pFenceValues, uint NumFences, MultipleFenceWaitFlags Flags, IntPtr hEvent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((ID3D12Device6*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D12Device6*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent); -#endif } /// @@ -22787,11 +19939,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(23)] public HResult SetResidencyPriority(uint NumObjects, ID3D12Pageable* ppObjects, ResidencyPriority* pPriorities) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((ID3D12Device6*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D12Device6*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities); -#endif } /// @@ -22799,11 +19947,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(24)] public uint GetNodeCount() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((ID3D12Device6*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D12Device6*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -22811,11 +19955,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(25)] public HResult CreateCommandQueue(CommandQueueDescription* pDesc, Guid* riid, void** ppCommandQueue) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, riid, ppCommandQueue); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, riid, ppCommandQueue); -#endif } /// @@ -22823,11 +19963,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(26)] public HResult CreateCommandAllocator(CommandListType type, Guid* riid, void** ppCommandAllocator) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[26]))((ID3D12Device6*)Unsafe.AsPointer(ref this), type, riid, ppCommandAllocator); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D12Device6*)Unsafe.AsPointer(ref this), type, riid, ppCommandAllocator); -#endif } /// @@ -22835,11 +19971,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(27)] public HResult CreateGraphicsPipelineState(GraphicsPipelineStateDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } /// @@ -22847,11 +19979,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(28)] public HResult CreateComputePipelineState(ComputePipelineStateDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } /// @@ -22859,11 +19987,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(29)] public HResult CreateCommandList(uint nodeMask, CommandListType type, ID3D12CommandAllocator* pCommandAllocator, ID3D12PipelineState* pInitialState, Guid* riid, void** ppCommandList) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[29]))((ID3D12Device6*)Unsafe.AsPointer(ref this), nodeMask, type, pCommandAllocator, pInitialState, riid, ppCommandList); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D12Device6*)Unsafe.AsPointer(ref this), nodeMask, type, pCommandAllocator, pInitialState, riid, ppCommandList); -#endif } /// @@ -22871,11 +19995,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(30)] public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, uint FeatureSupportDataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[30]))((ID3D12Device6*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D12Device6*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#endif } /// @@ -22883,11 +20003,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(31)] public HResult CreateDescriptorHeap(DescriptorHeapDescription* pDescriptorHeapDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[31]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDescriptorHeapDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDescriptorHeapDesc, riid, ppvHeap); -#endif } /// @@ -22895,11 +20011,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(32)] public uint GetDescriptorHandleIncrementSize(DescriptorHeapType DescriptorHeapType) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[32]))((ID3D12Device6*)Unsafe.AsPointer(ref this), DescriptorHeapType); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D12Device6*)Unsafe.AsPointer(ref this), DescriptorHeapType); -#endif } /// @@ -22907,11 +20019,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(33)] public HResult CreateRootSignature(uint nodeMask, void* pBlobWithRootSignature, nuint blobLengthInBytes, Guid* riid, void** ppvRootSignature) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[33]))((ID3D12Device6*)Unsafe.AsPointer(ref this), nodeMask, pBlobWithRootSignature, blobLengthInBytes, riid, ppvRootSignature); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D12Device6*)Unsafe.AsPointer(ref this), nodeMask, pBlobWithRootSignature, blobLengthInBytes, riid, ppvRootSignature); -#endif } /// @@ -22919,11 +20027,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(34)] public void CreateConstantBufferView(ConstantBufferViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[34]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#endif } /// @@ -22931,11 +20035,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(35)] public void CreateShaderResourceView(ID3D12Resource* pResource, ShaderResourceViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[35]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -22943,11 +20043,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(36)] public void CreateUnorderedAccessView(ID3D12Resource* pResource, ID3D12Resource* pCounterResource, UnorderedAccessViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[36]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pResource, pCounterResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pResource, pCounterResource, pDesc, DestDescriptor); -#endif } /// @@ -22955,11 +20051,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(37)] public void CreateRenderTargetView(ID3D12Resource* pResource, RenderTargetViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[37]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -22967,11 +20059,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(38)] public void CreateDepthStencilView(ID3D12Resource* pResource, DepthStencilViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[38]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -22979,11 +20067,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(39)] public void CreateSampler(SamplerDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[39]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#endif } /// @@ -22991,11 +20075,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(40)] public void CopyDescriptors(uint NumDestDescriptorRanges, CpuDescriptorHandle* pDestDescriptorRangeStarts, uint* pDestDescriptorRangeSizes, uint NumSrcDescriptorRanges, CpuDescriptorHandle* pSrcDescriptorRangeStarts, uint* pSrcDescriptorRangeSizes, DescriptorHeapType DescriptorHeapsType) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[40]))((ID3D12Device6*)Unsafe.AsPointer(ref this), NumDestDescriptorRanges, pDestDescriptorRangeStarts, pDestDescriptorRangeSizes, NumSrcDescriptorRanges, pSrcDescriptorRangeStarts, pSrcDescriptorRangeSizes, DescriptorHeapsType); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D12Device6*)Unsafe.AsPointer(ref this), NumDestDescriptorRanges, pDestDescriptorRangeStarts, pDestDescriptorRangeSizes, NumSrcDescriptorRanges, pSrcDescriptorRangeStarts, pSrcDescriptorRangeSizes, DescriptorHeapsType); -#endif } /// @@ -23003,11 +20083,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(41)] public void CopyDescriptorsSimple(uint NumDescriptors, CpuDescriptorHandle* DestDescriptorRangeStart, CpuDescriptorHandle* SrcDescriptorRangeStart, DescriptorHeapType DescriptorHeapsType) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[41]))((ID3D12Device6*)Unsafe.AsPointer(ref this), NumDescriptors, DestDescriptorRangeStart, SrcDescriptorRangeStart, DescriptorHeapsType); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D12Device6*)Unsafe.AsPointer(ref this), NumDescriptors, DestDescriptorRangeStart, SrcDescriptorRangeStart, DescriptorHeapsType); -#endif } /// @@ -23015,11 +20091,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(42)] public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[42]))((ID3D12Device6*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D12Device6*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); -#endif } /// @@ -23027,11 +20099,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(43)] public Graphics.Direct3D12.HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[43]))((ID3D12Device6*)Unsafe.AsPointer(ref this), nodeMask, heapType); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D12Device6*)Unsafe.AsPointer(ref this), nodeMask, heapType); -#endif } /// @@ -23039,11 +20107,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(44)] public HResult CreateCommittedResource(HeapProperties* pHeapProperties, HeapFlags HeapFlags, ResourceDescription* pDesc, ResourceStates InitialResourceState, ClearValue* pOptimizedClearValue, Guid* riidResource, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[44]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, riidResource, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, riidResource, ppvResource); -#endif } /// @@ -23051,11 +20115,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(45)] public HResult CreateHeap(HeapDescription* pDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[45]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#endif } /// @@ -23063,11 +20123,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(46)] public HResult CreatePlacedResource(ID3D12Heap* pHeap, ulong HeapOffset, ResourceDescription* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[46]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pHeap, HeapOffset, pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pHeap, HeapOffset, pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#endif } /// @@ -23075,11 +20131,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(47)] public HResult CreateReservedResource(ResourceDescription* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[47]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#endif } /// @@ -23087,11 +20139,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(48)] public HResult CreateSharedHandle(ID3D12DeviceChild* pObject, Security.SECURITY_ATTRIBUTES* pAttributes, uint Access, char** Name, IntPtr* pHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[48]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pObject, pAttributes, Access, Name, pHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pObject, pAttributes, Access, Name, pHandle); -#endif } /// @@ -23099,11 +20147,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(49)] public HResult OpenSharedHandle(IntPtr NTHandle, Guid* riid, void** ppvObj) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[49]))((ID3D12Device6*)Unsafe.AsPointer(ref this), NTHandle, riid, ppvObj); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D12Device6*)Unsafe.AsPointer(ref this), NTHandle, riid, ppvObj); -#endif } /// @@ -23111,11 +20155,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(50)] public HResult OpenSharedHandleByName(char** Name, uint Access, IntPtr* pNTHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[50]))((ID3D12Device6*)Unsafe.AsPointer(ref this), Name, Access, pNTHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D12Device6*)Unsafe.AsPointer(ref this), Name, Access, pNTHandle); -#endif } /// @@ -23123,11 +20163,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(51)] public HResult MakeResident(uint NumObjects, ID3D12Pageable* ppObjects) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[51]))((ID3D12Device6*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D12Device6*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#endif } /// @@ -23135,11 +20171,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(52)] public HResult Evict(uint NumObjects, ID3D12Pageable* ppObjects) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[52]))((ID3D12Device6*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D12Device6*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#endif } /// @@ -23147,11 +20179,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(53)] public HResult CreateFence(ulong InitialValue, FenceFlags Flags, Guid* riid, void** ppFence) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[53]))((ID3D12Device6*)Unsafe.AsPointer(ref this), InitialValue, Flags, riid, ppFence); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID3D12Device6*)Unsafe.AsPointer(ref this), InitialValue, Flags, riid, ppFence); -#endif } /// @@ -23159,11 +20187,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(54)] public HResult GetDeviceRemovedReason() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[54]))((ID3D12Device6*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D12Device6*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -23171,11 +20195,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(55)] public void GetCopyableFootprints(ResourceDescription* pResourceDesc, uint FirstSubresource, uint NumSubresources, ulong BaseOffset, PlacedSubresourceFootprint* pLayouts, uint* pNumRows, ulong* pRowSizeInBytes, ulong* pTotalBytes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[55]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pResourceDesc, FirstSubresource, NumSubresources, BaseOffset, pLayouts, pNumRows, pRowSizeInBytes, pTotalBytes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pResourceDesc, FirstSubresource, NumSubresources, BaseOffset, pLayouts, pNumRows, pRowSizeInBytes, pTotalBytes); -#endif } /// @@ -23183,11 +20203,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(56)] public HResult CreateQueryHeap(QueryHeapDescription* pDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[56]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#endif } /// @@ -23195,11 +20211,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(57)] public HResult SetStablePowerState(Bool32 Enable) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[57]))((ID3D12Device6*)Unsafe.AsPointer(ref this), Enable); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID3D12Device6*)Unsafe.AsPointer(ref this), Enable); -#endif } /// @@ -23207,11 +20219,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(58)] public HResult CreateCommandSignature(CommandSignatureDescription* pDesc, ID3D12RootSignature* pRootSignature, Guid* riid, void** ppvCommandSignature) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[58]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, pRootSignature, riid, ppvCommandSignature); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pDesc, pRootSignature, riid, ppvCommandSignature); -#endif } /// @@ -23219,11 +20227,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(59)] public void GetResourceTiling(ID3D12Resource* pTiledResource, uint* pNumTilesForEntireResource, PackedMipInfo* pPackedMipDesc, TileShape* pStandardTileShapeForNonPackedMips, uint* pNumSubresourceTilings, uint FirstSubresourceTilingToGet, SubresourceTiling* pSubresourceTilingsForNonPackedMips) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[59]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID3D12Device6*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#endif } /// @@ -23231,11 +20235,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(60)] public Luid GetAdapterLuid() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[60]))((ID3D12Device6*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((ID3D12Device6*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -23243,11 +20243,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(61)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[61]))((ID3D12Device6*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((ID3D12Device6*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -23255,11 +20251,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(62)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[62]))((ID3D12Device6*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((ID3D12Device6*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -23267,11 +20259,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(63)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[63]))((ID3D12Device6*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((ID3D12Device6*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -23279,11 +20267,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(64)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[64]))((ID3D12Device6*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((ID3D12Device6*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -23291,16 +20275,9 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [VtblIndex(65)] public HResult SetBackgroundProcessingMode(BackgroundProcessingMode Mode, MeasurementsAction MeasurementsAction, IntPtr hEventToSignalUponCompletion, Bool32* pbFurtherMeasurementsDesired) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[65]))((ID3D12Device6*)Unsafe.AsPointer(ref this), Mode, MeasurementsAction, hEventToSignalUponCompletion, pbFurtherMeasurementsDesired); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((ID3D12Device6*)Unsafe.AsPointer(ref this), Mode, MeasurementsAction, hEventToSignalUponCompletion, pbFurtherMeasurementsDesired); -#endif } - public interface Interface : ID3D12Device5.Interface - { - } } /// @@ -23308,7 +20285,7 @@ public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface [Guid("d6f12dd6-76fb-406e-8961-4296eefc0409")] [NativeTypeName("struct ID3D12ProtectedResourceSession1 : ID3D12ProtectedResourceSession")] [NativeInheritance("ID3D12ProtectedResourceSession")] -public unsafe partial struct ID3D12ProtectedResourceSession1 : ID3D12ProtectedResourceSession1.Interface +public unsafe partial struct ID3D12ProtectedResourceSession1 { public static ref readonly Guid IID_ID3D12ProtectedResourceSession1 { @@ -23369,11 +20346,7 @@ public unsafe partial struct ID3D12ProtectedResourceSession1 : ID3D12ProtectedRe [VtblIndex(3)] public Graphics.Direct3D12.ProtectedResourceSessionDescription GetDesc() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -23381,11 +20354,7 @@ public unsafe partial struct ID3D12ProtectedResourceSession1 : ID3D12ProtectedRe [VtblIndex(4)] public HResult GetStatusFence(Guid* riid, void** ppFence) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this), riid, ppFence); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this), riid, ppFence); -#endif } /// @@ -23393,11 +20362,7 @@ public unsafe partial struct ID3D12ProtectedResourceSession1 : ID3D12ProtectedRe [VtblIndex(5)] public Graphics.Direct3D12.ProtectedSessionStatus GetSessionStatus() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -23405,11 +20370,7 @@ public unsafe partial struct ID3D12ProtectedResourceSession1 : ID3D12ProtectedRe [VtblIndex(6)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -23417,11 +20378,7 @@ public unsafe partial struct ID3D12ProtectedResourceSession1 : ID3D12ProtectedRe [VtblIndex(7)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -23429,11 +20386,7 @@ public unsafe partial struct ID3D12ProtectedResourceSession1 : ID3D12ProtectedRe [VtblIndex(8)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -23441,11 +20394,7 @@ public unsafe partial struct ID3D12ProtectedResourceSession1 : ID3D12ProtectedRe [VtblIndex(9)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -23453,11 +20402,7 @@ public unsafe partial struct ID3D12ProtectedResourceSession1 : ID3D12ProtectedRe [VtblIndex(10)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -23465,16 +20410,9 @@ public unsafe partial struct ID3D12ProtectedResourceSession1 : ID3D12ProtectedRe [VtblIndex(11)] public Graphics.Direct3D12.ProtectedResourceSessionDescription1 GetDesc1() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : ID3D12ProtectedResourceSession.Interface - { - } } /// @@ -23482,7 +20420,7 @@ public unsafe partial struct ID3D12ProtectedResourceSession1 : ID3D12ProtectedRe [Guid("5c014b53-68a1-4b9b-8bd1-dd6046b9358b")] [NativeTypeName("struct ID3D12Device7 : ID3D12Device6")] [NativeInheritance("ID3D12Device6")] -public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface +public unsafe partial struct ID3D12Device7 { public static ref readonly Guid IID_ID3D12Device7 { @@ -23543,11 +20481,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(3)] public HResult SetBackgroundProcessingMode(BackgroundProcessingMode Mode, MeasurementsAction MeasurementsAction, IntPtr hEventToSignalUponCompletion, Bool32* pbFurtherMeasurementsDesired) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12Device7*)Unsafe.AsPointer(ref this), Mode, MeasurementsAction, hEventToSignalUponCompletion, pbFurtherMeasurementsDesired); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Device7*)Unsafe.AsPointer(ref this), Mode, MeasurementsAction, hEventToSignalUponCompletion, pbFurtherMeasurementsDesired); -#endif } /// @@ -23555,11 +20489,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(4)] public HResult CreateLifetimeTracker(ID3D12LifetimeOwner* pOwner, Guid* riid, void** ppvTracker) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pOwner, riid, ppvTracker); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pOwner, riid, ppvTracker); -#endif } /// @@ -23567,11 +20497,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(5)] public void RemoveDevice() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D12Device7*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12Device7*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -23579,11 +20505,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(6)] public HResult EnumerateMetaCommands(uint* pNumMetaCommands, MetaCommandDescription* pDescs) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pNumMetaCommands, pDescs); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pNumMetaCommands, pDescs); -#endif } /// @@ -23591,11 +20513,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(7)] public HResult EnumerateMetaCommandParameters(Guid* CommandId, MetaCommandParameterStage Stage, uint* pTotalStructureSizeInBytes, uint* pParameterCount, MetaCommandParameterDescription* pParameterDescs) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Device7*)Unsafe.AsPointer(ref this), CommandId, Stage, pTotalStructureSizeInBytes, pParameterCount, pParameterDescs); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12Device7*)Unsafe.AsPointer(ref this), CommandId, Stage, pTotalStructureSizeInBytes, pParameterCount, pParameterDescs); -#endif } /// @@ -23603,11 +20521,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(8)] public HResult CreateMetaCommand(Guid* CommandId, uint NodeMask, void* pCreationParametersData, nuint CreationParametersDataSizeInBytes, Guid* riid, void** ppMetaCommand) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12Device7*)Unsafe.AsPointer(ref this), CommandId, NodeMask, pCreationParametersData, CreationParametersDataSizeInBytes, riid, ppMetaCommand); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12Device7*)Unsafe.AsPointer(ref this), CommandId, NodeMask, pCreationParametersData, CreationParametersDataSizeInBytes, riid, ppMetaCommand); -#endif } /// @@ -23615,11 +20529,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(9)] public HResult CreateStateObject(StateObjectDescription* pDesc, Guid* riid, void** ppStateObject) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, riid, ppStateObject); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, riid, ppStateObject); -#endif } /// @@ -23627,11 +20537,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(10)] public void GetRaytracingAccelerationStructurePrebuildInfo(BuildRaytracingAccelerationStructureInputs* pDesc, RaytracingAccelerationStructurePrebuildInfo* pInfo) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[10]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, pInfo); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, pInfo); -#endif } /// @@ -23639,11 +20545,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(11)] public Graphics.Direct3D12.DriverMatchingIdentifierStatus CheckDriverMatchingIdentifier(SerializedDataType SerializedDataType, SerializedDataDriverMatchingIdentifier* pIdentifierToCheck) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D12Device7*)Unsafe.AsPointer(ref this), SerializedDataType, pIdentifierToCheck); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12Device7*)Unsafe.AsPointer(ref this), SerializedDataType, pIdentifierToCheck); -#endif } /// @@ -23651,11 +20553,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(12)] public HResult CreateCommandList1(uint nodeMask, CommandListType type, CommandListFlags flags, Guid* riid, void** ppCommandList) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D12Device7*)Unsafe.AsPointer(ref this), nodeMask, type, flags, riid, ppCommandList); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D12Device7*)Unsafe.AsPointer(ref this), nodeMask, type, flags, riid, ppCommandList); -#endif } /// @@ -23663,11 +20561,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(13)] public HResult CreateProtectedResourceSession(ProtectedResourceSessionDescription* pDesc, Guid* riid, void** ppSession) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, riid, ppSession); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, riid, ppSession); -#endif } /// @@ -23675,11 +20569,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(14)] public HResult CreateCommittedResource1(HeapProperties* pHeapProperties, HeapFlags HeapFlags, ResourceDescription* pDesc, ResourceStates InitialResourceState, ClearValue* pOptimizedClearValue, ID3D12ProtectedResourceSession* pProtectedSession, Guid* riidResource, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, pProtectedSession, riidResource, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, pProtectedSession, riidResource, ppvResource); -#endif } /// @@ -23687,11 +20577,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(15)] public HResult CreateHeap1(HeapDescription* pDesc, ID3D12ProtectedResourceSession* pProtectedSession, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, pProtectedSession, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, pProtectedSession, riid, ppvHeap); -#endif } /// @@ -23699,11 +20585,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(16)] public HResult CreateReservedResource1(ResourceDescription* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, ID3D12ProtectedResourceSession* pProtectedSession, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, pProtectedSession, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, pProtectedSession, riid, ppvResource); -#endif } /// @@ -23711,11 +20593,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(17)] public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo1(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs, ResourceAllocationInfo1* pResourceAllocationInfo1) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((ID3D12Device7*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D12Device7*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); -#endif } /// @@ -23723,11 +20601,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(18)] public HResult OpenExistingHeapFromAddress(void* pAddress, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pAddress, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pAddress, riid, ppvHeap); -#endif } /// @@ -23735,11 +20609,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(19)] public HResult OpenExistingHeapFromFileMapping(IntPtr hFileMapping, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((ID3D12Device7*)Unsafe.AsPointer(ref this), hFileMapping, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D12Device7*)Unsafe.AsPointer(ref this), hFileMapping, riid, ppvHeap); -#endif } /// @@ -23747,11 +20617,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(20)] public HResult EnqueueMakeResident(ResidencyFlags Flags, uint NumObjects, ID3D12Pageable* ppObjects, ID3D12Fence* pFenceToSignal, ulong FenceValueToSignal) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((ID3D12Device7*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D12Device7*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal); -#endif } /// @@ -23759,11 +20625,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(21)] public HResult CreatePipelineState(PipelineStateStreamDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } /// @@ -23771,11 +20633,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(22)] public HResult CreatePipelineLibrary(void* pLibraryBlob, nuint BlobLength, Guid* riid, void** ppPipelineLibrary) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pLibraryBlob, BlobLength, riid, ppPipelineLibrary); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pLibraryBlob, BlobLength, riid, ppPipelineLibrary); -#endif } /// @@ -23783,11 +20641,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(23)] public HResult SetEventOnMultipleFenceCompletion(ID3D12Fence* ppFences, ulong* pFenceValues, uint NumFences, MultipleFenceWaitFlags Flags, IntPtr hEvent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((ID3D12Device7*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D12Device7*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent); -#endif } /// @@ -23795,11 +20649,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(24)] public HResult SetResidencyPriority(uint NumObjects, ID3D12Pageable* ppObjects, ResidencyPriority* pPriorities) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((ID3D12Device7*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D12Device7*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities); -#endif } /// @@ -23807,11 +20657,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(25)] public uint GetNodeCount() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((ID3D12Device7*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D12Device7*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -23819,11 +20665,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(26)] public HResult CreateCommandQueue(CommandQueueDescription* pDesc, Guid* riid, void** ppCommandQueue) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[26]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, riid, ppCommandQueue); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, riid, ppCommandQueue); -#endif } /// @@ -23831,11 +20673,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(27)] public HResult CreateCommandAllocator(CommandListType type, Guid* riid, void** ppCommandAllocator) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((ID3D12Device7*)Unsafe.AsPointer(ref this), type, riid, ppCommandAllocator); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D12Device7*)Unsafe.AsPointer(ref this), type, riid, ppCommandAllocator); -#endif } /// @@ -23843,11 +20681,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(28)] public HResult CreateGraphicsPipelineState(GraphicsPipelineStateDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } /// @@ -23855,11 +20689,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(29)] public HResult CreateComputePipelineState(ComputePipelineStateDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[29]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } /// @@ -23867,11 +20697,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(30)] public HResult CreateCommandList(uint nodeMask, CommandListType type, ID3D12CommandAllocator* pCommandAllocator, ID3D12PipelineState* pInitialState, Guid* riid, void** ppCommandList) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[30]))((ID3D12Device7*)Unsafe.AsPointer(ref this), nodeMask, type, pCommandAllocator, pInitialState, riid, ppCommandList); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D12Device7*)Unsafe.AsPointer(ref this), nodeMask, type, pCommandAllocator, pInitialState, riid, ppCommandList); -#endif } /// @@ -23879,11 +20705,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(31)] public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, uint FeatureSupportDataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[31]))((ID3D12Device7*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D12Device7*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#endif } /// @@ -23891,11 +20713,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(32)] public HResult CreateDescriptorHeap(DescriptorHeapDescription* pDescriptorHeapDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[32]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDescriptorHeapDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDescriptorHeapDesc, riid, ppvHeap); -#endif } /// @@ -23903,11 +20721,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(33)] public uint GetDescriptorHandleIncrementSize(DescriptorHeapType DescriptorHeapType) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[33]))((ID3D12Device7*)Unsafe.AsPointer(ref this), DescriptorHeapType); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D12Device7*)Unsafe.AsPointer(ref this), DescriptorHeapType); -#endif } /// @@ -23915,11 +20729,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(34)] public HResult CreateRootSignature(uint nodeMask, void* pBlobWithRootSignature, nuint blobLengthInBytes, Guid* riid, void** ppvRootSignature) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[34]))((ID3D12Device7*)Unsafe.AsPointer(ref this), nodeMask, pBlobWithRootSignature, blobLengthInBytes, riid, ppvRootSignature); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D12Device7*)Unsafe.AsPointer(ref this), nodeMask, pBlobWithRootSignature, blobLengthInBytes, riid, ppvRootSignature); -#endif } /// @@ -23927,11 +20737,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(35)] public void CreateConstantBufferView(ConstantBufferViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[35]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#endif } /// @@ -23939,11 +20745,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(36)] public void CreateShaderResourceView(ID3D12Resource* pResource, ShaderResourceViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[36]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -23951,11 +20753,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(37)] public void CreateUnorderedAccessView(ID3D12Resource* pResource, ID3D12Resource* pCounterResource, UnorderedAccessViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[37]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pResource, pCounterResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pResource, pCounterResource, pDesc, DestDescriptor); -#endif } /// @@ -23963,11 +20761,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(38)] public void CreateRenderTargetView(ID3D12Resource* pResource, RenderTargetViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[38]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -23975,11 +20769,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(39)] public void CreateDepthStencilView(ID3D12Resource* pResource, DepthStencilViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[39]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -23987,11 +20777,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(40)] public void CreateSampler(SamplerDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[40]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#endif } /// @@ -23999,11 +20785,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(41)] public void CopyDescriptors(uint NumDestDescriptorRanges, CpuDescriptorHandle* pDestDescriptorRangeStarts, uint* pDestDescriptorRangeSizes, uint NumSrcDescriptorRanges, CpuDescriptorHandle* pSrcDescriptorRangeStarts, uint* pSrcDescriptorRangeSizes, DescriptorHeapType DescriptorHeapsType) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[41]))((ID3D12Device7*)Unsafe.AsPointer(ref this), NumDestDescriptorRanges, pDestDescriptorRangeStarts, pDestDescriptorRangeSizes, NumSrcDescriptorRanges, pSrcDescriptorRangeStarts, pSrcDescriptorRangeSizes, DescriptorHeapsType); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D12Device7*)Unsafe.AsPointer(ref this), NumDestDescriptorRanges, pDestDescriptorRangeStarts, pDestDescriptorRangeSizes, NumSrcDescriptorRanges, pSrcDescriptorRangeStarts, pSrcDescriptorRangeSizes, DescriptorHeapsType); -#endif } /// @@ -24011,11 +20793,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(42)] public void CopyDescriptorsSimple(uint NumDescriptors, CpuDescriptorHandle* DestDescriptorRangeStart, CpuDescriptorHandle* SrcDescriptorRangeStart, DescriptorHeapType DescriptorHeapsType) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[42]))((ID3D12Device7*)Unsafe.AsPointer(ref this), NumDescriptors, DestDescriptorRangeStart, SrcDescriptorRangeStart, DescriptorHeapsType); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D12Device7*)Unsafe.AsPointer(ref this), NumDescriptors, DestDescriptorRangeStart, SrcDescriptorRangeStart, DescriptorHeapsType); -#endif } /// @@ -24023,11 +20801,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(43)] public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[43]))((ID3D12Device7*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D12Device7*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); -#endif } /// @@ -24035,11 +20809,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(44)] public Graphics.Direct3D12.HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[44]))((ID3D12Device7*)Unsafe.AsPointer(ref this), nodeMask, heapType); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D12Device7*)Unsafe.AsPointer(ref this), nodeMask, heapType); -#endif } /// @@ -24047,11 +20817,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(45)] public HResult CreateCommittedResource(HeapProperties* pHeapProperties, HeapFlags HeapFlags, ResourceDescription* pDesc, ResourceStates InitialResourceState, ClearValue* pOptimizedClearValue, Guid* riidResource, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[45]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, riidResource, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, riidResource, ppvResource); -#endif } /// @@ -24059,11 +20825,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(46)] public HResult CreateHeap(HeapDescription* pDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[46]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#endif } /// @@ -24071,11 +20833,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(47)] public HResult CreatePlacedResource(ID3D12Heap* pHeap, ulong HeapOffset, ResourceDescription* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[47]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pHeap, HeapOffset, pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pHeap, HeapOffset, pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#endif } /// @@ -24083,11 +20841,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(48)] public HResult CreateReservedResource(ResourceDescription* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[48]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#endif } /// @@ -24095,11 +20849,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(49)] public HResult CreateSharedHandle(ID3D12DeviceChild* pObject, Security.SECURITY_ATTRIBUTES* pAttributes, uint Access, char** Name, IntPtr* pHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[49]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pObject, pAttributes, Access, Name, pHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pObject, pAttributes, Access, Name, pHandle); -#endif } /// @@ -24107,11 +20857,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(50)] public HResult OpenSharedHandle(IntPtr NTHandle, Guid* riid, void** ppvObj) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[50]))((ID3D12Device7*)Unsafe.AsPointer(ref this), NTHandle, riid, ppvObj); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D12Device7*)Unsafe.AsPointer(ref this), NTHandle, riid, ppvObj); -#endif } /// @@ -24119,11 +20865,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(51)] public HResult OpenSharedHandleByName(char** Name, uint Access, IntPtr* pNTHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[51]))((ID3D12Device7*)Unsafe.AsPointer(ref this), Name, Access, pNTHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D12Device7*)Unsafe.AsPointer(ref this), Name, Access, pNTHandle); -#endif } /// @@ -24131,11 +20873,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(52)] public HResult MakeResident(uint NumObjects, ID3D12Pageable* ppObjects) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[52]))((ID3D12Device7*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D12Device7*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#endif } /// @@ -24143,11 +20881,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(53)] public HResult Evict(uint NumObjects, ID3D12Pageable* ppObjects) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[53]))((ID3D12Device7*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID3D12Device7*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#endif } /// @@ -24155,11 +20889,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(54)] public HResult CreateFence(ulong InitialValue, FenceFlags Flags, Guid* riid, void** ppFence) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[54]))((ID3D12Device7*)Unsafe.AsPointer(ref this), InitialValue, Flags, riid, ppFence); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D12Device7*)Unsafe.AsPointer(ref this), InitialValue, Flags, riid, ppFence); -#endif } /// @@ -24167,11 +20897,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(55)] public HResult GetDeviceRemovedReason() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[55]))((ID3D12Device7*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID3D12Device7*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -24179,11 +20905,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(56)] public void GetCopyableFootprints(ResourceDescription* pResourceDesc, uint FirstSubresource, uint NumSubresources, ulong BaseOffset, PlacedSubresourceFootprint* pLayouts, uint* pNumRows, ulong* pRowSizeInBytes, ulong* pTotalBytes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[56]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pResourceDesc, FirstSubresource, NumSubresources, BaseOffset, pLayouts, pNumRows, pRowSizeInBytes, pTotalBytes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pResourceDesc, FirstSubresource, NumSubresources, BaseOffset, pLayouts, pNumRows, pRowSizeInBytes, pTotalBytes); -#endif } /// @@ -24191,11 +20913,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(57)] public HResult CreateQueryHeap(QueryHeapDescription* pDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[57]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#endif } /// @@ -24203,11 +20921,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(58)] public HResult SetStablePowerState(Bool32 Enable) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[58]))((ID3D12Device7*)Unsafe.AsPointer(ref this), Enable); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D12Device7*)Unsafe.AsPointer(ref this), Enable); -#endif } /// @@ -24215,11 +20929,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(59)] public HResult CreateCommandSignature(CommandSignatureDescription* pDesc, ID3D12RootSignature* pRootSignature, Guid* riid, void** ppvCommandSignature) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[59]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, pRootSignature, riid, ppvCommandSignature); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, pRootSignature, riid, ppvCommandSignature); -#endif } /// @@ -24227,11 +20937,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(60)] public void GetResourceTiling(ID3D12Resource* pTiledResource, uint* pNumTilesForEntireResource, PackedMipInfo* pPackedMipDesc, TileShape* pStandardTileShapeForNonPackedMips, uint* pNumSubresourceTilings, uint FirstSubresourceTilingToGet, SubresourceTiling* pSubresourceTilingsForNonPackedMips) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[60]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#endif } /// @@ -24239,11 +20945,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(61)] public Luid GetAdapterLuid() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[61]))((ID3D12Device7*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((ID3D12Device7*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -24251,11 +20953,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(62)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[62]))((ID3D12Device7*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((ID3D12Device7*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -24263,11 +20961,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(63)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[63]))((ID3D12Device7*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((ID3D12Device7*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -24275,11 +20969,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(64)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[64]))((ID3D12Device7*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((ID3D12Device7*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -24287,11 +20977,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(65)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[65]))((ID3D12Device7*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((ID3D12Device7*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -24299,11 +20985,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(66)] public HResult AddToStateObject(StateObjectDescription* pAddition, ID3D12StateObject* pStateObjectToGrowFrom, Guid* riid, void** ppNewStateObject) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[66]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pAddition, pStateObjectToGrowFrom, riid, ppNewStateObject); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[66]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pAddition, pStateObjectToGrowFrom, riid, ppNewStateObject); -#endif } /// @@ -24311,16 +20993,9 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [VtblIndex(67)] public HResult CreateProtectedResourceSession1(ProtectedResourceSessionDescription1* pDesc, Guid* riid, void** ppSession) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[67]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, riid, ppSession); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((ID3D12Device7*)Unsafe.AsPointer(ref this), pDesc, riid, ppSession); -#endif } - public interface Interface : ID3D12Device6.Interface - { - } } /// @@ -24328,7 +21003,7 @@ public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface [Guid("9218e6bb-f944-4f7e-a75c-b1b2c7b701f3")] [NativeTypeName("struct ID3D12Device8 : ID3D12Device7")] [NativeInheritance("ID3D12Device7")] -public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface +public unsafe partial struct ID3D12Device8 { public static ref readonly Guid IID_ID3D12Device8 { @@ -24389,11 +21064,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(3)] public HResult AddToStateObject(StateObjectDescription* pAddition, ID3D12StateObject* pStateObjectToGrowFrom, Guid* riid, void** ppNewStateObject) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pAddition, pStateObjectToGrowFrom, riid, ppNewStateObject); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pAddition, pStateObjectToGrowFrom, riid, ppNewStateObject); -#endif } /// @@ -24401,11 +21072,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(4)] public HResult CreateProtectedResourceSession1(ProtectedResourceSessionDescription1* pDesc, Guid* riid, void** ppSession) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, riid, ppSession); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, riid, ppSession); -#endif } /// @@ -24413,11 +21080,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(5)] public HResult SetBackgroundProcessingMode(BackgroundProcessingMode Mode, MeasurementsAction MeasurementsAction, IntPtr hEventToSignalUponCompletion, Bool32* pbFurtherMeasurementsDesired) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12Device8*)Unsafe.AsPointer(ref this), Mode, MeasurementsAction, hEventToSignalUponCompletion, pbFurtherMeasurementsDesired); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12Device8*)Unsafe.AsPointer(ref this), Mode, MeasurementsAction, hEventToSignalUponCompletion, pbFurtherMeasurementsDesired); -#endif } /// @@ -24425,11 +21088,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(6)] public HResult CreateLifetimeTracker(ID3D12LifetimeOwner* pOwner, Guid* riid, void** ppvTracker) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pOwner, riid, ppvTracker); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pOwner, riid, ppvTracker); -#endif } /// @@ -24437,11 +21096,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(7)] public void RemoveDevice() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Device8*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12Device8*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -24449,11 +21104,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(8)] public HResult EnumerateMetaCommands(uint* pNumMetaCommands, MetaCommandDescription* pDescs) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pNumMetaCommands, pDescs); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pNumMetaCommands, pDescs); -#endif } /// @@ -24461,11 +21112,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(9)] public HResult EnumerateMetaCommandParameters(Guid* CommandId, MetaCommandParameterStage Stage, uint* pTotalStructureSizeInBytes, uint* pParameterCount, MetaCommandParameterDescription* pParameterDescs) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D12Device8*)Unsafe.AsPointer(ref this), CommandId, Stage, pTotalStructureSizeInBytes, pParameterCount, pParameterDescs); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12Device8*)Unsafe.AsPointer(ref this), CommandId, Stage, pTotalStructureSizeInBytes, pParameterCount, pParameterDescs); -#endif } /// @@ -24473,11 +21120,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(10)] public HResult CreateMetaCommand(Guid* CommandId, uint NodeMask, void* pCreationParametersData, nuint CreationParametersDataSizeInBytes, Guid* riid, void** ppMetaCommand) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D12Device8*)Unsafe.AsPointer(ref this), CommandId, NodeMask, pCreationParametersData, CreationParametersDataSizeInBytes, riid, ppMetaCommand); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12Device8*)Unsafe.AsPointer(ref this), CommandId, NodeMask, pCreationParametersData, CreationParametersDataSizeInBytes, riid, ppMetaCommand); -#endif } /// @@ -24485,11 +21128,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(11)] public HResult CreateStateObject(StateObjectDescription* pDesc, Guid* riid, void** ppStateObject) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, riid, ppStateObject); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, riid, ppStateObject); -#endif } /// @@ -24497,11 +21136,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(12)] public void GetRaytracingAccelerationStructurePrebuildInfo(BuildRaytracingAccelerationStructureInputs* pDesc, RaytracingAccelerationStructurePrebuildInfo* pInfo) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[12]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, pInfo); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, pInfo); -#endif } /// @@ -24509,11 +21144,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(13)] public Graphics.Direct3D12.DriverMatchingIdentifierStatus CheckDriverMatchingIdentifier(SerializedDataType SerializedDataType, SerializedDataDriverMatchingIdentifier* pIdentifierToCheck) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((ID3D12Device8*)Unsafe.AsPointer(ref this), SerializedDataType, pIdentifierToCheck); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12Device8*)Unsafe.AsPointer(ref this), SerializedDataType, pIdentifierToCheck); -#endif } /// @@ -24521,11 +21152,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(14)] public HResult CreateCommandList1(uint nodeMask, CommandListType type, CommandListFlags flags, Guid* riid, void** ppCommandList) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((ID3D12Device8*)Unsafe.AsPointer(ref this), nodeMask, type, flags, riid, ppCommandList); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D12Device8*)Unsafe.AsPointer(ref this), nodeMask, type, flags, riid, ppCommandList); -#endif } /// @@ -24533,11 +21160,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(15)] public HResult CreateProtectedResourceSession(ProtectedResourceSessionDescription* pDesc, Guid* riid, void** ppSession) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, riid, ppSession); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, riid, ppSession); -#endif } /// @@ -24545,11 +21168,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(16)] public HResult CreateCommittedResource1(HeapProperties* pHeapProperties, HeapFlags HeapFlags, ResourceDescription* pDesc, ResourceStates InitialResourceState, ClearValue* pOptimizedClearValue, ID3D12ProtectedResourceSession* pProtectedSession, Guid* riidResource, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, pProtectedSession, riidResource, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, pProtectedSession, riidResource, ppvResource); -#endif } /// @@ -24557,11 +21176,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(17)] public HResult CreateHeap1(HeapDescription* pDesc, ID3D12ProtectedResourceSession* pProtectedSession, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, pProtectedSession, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, pProtectedSession, riid, ppvHeap); -#endif } /// @@ -24569,11 +21184,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(18)] public HResult CreateReservedResource1(ResourceDescription* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, ID3D12ProtectedResourceSession* pProtectedSession, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, pProtectedSession, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, pProtectedSession, riid, ppvResource); -#endif } /// @@ -24581,11 +21192,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(19)] public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo1(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs, ResourceAllocationInfo1* pResourceAllocationInfo1) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((ID3D12Device8*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D12Device8*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); -#endif } /// @@ -24593,11 +21200,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(20)] public HResult OpenExistingHeapFromAddress(void* pAddress, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pAddress, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pAddress, riid, ppvHeap); -#endif } /// @@ -24605,11 +21208,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(21)] public HResult OpenExistingHeapFromFileMapping(IntPtr hFileMapping, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((ID3D12Device8*)Unsafe.AsPointer(ref this), hFileMapping, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D12Device8*)Unsafe.AsPointer(ref this), hFileMapping, riid, ppvHeap); -#endif } /// @@ -24617,11 +21216,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(22)] public HResult EnqueueMakeResident(ResidencyFlags Flags, uint NumObjects, ID3D12Pageable* ppObjects, ID3D12Fence* pFenceToSignal, ulong FenceValueToSignal) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((ID3D12Device8*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D12Device8*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal); -#endif } /// @@ -24629,11 +21224,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(23)] public HResult CreatePipelineState(PipelineStateStreamDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } /// @@ -24641,11 +21232,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(24)] public HResult CreatePipelineLibrary(void* pLibraryBlob, nuint BlobLength, Guid* riid, void** ppPipelineLibrary) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pLibraryBlob, BlobLength, riid, ppPipelineLibrary); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pLibraryBlob, BlobLength, riid, ppPipelineLibrary); -#endif } /// @@ -24653,11 +21240,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(25)] public HResult SetEventOnMultipleFenceCompletion(ID3D12Fence* ppFences, ulong* pFenceValues, uint NumFences, MultipleFenceWaitFlags Flags, IntPtr hEvent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((ID3D12Device8*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D12Device8*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent); -#endif } /// @@ -24665,11 +21248,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(26)] public HResult SetResidencyPriority(uint NumObjects, ID3D12Pageable* ppObjects, ResidencyPriority* pPriorities) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[26]))((ID3D12Device8*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D12Device8*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities); -#endif } /// @@ -24677,11 +21256,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(27)] public uint GetNodeCount() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((ID3D12Device8*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D12Device8*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -24689,11 +21264,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(28)] public HResult CreateCommandQueue(CommandQueueDescription* pDesc, Guid* riid, void** ppCommandQueue) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, riid, ppCommandQueue); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, riid, ppCommandQueue); -#endif } /// @@ -24701,11 +21272,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(29)] public HResult CreateCommandAllocator(CommandListType type, Guid* riid, void** ppCommandAllocator) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[29]))((ID3D12Device8*)Unsafe.AsPointer(ref this), type, riid, ppCommandAllocator); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D12Device8*)Unsafe.AsPointer(ref this), type, riid, ppCommandAllocator); -#endif } /// @@ -24713,11 +21280,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(30)] public HResult CreateGraphicsPipelineState(GraphicsPipelineStateDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[30]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } /// @@ -24725,11 +21288,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(31)] public HResult CreateComputePipelineState(ComputePipelineStateDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[31]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } /// @@ -24737,11 +21296,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(32)] public HResult CreateCommandList(uint nodeMask, CommandListType type, ID3D12CommandAllocator* pCommandAllocator, ID3D12PipelineState* pInitialState, Guid* riid, void** ppCommandList) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[32]))((ID3D12Device8*)Unsafe.AsPointer(ref this), nodeMask, type, pCommandAllocator, pInitialState, riid, ppCommandList); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D12Device8*)Unsafe.AsPointer(ref this), nodeMask, type, pCommandAllocator, pInitialState, riid, ppCommandList); -#endif } /// @@ -24749,11 +21304,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(33)] public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, uint FeatureSupportDataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[33]))((ID3D12Device8*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D12Device8*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#endif } /// @@ -24761,11 +21312,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(34)] public HResult CreateDescriptorHeap(DescriptorHeapDescription* pDescriptorHeapDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[34]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDescriptorHeapDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDescriptorHeapDesc, riid, ppvHeap); -#endif } /// @@ -24773,11 +21320,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(35)] public uint GetDescriptorHandleIncrementSize(DescriptorHeapType DescriptorHeapType) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[35]))((ID3D12Device8*)Unsafe.AsPointer(ref this), DescriptorHeapType); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D12Device8*)Unsafe.AsPointer(ref this), DescriptorHeapType); -#endif } /// @@ -24785,11 +21328,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(36)] public HResult CreateRootSignature(uint nodeMask, void* pBlobWithRootSignature, nuint blobLengthInBytes, Guid* riid, void** ppvRootSignature) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[36]))((ID3D12Device8*)Unsafe.AsPointer(ref this), nodeMask, pBlobWithRootSignature, blobLengthInBytes, riid, ppvRootSignature); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D12Device8*)Unsafe.AsPointer(ref this), nodeMask, pBlobWithRootSignature, blobLengthInBytes, riid, ppvRootSignature); -#endif } /// @@ -24797,11 +21336,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(37)] public void CreateConstantBufferView(ConstantBufferViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[37]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#endif } /// @@ -24809,11 +21344,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(38)] public void CreateShaderResourceView(ID3D12Resource* pResource, ShaderResourceViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[38]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -24821,11 +21352,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(39)] public void CreateUnorderedAccessView(ID3D12Resource* pResource, ID3D12Resource* pCounterResource, UnorderedAccessViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[39]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pResource, pCounterResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pResource, pCounterResource, pDesc, DestDescriptor); -#endif } /// @@ -24833,11 +21360,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(40)] public void CreateRenderTargetView(ID3D12Resource* pResource, RenderTargetViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[40]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -24845,11 +21368,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(41)] public void CreateDepthStencilView(ID3D12Resource* pResource, DepthStencilViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[41]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -24857,11 +21376,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(42)] public void CreateSampler(SamplerDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[42]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#endif } /// @@ -24869,11 +21384,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(43)] public void CopyDescriptors(uint NumDestDescriptorRanges, CpuDescriptorHandle* pDestDescriptorRangeStarts, uint* pDestDescriptorRangeSizes, uint NumSrcDescriptorRanges, CpuDescriptorHandle* pSrcDescriptorRangeStarts, uint* pSrcDescriptorRangeSizes, DescriptorHeapType DescriptorHeapsType) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[43]))((ID3D12Device8*)Unsafe.AsPointer(ref this), NumDestDescriptorRanges, pDestDescriptorRangeStarts, pDestDescriptorRangeSizes, NumSrcDescriptorRanges, pSrcDescriptorRangeStarts, pSrcDescriptorRangeSizes, DescriptorHeapsType); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D12Device8*)Unsafe.AsPointer(ref this), NumDestDescriptorRanges, pDestDescriptorRangeStarts, pDestDescriptorRangeSizes, NumSrcDescriptorRanges, pSrcDescriptorRangeStarts, pSrcDescriptorRangeSizes, DescriptorHeapsType); -#endif } /// @@ -24881,11 +21392,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(44)] public void CopyDescriptorsSimple(uint NumDescriptors, CpuDescriptorHandle* DestDescriptorRangeStart, CpuDescriptorHandle* SrcDescriptorRangeStart, DescriptorHeapType DescriptorHeapsType) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[44]))((ID3D12Device8*)Unsafe.AsPointer(ref this), NumDescriptors, DestDescriptorRangeStart, SrcDescriptorRangeStart, DescriptorHeapsType); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D12Device8*)Unsafe.AsPointer(ref this), NumDescriptors, DestDescriptorRangeStart, SrcDescriptorRangeStart, DescriptorHeapsType); -#endif } /// @@ -24893,11 +21400,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(45)] public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[45]))((ID3D12Device8*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D12Device8*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); -#endif } /// @@ -24905,11 +21408,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(46)] public Graphics.Direct3D12.HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[46]))((ID3D12Device8*)Unsafe.AsPointer(ref this), nodeMask, heapType); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D12Device8*)Unsafe.AsPointer(ref this), nodeMask, heapType); -#endif } /// @@ -24917,11 +21416,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(47)] public HResult CreateCommittedResource(HeapProperties* pHeapProperties, HeapFlags HeapFlags, ResourceDescription* pDesc, ResourceStates InitialResourceState, ClearValue* pOptimizedClearValue, Guid* riidResource, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[47]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, riidResource, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, riidResource, ppvResource); -#endif } /// @@ -24929,11 +21424,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(48)] public HResult CreateHeap(HeapDescription* pDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[48]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#endif } /// @@ -24941,11 +21432,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(49)] public HResult CreatePlacedResource(ID3D12Heap* pHeap, ulong HeapOffset, ResourceDescription* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[49]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pHeap, HeapOffset, pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pHeap, HeapOffset, pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#endif } /// @@ -24953,11 +21440,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(50)] public HResult CreateReservedResource(ResourceDescription* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[50]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#endif } /// @@ -24965,11 +21448,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(51)] public HResult CreateSharedHandle(ID3D12DeviceChild* pObject, Security.SECURITY_ATTRIBUTES* pAttributes, uint Access, char** Name, IntPtr* pHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[51]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pObject, pAttributes, Access, Name, pHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pObject, pAttributes, Access, Name, pHandle); -#endif } /// @@ -24977,11 +21456,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(52)] public HResult OpenSharedHandle(IntPtr NTHandle, Guid* riid, void** ppvObj) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[52]))((ID3D12Device8*)Unsafe.AsPointer(ref this), NTHandle, riid, ppvObj); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D12Device8*)Unsafe.AsPointer(ref this), NTHandle, riid, ppvObj); -#endif } /// @@ -24989,11 +21464,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(53)] public HResult OpenSharedHandleByName(char** Name, uint Access, IntPtr* pNTHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[53]))((ID3D12Device8*)Unsafe.AsPointer(ref this), Name, Access, pNTHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID3D12Device8*)Unsafe.AsPointer(ref this), Name, Access, pNTHandle); -#endif } /// @@ -25001,11 +21472,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(54)] public HResult MakeResident(uint NumObjects, ID3D12Pageable* ppObjects) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[54]))((ID3D12Device8*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D12Device8*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#endif } /// @@ -25013,11 +21480,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(55)] public HResult Evict(uint NumObjects, ID3D12Pageable* ppObjects) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[55]))((ID3D12Device8*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID3D12Device8*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#endif } /// @@ -25025,11 +21488,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(56)] public HResult CreateFence(ulong InitialValue, FenceFlags Flags, Guid* riid, void** ppFence) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[56]))((ID3D12Device8*)Unsafe.AsPointer(ref this), InitialValue, Flags, riid, ppFence); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID3D12Device8*)Unsafe.AsPointer(ref this), InitialValue, Flags, riid, ppFence); -#endif } /// @@ -25037,11 +21496,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(57)] public HResult GetDeviceRemovedReason() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[57]))((ID3D12Device8*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID3D12Device8*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -25049,11 +21504,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(58)] public void GetCopyableFootprints(ResourceDescription* pResourceDesc, uint FirstSubresource, uint NumSubresources, ulong BaseOffset, PlacedSubresourceFootprint* pLayouts, uint* pNumRows, ulong* pRowSizeInBytes, ulong* pTotalBytes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[58]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pResourceDesc, FirstSubresource, NumSubresources, BaseOffset, pLayouts, pNumRows, pRowSizeInBytes, pTotalBytes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pResourceDesc, FirstSubresource, NumSubresources, BaseOffset, pLayouts, pNumRows, pRowSizeInBytes, pTotalBytes); -#endif } /// @@ -25061,11 +21512,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(59)] public HResult CreateQueryHeap(QueryHeapDescription* pDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[59]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#endif } /// @@ -25073,11 +21520,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(60)] public HResult SetStablePowerState(Bool32 Enable) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[60]))((ID3D12Device8*)Unsafe.AsPointer(ref this), Enable); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((ID3D12Device8*)Unsafe.AsPointer(ref this), Enable); -#endif } /// @@ -25085,11 +21528,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(61)] public HResult CreateCommandSignature(CommandSignatureDescription* pDesc, ID3D12RootSignature* pRootSignature, Guid* riid, void** ppvCommandSignature) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[61]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, pRootSignature, riid, ppvCommandSignature); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pDesc, pRootSignature, riid, ppvCommandSignature); -#endif } /// @@ -25097,11 +21536,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(62)] public void GetResourceTiling(ID3D12Resource* pTiledResource, uint* pNumTilesForEntireResource, PackedMipInfo* pPackedMipDesc, TileShape* pStandardTileShapeForNonPackedMips, uint* pNumSubresourceTilings, uint FirstSubresourceTilingToGet, SubresourceTiling* pSubresourceTilingsForNonPackedMips) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[62]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#endif } /// @@ -25109,11 +21544,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(63)] public Luid GetAdapterLuid() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[63]))((ID3D12Device8*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((ID3D12Device8*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -25121,11 +21552,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(64)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[64]))((ID3D12Device8*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((ID3D12Device8*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -25133,11 +21560,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(65)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[65]))((ID3D12Device8*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((ID3D12Device8*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -25145,11 +21568,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(66)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[66]))((ID3D12Device8*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[66]))((ID3D12Device8*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -25157,11 +21576,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(67)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[67]))((ID3D12Device8*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((ID3D12Device8*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -25169,11 +21584,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(68)] public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo2(uint visibleMask, uint numResourceDescs, ResourceDescription1* pResourceDescs, ResourceAllocationInfo1* pResourceAllocationInfo1) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[68]))((ID3D12Device8*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[68]))((ID3D12Device8*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); -#endif } /// @@ -25181,11 +21592,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(69)] public HResult CreateCommittedResource2(HeapProperties* pHeapProperties, HeapFlags HeapFlags, ResourceDescription1* pDesc, ResourceStates InitialResourceState, ClearValue* pOptimizedClearValue, ID3D12ProtectedResourceSession* pProtectedSession, Guid* riidResource, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[69]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, pProtectedSession, riidResource, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[69]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, pProtectedSession, riidResource, ppvResource); -#endif } /// @@ -25193,11 +21600,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(70)] public HResult CreatePlacedResource1(ID3D12Heap* pHeap, ulong HeapOffset, ResourceDescription1* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[70]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pHeap, HeapOffset, pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pHeap, HeapOffset, pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#endif } /// @@ -25205,11 +21608,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(71)] public void CreateSamplerFeedbackUnorderedAccessView(ID3D12Resource* pTargetedResource, ID3D12Resource* pFeedbackResource, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[71]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pTargetedResource, pFeedbackResource, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pTargetedResource, pFeedbackResource, DestDescriptor); -#endif } /// @@ -25217,16 +21616,9 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [VtblIndex(72)] public void GetCopyableFootprints1(ResourceDescription1* pResourceDesc, uint FirstSubresource, uint NumSubresources, ulong BaseOffset, PlacedSubresourceFootprint* pLayouts, uint* pNumRows, ulong* pRowSizeInBytes, ulong* pTotalBytes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[72]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pResourceDesc, FirstSubresource, NumSubresources, BaseOffset, pLayouts, pNumRows, pRowSizeInBytes, pTotalBytes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID3D12Device8*)Unsafe.AsPointer(ref this), pResourceDesc, FirstSubresource, NumSubresources, BaseOffset, pLayouts, pNumRows, pRowSizeInBytes, pTotalBytes); -#endif } - public interface Interface : ID3D12Device7.Interface - { - } } /// @@ -25234,7 +21626,7 @@ public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface [Guid("9d5e227a-4430-4161-88b3-3eca6bb16e19")] [NativeTypeName("struct ID3D12Resource1 : ID3D12Resource")] [NativeInheritance("ID3D12Resource")] -public unsafe partial struct ID3D12Resource1 : ID3D12Resource1.Interface +public unsafe partial struct ID3D12Resource1 { public static ref readonly Guid IID_ID3D12Resource1 { @@ -25295,11 +21687,7 @@ public unsafe partial struct ID3D12Resource1 : ID3D12Resource1.Interface [VtblIndex(3)] public HResult Map(uint Subresource, Range* pReadRange, void** ppData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12Resource1*)Unsafe.AsPointer(ref this), Subresource, pReadRange, ppData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Resource1*)Unsafe.AsPointer(ref this), Subresource, pReadRange, ppData); -#endif } /// @@ -25307,11 +21695,7 @@ public unsafe partial struct ID3D12Resource1 : ID3D12Resource1.Interface [VtblIndex(4)] public void Unmap(uint Subresource, Range* pWrittenRange) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D12Resource1*)Unsafe.AsPointer(ref this), Subresource, pWrittenRange); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12Resource1*)Unsafe.AsPointer(ref this), Subresource, pWrittenRange); -#endif } /// @@ -25319,11 +21703,7 @@ public unsafe partial struct ID3D12Resource1 : ID3D12Resource1.Interface [VtblIndex(5)] public Graphics.Direct3D12.ResourceDescription GetDesc() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12Resource1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12Resource1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -25331,11 +21711,7 @@ public unsafe partial struct ID3D12Resource1 : ID3D12Resource1.Interface [VtblIndex(6)] public ulong GetGPUVirtualAddress() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12Resource1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12Resource1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -25343,11 +21719,7 @@ public unsafe partial struct ID3D12Resource1 : ID3D12Resource1.Interface [VtblIndex(7)] public HResult WriteToSubresource(uint DstSubresource, Box* pDstBox, void* pSrcData, uint SrcRowPitch, uint SrcDepthPitch) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Resource1*)Unsafe.AsPointer(ref this), DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12Resource1*)Unsafe.AsPointer(ref this), DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch); -#endif } /// @@ -25355,11 +21727,7 @@ public unsafe partial struct ID3D12Resource1 : ID3D12Resource1.Interface [VtblIndex(8)] public HResult ReadFromSubresource(void* pDstData, uint DstRowPitch, uint DstDepthPitch, uint SrcSubresource, Box* pSrcBox) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12Resource1*)Unsafe.AsPointer(ref this), pDstData, DstRowPitch, DstDepthPitch, SrcSubresource, pSrcBox); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12Resource1*)Unsafe.AsPointer(ref this), pDstData, DstRowPitch, DstDepthPitch, SrcSubresource, pSrcBox); -#endif } /// @@ -25367,11 +21735,7 @@ public unsafe partial struct ID3D12Resource1 : ID3D12Resource1.Interface [VtblIndex(9)] public HResult GetHeapProperties(HeapProperties* pHeapProperties, HeapFlags* pHeapFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D12Resource1*)Unsafe.AsPointer(ref this), pHeapProperties, pHeapFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12Resource1*)Unsafe.AsPointer(ref this), pHeapProperties, pHeapFlags); -#endif } /// @@ -25379,11 +21743,7 @@ public unsafe partial struct ID3D12Resource1 : ID3D12Resource1.Interface [VtblIndex(10)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D12Resource1*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12Resource1*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -25391,11 +21751,7 @@ public unsafe partial struct ID3D12Resource1 : ID3D12Resource1.Interface [VtblIndex(11)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D12Resource1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12Resource1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -25403,11 +21759,7 @@ public unsafe partial struct ID3D12Resource1 : ID3D12Resource1.Interface [VtblIndex(12)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D12Resource1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D12Resource1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -25415,11 +21767,7 @@ public unsafe partial struct ID3D12Resource1 : ID3D12Resource1.Interface [VtblIndex(13)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((ID3D12Resource1*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12Resource1*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -25427,11 +21775,7 @@ public unsafe partial struct ID3D12Resource1 : ID3D12Resource1.Interface [VtblIndex(14)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((ID3D12Resource1*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D12Resource1*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -25439,16 +21783,9 @@ public unsafe partial struct ID3D12Resource1 : ID3D12Resource1.Interface [VtblIndex(15)] public HResult GetProtectedResourceSession(Guid* riid, void** ppProtectedSession) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((ID3D12Resource1*)Unsafe.AsPointer(ref this), riid, ppProtectedSession); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D12Resource1*)Unsafe.AsPointer(ref this), riid, ppProtectedSession); -#endif } - public interface Interface : ID3D12Resource.Interface - { - } } /// @@ -25456,7 +21793,7 @@ public unsafe partial struct ID3D12Resource1 : ID3D12Resource1.Interface [Guid("be36ec3b-ea85-4aeb-a45a-e9d76404a495")] [NativeTypeName("struct ID3D12Resource2 : ID3D12Resource1")] [NativeInheritance("ID3D12Resource1")] -public unsafe partial struct ID3D12Resource2 : ID3D12Resource2.Interface +public unsafe partial struct ID3D12Resource2 { public static ref readonly Guid IID_ID3D12Resource2 { @@ -25517,11 +21854,7 @@ public unsafe partial struct ID3D12Resource2 : ID3D12Resource2.Interface [VtblIndex(3)] public HResult GetProtectedResourceSession(Guid* riid, void** ppProtectedSession) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), riid, ppProtectedSession); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), riid, ppProtectedSession); -#endif } /// @@ -25529,11 +21862,7 @@ public unsafe partial struct ID3D12Resource2 : ID3D12Resource2.Interface [VtblIndex(4)] public HResult Map(uint Subresource, Range* pReadRange, void** ppData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), Subresource, pReadRange, ppData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), Subresource, pReadRange, ppData); -#endif } /// @@ -25541,11 +21870,7 @@ public unsafe partial struct ID3D12Resource2 : ID3D12Resource2.Interface [VtblIndex(5)] public void Unmap(uint Subresource, Range* pWrittenRange) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), Subresource, pWrittenRange); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), Subresource, pWrittenRange); -#endif } /// @@ -25553,11 +21878,7 @@ public unsafe partial struct ID3D12Resource2 : ID3D12Resource2.Interface [VtblIndex(6)] public Graphics.Direct3D12.ResourceDescription GetDesc() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12Resource2*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12Resource2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -25565,11 +21886,7 @@ public unsafe partial struct ID3D12Resource2 : ID3D12Resource2.Interface [VtblIndex(7)] public ulong GetGPUVirtualAddress() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Resource2*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12Resource2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -25577,11 +21894,7 @@ public unsafe partial struct ID3D12Resource2 : ID3D12Resource2.Interface [VtblIndex(8)] public HResult WriteToSubresource(uint DstSubresource, Box* pDstBox, void* pSrcData, uint SrcRowPitch, uint SrcDepthPitch) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch); -#endif } /// @@ -25589,11 +21902,7 @@ public unsafe partial struct ID3D12Resource2 : ID3D12Resource2.Interface [VtblIndex(9)] public HResult ReadFromSubresource(void* pDstData, uint DstRowPitch, uint DstDepthPitch, uint SrcSubresource, Box* pSrcBox) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), pDstData, DstRowPitch, DstDepthPitch, SrcSubresource, pSrcBox); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), pDstData, DstRowPitch, DstDepthPitch, SrcSubresource, pSrcBox); -#endif } /// @@ -25601,11 +21910,7 @@ public unsafe partial struct ID3D12Resource2 : ID3D12Resource2.Interface [VtblIndex(10)] public HResult GetHeapProperties(HeapProperties* pHeapProperties, HeapFlags* pHeapFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), pHeapProperties, pHeapFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), pHeapProperties, pHeapFlags); -#endif } /// @@ -25613,11 +21918,7 @@ public unsafe partial struct ID3D12Resource2 : ID3D12Resource2.Interface [VtblIndex(11)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -25625,11 +21926,7 @@ public unsafe partial struct ID3D12Resource2 : ID3D12Resource2.Interface [VtblIndex(12)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -25637,11 +21934,7 @@ public unsafe partial struct ID3D12Resource2 : ID3D12Resource2.Interface [VtblIndex(13)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -25649,11 +21942,7 @@ public unsafe partial struct ID3D12Resource2 : ID3D12Resource2.Interface [VtblIndex(14)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -25661,11 +21950,7 @@ public unsafe partial struct ID3D12Resource2 : ID3D12Resource2.Interface [VtblIndex(15)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -25673,16 +21958,9 @@ public unsafe partial struct ID3D12Resource2 : ID3D12Resource2.Interface [VtblIndex(16)] public Graphics.Direct3D12.ResourceDescription1 GetDesc1() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((ID3D12Resource2*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D12Resource2*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : ID3D12Resource1.Interface - { - } } /// @@ -25690,7 +21968,7 @@ public unsafe partial struct ID3D12Resource2 : ID3D12Resource2.Interface [Guid("572f7389-2168-49e3-9693-d6df5871bf6d")] [NativeTypeName("struct ID3D12Heap1 : ID3D12Heap")] [NativeInheritance("ID3D12Heap")] -public unsafe partial struct ID3D12Heap1 : ID3D12Heap1.Interface +public unsafe partial struct ID3D12Heap1 { public static ref readonly Guid IID_ID3D12Heap1 { @@ -25751,11 +22029,7 @@ public unsafe partial struct ID3D12Heap1 : ID3D12Heap1.Interface [VtblIndex(3)] public Graphics.Direct3D12.HeapDescription GetDesc() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12Heap1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Heap1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -25763,11 +22037,7 @@ public unsafe partial struct ID3D12Heap1 : ID3D12Heap1.Interface [VtblIndex(4)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12Heap1*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12Heap1*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -25775,11 +22045,7 @@ public unsafe partial struct ID3D12Heap1 : ID3D12Heap1.Interface [VtblIndex(5)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12Heap1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12Heap1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -25787,11 +22053,7 @@ public unsafe partial struct ID3D12Heap1 : ID3D12Heap1.Interface [VtblIndex(6)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12Heap1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12Heap1*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -25799,11 +22061,7 @@ public unsafe partial struct ID3D12Heap1 : ID3D12Heap1.Interface [VtblIndex(7)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Heap1*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12Heap1*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -25811,11 +22069,7 @@ public unsafe partial struct ID3D12Heap1 : ID3D12Heap1.Interface [VtblIndex(8)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12Heap1*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12Heap1*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -25823,16 +22077,9 @@ public unsafe partial struct ID3D12Heap1 : ID3D12Heap1.Interface [VtblIndex(9)] public HResult GetProtectedResourceSession(Guid* riid, void** ppProtectedSession) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D12Heap1*)Unsafe.AsPointer(ref this), riid, ppProtectedSession); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12Heap1*)Unsafe.AsPointer(ref this), riid, ppProtectedSession); -#endif } - public interface Interface : ID3D12Heap.Interface - { - } } /// @@ -25840,7 +22087,7 @@ public unsafe partial struct ID3D12Heap1 : ID3D12Heap1.Interface [Guid("6fda83a7-b84c-4e38-9ac8-c7bd22016b3d")] [NativeTypeName("struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandList2")] [NativeInheritance("ID3D12GraphicsCommandList2")] -public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandList3.Interface +public unsafe partial struct ID3D12GraphicsCommandList3 { public static ref readonly Guid IID_ID3D12GraphicsCommandList3 { @@ -25901,11 +22148,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(3)] public void WriteBufferImmediate(uint Count, WritebufferimmediateParameter* pParams, WritebufferimmediateMode* pModes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), Count, pParams, pModes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), Count, pParams, pModes); -#endif } /// @@ -25913,11 +22156,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(4)] public void AtomicCopyBufferUINT(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource* ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); -#endif } /// @@ -25925,11 +22164,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(5)] public void AtomicCopyBufferUINT64(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource* ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); -#endif } /// @@ -25937,11 +22172,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(6)] public void OMSetDepthBounds(float Min, float Max) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[6]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), Min, Max); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), Min, Max); -#endif } /// @@ -25949,11 +22180,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(7)] public void SetSamplePositions(uint NumSamplesPerPixel, uint NumPixels, SamplePosition* pSamplePositions) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[7]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), NumSamplesPerPixel, NumPixels, pSamplePositions); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), NumSamplesPerPixel, NumPixels, pSamplePositions); -#endif } /// @@ -25961,11 +22188,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(8)] public void ResolveSubresourceRegion(ID3D12Resource* pDstResource, uint DstSubresource, uint DstX, uint DstY, ID3D12Resource* pSrcResource, uint SrcSubresource, RawRect* pSrcRect, Graphics.Dxgi.Common.Format Format, ResolveMode ResolveMode) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, pSrcResource, SrcSubresource, pSrcRect, Format, ResolveMode); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, pSrcResource, SrcSubresource, pSrcRect, Format, ResolveMode); -#endif } /// @@ -25973,11 +22196,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(9)] public void SetViewInstanceMask(uint Mask) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[9]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), Mask); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), Mask); -#endif } /// @@ -25985,11 +22204,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(10)] public HResult Close() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -25997,11 +22212,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(11)] public HResult Reset(ID3D12CommandAllocator* pAllocator, ID3D12PipelineState* pInitialState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pAllocator, pInitialState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pAllocator, pInitialState); -#endif } /// @@ -26009,11 +22220,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(12)] public void ClearState(ID3D12PipelineState* pPipelineState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[12]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pPipelineState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pPipelineState); -#endif } /// @@ -26021,11 +22228,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(13)] public void DrawInstanced(uint VertexCountPerInstance, uint InstanceCount, uint StartVertexLocation, uint StartInstanceLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[13]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), VertexCountPerInstance, InstanceCount, StartVertexLocation, StartInstanceLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), VertexCountPerInstance, InstanceCount, StartVertexLocation, StartInstanceLocation); -#endif } /// @@ -26033,11 +22236,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(14)] public void DrawIndexedInstanced(uint IndexCountPerInstance, uint InstanceCount, uint StartIndexLocation, int BaseVertexLocation, uint StartInstanceLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[14]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), IndexCountPerInstance, InstanceCount, StartIndexLocation, BaseVertexLocation, StartInstanceLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), IndexCountPerInstance, InstanceCount, StartIndexLocation, BaseVertexLocation, StartInstanceLocation); -#endif } /// @@ -26045,11 +22244,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(15)] public void Dispatch(uint ThreadGroupCountX, uint ThreadGroupCountY, uint ThreadGroupCountZ) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[15]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ); -#endif } /// @@ -26057,11 +22252,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(16)] public void CopyBufferRegion(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, ulong NumBytes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[16]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, NumBytes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, NumBytes); -#endif } /// @@ -26069,11 +22260,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(17)] public void CopyTextureRegion(TextureCopyLocation* pDst, uint DstX, uint DstY, uint DstZ, TextureCopyLocation* pSrc, Box* pSrcBox) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[17]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pDst, DstX, DstY, DstZ, pSrc, pSrcBox); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pDst, DstX, DstY, DstZ, pSrc, pSrcBox); -#endif } /// @@ -26081,11 +22268,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(18)] public void CopyResource(ID3D12Resource* pDstResource, ID3D12Resource* pSrcResource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[18]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pDstResource, pSrcResource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pDstResource, pSrcResource); -#endif } /// @@ -26093,11 +22276,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(19)] public void CopyTiles(ID3D12Resource* pTiledResource, TiledResourceCoordinate* pTileRegionStartCoordinate, TileRegionSize* pTileRegionSize, ID3D12Resource* pBuffer, ulong BufferStartOffsetInBytes, TileCopyFlags Flags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[19]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pTiledResource, pTileRegionStartCoordinate, pTileRegionSize, pBuffer, BufferStartOffsetInBytes, Flags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pTiledResource, pTileRegionStartCoordinate, pTileRegionSize, pBuffer, BufferStartOffsetInBytes, Flags); -#endif } /// @@ -26105,11 +22284,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(20)] public void ResolveSubresource(ID3D12Resource* pDstResource, uint DstSubresource, ID3D12Resource* pSrcResource, uint SrcSubresource, Graphics.Dxgi.Common.Format Format) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[20]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pSrcResource, SrcSubresource, Format); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pSrcResource, SrcSubresource, Format); -#endif } /// @@ -26117,11 +22292,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(21)] public void IASetPrimitiveTopology(Graphics.Direct3D.PrimitiveTopology PrimitiveTopology) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[21]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), PrimitiveTopology); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), PrimitiveTopology); -#endif } /// @@ -26129,11 +22300,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(22)] public void RSSetViewports(uint NumViewports, Viewport* pViewports) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[22]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), NumViewports, pViewports); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), NumViewports, pViewports); -#endif } /// @@ -26141,11 +22308,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(23)] public void RSSetScissorRects(uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[23]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), NumRects, pRects); -#endif } /// @@ -26153,11 +22316,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(24)] public void OMSetBlendFactor(float* BlendFactor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[24]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), BlendFactor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), BlendFactor); -#endif } /// @@ -26165,11 +22324,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(25)] public void OMSetStencilRef(uint StencilRef) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[25]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), StencilRef); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), StencilRef); -#endif } /// @@ -26177,11 +22332,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(26)] public void SetPipelineState(ID3D12PipelineState* pPipelineState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[26]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pPipelineState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pPipelineState); -#endif } /// @@ -26189,11 +22340,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(27)] public void ResourceBarrier(uint NumBarriers, ResourceBarrier* pBarriers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[27]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), NumBarriers, pBarriers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), NumBarriers, pBarriers); -#endif } /// @@ -26201,11 +22348,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(28)] public void ExecuteBundle(ID3D12GraphicsCommandList* pCommandList) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[28]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pCommandList); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pCommandList); -#endif } /// @@ -26213,11 +22356,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(29)] public void SetDescriptorHeaps(uint NumDescriptorHeaps, ID3D12DescriptorHeap* ppDescriptorHeaps) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[29]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps); -#endif } /// @@ -26225,11 +22364,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(30)] public void SetComputeRootSignature(ID3D12RootSignature* pRootSignature) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[30]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pRootSignature); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pRootSignature); -#endif } /// @@ -26237,11 +22372,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(31)] public void SetGraphicsRootSignature(ID3D12RootSignature* pRootSignature) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[31]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pRootSignature); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pRootSignature); -#endif } /// @@ -26249,11 +22380,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(32)] public void SetComputeRootDescriptorTable(uint RootParameterIndex, GpuDescriptorHandle* BaseDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[32]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#endif } /// @@ -26261,11 +22388,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(33)] public void SetGraphicsRootDescriptorTable(uint RootParameterIndex, GpuDescriptorHandle* BaseDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[33]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#endif } /// @@ -26273,11 +22396,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(34)] public void SetComputeRoot32BitConstant(uint RootParameterIndex, uint SrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[34]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#endif } /// @@ -26285,11 +22404,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(35)] public void SetGraphicsRoot32BitConstant(uint RootParameterIndex, uint SrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[35]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#endif } /// @@ -26297,11 +22412,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(36)] public void SetComputeRoot32BitConstants(uint RootParameterIndex, uint Num32BitValuesToSet, void* pSrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[36]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#endif } /// @@ -26309,11 +22420,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(37)] public void SetGraphicsRoot32BitConstants(uint RootParameterIndex, uint Num32BitValuesToSet, void* pSrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[37]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#endif } /// @@ -26321,11 +22428,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(38)] public void SetComputeRootConstantBufferView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[38]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -26333,11 +22436,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(39)] public void SetGraphicsRootConstantBufferView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[39]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -26345,11 +22444,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(40)] public void SetComputeRootShaderResourceView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[40]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -26357,11 +22452,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(41)] public void SetGraphicsRootShaderResourceView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[41]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -26369,11 +22460,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(42)] public void SetComputeRootUnorderedAccessView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[42]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -26381,11 +22468,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(43)] public void SetGraphicsRootUnorderedAccessView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[43]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -26393,11 +22476,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(44)] public void IASetIndexBuffer(IndexBufferView* pView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[44]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pView); -#endif } /// @@ -26405,11 +22484,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(45)] public void IASetVertexBuffers(uint StartSlot, uint NumViews, VertexBufferView* pViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[45]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#endif } /// @@ -26417,11 +22492,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(46)] public void SOSetTargets(uint StartSlot, uint NumViews, StreamOutputBufferView* pViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[46]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#endif } /// @@ -26429,11 +22500,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(47)] public void OMSetRenderTargets(uint NumRenderTargetDescriptors, CpuDescriptorHandle* pRenderTargetDescriptors, Bool32 RTsSingleHandleToDescriptorRange, CpuDescriptorHandle* pDepthStencilDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[47]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), NumRenderTargetDescriptors, pRenderTargetDescriptors, RTsSingleHandleToDescriptorRange, pDepthStencilDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), NumRenderTargetDescriptors, pRenderTargetDescriptors, RTsSingleHandleToDescriptorRange, pDepthStencilDescriptor); -#endif } /// @@ -26441,11 +22508,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(48)] public void ClearDepthStencilView(CpuDescriptorHandle* DepthStencilView, ClearFlags ClearFlags, float Depth, byte Stencil, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[48]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), DepthStencilView, ClearFlags, Depth, Stencil, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), DepthStencilView, ClearFlags, Depth, Stencil, NumRects, pRects); -#endif } /// @@ -26453,11 +22516,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(49)] public void ClearRenderTargetView(CpuDescriptorHandle* RenderTargetView, float* ColorRGBA, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[49]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), RenderTargetView, ColorRGBA, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), RenderTargetView, ColorRGBA, NumRects, pRects); -#endif } /// @@ -26465,11 +22524,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(50)] public void ClearUnorderedAccessViewUint(GpuDescriptorHandle* ViewGPUHandleInCurrentHeap, CpuDescriptorHandle* ViewCPUHandle, ID3D12Resource* pResource, uint* Values, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[50]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#endif } /// @@ -26477,11 +22532,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(51)] public void ClearUnorderedAccessViewFloat(GpuDescriptorHandle* ViewGPUHandleInCurrentHeap, CpuDescriptorHandle* ViewCPUHandle, ID3D12Resource* pResource, float* Values, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[51]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#endif } /// @@ -26489,11 +22540,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(52)] public void DiscardResource(ID3D12Resource* pResource, DiscardRegion* pRegion) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[52]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pResource, pRegion); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pResource, pRegion); -#endif } /// @@ -26501,11 +22548,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(53)] public void BeginQuery(ID3D12QueryHeap* pQueryHeap, QueryType Type, uint Index) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[53]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#endif } /// @@ -26513,11 +22556,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(54)] public void EndQuery(ID3D12QueryHeap* pQueryHeap, QueryType Type, uint Index) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[54]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#endif } /// @@ -26525,11 +22564,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(55)] public void ResolveQueryData(ID3D12QueryHeap* pQueryHeap, QueryType Type, uint StartIndex, uint NumQueries, ID3D12Resource* pDestinationBuffer, ulong AlignedDestinationBufferOffset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[55]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pQueryHeap, Type, StartIndex, NumQueries, pDestinationBuffer, AlignedDestinationBufferOffset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pQueryHeap, Type, StartIndex, NumQueries, pDestinationBuffer, AlignedDestinationBufferOffset); -#endif } /// @@ -26537,11 +22572,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(56)] public void SetPredication(ID3D12Resource* pBuffer, ulong AlignedBufferOffset, PredicationOp Operation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[56]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pBuffer, AlignedBufferOffset, Operation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pBuffer, AlignedBufferOffset, Operation); -#endif } /// @@ -26549,11 +22580,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(57)] public void SetMarker(uint Metadata, void* pData, uint Size) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[57]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#endif } /// @@ -26561,11 +22588,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(58)] public void BeginEvent(uint Metadata, void* pData, uint Size) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[58]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#endif } /// @@ -26573,11 +22596,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(59)] public void EndEvent() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[59]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -26585,11 +22604,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(60)] public void ExecuteIndirect(ID3D12CommandSignature* pCommandSignature, uint MaxCommandCount, ID3D12Resource* pArgumentBuffer, ulong ArgumentBufferOffset, ID3D12Resource* pCountBuffer, ulong CountBufferOffset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[60]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pCommandSignature, MaxCommandCount, pArgumentBuffer, ArgumentBufferOffset, pCountBuffer, CountBufferOffset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pCommandSignature, MaxCommandCount, pArgumentBuffer, ArgumentBufferOffset, pCountBuffer, CountBufferOffset); -#endif } /// @@ -26597,11 +22612,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(61)] public new Graphics.Direct3D12.CommandListType GetType() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[61]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -26609,11 +22620,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(62)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[62]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -26621,11 +22628,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(63)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[63]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -26633,11 +22636,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(64)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[64]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -26645,11 +22644,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(65)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[65]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -26657,11 +22652,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(66)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[66]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[66]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -26669,16 +22660,9 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [VtblIndex(67)] public void SetProtectedResourceSession(ID3D12ProtectedResourceSession* pProtectedResourceSession) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[67]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pProtectedResourceSession); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), pProtectedResourceSession); -#endif } - public interface Interface : ID3D12GraphicsCommandList2.Interface - { - } } /// @@ -26686,7 +22670,7 @@ public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandL [Guid("dbb84c27-36ce-4fc9-b801-f048c46ac570")] [NativeTypeName("struct ID3D12MetaCommand : ID3D12Pageable")] [NativeInheritance("ID3D12Pageable")] -public unsafe partial struct ID3D12MetaCommand : ID3D12MetaCommand.Interface +public unsafe partial struct ID3D12MetaCommand { public static ref readonly Guid IID_ID3D12MetaCommand { @@ -26747,11 +22731,7 @@ public unsafe partial struct ID3D12MetaCommand : ID3D12MetaCommand.Interface [VtblIndex(3)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12MetaCommand*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12MetaCommand*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -26759,11 +22739,7 @@ public unsafe partial struct ID3D12MetaCommand : ID3D12MetaCommand.Interface [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12MetaCommand*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12MetaCommand*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -26771,11 +22747,7 @@ public unsafe partial struct ID3D12MetaCommand : ID3D12MetaCommand.Interface [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12MetaCommand*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12MetaCommand*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -26783,11 +22755,7 @@ public unsafe partial struct ID3D12MetaCommand : ID3D12MetaCommand.Interface [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12MetaCommand*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12MetaCommand*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -26795,11 +22763,7 @@ public unsafe partial struct ID3D12MetaCommand : ID3D12MetaCommand.Interface [VtblIndex(7)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12MetaCommand*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12MetaCommand*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -26807,16 +22771,9 @@ public unsafe partial struct ID3D12MetaCommand : ID3D12MetaCommand.Interface [VtblIndex(8)] public ulong GetRequiredParameterResourceSize(MetaCommandParameterStage Stage, uint ParameterIndex) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12MetaCommand*)Unsafe.AsPointer(ref this), Stage, ParameterIndex); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12MetaCommand*)Unsafe.AsPointer(ref this), Stage, ParameterIndex); -#endif } - public interface Interface : ID3D12Pageable.Interface - { - } } /// @@ -26824,7 +22781,7 @@ public unsafe partial struct ID3D12MetaCommand : ID3D12MetaCommand.Interface [Guid("8754318e-d3a9-4541-98cf-645b50dc4874")] [NativeTypeName("struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandList3")] [NativeInheritance("ID3D12GraphicsCommandList3")] -public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandList4.Interface +public unsafe partial struct ID3D12GraphicsCommandList4 { public static ref readonly Guid IID_ID3D12GraphicsCommandList4 { @@ -26885,11 +22842,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(3)] public void SetProtectedResourceSession(ID3D12ProtectedResourceSession* pProtectedResourceSession) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pProtectedResourceSession); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pProtectedResourceSession); -#endif } /// @@ -26897,11 +22850,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(4)] public void WriteBufferImmediate(uint Count, WritebufferimmediateParameter* pParams, WritebufferimmediateMode* pModes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), Count, pParams, pModes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), Count, pParams, pModes); -#endif } /// @@ -26909,11 +22858,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(5)] public void AtomicCopyBufferUINT(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource* ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); -#endif } /// @@ -26921,11 +22866,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(6)] public void AtomicCopyBufferUINT64(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource* ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[6]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); -#endif } /// @@ -26933,11 +22874,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(7)] public void OMSetDepthBounds(float Min, float Max) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[7]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), Min, Max); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), Min, Max); -#endif } /// @@ -26945,11 +22882,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(8)] public void SetSamplePositions(uint NumSamplesPerPixel, uint NumPixels, SamplePosition* pSamplePositions) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), NumSamplesPerPixel, NumPixels, pSamplePositions); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), NumSamplesPerPixel, NumPixels, pSamplePositions); -#endif } /// @@ -26957,11 +22890,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(9)] public void ResolveSubresourceRegion(ID3D12Resource* pDstResource, uint DstSubresource, uint DstX, uint DstY, ID3D12Resource* pSrcResource, uint SrcSubresource, RawRect* pSrcRect, Graphics.Dxgi.Common.Format Format, ResolveMode ResolveMode) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[9]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, pSrcResource, SrcSubresource, pSrcRect, Format, ResolveMode); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, pSrcResource, SrcSubresource, pSrcRect, Format, ResolveMode); -#endif } /// @@ -26969,11 +22898,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(10)] public void SetViewInstanceMask(uint Mask) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[10]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), Mask); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), Mask); -#endif } /// @@ -26981,11 +22906,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(11)] public HResult Close() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -26993,11 +22914,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(12)] public HResult Reset(ID3D12CommandAllocator* pAllocator, ID3D12PipelineState* pInitialState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pAllocator, pInitialState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pAllocator, pInitialState); -#endif } /// @@ -27005,11 +22922,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(13)] public void ClearState(ID3D12PipelineState* pPipelineState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[13]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pPipelineState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pPipelineState); -#endif } /// @@ -27017,11 +22930,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(14)] public void DrawInstanced(uint VertexCountPerInstance, uint InstanceCount, uint StartVertexLocation, uint StartInstanceLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[14]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), VertexCountPerInstance, InstanceCount, StartVertexLocation, StartInstanceLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), VertexCountPerInstance, InstanceCount, StartVertexLocation, StartInstanceLocation); -#endif } /// @@ -27029,11 +22938,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(15)] public void DrawIndexedInstanced(uint IndexCountPerInstance, uint InstanceCount, uint StartIndexLocation, int BaseVertexLocation, uint StartInstanceLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[15]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), IndexCountPerInstance, InstanceCount, StartIndexLocation, BaseVertexLocation, StartInstanceLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), IndexCountPerInstance, InstanceCount, StartIndexLocation, BaseVertexLocation, StartInstanceLocation); -#endif } /// @@ -27041,11 +22946,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(16)] public void Dispatch(uint ThreadGroupCountX, uint ThreadGroupCountY, uint ThreadGroupCountZ) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[16]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ); -#endif } /// @@ -27053,11 +22954,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(17)] public void CopyBufferRegion(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, ulong NumBytes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[17]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, NumBytes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, NumBytes); -#endif } /// @@ -27065,11 +22962,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(18)] public void CopyTextureRegion(TextureCopyLocation* pDst, uint DstX, uint DstY, uint DstZ, TextureCopyLocation* pSrc, Box* pSrcBox) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[18]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pDst, DstX, DstY, DstZ, pSrc, pSrcBox); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pDst, DstX, DstY, DstZ, pSrc, pSrcBox); -#endif } /// @@ -27077,11 +22970,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(19)] public void CopyResource(ID3D12Resource* pDstResource, ID3D12Resource* pSrcResource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[19]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pDstResource, pSrcResource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pDstResource, pSrcResource); -#endif } /// @@ -27089,11 +22978,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(20)] public void CopyTiles(ID3D12Resource* pTiledResource, TiledResourceCoordinate* pTileRegionStartCoordinate, TileRegionSize* pTileRegionSize, ID3D12Resource* pBuffer, ulong BufferStartOffsetInBytes, TileCopyFlags Flags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[20]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pTiledResource, pTileRegionStartCoordinate, pTileRegionSize, pBuffer, BufferStartOffsetInBytes, Flags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pTiledResource, pTileRegionStartCoordinate, pTileRegionSize, pBuffer, BufferStartOffsetInBytes, Flags); -#endif } /// @@ -27101,11 +22986,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(21)] public void ResolveSubresource(ID3D12Resource* pDstResource, uint DstSubresource, ID3D12Resource* pSrcResource, uint SrcSubresource, Graphics.Dxgi.Common.Format Format) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[21]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pSrcResource, SrcSubresource, Format); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pSrcResource, SrcSubresource, Format); -#endif } /// @@ -27113,11 +22994,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(22)] public void IASetPrimitiveTopology(Graphics.Direct3D.PrimitiveTopology PrimitiveTopology) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[22]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), PrimitiveTopology); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), PrimitiveTopology); -#endif } /// @@ -27125,11 +23002,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(23)] public void RSSetViewports(uint NumViewports, Viewport* pViewports) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[23]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), NumViewports, pViewports); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), NumViewports, pViewports); -#endif } /// @@ -27137,11 +23010,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(24)] public void RSSetScissorRects(uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[24]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), NumRects, pRects); -#endif } /// @@ -27149,11 +23018,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(25)] public void OMSetBlendFactor(float* BlendFactor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[25]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), BlendFactor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), BlendFactor); -#endif } /// @@ -27161,11 +23026,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(26)] public void OMSetStencilRef(uint StencilRef) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[26]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), StencilRef); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), StencilRef); -#endif } /// @@ -27173,11 +23034,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(27)] public void SetPipelineState(ID3D12PipelineState* pPipelineState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[27]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pPipelineState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pPipelineState); -#endif } /// @@ -27185,11 +23042,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(28)] public void ResourceBarrier(uint NumBarriers, ResourceBarrier* pBarriers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[28]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), NumBarriers, pBarriers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), NumBarriers, pBarriers); -#endif } /// @@ -27197,11 +23050,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(29)] public void ExecuteBundle(ID3D12GraphicsCommandList* pCommandList) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[29]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pCommandList); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pCommandList); -#endif } /// @@ -27209,11 +23058,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(30)] public void SetDescriptorHeaps(uint NumDescriptorHeaps, ID3D12DescriptorHeap* ppDescriptorHeaps) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[30]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps); -#endif } /// @@ -27221,11 +23066,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(31)] public void SetComputeRootSignature(ID3D12RootSignature* pRootSignature) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[31]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pRootSignature); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pRootSignature); -#endif } /// @@ -27233,11 +23074,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(32)] public void SetGraphicsRootSignature(ID3D12RootSignature* pRootSignature) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[32]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pRootSignature); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pRootSignature); -#endif } /// @@ -27245,11 +23082,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(33)] public void SetComputeRootDescriptorTable(uint RootParameterIndex, GpuDescriptorHandle* BaseDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[33]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#endif } /// @@ -27257,11 +23090,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(34)] public void SetGraphicsRootDescriptorTable(uint RootParameterIndex, GpuDescriptorHandle* BaseDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[34]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#endif } /// @@ -27269,11 +23098,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(35)] public void SetComputeRoot32BitConstant(uint RootParameterIndex, uint SrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[35]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#endif } /// @@ -27281,11 +23106,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(36)] public void SetGraphicsRoot32BitConstant(uint RootParameterIndex, uint SrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[36]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#endif } /// @@ -27293,11 +23114,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(37)] public void SetComputeRoot32BitConstants(uint RootParameterIndex, uint Num32BitValuesToSet, void* pSrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[37]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#endif } /// @@ -27305,11 +23122,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(38)] public void SetGraphicsRoot32BitConstants(uint RootParameterIndex, uint Num32BitValuesToSet, void* pSrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[38]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#endif } /// @@ -27317,11 +23130,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(39)] public void SetComputeRootConstantBufferView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[39]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -27329,11 +23138,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(40)] public void SetGraphicsRootConstantBufferView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[40]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -27341,11 +23146,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(41)] public void SetComputeRootShaderResourceView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[41]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -27353,11 +23154,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(42)] public void SetGraphicsRootShaderResourceView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[42]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -27365,11 +23162,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(43)] public void SetComputeRootUnorderedAccessView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[43]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -27377,11 +23170,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(44)] public void SetGraphicsRootUnorderedAccessView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[44]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -27389,11 +23178,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(45)] public void IASetIndexBuffer(IndexBufferView* pView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[45]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pView); -#endif } /// @@ -27401,11 +23186,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(46)] public void IASetVertexBuffers(uint StartSlot, uint NumViews, VertexBufferView* pViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[46]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#endif } /// @@ -27413,11 +23194,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(47)] public void SOSetTargets(uint StartSlot, uint NumViews, StreamOutputBufferView* pViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[47]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#endif } /// @@ -27425,11 +23202,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(48)] public void OMSetRenderTargets(uint NumRenderTargetDescriptors, CpuDescriptorHandle* pRenderTargetDescriptors, Bool32 RTsSingleHandleToDescriptorRange, CpuDescriptorHandle* pDepthStencilDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[48]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), NumRenderTargetDescriptors, pRenderTargetDescriptors, RTsSingleHandleToDescriptorRange, pDepthStencilDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), NumRenderTargetDescriptors, pRenderTargetDescriptors, RTsSingleHandleToDescriptorRange, pDepthStencilDescriptor); -#endif } /// @@ -27437,11 +23210,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(49)] public void ClearDepthStencilView(CpuDescriptorHandle* DepthStencilView, ClearFlags ClearFlags, float Depth, byte Stencil, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[49]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), DepthStencilView, ClearFlags, Depth, Stencil, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), DepthStencilView, ClearFlags, Depth, Stencil, NumRects, pRects); -#endif } /// @@ -27449,11 +23218,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(50)] public void ClearRenderTargetView(CpuDescriptorHandle* RenderTargetView, float* ColorRGBA, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[50]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), RenderTargetView, ColorRGBA, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), RenderTargetView, ColorRGBA, NumRects, pRects); -#endif } /// @@ -27461,11 +23226,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(51)] public void ClearUnorderedAccessViewUint(GpuDescriptorHandle* ViewGPUHandleInCurrentHeap, CpuDescriptorHandle* ViewCPUHandle, ID3D12Resource* pResource, uint* Values, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[51]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#endif } /// @@ -27473,11 +23234,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(52)] public void ClearUnorderedAccessViewFloat(GpuDescriptorHandle* ViewGPUHandleInCurrentHeap, CpuDescriptorHandle* ViewCPUHandle, ID3D12Resource* pResource, float* Values, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[52]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#endif } /// @@ -27485,11 +23242,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(53)] public void DiscardResource(ID3D12Resource* pResource, DiscardRegion* pRegion) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[53]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pResource, pRegion); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pResource, pRegion); -#endif } /// @@ -27497,11 +23250,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(54)] public void BeginQuery(ID3D12QueryHeap* pQueryHeap, QueryType Type, uint Index) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[54]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#endif } /// @@ -27509,11 +23258,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(55)] public void EndQuery(ID3D12QueryHeap* pQueryHeap, QueryType Type, uint Index) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[55]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#endif } /// @@ -27521,11 +23266,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(56)] public void ResolveQueryData(ID3D12QueryHeap* pQueryHeap, QueryType Type, uint StartIndex, uint NumQueries, ID3D12Resource* pDestinationBuffer, ulong AlignedDestinationBufferOffset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[56]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pQueryHeap, Type, StartIndex, NumQueries, pDestinationBuffer, AlignedDestinationBufferOffset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pQueryHeap, Type, StartIndex, NumQueries, pDestinationBuffer, AlignedDestinationBufferOffset); -#endif } /// @@ -27533,11 +23274,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(57)] public void SetPredication(ID3D12Resource* pBuffer, ulong AlignedBufferOffset, PredicationOp Operation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[57]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pBuffer, AlignedBufferOffset, Operation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pBuffer, AlignedBufferOffset, Operation); -#endif } /// @@ -27545,11 +23282,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(58)] public void SetMarker(uint Metadata, void* pData, uint Size) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[58]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#endif } /// @@ -27557,11 +23290,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(59)] public void BeginEvent(uint Metadata, void* pData, uint Size) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[59]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#endif } /// @@ -27569,11 +23298,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(60)] public void EndEvent() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[60]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -27581,11 +23306,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(61)] public void ExecuteIndirect(ID3D12CommandSignature* pCommandSignature, uint MaxCommandCount, ID3D12Resource* pArgumentBuffer, ulong ArgumentBufferOffset, ID3D12Resource* pCountBuffer, ulong CountBufferOffset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[61]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pCommandSignature, MaxCommandCount, pArgumentBuffer, ArgumentBufferOffset, pCountBuffer, CountBufferOffset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pCommandSignature, MaxCommandCount, pArgumentBuffer, ArgumentBufferOffset, pCountBuffer, CountBufferOffset); -#endif } /// @@ -27593,11 +23314,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(62)] public new Graphics.Direct3D12.CommandListType GetType() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[62]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -27605,11 +23322,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(63)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[63]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -27617,11 +23330,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(64)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[64]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -27629,11 +23338,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(65)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[65]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -27641,11 +23346,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(66)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[66]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[66]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -27653,11 +23354,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(67)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[67]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -27665,11 +23362,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(68)] public void BeginRenderPass(uint NumRenderTargets, RenderPassRenderTargetDescription* pRenderTargets, RenderPassDepthStencilDescription* pDepthStencil, RenderPassFlags Flags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[68]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), NumRenderTargets, pRenderTargets, pDepthStencil, Flags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[68]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), NumRenderTargets, pRenderTargets, pDepthStencil, Flags); -#endif } /// @@ -27677,11 +23370,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(69)] public void EndRenderPass() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[69]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[69]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -27689,11 +23378,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(70)] public void InitializeMetaCommand(ID3D12MetaCommand* pMetaCommand, void* pInitializationParametersData, nuint InitializationParametersDataSizeInBytes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[70]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pMetaCommand, pInitializationParametersData, InitializationParametersDataSizeInBytes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pMetaCommand, pInitializationParametersData, InitializationParametersDataSizeInBytes); -#endif } /// @@ -27701,11 +23386,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(71)] public void ExecuteMetaCommand(ID3D12MetaCommand* pMetaCommand, void* pExecutionParametersData, nuint ExecutionParametersDataSizeInBytes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[71]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pMetaCommand, pExecutionParametersData, ExecutionParametersDataSizeInBytes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pMetaCommand, pExecutionParametersData, ExecutionParametersDataSizeInBytes); -#endif } /// @@ -27713,11 +23394,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(72)] public void BuildRaytracingAccelerationStructure(BuildRaytracingAccelerationStructureDescription* pDesc, uint NumPostbuildInfoDescs, RaytracingAccelerationStructurePostbuildInfoDescription* pPostbuildInfoDescs) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[72]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pDesc, NumPostbuildInfoDescs, pPostbuildInfoDescs); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pDesc, NumPostbuildInfoDescs, pPostbuildInfoDescs); -#endif } /// @@ -27725,11 +23402,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(73)] public void EmitRaytracingAccelerationStructurePostbuildInfo(RaytracingAccelerationStructurePostbuildInfoDescription* pDesc, uint NumSourceAccelerationStructures, ulong* pSourceAccelerationStructureData) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[73]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pDesc, NumSourceAccelerationStructures, pSourceAccelerationStructureData); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[73]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pDesc, NumSourceAccelerationStructures, pSourceAccelerationStructureData); -#endif } /// @@ -27737,11 +23410,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(74)] public void CopyRaytracingAccelerationStructure(ulong DestAccelerationStructureData, ulong SourceAccelerationStructureData, RaytracingAccelerationStructureCopyMode Mode) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[74]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), DestAccelerationStructureData, SourceAccelerationStructureData, Mode); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[74]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), DestAccelerationStructureData, SourceAccelerationStructureData, Mode); -#endif } /// @@ -27749,11 +23418,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(75)] public void SetPipelineState1(ID3D12StateObject* pStateObject) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[75]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pStateObject); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[75]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pStateObject); -#endif } /// @@ -27761,16 +23426,9 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [VtblIndex(76)] public void DispatchRays(DispatchRaysDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[76]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[76]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface : ID3D12GraphicsCommandList3.Interface - { - } } /// @@ -27778,7 +23436,7 @@ public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandL [Guid("28e2495d-0f64-4ae4-a6ec-129255dc49a8")] [NativeTypeName("struct ID3D12ShaderCacheSession : ID3D12DeviceChild")] [NativeInheritance("ID3D12DeviceChild")] -public unsafe partial struct ID3D12ShaderCacheSession : ID3D12ShaderCacheSession.Interface +public unsafe partial struct ID3D12ShaderCacheSession { public static ref readonly Guid IID_ID3D12ShaderCacheSession { @@ -27839,11 +23497,7 @@ public unsafe partial struct ID3D12ShaderCacheSession : ID3D12ShaderCacheSession [VtblIndex(3)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12ShaderCacheSession*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12ShaderCacheSession*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -27851,11 +23505,7 @@ public unsafe partial struct ID3D12ShaderCacheSession : ID3D12ShaderCacheSession [VtblIndex(4)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12ShaderCacheSession*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12ShaderCacheSession*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -27863,11 +23513,7 @@ public unsafe partial struct ID3D12ShaderCacheSession : ID3D12ShaderCacheSession [VtblIndex(5)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12ShaderCacheSession*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12ShaderCacheSession*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -27875,11 +23521,7 @@ public unsafe partial struct ID3D12ShaderCacheSession : ID3D12ShaderCacheSession [VtblIndex(6)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12ShaderCacheSession*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12ShaderCacheSession*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -27887,11 +23529,7 @@ public unsafe partial struct ID3D12ShaderCacheSession : ID3D12ShaderCacheSession [VtblIndex(7)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12ShaderCacheSession*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12ShaderCacheSession*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -27899,11 +23537,7 @@ public unsafe partial struct ID3D12ShaderCacheSession : ID3D12ShaderCacheSession [VtblIndex(8)] public HResult FindValue(void* pKey, uint KeySize, void* pValue, uint* pValueSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12ShaderCacheSession*)Unsafe.AsPointer(ref this), pKey, KeySize, pValue, pValueSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12ShaderCacheSession*)Unsafe.AsPointer(ref this), pKey, KeySize, pValue, pValueSize); -#endif } /// @@ -27911,11 +23545,7 @@ public unsafe partial struct ID3D12ShaderCacheSession : ID3D12ShaderCacheSession [VtblIndex(9)] public HResult StoreValue(void* pKey, uint KeySize, void* pValue, uint ValueSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D12ShaderCacheSession*)Unsafe.AsPointer(ref this), pKey, KeySize, pValue, ValueSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12ShaderCacheSession*)Unsafe.AsPointer(ref this), pKey, KeySize, pValue, ValueSize); -#endif } /// @@ -27923,11 +23553,7 @@ public unsafe partial struct ID3D12ShaderCacheSession : ID3D12ShaderCacheSession [VtblIndex(10)] public void SetDeleteOnDestroy() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[10]))((ID3D12ShaderCacheSession*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12ShaderCacheSession*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -27935,16 +23561,9 @@ public unsafe partial struct ID3D12ShaderCacheSession : ID3D12ShaderCacheSession [VtblIndex(11)] public Graphics.Direct3D12.ShaderCacheSessionDescription GetDesc() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D12ShaderCacheSession*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12ShaderCacheSession*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : ID3D12DeviceChild.Interface - { - } } /// @@ -27952,7 +23571,7 @@ public unsafe partial struct ID3D12ShaderCacheSession : ID3D12ShaderCacheSession [Guid("4c80e962-f032-4f60-bc9e-ebc2cfa1d83c")] [NativeTypeName("struct ID3D12Device9 : ID3D12Device8")] [NativeInheritance("ID3D12Device8")] -public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface +public unsafe partial struct ID3D12Device9 { public static ref readonly Guid IID_ID3D12Device9 { @@ -28013,11 +23632,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(3)] public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo2(uint visibleMask, uint numResourceDescs, ResourceDescription1* pResourceDescs, ResourceAllocationInfo1* pResourceAllocationInfo1) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12Device9*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Device9*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); -#endif } /// @@ -28025,11 +23640,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(4)] public HResult CreateCommittedResource2(HeapProperties* pHeapProperties, HeapFlags HeapFlags, ResourceDescription1* pDesc, ResourceStates InitialResourceState, ClearValue* pOptimizedClearValue, ID3D12ProtectedResourceSession* pProtectedSession, Guid* riidResource, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, pProtectedSession, riidResource, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, pProtectedSession, riidResource, ppvResource); -#endif } /// @@ -28037,11 +23648,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(5)] public HResult CreatePlacedResource1(ID3D12Heap* pHeap, ulong HeapOffset, ResourceDescription1* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pHeap, HeapOffset, pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pHeap, HeapOffset, pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#endif } /// @@ -28049,11 +23656,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(6)] public void CreateSamplerFeedbackUnorderedAccessView(ID3D12Resource* pTargetedResource, ID3D12Resource* pFeedbackResource, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[6]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pTargetedResource, pFeedbackResource, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pTargetedResource, pFeedbackResource, DestDescriptor); -#endif } /// @@ -28061,11 +23664,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(7)] public void GetCopyableFootprints1(ResourceDescription1* pResourceDesc, uint FirstSubresource, uint NumSubresources, ulong BaseOffset, PlacedSubresourceFootprint* pLayouts, uint* pNumRows, ulong* pRowSizeInBytes, ulong* pTotalBytes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pResourceDesc, FirstSubresource, NumSubresources, BaseOffset, pLayouts, pNumRows, pRowSizeInBytes, pTotalBytes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pResourceDesc, FirstSubresource, NumSubresources, BaseOffset, pLayouts, pNumRows, pRowSizeInBytes, pTotalBytes); -#endif } /// @@ -28073,11 +23672,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(8)] public HResult AddToStateObject(StateObjectDescription* pAddition, ID3D12StateObject* pStateObjectToGrowFrom, Guid* riid, void** ppNewStateObject) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pAddition, pStateObjectToGrowFrom, riid, ppNewStateObject); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pAddition, pStateObjectToGrowFrom, riid, ppNewStateObject); -#endif } /// @@ -28085,11 +23680,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(9)] public HResult CreateProtectedResourceSession1(ProtectedResourceSessionDescription1* pDesc, Guid* riid, void** ppSession) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, riid, ppSession); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, riid, ppSession); -#endif } /// @@ -28097,11 +23688,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(10)] public HResult SetBackgroundProcessingMode(BackgroundProcessingMode Mode, MeasurementsAction MeasurementsAction, IntPtr hEventToSignalUponCompletion, Bool32* pbFurtherMeasurementsDesired) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D12Device9*)Unsafe.AsPointer(ref this), Mode, MeasurementsAction, hEventToSignalUponCompletion, pbFurtherMeasurementsDesired); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12Device9*)Unsafe.AsPointer(ref this), Mode, MeasurementsAction, hEventToSignalUponCompletion, pbFurtherMeasurementsDesired); -#endif } /// @@ -28109,11 +23696,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(11)] public HResult CreateLifetimeTracker(ID3D12LifetimeOwner* pOwner, Guid* riid, void** ppvTracker) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pOwner, riid, ppvTracker); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pOwner, riid, ppvTracker); -#endif } /// @@ -28121,11 +23704,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(12)] public void RemoveDevice() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[12]))((ID3D12Device9*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D12Device9*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -28133,11 +23712,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(13)] public HResult EnumerateMetaCommands(uint* pNumMetaCommands, MetaCommandDescription* pDescs) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pNumMetaCommands, pDescs); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pNumMetaCommands, pDescs); -#endif } /// @@ -28145,11 +23720,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(14)] public HResult EnumerateMetaCommandParameters(Guid* CommandId, MetaCommandParameterStage Stage, uint* pTotalStructureSizeInBytes, uint* pParameterCount, MetaCommandParameterDescription* pParameterDescs) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((ID3D12Device9*)Unsafe.AsPointer(ref this), CommandId, Stage, pTotalStructureSizeInBytes, pParameterCount, pParameterDescs); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D12Device9*)Unsafe.AsPointer(ref this), CommandId, Stage, pTotalStructureSizeInBytes, pParameterCount, pParameterDescs); -#endif } /// @@ -28157,11 +23728,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(15)] public HResult CreateMetaCommand(Guid* CommandId, uint NodeMask, void* pCreationParametersData, nuint CreationParametersDataSizeInBytes, Guid* riid, void** ppMetaCommand) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((ID3D12Device9*)Unsafe.AsPointer(ref this), CommandId, NodeMask, pCreationParametersData, CreationParametersDataSizeInBytes, riid, ppMetaCommand); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D12Device9*)Unsafe.AsPointer(ref this), CommandId, NodeMask, pCreationParametersData, CreationParametersDataSizeInBytes, riid, ppMetaCommand); -#endif } /// @@ -28169,11 +23736,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(16)] public HResult CreateStateObject(StateObjectDescription* pDesc, Guid* riid, void** ppStateObject) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, riid, ppStateObject); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, riid, ppStateObject); -#endif } /// @@ -28181,11 +23744,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(17)] public void GetRaytracingAccelerationStructurePrebuildInfo(BuildRaytracingAccelerationStructureInputs* pDesc, RaytracingAccelerationStructurePrebuildInfo* pInfo) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[17]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, pInfo); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, pInfo); -#endif } /// @@ -28193,11 +23752,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(18)] public Graphics.Direct3D12.DriverMatchingIdentifierStatus CheckDriverMatchingIdentifier(SerializedDataType SerializedDataType, SerializedDataDriverMatchingIdentifier* pIdentifierToCheck) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((ID3D12Device9*)Unsafe.AsPointer(ref this), SerializedDataType, pIdentifierToCheck); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D12Device9*)Unsafe.AsPointer(ref this), SerializedDataType, pIdentifierToCheck); -#endif } /// @@ -28205,11 +23760,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(19)] public HResult CreateCommandList1(uint nodeMask, CommandListType type, CommandListFlags flags, Guid* riid, void** ppCommandList) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((ID3D12Device9*)Unsafe.AsPointer(ref this), nodeMask, type, flags, riid, ppCommandList); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D12Device9*)Unsafe.AsPointer(ref this), nodeMask, type, flags, riid, ppCommandList); -#endif } /// @@ -28217,11 +23768,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(20)] public HResult CreateProtectedResourceSession(ProtectedResourceSessionDescription* pDesc, Guid* riid, void** ppSession) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, riid, ppSession); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, riid, ppSession); -#endif } /// @@ -28229,11 +23776,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(21)] public HResult CreateCommittedResource1(HeapProperties* pHeapProperties, HeapFlags HeapFlags, ResourceDescription* pDesc, ResourceStates InitialResourceState, ClearValue* pOptimizedClearValue, ID3D12ProtectedResourceSession* pProtectedSession, Guid* riidResource, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, pProtectedSession, riidResource, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, pProtectedSession, riidResource, ppvResource); -#endif } /// @@ -28241,11 +23784,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(22)] public HResult CreateHeap1(HeapDescription* pDesc, ID3D12ProtectedResourceSession* pProtectedSession, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, pProtectedSession, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, pProtectedSession, riid, ppvHeap); -#endif } /// @@ -28253,11 +23792,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(23)] public HResult CreateReservedResource1(ResourceDescription* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, ID3D12ProtectedResourceSession* pProtectedSession, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, pProtectedSession, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, pProtectedSession, riid, ppvResource); -#endif } /// @@ -28265,11 +23800,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(24)] public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo1(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs, ResourceAllocationInfo1* pResourceAllocationInfo1) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((ID3D12Device9*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D12Device9*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); -#endif } /// @@ -28277,11 +23808,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(25)] public HResult OpenExistingHeapFromAddress(void* pAddress, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pAddress, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pAddress, riid, ppvHeap); -#endif } /// @@ -28289,11 +23816,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(26)] public HResult OpenExistingHeapFromFileMapping(IntPtr hFileMapping, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[26]))((ID3D12Device9*)Unsafe.AsPointer(ref this), hFileMapping, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D12Device9*)Unsafe.AsPointer(ref this), hFileMapping, riid, ppvHeap); -#endif } /// @@ -28301,11 +23824,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(27)] public HResult EnqueueMakeResident(ResidencyFlags Flags, uint NumObjects, ID3D12Pageable* ppObjects, ID3D12Fence* pFenceToSignal, ulong FenceValueToSignal) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((ID3D12Device9*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D12Device9*)Unsafe.AsPointer(ref this), Flags, NumObjects, ppObjects, pFenceToSignal, FenceValueToSignal); -#endif } /// @@ -28313,11 +23832,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(28)] public HResult CreatePipelineState(PipelineStateStreamDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } /// @@ -28325,11 +23840,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(29)] public HResult CreatePipelineLibrary(void* pLibraryBlob, nuint BlobLength, Guid* riid, void** ppPipelineLibrary) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[29]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pLibraryBlob, BlobLength, riid, ppPipelineLibrary); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pLibraryBlob, BlobLength, riid, ppPipelineLibrary); -#endif } /// @@ -28337,11 +23848,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(30)] public HResult SetEventOnMultipleFenceCompletion(ID3D12Fence* ppFences, ulong* pFenceValues, uint NumFences, MultipleFenceWaitFlags Flags, IntPtr hEvent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[30]))((ID3D12Device9*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D12Device9*)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent); -#endif } /// @@ -28349,11 +23856,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(31)] public HResult SetResidencyPriority(uint NumObjects, ID3D12Pageable* ppObjects, ResidencyPriority* pPriorities) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[31]))((ID3D12Device9*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D12Device9*)Unsafe.AsPointer(ref this), NumObjects, ppObjects, pPriorities); -#endif } /// @@ -28361,11 +23864,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(32)] public uint GetNodeCount() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[32]))((ID3D12Device9*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D12Device9*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -28373,11 +23872,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(33)] public HResult CreateCommandQueue(CommandQueueDescription* pDesc, Guid* riid, void** ppCommandQueue) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[33]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, riid, ppCommandQueue); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, riid, ppCommandQueue); -#endif } /// @@ -28385,11 +23880,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(34)] public HResult CreateCommandAllocator(CommandListType type, Guid* riid, void** ppCommandAllocator) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[34]))((ID3D12Device9*)Unsafe.AsPointer(ref this), type, riid, ppCommandAllocator); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D12Device9*)Unsafe.AsPointer(ref this), type, riid, ppCommandAllocator); -#endif } /// @@ -28397,11 +23888,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(35)] public HResult CreateGraphicsPipelineState(GraphicsPipelineStateDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[35]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } /// @@ -28409,11 +23896,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(36)] public HResult CreateComputePipelineState(ComputePipelineStateDescription* pDesc, Guid* riid, void** ppPipelineState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[36]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, riid, ppPipelineState); -#endif } /// @@ -28421,11 +23904,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(37)] public HResult CreateCommandList(uint nodeMask, CommandListType type, ID3D12CommandAllocator* pCommandAllocator, ID3D12PipelineState* pInitialState, Guid* riid, void** ppCommandList) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[37]))((ID3D12Device9*)Unsafe.AsPointer(ref this), nodeMask, type, pCommandAllocator, pInitialState, riid, ppCommandList); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D12Device9*)Unsafe.AsPointer(ref this), nodeMask, type, pCommandAllocator, pInitialState, riid, ppCommandList); -#endif } /// @@ -28433,11 +23912,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(38)] public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, uint FeatureSupportDataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[38]))((ID3D12Device9*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D12Device9*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#endif } /// @@ -28445,11 +23920,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(39)] public HResult CreateDescriptorHeap(DescriptorHeapDescription* pDescriptorHeapDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[39]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDescriptorHeapDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDescriptorHeapDesc, riid, ppvHeap); -#endif } /// @@ -28457,11 +23928,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(40)] public uint GetDescriptorHandleIncrementSize(DescriptorHeapType DescriptorHeapType) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[40]))((ID3D12Device9*)Unsafe.AsPointer(ref this), DescriptorHeapType); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D12Device9*)Unsafe.AsPointer(ref this), DescriptorHeapType); -#endif } /// @@ -28469,11 +23936,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(41)] public HResult CreateRootSignature(uint nodeMask, void* pBlobWithRootSignature, nuint blobLengthInBytes, Guid* riid, void** ppvRootSignature) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[41]))((ID3D12Device9*)Unsafe.AsPointer(ref this), nodeMask, pBlobWithRootSignature, blobLengthInBytes, riid, ppvRootSignature); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D12Device9*)Unsafe.AsPointer(ref this), nodeMask, pBlobWithRootSignature, blobLengthInBytes, riid, ppvRootSignature); -#endif } /// @@ -28481,11 +23944,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(42)] public void CreateConstantBufferView(ConstantBufferViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[42]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#endif } /// @@ -28493,11 +23952,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(43)] public void CreateShaderResourceView(ID3D12Resource* pResource, ShaderResourceViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[43]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -28505,11 +23960,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(44)] public void CreateUnorderedAccessView(ID3D12Resource* pResource, ID3D12Resource* pCounterResource, UnorderedAccessViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[44]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pResource, pCounterResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pResource, pCounterResource, pDesc, DestDescriptor); -#endif } /// @@ -28517,11 +23968,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(45)] public void CreateRenderTargetView(ID3D12Resource* pResource, RenderTargetViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[45]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -28529,11 +23976,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(46)] public void CreateDepthStencilView(ID3D12Resource* pResource, DepthStencilViewDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[46]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pResource, pDesc, DestDescriptor); -#endif } /// @@ -28541,11 +23984,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(47)] public void CreateSampler(SamplerDescription* pDesc, CpuDescriptorHandle* DestDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[47]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, DestDescriptor); -#endif } /// @@ -28553,11 +23992,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(48)] public void CopyDescriptors(uint NumDestDescriptorRanges, CpuDescriptorHandle* pDestDescriptorRangeStarts, uint* pDestDescriptorRangeSizes, uint NumSrcDescriptorRanges, CpuDescriptorHandle* pSrcDescriptorRangeStarts, uint* pSrcDescriptorRangeSizes, DescriptorHeapType DescriptorHeapsType) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[48]))((ID3D12Device9*)Unsafe.AsPointer(ref this), NumDestDescriptorRanges, pDestDescriptorRangeStarts, pDestDescriptorRangeSizes, NumSrcDescriptorRanges, pSrcDescriptorRangeStarts, pSrcDescriptorRangeSizes, DescriptorHeapsType); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D12Device9*)Unsafe.AsPointer(ref this), NumDestDescriptorRanges, pDestDescriptorRangeStarts, pDestDescriptorRangeSizes, NumSrcDescriptorRanges, pSrcDescriptorRangeStarts, pSrcDescriptorRangeSizes, DescriptorHeapsType); -#endif } /// @@ -28565,11 +24000,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(49)] public void CopyDescriptorsSimple(uint NumDescriptors, CpuDescriptorHandle* DestDescriptorRangeStart, CpuDescriptorHandle* SrcDescriptorRangeStart, DescriptorHeapType DescriptorHeapsType) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[49]))((ID3D12Device9*)Unsafe.AsPointer(ref this), NumDescriptors, DestDescriptorRangeStart, SrcDescriptorRangeStart, DescriptorHeapsType); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D12Device9*)Unsafe.AsPointer(ref this), NumDescriptors, DestDescriptorRangeStart, SrcDescriptorRangeStart, DescriptorHeapsType); -#endif } /// @@ -28577,11 +24008,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(50)] public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[50]))((ID3D12Device9*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D12Device9*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); -#endif } /// @@ -28589,11 +24016,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(51)] public Graphics.Direct3D12.HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[51]))((ID3D12Device9*)Unsafe.AsPointer(ref this), nodeMask, heapType); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D12Device9*)Unsafe.AsPointer(ref this), nodeMask, heapType); -#endif } /// @@ -28601,11 +24024,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(52)] public HResult CreateCommittedResource(HeapProperties* pHeapProperties, HeapFlags HeapFlags, ResourceDescription* pDesc, ResourceStates InitialResourceState, ClearValue* pOptimizedClearValue, Guid* riidResource, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[52]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, riidResource, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pHeapProperties, HeapFlags, pDesc, InitialResourceState, pOptimizedClearValue, riidResource, ppvResource); -#endif } /// @@ -28613,11 +24032,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(53)] public HResult CreateHeap(HeapDescription* pDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[53]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#endif } /// @@ -28625,11 +24040,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(54)] public HResult CreatePlacedResource(ID3D12Heap* pHeap, ulong HeapOffset, ResourceDescription* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[54]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pHeap, HeapOffset, pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pHeap, HeapOffset, pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#endif } /// @@ -28637,11 +24048,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(55)] public HResult CreateReservedResource(ResourceDescription* pDesc, ResourceStates InitialState, ClearValue* pOptimizedClearValue, Guid* riid, void** ppvResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[55]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, InitialState, pOptimizedClearValue, riid, ppvResource); -#endif } /// @@ -28649,11 +24056,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(56)] public HResult CreateSharedHandle(ID3D12DeviceChild* pObject, Security.SECURITY_ATTRIBUTES* pAttributes, uint Access, char** Name, IntPtr* pHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[56]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pObject, pAttributes, Access, Name, pHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pObject, pAttributes, Access, Name, pHandle); -#endif } /// @@ -28661,11 +24064,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(57)] public HResult OpenSharedHandle(IntPtr NTHandle, Guid* riid, void** ppvObj) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[57]))((ID3D12Device9*)Unsafe.AsPointer(ref this), NTHandle, riid, ppvObj); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID3D12Device9*)Unsafe.AsPointer(ref this), NTHandle, riid, ppvObj); -#endif } /// @@ -28673,11 +24072,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(58)] public HResult OpenSharedHandleByName(char** Name, uint Access, IntPtr* pNTHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[58]))((ID3D12Device9*)Unsafe.AsPointer(ref this), Name, Access, pNTHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D12Device9*)Unsafe.AsPointer(ref this), Name, Access, pNTHandle); -#endif } /// @@ -28685,11 +24080,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(59)] public HResult MakeResident(uint NumObjects, ID3D12Pageable* ppObjects) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[59]))((ID3D12Device9*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID3D12Device9*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#endif } /// @@ -28697,11 +24088,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(60)] public HResult Evict(uint NumObjects, ID3D12Pageable* ppObjects) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[60]))((ID3D12Device9*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((ID3D12Device9*)Unsafe.AsPointer(ref this), NumObjects, ppObjects); -#endif } /// @@ -28709,11 +24096,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(61)] public HResult CreateFence(ulong InitialValue, FenceFlags Flags, Guid* riid, void** ppFence) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[61]))((ID3D12Device9*)Unsafe.AsPointer(ref this), InitialValue, Flags, riid, ppFence); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((ID3D12Device9*)Unsafe.AsPointer(ref this), InitialValue, Flags, riid, ppFence); -#endif } /// @@ -28721,11 +24104,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(62)] public HResult GetDeviceRemovedReason() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[62]))((ID3D12Device9*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((ID3D12Device9*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -28733,11 +24112,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(63)] public void GetCopyableFootprints(ResourceDescription* pResourceDesc, uint FirstSubresource, uint NumSubresources, ulong BaseOffset, PlacedSubresourceFootprint* pLayouts, uint* pNumRows, ulong* pRowSizeInBytes, ulong* pTotalBytes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[63]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pResourceDesc, FirstSubresource, NumSubresources, BaseOffset, pLayouts, pNumRows, pRowSizeInBytes, pTotalBytes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pResourceDesc, FirstSubresource, NumSubresources, BaseOffset, pLayouts, pNumRows, pRowSizeInBytes, pTotalBytes); -#endif } /// @@ -28745,11 +24120,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(64)] public HResult CreateQueryHeap(QueryHeapDescription* pDesc, Guid* riid, void** ppvHeap) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[64]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, riid, ppvHeap); -#endif } /// @@ -28757,11 +24128,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(65)] public HResult SetStablePowerState(Bool32 Enable) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[65]))((ID3D12Device9*)Unsafe.AsPointer(ref this), Enable); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((ID3D12Device9*)Unsafe.AsPointer(ref this), Enable); -#endif } /// @@ -28769,11 +24136,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(66)] public HResult CreateCommandSignature(CommandSignatureDescription* pDesc, ID3D12RootSignature* pRootSignature, Guid* riid, void** ppvCommandSignature) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[66]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, pRootSignature, riid, ppvCommandSignature); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[66]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, pRootSignature, riid, ppvCommandSignature); -#endif } /// @@ -28781,11 +24144,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(67)] public void GetResourceTiling(ID3D12Resource* pTiledResource, uint* pNumTilesForEntireResource, PackedMipInfo* pPackedMipDesc, TileShape* pStandardTileShapeForNonPackedMips, uint* pNumSubresourceTilings, uint FirstSubresourceTilingToGet, SubresourceTiling* pSubresourceTilingsForNonPackedMips) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[67]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips); -#endif } /// @@ -28793,11 +24152,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(68)] public Luid GetAdapterLuid() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[68]))((ID3D12Device9*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[68]))((ID3D12Device9*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -28805,11 +24160,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(69)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[69]))((ID3D12Device9*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[69]))((ID3D12Device9*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -28817,11 +24168,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(70)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[70]))((ID3D12Device9*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((ID3D12Device9*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -28829,11 +24176,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(71)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[71]))((ID3D12Device9*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((ID3D12Device9*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -28841,11 +24184,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(72)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[72]))((ID3D12Device9*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID3D12Device9*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -28853,11 +24192,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(73)] public HResult CreateShaderCacheSession(ShaderCacheSessionDescription* pDesc, Guid* riid, void** ppvSession) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[73]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, riid, ppvSession); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[73]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, riid, ppvSession); -#endif } /// @@ -28865,11 +24200,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(74)] public HResult ShaderCacheControl(ShaderCacheKindFlags Kinds, ShaderCacheControlFlags Control) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[74]))((ID3D12Device9*)Unsafe.AsPointer(ref this), Kinds, Control); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[74]))((ID3D12Device9*)Unsafe.AsPointer(ref this), Kinds, Control); -#endif } /// @@ -28877,16 +24208,9 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [VtblIndex(75)] public HResult CreateCommandQueue1(CommandQueueDescription* pDesc, Guid* CreatorID, Guid* riid, void** ppCommandQueue) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[75]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, CreatorID, riid, ppCommandQueue); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[75]))((ID3D12Device9*)Unsafe.AsPointer(ref this), pDesc, CreatorID, riid, ppCommandQueue); -#endif } - public interface Interface : ID3D12Device8.Interface - { - } } /// @@ -28894,7 +24218,7 @@ public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface [Guid("7071e1f0-e84b-4b33-974f-12fa49de65c5")] [NativeTypeName("struct ID3D12Tools : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12Tools : ID3D12Tools.Interface +public unsafe partial struct ID3D12Tools { public static ref readonly Guid IID_ID3D12Tools { @@ -28955,11 +24279,7 @@ public unsafe partial struct ID3D12Tools : ID3D12Tools.Interface [VtblIndex(3)] public void EnableShaderInstrumentation(Bool32 bEnable) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D12Tools*)Unsafe.AsPointer(ref this), bEnable); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Tools*)Unsafe.AsPointer(ref this), bEnable); -#endif } /// @@ -28967,16 +24287,9 @@ public unsafe partial struct ID3D12Tools : ID3D12Tools.Interface [VtblIndex(4)] public Bool32 ShaderInstrumentationEnabled() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12Tools*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12Tools*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -28984,7 +24297,7 @@ public unsafe partial struct ID3D12Tools : ID3D12Tools.Interface [Guid("344488b7-6846-474b-b989-f027448245e0")] [NativeTypeName("struct ID3D12Debug : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12Debug : ID3D12Debug.Interface +public unsafe partial struct ID3D12Debug { public static ref readonly Guid IID_ID3D12Debug { @@ -29045,16 +24358,9 @@ public unsafe partial struct ID3D12Debug : ID3D12Debug.Interface [VtblIndex(3)] public void EnableDebugLayer() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D12Debug*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Debug*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -29062,7 +24368,7 @@ public unsafe partial struct ID3D12Debug : ID3D12Debug.Interface [Guid("affaa4ca-63fe-4d8e-b8ad-159000af4304")] [NativeTypeName("struct ID3D12Debug1 : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12Debug1 : ID3D12Debug1.Interface +public unsafe partial struct ID3D12Debug1 { public static ref readonly Guid IID_ID3D12Debug1 { @@ -29123,11 +24429,7 @@ public unsafe partial struct ID3D12Debug1 : ID3D12Debug1.Interface [VtblIndex(3)] public void EnableDebugLayer() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D12Debug1*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Debug1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -29135,11 +24437,7 @@ public unsafe partial struct ID3D12Debug1 : ID3D12Debug1.Interface [VtblIndex(4)] public void SetEnableGPUBasedValidation(Bool32 Enable) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D12Debug1*)Unsafe.AsPointer(ref this), Enable); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12Debug1*)Unsafe.AsPointer(ref this), Enable); -#endif } /// @@ -29147,16 +24445,9 @@ public unsafe partial struct ID3D12Debug1 : ID3D12Debug1.Interface [VtblIndex(5)] public void SetEnableSynchronizedCommandQueueValidation(Bool32 Enable) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D12Debug1*)Unsafe.AsPointer(ref this), Enable); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12Debug1*)Unsafe.AsPointer(ref this), Enable); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -29164,7 +24455,7 @@ public unsafe partial struct ID3D12Debug1 : ID3D12Debug1.Interface [Guid("93a665c4-a3b2-4e5d-b692-a26ae14e3374")] [NativeTypeName("struct ID3D12Debug2 : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12Debug2 : ID3D12Debug2.Interface +public unsafe partial struct ID3D12Debug2 { public static ref readonly Guid IID_ID3D12Debug2 { @@ -29225,16 +24516,9 @@ public unsafe partial struct ID3D12Debug2 : ID3D12Debug2.Interface [VtblIndex(3)] public void SetGPUBasedValidationFlags(GpuBasedValidationFlags Flags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D12Debug2*)Unsafe.AsPointer(ref this), Flags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Debug2*)Unsafe.AsPointer(ref this), Flags); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -29242,7 +24526,7 @@ public unsafe partial struct ID3D12Debug2 : ID3D12Debug2.Interface [Guid("5cf4e58f-f671-4ff1-a542-3686e3d153d1")] [NativeTypeName("struct ID3D12Debug3 : ID3D12Debug")] [NativeInheritance("ID3D12Debug")] -public unsafe partial struct ID3D12Debug3 : ID3D12Debug3.Interface +public unsafe partial struct ID3D12Debug3 { public static ref readonly Guid IID_ID3D12Debug3 { @@ -29303,11 +24587,7 @@ public unsafe partial struct ID3D12Debug3 : ID3D12Debug3.Interface [VtblIndex(3)] public void EnableDebugLayer() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D12Debug3*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Debug3*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -29315,11 +24595,7 @@ public unsafe partial struct ID3D12Debug3 : ID3D12Debug3.Interface [VtblIndex(4)] public void SetEnableGPUBasedValidation(Bool32 Enable) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D12Debug3*)Unsafe.AsPointer(ref this), Enable); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12Debug3*)Unsafe.AsPointer(ref this), Enable); -#endif } /// @@ -29327,11 +24603,7 @@ public unsafe partial struct ID3D12Debug3 : ID3D12Debug3.Interface [VtblIndex(5)] public void SetEnableSynchronizedCommandQueueValidation(Bool32 Enable) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D12Debug3*)Unsafe.AsPointer(ref this), Enable); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12Debug3*)Unsafe.AsPointer(ref this), Enable); -#endif } /// @@ -29339,16 +24611,9 @@ public unsafe partial struct ID3D12Debug3 : ID3D12Debug3.Interface [VtblIndex(6)] public void SetGPUBasedValidationFlags(GpuBasedValidationFlags Flags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[6]))((ID3D12Debug3*)Unsafe.AsPointer(ref this), Flags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12Debug3*)Unsafe.AsPointer(ref this), Flags); -#endif } - public interface Interface : ID3D12Debug.Interface - { - } } /// @@ -29356,7 +24621,7 @@ public unsafe partial struct ID3D12Debug3 : ID3D12Debug3.Interface [Guid("014b816e-9ec5-4a2f-a845-ffbe441ce13a")] [NativeTypeName("struct ID3D12Debug4 : ID3D12Debug3")] [NativeInheritance("ID3D12Debug3")] -public unsafe partial struct ID3D12Debug4 : ID3D12Debug4.Interface +public unsafe partial struct ID3D12Debug4 { public static ref readonly Guid IID_ID3D12Debug4 { @@ -29417,11 +24682,7 @@ public unsafe partial struct ID3D12Debug4 : ID3D12Debug4.Interface [VtblIndex(3)] public void SetEnableGPUBasedValidation(Bool32 Enable) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D12Debug4*)Unsafe.AsPointer(ref this), Enable); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Debug4*)Unsafe.AsPointer(ref this), Enable); -#endif } /// @@ -29429,11 +24690,7 @@ public unsafe partial struct ID3D12Debug4 : ID3D12Debug4.Interface [VtblIndex(4)] public void SetEnableSynchronizedCommandQueueValidation(Bool32 Enable) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D12Debug4*)Unsafe.AsPointer(ref this), Enable); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12Debug4*)Unsafe.AsPointer(ref this), Enable); -#endif } /// @@ -29441,11 +24698,7 @@ public unsafe partial struct ID3D12Debug4 : ID3D12Debug4.Interface [VtblIndex(5)] public void SetGPUBasedValidationFlags(GpuBasedValidationFlags Flags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D12Debug4*)Unsafe.AsPointer(ref this), Flags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12Debug4*)Unsafe.AsPointer(ref this), Flags); -#endif } /// @@ -29453,11 +24706,7 @@ public unsafe partial struct ID3D12Debug4 : ID3D12Debug4.Interface [VtblIndex(6)] public void EnableDebugLayer() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[6]))((ID3D12Debug4*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12Debug4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -29465,16 +24714,9 @@ public unsafe partial struct ID3D12Debug4 : ID3D12Debug4.Interface [VtblIndex(7)] public void DisableDebugLayer() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Debug4*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12Debug4*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : ID3D12Debug3.Interface - { - } } /// @@ -29482,7 +24724,7 @@ public unsafe partial struct ID3D12Debug4 : ID3D12Debug4.Interface [Guid("548d6b12-09fa-40e0-9069-5dcd589a52c9")] [NativeTypeName("struct ID3D12Debug5 : ID3D12Debug4")] [NativeInheritance("ID3D12Debug4")] -public unsafe partial struct ID3D12Debug5 : ID3D12Debug5.Interface +public unsafe partial struct ID3D12Debug5 { public static ref readonly Guid IID_ID3D12Debug5 { @@ -29543,11 +24785,7 @@ public unsafe partial struct ID3D12Debug5 : ID3D12Debug5.Interface [VtblIndex(3)] public void DisableDebugLayer() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D12Debug5*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Debug5*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -29555,11 +24793,7 @@ public unsafe partial struct ID3D12Debug5 : ID3D12Debug5.Interface [VtblIndex(4)] public void SetEnableGPUBasedValidation(Bool32 Enable) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D12Debug5*)Unsafe.AsPointer(ref this), Enable); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12Debug5*)Unsafe.AsPointer(ref this), Enable); -#endif } /// @@ -29567,11 +24801,7 @@ public unsafe partial struct ID3D12Debug5 : ID3D12Debug5.Interface [VtblIndex(5)] public void SetEnableSynchronizedCommandQueueValidation(Bool32 Enable) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D12Debug5*)Unsafe.AsPointer(ref this), Enable); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12Debug5*)Unsafe.AsPointer(ref this), Enable); -#endif } /// @@ -29579,11 +24809,7 @@ public unsafe partial struct ID3D12Debug5 : ID3D12Debug5.Interface [VtblIndex(6)] public void SetGPUBasedValidationFlags(GpuBasedValidationFlags Flags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[6]))((ID3D12Debug5*)Unsafe.AsPointer(ref this), Flags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12Debug5*)Unsafe.AsPointer(ref this), Flags); -#endif } /// @@ -29591,11 +24817,7 @@ public unsafe partial struct ID3D12Debug5 : ID3D12Debug5.Interface [VtblIndex(7)] public void EnableDebugLayer() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Debug5*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12Debug5*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -29603,16 +24825,9 @@ public unsafe partial struct ID3D12Debug5 : ID3D12Debug5.Interface [VtblIndex(8)] public void SetEnableAutoName(Bool32 Enable) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D12Debug5*)Unsafe.AsPointer(ref this), Enable); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12Debug5*)Unsafe.AsPointer(ref this), Enable); -#endif } - public interface Interface : ID3D12Debug4.Interface - { - } } /// @@ -29620,7 +24835,7 @@ public unsafe partial struct ID3D12Debug5 : ID3D12Debug5.Interface [Guid("a9b71770-d099-4a65-a698-3dee10020f88")] [NativeTypeName("struct ID3D12DebugDevice1 : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12DebugDevice1 : ID3D12DebugDevice1.Interface +public unsafe partial struct ID3D12DebugDevice1 { public static ref readonly Guid IID_ID3D12DebugDevice1 { @@ -29681,11 +24896,7 @@ public unsafe partial struct ID3D12DebugDevice1 : ID3D12DebugDevice1.Interface [VtblIndex(3)] public HResult SetDebugParameter(DebugDeviceParameterType Type, void* pData, uint DataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12DebugDevice1*)Unsafe.AsPointer(ref this), Type, pData, DataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12DebugDevice1*)Unsafe.AsPointer(ref this), Type, pData, DataSize); -#endif } /// @@ -29693,11 +24904,7 @@ public unsafe partial struct ID3D12DebugDevice1 : ID3D12DebugDevice1.Interface [VtblIndex(4)] public HResult GetDebugParameter(DebugDeviceParameterType Type, void* pData, uint DataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12DebugDevice1*)Unsafe.AsPointer(ref this), Type, pData, DataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12DebugDevice1*)Unsafe.AsPointer(ref this), Type, pData, DataSize); -#endif } /// @@ -29705,16 +24912,9 @@ public unsafe partial struct ID3D12DebugDevice1 : ID3D12DebugDevice1.Interface [VtblIndex(5)] public HResult ReportLiveDeviceObjects(RldoFlags Flags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12DebugDevice1*)Unsafe.AsPointer(ref this), Flags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12DebugDevice1*)Unsafe.AsPointer(ref this), Flags); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -29722,7 +24922,7 @@ public unsafe partial struct ID3D12DebugDevice1 : ID3D12DebugDevice1.Interface [Guid("3febd6dd-4973-4787-8194-e45f9e28923e")] [NativeTypeName("struct ID3D12DebugDevice : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12DebugDevice : ID3D12DebugDevice.Interface +public unsafe partial struct ID3D12DebugDevice { public static ref readonly Guid IID_ID3D12DebugDevice { @@ -29783,11 +24983,7 @@ public unsafe partial struct ID3D12DebugDevice : ID3D12DebugDevice.Interface [VtblIndex(3)] public HResult SetFeatureMask(DebugFeature Mask) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12DebugDevice*)Unsafe.AsPointer(ref this), Mask); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12DebugDevice*)Unsafe.AsPointer(ref this), Mask); -#endif } /// @@ -29795,11 +24991,7 @@ public unsafe partial struct ID3D12DebugDevice : ID3D12DebugDevice.Interface [VtblIndex(4)] public Graphics.Direct3D12.DebugFeature GetFeatureMask() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12DebugDevice*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12DebugDevice*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -29807,16 +24999,9 @@ public unsafe partial struct ID3D12DebugDevice : ID3D12DebugDevice.Interface [VtblIndex(5)] public HResult ReportLiveDeviceObjects(RldoFlags Flags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12DebugDevice*)Unsafe.AsPointer(ref this), Flags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12DebugDevice*)Unsafe.AsPointer(ref this), Flags); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -29824,7 +25009,7 @@ public unsafe partial struct ID3D12DebugDevice : ID3D12DebugDevice.Interface [Guid("60eccbc1-378d-4df1-894c-f8ac5ce4d7dd")] [NativeTypeName("struct ID3D12DebugDevice2 : ID3D12DebugDevice")] [NativeInheritance("ID3D12DebugDevice")] -public unsafe partial struct ID3D12DebugDevice2 : ID3D12DebugDevice2.Interface +public unsafe partial struct ID3D12DebugDevice2 { public static ref readonly Guid IID_ID3D12DebugDevice2 { @@ -29885,11 +25070,7 @@ public unsafe partial struct ID3D12DebugDevice2 : ID3D12DebugDevice2.Interface [VtblIndex(3)] public HResult SetFeatureMask(DebugFeature Mask) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12DebugDevice2*)Unsafe.AsPointer(ref this), Mask); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12DebugDevice2*)Unsafe.AsPointer(ref this), Mask); -#endif } /// @@ -29897,11 +25078,7 @@ public unsafe partial struct ID3D12DebugDevice2 : ID3D12DebugDevice2.Interface [VtblIndex(4)] public Graphics.Direct3D12.DebugFeature GetFeatureMask() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12DebugDevice2*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12DebugDevice2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -29909,11 +25086,7 @@ public unsafe partial struct ID3D12DebugDevice2 : ID3D12DebugDevice2.Interface [VtblIndex(5)] public HResult ReportLiveDeviceObjects(RldoFlags Flags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12DebugDevice2*)Unsafe.AsPointer(ref this), Flags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12DebugDevice2*)Unsafe.AsPointer(ref this), Flags); -#endif } /// @@ -29921,11 +25094,7 @@ public unsafe partial struct ID3D12DebugDevice2 : ID3D12DebugDevice2.Interface [VtblIndex(6)] public HResult SetDebugParameter(DebugDeviceParameterType Type, void* pData, uint DataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12DebugDevice2*)Unsafe.AsPointer(ref this), Type, pData, DataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12DebugDevice2*)Unsafe.AsPointer(ref this), Type, pData, DataSize); -#endif } /// @@ -29933,16 +25102,9 @@ public unsafe partial struct ID3D12DebugDevice2 : ID3D12DebugDevice2.Interface [VtblIndex(7)] public HResult GetDebugParameter(DebugDeviceParameterType Type, void* pData, uint DataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12DebugDevice2*)Unsafe.AsPointer(ref this), Type, pData, DataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12DebugDevice2*)Unsafe.AsPointer(ref this), Type, pData, DataSize); -#endif } - public interface Interface : ID3D12DebugDevice.Interface - { - } } /// @@ -29950,7 +25112,7 @@ public unsafe partial struct ID3D12DebugDevice2 : ID3D12DebugDevice2.Interface [Guid("09e0bf36-54ac-484f-8847-4baeeab6053a")] [NativeTypeName("struct ID3D12DebugCommandQueue : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12DebugCommandQueue : ID3D12DebugCommandQueue.Interface +public unsafe partial struct ID3D12DebugCommandQueue { public static ref readonly Guid IID_ID3D12DebugCommandQueue { @@ -30011,16 +25173,9 @@ public unsafe partial struct ID3D12DebugCommandQueue : ID3D12DebugCommandQueue.I [VtblIndex(3)] public Bool32 AssertResourceState(ID3D12Resource* pResource, uint Subresource, uint State) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12DebugCommandQueue*)Unsafe.AsPointer(ref this), pResource, Subresource, State); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12DebugCommandQueue*)Unsafe.AsPointer(ref this), pResource, Subresource, State); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -30028,7 +25183,7 @@ public unsafe partial struct ID3D12DebugCommandQueue : ID3D12DebugCommandQueue.I [Guid("102ca951-311b-4b01-b11f-ecb83e061b37")] [NativeTypeName("struct ID3D12DebugCommandList1 : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12DebugCommandList1 : ID3D12DebugCommandList1.Interface +public unsafe partial struct ID3D12DebugCommandList1 { public static ref readonly Guid IID_ID3D12DebugCommandList1 { @@ -30089,11 +25244,7 @@ public unsafe partial struct ID3D12DebugCommandList1 : ID3D12DebugCommandList1.I [VtblIndex(3)] public Bool32 AssertResourceState(ID3D12Resource* pResource, uint Subresource, uint State) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12DebugCommandList1*)Unsafe.AsPointer(ref this), pResource, Subresource, State); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12DebugCommandList1*)Unsafe.AsPointer(ref this), pResource, Subresource, State); -#endif } /// @@ -30101,11 +25252,7 @@ public unsafe partial struct ID3D12DebugCommandList1 : ID3D12DebugCommandList1.I [VtblIndex(4)] public HResult SetDebugParameter(DebugCommandListParameterType Type, void* pData, uint DataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12DebugCommandList1*)Unsafe.AsPointer(ref this), Type, pData, DataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12DebugCommandList1*)Unsafe.AsPointer(ref this), Type, pData, DataSize); -#endif } /// @@ -30113,16 +25260,9 @@ public unsafe partial struct ID3D12DebugCommandList1 : ID3D12DebugCommandList1.I [VtblIndex(5)] public HResult GetDebugParameter(DebugCommandListParameterType Type, void* pData, uint DataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12DebugCommandList1*)Unsafe.AsPointer(ref this), Type, pData, DataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12DebugCommandList1*)Unsafe.AsPointer(ref this), Type, pData, DataSize); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -30130,7 +25270,7 @@ public unsafe partial struct ID3D12DebugCommandList1 : ID3D12DebugCommandList1.I [Guid("09e0bf36-54ac-484f-8847-4baeeab6053f")] [NativeTypeName("struct ID3D12DebugCommandList : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12DebugCommandList : ID3D12DebugCommandList.Interface +public unsafe partial struct ID3D12DebugCommandList { public static ref readonly Guid IID_ID3D12DebugCommandList { @@ -30191,11 +25331,7 @@ public unsafe partial struct ID3D12DebugCommandList : ID3D12DebugCommandList.Int [VtblIndex(3)] public Bool32 AssertResourceState(ID3D12Resource* pResource, uint Subresource, uint State) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12DebugCommandList*)Unsafe.AsPointer(ref this), pResource, Subresource, State); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12DebugCommandList*)Unsafe.AsPointer(ref this), pResource, Subresource, State); -#endif } /// @@ -30203,11 +25339,7 @@ public unsafe partial struct ID3D12DebugCommandList : ID3D12DebugCommandList.Int [VtblIndex(4)] public HResult SetFeatureMask(DebugFeature Mask) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12DebugCommandList*)Unsafe.AsPointer(ref this), Mask); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12DebugCommandList*)Unsafe.AsPointer(ref this), Mask); -#endif } /// @@ -30215,16 +25347,9 @@ public unsafe partial struct ID3D12DebugCommandList : ID3D12DebugCommandList.Int [VtblIndex(5)] public Graphics.Direct3D12.DebugFeature GetFeatureMask() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12DebugCommandList*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12DebugCommandList*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -30232,7 +25357,7 @@ public unsafe partial struct ID3D12DebugCommandList : ID3D12DebugCommandList.Int [Guid("aeb575cf-4e06-48be-ba3b-c450fc96652e")] [NativeTypeName("struct ID3D12DebugCommandList2 : ID3D12DebugCommandList")] [NativeInheritance("ID3D12DebugCommandList")] -public unsafe partial struct ID3D12DebugCommandList2 : ID3D12DebugCommandList2.Interface +public unsafe partial struct ID3D12DebugCommandList2 { public static ref readonly Guid IID_ID3D12DebugCommandList2 { @@ -30293,11 +25418,7 @@ public unsafe partial struct ID3D12DebugCommandList2 : ID3D12DebugCommandList2.I [VtblIndex(3)] public Bool32 AssertResourceState(ID3D12Resource* pResource, uint Subresource, uint State) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12DebugCommandList2*)Unsafe.AsPointer(ref this), pResource, Subresource, State); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12DebugCommandList2*)Unsafe.AsPointer(ref this), pResource, Subresource, State); -#endif } /// @@ -30305,11 +25426,7 @@ public unsafe partial struct ID3D12DebugCommandList2 : ID3D12DebugCommandList2.I [VtblIndex(4)] public HResult SetFeatureMask(DebugFeature Mask) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12DebugCommandList2*)Unsafe.AsPointer(ref this), Mask); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12DebugCommandList2*)Unsafe.AsPointer(ref this), Mask); -#endif } /// @@ -30317,11 +25434,7 @@ public unsafe partial struct ID3D12DebugCommandList2 : ID3D12DebugCommandList2.I [VtblIndex(5)] public Graphics.Direct3D12.DebugFeature GetFeatureMask() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12DebugCommandList2*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12DebugCommandList2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -30329,11 +25442,7 @@ public unsafe partial struct ID3D12DebugCommandList2 : ID3D12DebugCommandList2.I [VtblIndex(6)] public HResult SetDebugParameter(DebugCommandListParameterType Type, void* pData, uint DataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12DebugCommandList2*)Unsafe.AsPointer(ref this), Type, pData, DataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12DebugCommandList2*)Unsafe.AsPointer(ref this), Type, pData, DataSize); -#endif } /// @@ -30341,16 +25450,9 @@ public unsafe partial struct ID3D12DebugCommandList2 : ID3D12DebugCommandList2.I [VtblIndex(7)] public HResult GetDebugParameter(DebugCommandListParameterType Type, void* pData, uint DataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12DebugCommandList2*)Unsafe.AsPointer(ref this), Type, pData, DataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12DebugCommandList2*)Unsafe.AsPointer(ref this), Type, pData, DataSize); -#endif } - public interface Interface : ID3D12DebugCommandList.Interface - { - } } /// @@ -30358,7 +25460,7 @@ public unsafe partial struct ID3D12DebugCommandList2 : ID3D12DebugCommandList2.I [Guid("0adf7d52-929c-4e61-addb-ffed30de66ef")] [NativeTypeName("struct ID3D12SharingContract : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12SharingContract : ID3D12SharingContract.Interface +public unsafe partial struct ID3D12SharingContract { public static ref readonly Guid IID_ID3D12SharingContract { @@ -30419,11 +25521,7 @@ public unsafe partial struct ID3D12SharingContract : ID3D12SharingContract.Inter [VtblIndex(3)] public void Present(ID3D12Resource* pResource, uint Subresource, IntPtr window) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D12SharingContract*)Unsafe.AsPointer(ref this), pResource, Subresource, window); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12SharingContract*)Unsafe.AsPointer(ref this), pResource, Subresource, window); -#endif } /// @@ -30431,11 +25529,7 @@ public unsafe partial struct ID3D12SharingContract : ID3D12SharingContract.Inter [VtblIndex(4)] public void SharedFenceSignal(ID3D12Fence* pFence, ulong FenceValue) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D12SharingContract*)Unsafe.AsPointer(ref this), pFence, FenceValue); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12SharingContract*)Unsafe.AsPointer(ref this), pFence, FenceValue); -#endif } /// @@ -30443,11 +25537,7 @@ public unsafe partial struct ID3D12SharingContract : ID3D12SharingContract.Inter [VtblIndex(5)] public void BeginCapturableWork(Guid* guid) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D12SharingContract*)Unsafe.AsPointer(ref this), guid); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12SharingContract*)Unsafe.AsPointer(ref this), guid); -#endif } /// @@ -30455,16 +25545,9 @@ public unsafe partial struct ID3D12SharingContract : ID3D12SharingContract.Inter [VtblIndex(6)] public void EndCapturableWork(Guid* guid) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[6]))((ID3D12SharingContract*)Unsafe.AsPointer(ref this), guid); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12SharingContract*)Unsafe.AsPointer(ref this), guid); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -30472,7 +25555,7 @@ public unsafe partial struct ID3D12SharingContract : ID3D12SharingContract.Inter [Guid("0742a90b-c387-483f-b946-30a7e4e61458")] [NativeTypeName("struct ID3D12InfoQueue : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface +public unsafe partial struct ID3D12InfoQueue { public static ref readonly Guid IID_ID3D12InfoQueue { @@ -30533,11 +25616,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(3)] public HResult SetMessageCountLimit(ulong MessageCountLimit) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), MessageCountLimit); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), MessageCountLimit); -#endif } /// @@ -30545,11 +25624,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(4)] public void ClearStoredMessages() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -30557,11 +25632,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(5)] public HResult GetMessage(ulong MessageIndex, Message* pMessage, nuint* pMessageByteLength) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), MessageIndex, pMessage, pMessageByteLength); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), MessageIndex, pMessage, pMessageByteLength); -#endif } /// @@ -30569,11 +25640,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(6)] public ulong GetNumMessagesAllowedByStorageFilter() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -30581,11 +25648,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(7)] public ulong GetNumMessagesDeniedByStorageFilter() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -30593,11 +25656,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(8)] public ulong GetNumStoredMessages() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -30605,11 +25664,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(9)] public ulong GetNumStoredMessagesAllowedByRetrievalFilter() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -30617,11 +25672,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(10)] public ulong GetNumMessagesDiscardedByMessageCountLimit() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -30629,11 +25680,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(11)] public ulong GetMessageCountLimit() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -30641,11 +25688,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(12)] public HResult AddStorageFilterEntries(InfoQueueFilter* pFilter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), pFilter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), pFilter); -#endif } /// @@ -30653,11 +25696,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(13)] public HResult GetStorageFilter(InfoQueueFilter* pFilter, nuint* pFilterByteLength) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), pFilter, pFilterByteLength); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), pFilter, pFilterByteLength); -#endif } /// @@ -30665,11 +25704,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(14)] public void ClearStorageFilter() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[14]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -30677,11 +25712,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(15)] public HResult PushEmptyStorageFilter() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -30689,11 +25720,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(16)] public HResult PushCopyOfStorageFilter() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -30701,11 +25728,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(17)] public HResult PushStorageFilter(InfoQueueFilter* pFilter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), pFilter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), pFilter); -#endif } /// @@ -30713,11 +25736,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(18)] public void PopStorageFilter() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[18]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -30725,11 +25744,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(19)] public uint GetStorageFilterStackSize() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -30737,11 +25752,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(20)] public HResult AddRetrievalFilterEntries(InfoQueueFilter* pFilter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), pFilter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), pFilter); -#endif } /// @@ -30749,11 +25760,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(21)] public HResult GetRetrievalFilter(InfoQueueFilter* pFilter, nuint* pFilterByteLength) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), pFilter, pFilterByteLength); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), pFilter, pFilterByteLength); -#endif } /// @@ -30761,11 +25768,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(22)] public void ClearRetrievalFilter() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[22]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -30773,11 +25776,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(23)] public HResult PushEmptyRetrievalFilter() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -30785,11 +25784,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(24)] public HResult PushCopyOfRetrievalFilter() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -30797,11 +25792,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(25)] public HResult PushRetrievalFilter(InfoQueueFilter* pFilter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), pFilter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), pFilter); -#endif } /// @@ -30809,11 +25800,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(26)] public void PopRetrievalFilter() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[26]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -30821,11 +25808,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(27)] public uint GetRetrievalFilterStackSize() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -30833,11 +25816,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(28)] public HResult AddMessage(MessageCategory Category, MessageSeverity Severity, MessageId ID, byte** pDescription) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), Category, Severity, ID, pDescription); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), Category, Severity, ID, pDescription); -#endif } /// @@ -30845,11 +25824,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(29)] public HResult AddApplicationMessage(MessageSeverity Severity, byte** pDescription) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[29]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), Severity, pDescription); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), Severity, pDescription); -#endif } /// @@ -30857,11 +25832,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(30)] public HResult SetBreakOnCategory(MessageCategory Category, Bool32 bEnable) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[30]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), Category, bEnable); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), Category, bEnable); -#endif } /// @@ -30869,11 +25840,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(31)] public HResult SetBreakOnSeverity(MessageSeverity Severity, Bool32 bEnable) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[31]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), Severity, bEnable); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), Severity, bEnable); -#endif } /// @@ -30881,11 +25848,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(32)] public HResult SetBreakOnID(MessageId ID, Bool32 bEnable) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[32]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), ID, bEnable); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), ID, bEnable); -#endif } /// @@ -30893,11 +25856,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(33)] public Bool32 GetBreakOnCategory(MessageCategory Category) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[33]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), Category); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), Category); -#endif } /// @@ -30905,11 +25864,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(34)] public Bool32 GetBreakOnSeverity(MessageSeverity Severity) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[34]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), Severity); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), Severity); -#endif } /// @@ -30917,11 +25872,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(35)] public Bool32 GetBreakOnID(MessageId ID) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[35]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), ID); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), ID); -#endif } /// @@ -30929,11 +25880,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(36)] public void SetMuteDebugOutput(Bool32 bMute) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[36]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), bMute); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), bMute); -#endif } /// @@ -30941,16 +25888,9 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [VtblIndex(37)] public Bool32 GetMuteDebugOutput() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[37]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -30958,7 +25898,7 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface [Guid("2852dd88-b484-4c0c-b6b1-67168500e600")] [NativeTypeName("struct ID3D12InfoQueue1 : ID3D12InfoQueue")] [NativeInheritance("ID3D12InfoQueue")] -public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface +public unsafe partial struct ID3D12InfoQueue1 { public static ref readonly Guid IID_ID3D12InfoQueue1 { @@ -31019,11 +25959,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(3)] public HResult SetMessageCountLimit(ulong MessageCountLimit) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), MessageCountLimit); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), MessageCountLimit); -#endif } /// @@ -31031,11 +25967,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(4)] public void ClearStoredMessages() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -31043,11 +25975,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(5)] public HResult GetMessage(ulong MessageIndex, Message* pMessage, nuint* pMessageByteLength) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), MessageIndex, pMessage, pMessageByteLength); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), MessageIndex, pMessage, pMessageByteLength); -#endif } /// @@ -31055,11 +25983,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(6)] public ulong GetNumMessagesAllowedByStorageFilter() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -31067,11 +25991,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(7)] public ulong GetNumMessagesDeniedByStorageFilter() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -31079,11 +25999,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(8)] public ulong GetNumStoredMessages() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -31091,11 +26007,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(9)] public ulong GetNumStoredMessagesAllowedByRetrievalFilter() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -31103,11 +26015,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(10)] public ulong GetNumMessagesDiscardedByMessageCountLimit() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -31115,11 +26023,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(11)] public ulong GetMessageCountLimit() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -31127,11 +26031,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(12)] public HResult AddStorageFilterEntries(InfoQueueFilter* pFilter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), pFilter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), pFilter); -#endif } /// @@ -31139,11 +26039,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(13)] public HResult GetStorageFilter(InfoQueueFilter* pFilter, nuint* pFilterByteLength) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), pFilter, pFilterByteLength); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), pFilter, pFilterByteLength); -#endif } /// @@ -31151,11 +26047,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(14)] public void ClearStorageFilter() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[14]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -31163,11 +26055,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(15)] public HResult PushEmptyStorageFilter() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -31175,11 +26063,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(16)] public HResult PushCopyOfStorageFilter() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -31187,11 +26071,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(17)] public HResult PushStorageFilter(InfoQueueFilter* pFilter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), pFilter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), pFilter); -#endif } /// @@ -31199,11 +26079,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(18)] public void PopStorageFilter() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[18]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -31211,11 +26087,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(19)] public uint GetStorageFilterStackSize() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -31223,11 +26095,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(20)] public HResult AddRetrievalFilterEntries(InfoQueueFilter* pFilter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), pFilter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), pFilter); -#endif } /// @@ -31235,11 +26103,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(21)] public HResult GetRetrievalFilter(InfoQueueFilter* pFilter, nuint* pFilterByteLength) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), pFilter, pFilterByteLength); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), pFilter, pFilterByteLength); -#endif } /// @@ -31247,11 +26111,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(22)] public void ClearRetrievalFilter() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[22]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -31259,11 +26119,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(23)] public HResult PushEmptyRetrievalFilter() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -31271,11 +26127,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(24)] public HResult PushCopyOfRetrievalFilter() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -31283,11 +26135,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(25)] public HResult PushRetrievalFilter(InfoQueueFilter* pFilter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), pFilter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), pFilter); -#endif } /// @@ -31295,11 +26143,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(26)] public void PopRetrievalFilter() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[26]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -31307,11 +26151,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(27)] public uint GetRetrievalFilterStackSize() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -31319,11 +26159,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(28)] public HResult AddMessage(MessageCategory Category, MessageSeverity Severity, MessageId ID, byte** pDescription) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), Category, Severity, ID, pDescription); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), Category, Severity, ID, pDescription); -#endif } /// @@ -31331,11 +26167,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(29)] public HResult AddApplicationMessage(MessageSeverity Severity, byte** pDescription) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[29]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), Severity, pDescription); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), Severity, pDescription); -#endif } /// @@ -31343,11 +26175,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(30)] public HResult SetBreakOnCategory(MessageCategory Category, Bool32 bEnable) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[30]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), Category, bEnable); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), Category, bEnable); -#endif } /// @@ -31355,11 +26183,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(31)] public HResult SetBreakOnSeverity(MessageSeverity Severity, Bool32 bEnable) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[31]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), Severity, bEnable); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), Severity, bEnable); -#endif } /// @@ -31367,11 +26191,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(32)] public HResult SetBreakOnID(MessageId ID, Bool32 bEnable) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[32]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), ID, bEnable); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), ID, bEnable); -#endif } /// @@ -31379,11 +26199,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(33)] public Bool32 GetBreakOnCategory(MessageCategory Category) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[33]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), Category); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), Category); -#endif } /// @@ -31391,11 +26207,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(34)] public Bool32 GetBreakOnSeverity(MessageSeverity Severity) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[34]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), Severity); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), Severity); -#endif } /// @@ -31403,11 +26215,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(35)] public Bool32 GetBreakOnID(MessageId ID) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[35]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), ID); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), ID); -#endif } /// @@ -31415,11 +26223,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(36)] public void SetMuteDebugOutput(Bool32 bMute) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[36]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), bMute); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), bMute); -#endif } /// @@ -31427,11 +26231,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(37)] public Bool32 GetMuteDebugOutput() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[37]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -31439,11 +26239,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(38)] public HResult RegisterMessageCallback(delegate* unmanaged[Stdcall] CallbackFunc, MessageCallbackFlags CallbackFilterFlags, void* pContext, uint* pCallbackCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged, MessageCallbackFlags, void*, uint*, int>)(lpVtbl[38]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), CallbackFunc, CallbackFilterFlags, pContext, pCallbackCookie); -#else return ((delegate* unmanaged[Stdcall], MessageCallbackFlags, void*, uint*, int>)(lpVtbl[38]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), CallbackFunc, CallbackFilterFlags, pContext, pCallbackCookie); -#endif } /// @@ -31451,16 +26247,9 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [VtblIndex(39)] public HResult UnregisterMessageCallback(uint CallbackCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[39]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), CallbackCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), CallbackCookie); -#endif } - public interface Interface : ID3D12InfoQueue.Interface - { - } } /// @@ -31468,7 +26257,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface [Guid("e9eb5314-33aa-42b2-a718-d77f58b1f1c7")] [NativeTypeName("struct ID3D12SDKConfiguration : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12SDKConfiguration : ID3D12SDKConfiguration.Interface +public unsafe partial struct ID3D12SDKConfiguration { public static ref readonly Guid IID_ID3D12SDKConfiguration { @@ -31529,16 +26318,9 @@ public unsafe partial struct ID3D12SDKConfiguration : ID3D12SDKConfiguration.Int [VtblIndex(3)] public HResult SetSDKVersion(uint SDKVersion, byte** SDKPath) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12SDKConfiguration*)Unsafe.AsPointer(ref this), SDKVersion, SDKPath); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12SDKConfiguration*)Unsafe.AsPointer(ref this), SDKVersion, SDKPath); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -31546,7 +26328,7 @@ public unsafe partial struct ID3D12SDKConfiguration : ID3D12SDKConfiguration.Int [Guid("55050859-4024-474c-87f5-6472eaee44ea")] [NativeTypeName("struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandList4")] [NativeInheritance("ID3D12GraphicsCommandList4")] -public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandList5.Interface +public unsafe partial struct ID3D12GraphicsCommandList5 { public static ref readonly Guid IID_ID3D12GraphicsCommandList5 { @@ -31607,11 +26389,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(3)] public void BeginRenderPass(uint NumRenderTargets, RenderPassRenderTargetDescription* pRenderTargets, RenderPassDepthStencilDescription* pDepthStencil, RenderPassFlags Flags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), NumRenderTargets, pRenderTargets, pDepthStencil, Flags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), NumRenderTargets, pRenderTargets, pDepthStencil, Flags); -#endif } /// @@ -31619,11 +26397,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(4)] public void EndRenderPass() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -31631,11 +26405,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(5)] public void InitializeMetaCommand(ID3D12MetaCommand* pMetaCommand, void* pInitializationParametersData, nuint InitializationParametersDataSizeInBytes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pMetaCommand, pInitializationParametersData, InitializationParametersDataSizeInBytes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pMetaCommand, pInitializationParametersData, InitializationParametersDataSizeInBytes); -#endif } /// @@ -31643,11 +26413,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(6)] public void ExecuteMetaCommand(ID3D12MetaCommand* pMetaCommand, void* pExecutionParametersData, nuint ExecutionParametersDataSizeInBytes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[6]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pMetaCommand, pExecutionParametersData, ExecutionParametersDataSizeInBytes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pMetaCommand, pExecutionParametersData, ExecutionParametersDataSizeInBytes); -#endif } /// @@ -31655,11 +26421,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(7)] public void BuildRaytracingAccelerationStructure(BuildRaytracingAccelerationStructureDescription* pDesc, uint NumPostbuildInfoDescs, RaytracingAccelerationStructurePostbuildInfoDescription* pPostbuildInfoDescs) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[7]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pDesc, NumPostbuildInfoDescs, pPostbuildInfoDescs); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pDesc, NumPostbuildInfoDescs, pPostbuildInfoDescs); -#endif } /// @@ -31667,11 +26429,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(8)] public void EmitRaytracingAccelerationStructurePostbuildInfo(RaytracingAccelerationStructurePostbuildInfoDescription* pDesc, uint NumSourceAccelerationStructures, ulong* pSourceAccelerationStructureData) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pDesc, NumSourceAccelerationStructures, pSourceAccelerationStructureData); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pDesc, NumSourceAccelerationStructures, pSourceAccelerationStructureData); -#endif } /// @@ -31679,11 +26437,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(9)] public void CopyRaytracingAccelerationStructure(ulong DestAccelerationStructureData, ulong SourceAccelerationStructureData, RaytracingAccelerationStructureCopyMode Mode) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[9]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), DestAccelerationStructureData, SourceAccelerationStructureData, Mode); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), DestAccelerationStructureData, SourceAccelerationStructureData, Mode); -#endif } /// @@ -31691,11 +26445,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(10)] public void SetPipelineState1(ID3D12StateObject* pStateObject) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[10]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pStateObject); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pStateObject); -#endif } /// @@ -31703,11 +26453,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(11)] public void DispatchRays(DispatchRaysDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[11]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -31715,11 +26461,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(12)] public void SetProtectedResourceSession(ID3D12ProtectedResourceSession* pProtectedResourceSession) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[12]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pProtectedResourceSession); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pProtectedResourceSession); -#endif } /// @@ -31727,11 +26469,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(13)] public void WriteBufferImmediate(uint Count, WritebufferimmediateParameter* pParams, WritebufferimmediateMode* pModes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[13]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), Count, pParams, pModes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), Count, pParams, pModes); -#endif } /// @@ -31739,11 +26477,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(14)] public void AtomicCopyBufferUINT(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource* ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[14]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); -#endif } /// @@ -31751,11 +26485,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(15)] public void AtomicCopyBufferUINT64(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource* ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[15]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); -#endif } /// @@ -31763,11 +26493,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(16)] public void OMSetDepthBounds(float Min, float Max) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[16]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), Min, Max); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), Min, Max); -#endif } /// @@ -31775,11 +26501,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(17)] public void SetSamplePositions(uint NumSamplesPerPixel, uint NumPixels, SamplePosition* pSamplePositions) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[17]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), NumSamplesPerPixel, NumPixels, pSamplePositions); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), NumSamplesPerPixel, NumPixels, pSamplePositions); -#endif } /// @@ -31787,11 +26509,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(18)] public void ResolveSubresourceRegion(ID3D12Resource* pDstResource, uint DstSubresource, uint DstX, uint DstY, ID3D12Resource* pSrcResource, uint SrcSubresource, RawRect* pSrcRect, Graphics.Dxgi.Common.Format Format, ResolveMode ResolveMode) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[18]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, pSrcResource, SrcSubresource, pSrcRect, Format, ResolveMode); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, pSrcResource, SrcSubresource, pSrcRect, Format, ResolveMode); -#endif } /// @@ -31799,11 +26517,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(19)] public void SetViewInstanceMask(uint Mask) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[19]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), Mask); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), Mask); -#endif } /// @@ -31811,11 +26525,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(20)] public HResult Close() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -31823,11 +26533,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(21)] public HResult Reset(ID3D12CommandAllocator* pAllocator, ID3D12PipelineState* pInitialState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pAllocator, pInitialState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pAllocator, pInitialState); -#endif } /// @@ -31835,11 +26541,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(22)] public void ClearState(ID3D12PipelineState* pPipelineState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[22]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pPipelineState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pPipelineState); -#endif } /// @@ -31847,11 +26549,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(23)] public void DrawInstanced(uint VertexCountPerInstance, uint InstanceCount, uint StartVertexLocation, uint StartInstanceLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[23]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), VertexCountPerInstance, InstanceCount, StartVertexLocation, StartInstanceLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), VertexCountPerInstance, InstanceCount, StartVertexLocation, StartInstanceLocation); -#endif } /// @@ -31859,11 +26557,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(24)] public void DrawIndexedInstanced(uint IndexCountPerInstance, uint InstanceCount, uint StartIndexLocation, int BaseVertexLocation, uint StartInstanceLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[24]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), IndexCountPerInstance, InstanceCount, StartIndexLocation, BaseVertexLocation, StartInstanceLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), IndexCountPerInstance, InstanceCount, StartIndexLocation, BaseVertexLocation, StartInstanceLocation); -#endif } /// @@ -31871,11 +26565,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(25)] public void Dispatch(uint ThreadGroupCountX, uint ThreadGroupCountY, uint ThreadGroupCountZ) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[25]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ); -#endif } /// @@ -31883,11 +26573,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(26)] public void CopyBufferRegion(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, ulong NumBytes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[26]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, NumBytes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, NumBytes); -#endif } /// @@ -31895,11 +26581,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(27)] public void CopyTextureRegion(TextureCopyLocation* pDst, uint DstX, uint DstY, uint DstZ, TextureCopyLocation* pSrc, Box* pSrcBox) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[27]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pDst, DstX, DstY, DstZ, pSrc, pSrcBox); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pDst, DstX, DstY, DstZ, pSrc, pSrcBox); -#endif } /// @@ -31907,11 +26589,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(28)] public void CopyResource(ID3D12Resource* pDstResource, ID3D12Resource* pSrcResource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[28]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pDstResource, pSrcResource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pDstResource, pSrcResource); -#endif } /// @@ -31919,11 +26597,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(29)] public void CopyTiles(ID3D12Resource* pTiledResource, TiledResourceCoordinate* pTileRegionStartCoordinate, TileRegionSize* pTileRegionSize, ID3D12Resource* pBuffer, ulong BufferStartOffsetInBytes, TileCopyFlags Flags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[29]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pTiledResource, pTileRegionStartCoordinate, pTileRegionSize, pBuffer, BufferStartOffsetInBytes, Flags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pTiledResource, pTileRegionStartCoordinate, pTileRegionSize, pBuffer, BufferStartOffsetInBytes, Flags); -#endif } /// @@ -31931,11 +26605,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(30)] public void ResolveSubresource(ID3D12Resource* pDstResource, uint DstSubresource, ID3D12Resource* pSrcResource, uint SrcSubresource, Graphics.Dxgi.Common.Format Format) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[30]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pSrcResource, SrcSubresource, Format); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pSrcResource, SrcSubresource, Format); -#endif } /// @@ -31943,11 +26613,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(31)] public void IASetPrimitiveTopology(Graphics.Direct3D.PrimitiveTopology PrimitiveTopology) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[31]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), PrimitiveTopology); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), PrimitiveTopology); -#endif } /// @@ -31955,11 +26621,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(32)] public void RSSetViewports(uint NumViewports, Viewport* pViewports) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[32]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), NumViewports, pViewports); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), NumViewports, pViewports); -#endif } /// @@ -31967,11 +26629,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(33)] public void RSSetScissorRects(uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[33]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), NumRects, pRects); -#endif } /// @@ -31979,11 +26637,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(34)] public void OMSetBlendFactor(float* BlendFactor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[34]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), BlendFactor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), BlendFactor); -#endif } /// @@ -31991,11 +26645,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(35)] public void OMSetStencilRef(uint StencilRef) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[35]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), StencilRef); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), StencilRef); -#endif } /// @@ -32003,11 +26653,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(36)] public void SetPipelineState(ID3D12PipelineState* pPipelineState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[36]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pPipelineState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pPipelineState); -#endif } /// @@ -32015,11 +26661,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(37)] public void ResourceBarrier(uint NumBarriers, ResourceBarrier* pBarriers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[37]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), NumBarriers, pBarriers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), NumBarriers, pBarriers); -#endif } /// @@ -32027,11 +26669,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(38)] public void ExecuteBundle(ID3D12GraphicsCommandList* pCommandList) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[38]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pCommandList); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pCommandList); -#endif } /// @@ -32039,11 +26677,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(39)] public void SetDescriptorHeaps(uint NumDescriptorHeaps, ID3D12DescriptorHeap* ppDescriptorHeaps) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[39]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps); -#endif } /// @@ -32051,11 +26685,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(40)] public void SetComputeRootSignature(ID3D12RootSignature* pRootSignature) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[40]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pRootSignature); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pRootSignature); -#endif } /// @@ -32063,11 +26693,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(41)] public void SetGraphicsRootSignature(ID3D12RootSignature* pRootSignature) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[41]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pRootSignature); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pRootSignature); -#endif } /// @@ -32075,11 +26701,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(42)] public void SetComputeRootDescriptorTable(uint RootParameterIndex, GpuDescriptorHandle* BaseDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[42]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#endif } /// @@ -32087,11 +26709,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(43)] public void SetGraphicsRootDescriptorTable(uint RootParameterIndex, GpuDescriptorHandle* BaseDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[43]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#endif } /// @@ -32099,11 +26717,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(44)] public void SetComputeRoot32BitConstant(uint RootParameterIndex, uint SrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[44]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#endif } /// @@ -32111,11 +26725,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(45)] public void SetGraphicsRoot32BitConstant(uint RootParameterIndex, uint SrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[45]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#endif } /// @@ -32123,11 +26733,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(46)] public void SetComputeRoot32BitConstants(uint RootParameterIndex, uint Num32BitValuesToSet, void* pSrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[46]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#endif } /// @@ -32135,11 +26741,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(47)] public void SetGraphicsRoot32BitConstants(uint RootParameterIndex, uint Num32BitValuesToSet, void* pSrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[47]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#endif } /// @@ -32147,11 +26749,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(48)] public void SetComputeRootConstantBufferView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[48]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -32159,11 +26757,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(49)] public void SetGraphicsRootConstantBufferView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[49]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -32171,11 +26765,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(50)] public void SetComputeRootShaderResourceView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[50]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -32183,11 +26773,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(51)] public void SetGraphicsRootShaderResourceView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[51]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -32195,11 +26781,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(52)] public void SetComputeRootUnorderedAccessView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[52]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -32207,11 +26789,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(53)] public void SetGraphicsRootUnorderedAccessView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[53]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -32219,11 +26797,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(54)] public void IASetIndexBuffer(IndexBufferView* pView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[54]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pView); -#endif } /// @@ -32231,11 +26805,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(55)] public void IASetVertexBuffers(uint StartSlot, uint NumViews, VertexBufferView* pViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[55]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#endif } /// @@ -32243,11 +26813,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(56)] public void SOSetTargets(uint StartSlot, uint NumViews, StreamOutputBufferView* pViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[56]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#endif } /// @@ -32255,11 +26821,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(57)] public void OMSetRenderTargets(uint NumRenderTargetDescriptors, CpuDescriptorHandle* pRenderTargetDescriptors, Bool32 RTsSingleHandleToDescriptorRange, CpuDescriptorHandle* pDepthStencilDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[57]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), NumRenderTargetDescriptors, pRenderTargetDescriptors, RTsSingleHandleToDescriptorRange, pDepthStencilDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), NumRenderTargetDescriptors, pRenderTargetDescriptors, RTsSingleHandleToDescriptorRange, pDepthStencilDescriptor); -#endif } /// @@ -32267,11 +26829,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(58)] public void ClearDepthStencilView(CpuDescriptorHandle* DepthStencilView, ClearFlags ClearFlags, float Depth, byte Stencil, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[58]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), DepthStencilView, ClearFlags, Depth, Stencil, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), DepthStencilView, ClearFlags, Depth, Stencil, NumRects, pRects); -#endif } /// @@ -32279,11 +26837,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(59)] public void ClearRenderTargetView(CpuDescriptorHandle* RenderTargetView, float* ColorRGBA, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[59]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), RenderTargetView, ColorRGBA, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), RenderTargetView, ColorRGBA, NumRects, pRects); -#endif } /// @@ -32291,11 +26845,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(60)] public void ClearUnorderedAccessViewUint(GpuDescriptorHandle* ViewGPUHandleInCurrentHeap, CpuDescriptorHandle* ViewCPUHandle, ID3D12Resource* pResource, uint* Values, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[60]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#endif } /// @@ -32303,11 +26853,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(61)] public void ClearUnorderedAccessViewFloat(GpuDescriptorHandle* ViewGPUHandleInCurrentHeap, CpuDescriptorHandle* ViewCPUHandle, ID3D12Resource* pResource, float* Values, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[61]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#endif } /// @@ -32315,11 +26861,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(62)] public void DiscardResource(ID3D12Resource* pResource, DiscardRegion* pRegion) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[62]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pResource, pRegion); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pResource, pRegion); -#endif } /// @@ -32327,11 +26869,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(63)] public void BeginQuery(ID3D12QueryHeap* pQueryHeap, QueryType Type, uint Index) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[63]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#endif } /// @@ -32339,11 +26877,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(64)] public void EndQuery(ID3D12QueryHeap* pQueryHeap, QueryType Type, uint Index) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[64]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#endif } /// @@ -32351,11 +26885,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(65)] public void ResolveQueryData(ID3D12QueryHeap* pQueryHeap, QueryType Type, uint StartIndex, uint NumQueries, ID3D12Resource* pDestinationBuffer, ulong AlignedDestinationBufferOffset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[65]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pQueryHeap, Type, StartIndex, NumQueries, pDestinationBuffer, AlignedDestinationBufferOffset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pQueryHeap, Type, StartIndex, NumQueries, pDestinationBuffer, AlignedDestinationBufferOffset); -#endif } /// @@ -32363,11 +26893,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(66)] public void SetPredication(ID3D12Resource* pBuffer, ulong AlignedBufferOffset, PredicationOp Operation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[66]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pBuffer, AlignedBufferOffset, Operation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[66]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pBuffer, AlignedBufferOffset, Operation); -#endif } /// @@ -32375,11 +26901,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(67)] public void SetMarker(uint Metadata, void* pData, uint Size) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[67]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#endif } /// @@ -32387,11 +26909,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(68)] public void BeginEvent(uint Metadata, void* pData, uint Size) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[68]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[68]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#endif } /// @@ -32399,11 +26917,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(69)] public void EndEvent() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[69]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[69]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -32411,11 +26925,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(70)] public void ExecuteIndirect(ID3D12CommandSignature* pCommandSignature, uint MaxCommandCount, ID3D12Resource* pArgumentBuffer, ulong ArgumentBufferOffset, ID3D12Resource* pCountBuffer, ulong CountBufferOffset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[70]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pCommandSignature, MaxCommandCount, pArgumentBuffer, ArgumentBufferOffset, pCountBuffer, CountBufferOffset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), pCommandSignature, MaxCommandCount, pArgumentBuffer, ArgumentBufferOffset, pCountBuffer, CountBufferOffset); -#endif } /// @@ -32423,11 +26933,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(71)] public new Graphics.Direct3D12.CommandListType GetType() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[71]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -32435,11 +26941,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(72)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[72]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -32447,11 +26949,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(73)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[73]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[73]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -32459,11 +26957,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(74)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[74]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[74]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -32471,11 +26965,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(75)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[75]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[75]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -32483,11 +26973,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(76)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[76]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[76]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -32495,11 +26981,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(77)] public void RSSetShadingRate(ShadingRate baseShadingRate, ShadingRateCombiner* combiners) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[77]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), baseShadingRate, combiners); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[77]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), baseShadingRate, combiners); -#endif } /// @@ -32507,16 +26989,9 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [VtblIndex(78)] public void RSSetShadingRateImage(ID3D12Resource* shadingRateImage) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[78]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), shadingRateImage); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[78]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), shadingRateImage); -#endif } - public interface Interface : ID3D12GraphicsCommandList4.Interface - { - } } /// @@ -32524,7 +26999,7 @@ public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandL [Guid("c3827890-e548-4cfa-96cf-5689a9370f80")] [NativeTypeName("struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandList5")] [NativeInheritance("ID3D12GraphicsCommandList5")] -public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandList6.Interface +public unsafe partial struct ID3D12GraphicsCommandList6 { public static ref readonly Guid IID_ID3D12GraphicsCommandList6 { @@ -32585,11 +27060,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(3)] public void RSSetShadingRate(ShadingRate baseShadingRate, ShadingRateCombiner* combiners) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), baseShadingRate, combiners); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), baseShadingRate, combiners); -#endif } /// @@ -32597,11 +27068,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(4)] public void RSSetShadingRateImage(ID3D12Resource* shadingRateImage) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), shadingRateImage); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), shadingRateImage); -#endif } /// @@ -32609,11 +27076,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(5)] public void BeginRenderPass(uint NumRenderTargets, RenderPassRenderTargetDescription* pRenderTargets, RenderPassDepthStencilDescription* pDepthStencil, RenderPassFlags Flags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), NumRenderTargets, pRenderTargets, pDepthStencil, Flags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), NumRenderTargets, pRenderTargets, pDepthStencil, Flags); -#endif } /// @@ -32621,11 +27084,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(6)] public void EndRenderPass() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[6]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -32633,11 +27092,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(7)] public void InitializeMetaCommand(ID3D12MetaCommand* pMetaCommand, void* pInitializationParametersData, nuint InitializationParametersDataSizeInBytes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[7]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pMetaCommand, pInitializationParametersData, InitializationParametersDataSizeInBytes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pMetaCommand, pInitializationParametersData, InitializationParametersDataSizeInBytes); -#endif } /// @@ -32645,11 +27100,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(8)] public void ExecuteMetaCommand(ID3D12MetaCommand* pMetaCommand, void* pExecutionParametersData, nuint ExecutionParametersDataSizeInBytes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pMetaCommand, pExecutionParametersData, ExecutionParametersDataSizeInBytes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pMetaCommand, pExecutionParametersData, ExecutionParametersDataSizeInBytes); -#endif } /// @@ -32657,11 +27108,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(9)] public void BuildRaytracingAccelerationStructure(BuildRaytracingAccelerationStructureDescription* pDesc, uint NumPostbuildInfoDescs, RaytracingAccelerationStructurePostbuildInfoDescription* pPostbuildInfoDescs) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[9]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pDesc, NumPostbuildInfoDescs, pPostbuildInfoDescs); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pDesc, NumPostbuildInfoDescs, pPostbuildInfoDescs); -#endif } /// @@ -32669,11 +27116,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(10)] public void EmitRaytracingAccelerationStructurePostbuildInfo(RaytracingAccelerationStructurePostbuildInfoDescription* pDesc, uint NumSourceAccelerationStructures, ulong* pSourceAccelerationStructureData) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[10]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pDesc, NumSourceAccelerationStructures, pSourceAccelerationStructureData); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pDesc, NumSourceAccelerationStructures, pSourceAccelerationStructureData); -#endif } /// @@ -32681,11 +27124,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(11)] public void CopyRaytracingAccelerationStructure(ulong DestAccelerationStructureData, ulong SourceAccelerationStructureData, RaytracingAccelerationStructureCopyMode Mode) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[11]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), DestAccelerationStructureData, SourceAccelerationStructureData, Mode); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), DestAccelerationStructureData, SourceAccelerationStructureData, Mode); -#endif } /// @@ -32693,11 +27132,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(12)] public void SetPipelineState1(ID3D12StateObject* pStateObject) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[12]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pStateObject); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pStateObject); -#endif } /// @@ -32705,11 +27140,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(13)] public void DispatchRays(DispatchRaysDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[13]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -32717,11 +27148,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(14)] public void SetProtectedResourceSession(ID3D12ProtectedResourceSession* pProtectedResourceSession) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[14]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pProtectedResourceSession); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pProtectedResourceSession); -#endif } /// @@ -32729,11 +27156,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(15)] public void WriteBufferImmediate(uint Count, WritebufferimmediateParameter* pParams, WritebufferimmediateMode* pModes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[15]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), Count, pParams, pModes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), Count, pParams, pModes); -#endif } /// @@ -32741,11 +27164,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(16)] public void AtomicCopyBufferUINT(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource* ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[16]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); -#endif } /// @@ -32753,11 +27172,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(17)] public void AtomicCopyBufferUINT64(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, uint Dependencies, ID3D12Resource* ppDependentResources, SubresourceRangeUint64* pDependentSubresourceRanges) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[17]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, Dependencies, ppDependentResources, pDependentSubresourceRanges); -#endif } /// @@ -32765,11 +27180,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(18)] public void OMSetDepthBounds(float Min, float Max) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[18]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), Min, Max); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), Min, Max); -#endif } /// @@ -32777,11 +27188,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(19)] public void SetSamplePositions(uint NumSamplesPerPixel, uint NumPixels, SamplePosition* pSamplePositions) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[19]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), NumSamplesPerPixel, NumPixels, pSamplePositions); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), NumSamplesPerPixel, NumPixels, pSamplePositions); -#endif } /// @@ -32789,11 +27196,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(20)] public void ResolveSubresourceRegion(ID3D12Resource* pDstResource, uint DstSubresource, uint DstX, uint DstY, ID3D12Resource* pSrcResource, uint SrcSubresource, RawRect* pSrcRect, Graphics.Dxgi.Common.Format Format, ResolveMode ResolveMode) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[20]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, pSrcResource, SrcSubresource, pSrcRect, Format, ResolveMode); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, pSrcResource, SrcSubresource, pSrcRect, Format, ResolveMode); -#endif } /// @@ -32801,11 +27204,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(21)] public void SetViewInstanceMask(uint Mask) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[21]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), Mask); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), Mask); -#endif } /// @@ -32813,11 +27212,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(22)] public HResult Close() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -32825,11 +27220,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(23)] public HResult Reset(ID3D12CommandAllocator* pAllocator, ID3D12PipelineState* pInitialState) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pAllocator, pInitialState); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pAllocator, pInitialState); -#endif } /// @@ -32837,11 +27228,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(24)] public void ClearState(ID3D12PipelineState* pPipelineState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[24]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pPipelineState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pPipelineState); -#endif } /// @@ -32849,11 +27236,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(25)] public void DrawInstanced(uint VertexCountPerInstance, uint InstanceCount, uint StartVertexLocation, uint StartInstanceLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[25]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), VertexCountPerInstance, InstanceCount, StartVertexLocation, StartInstanceLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), VertexCountPerInstance, InstanceCount, StartVertexLocation, StartInstanceLocation); -#endif } /// @@ -32861,11 +27244,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(26)] public void DrawIndexedInstanced(uint IndexCountPerInstance, uint InstanceCount, uint StartIndexLocation, int BaseVertexLocation, uint StartInstanceLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[26]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), IndexCountPerInstance, InstanceCount, StartIndexLocation, BaseVertexLocation, StartInstanceLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), IndexCountPerInstance, InstanceCount, StartIndexLocation, BaseVertexLocation, StartInstanceLocation); -#endif } /// @@ -32873,11 +27252,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(27)] public void Dispatch(uint ThreadGroupCountX, uint ThreadGroupCountY, uint ThreadGroupCountZ) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[27]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ); -#endif } /// @@ -32885,11 +27260,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(28)] public void CopyBufferRegion(ID3D12Resource* pDstBuffer, ulong DstOffset, ID3D12Resource* pSrcBuffer, ulong SrcOffset, ulong NumBytes) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[28]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, NumBytes); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pDstBuffer, DstOffset, pSrcBuffer, SrcOffset, NumBytes); -#endif } /// @@ -32897,11 +27268,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(29)] public void CopyTextureRegion(TextureCopyLocation* pDst, uint DstX, uint DstY, uint DstZ, TextureCopyLocation* pSrc, Box* pSrcBox) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[29]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pDst, DstX, DstY, DstZ, pSrc, pSrcBox); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pDst, DstX, DstY, DstZ, pSrc, pSrcBox); -#endif } /// @@ -32909,11 +27276,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(30)] public void CopyResource(ID3D12Resource* pDstResource, ID3D12Resource* pSrcResource) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[30]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pDstResource, pSrcResource); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pDstResource, pSrcResource); -#endif } /// @@ -32921,11 +27284,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(31)] public void CopyTiles(ID3D12Resource* pTiledResource, TiledResourceCoordinate* pTileRegionStartCoordinate, TileRegionSize* pTileRegionSize, ID3D12Resource* pBuffer, ulong BufferStartOffsetInBytes, TileCopyFlags Flags) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[31]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pTiledResource, pTileRegionStartCoordinate, pTileRegionSize, pBuffer, BufferStartOffsetInBytes, Flags); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pTiledResource, pTileRegionStartCoordinate, pTileRegionSize, pBuffer, BufferStartOffsetInBytes, Flags); -#endif } /// @@ -32933,11 +27292,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(32)] public void ResolveSubresource(ID3D12Resource* pDstResource, uint DstSubresource, ID3D12Resource* pSrcResource, uint SrcSubresource, Graphics.Dxgi.Common.Format Format) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[32]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pSrcResource, SrcSubresource, Format); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pSrcResource, SrcSubresource, Format); -#endif } /// @@ -32945,11 +27300,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(33)] public void IASetPrimitiveTopology(Graphics.Direct3D.PrimitiveTopology PrimitiveTopology) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[33]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), PrimitiveTopology); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), PrimitiveTopology); -#endif } /// @@ -32957,11 +27308,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(34)] public void RSSetViewports(uint NumViewports, Viewport* pViewports) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[34]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), NumViewports, pViewports); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), NumViewports, pViewports); -#endif } /// @@ -32969,11 +27316,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(35)] public void RSSetScissorRects(uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[35]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), NumRects, pRects); -#endif } /// @@ -32981,11 +27324,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(36)] public void OMSetBlendFactor(float* BlendFactor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[36]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), BlendFactor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), BlendFactor); -#endif } /// @@ -32993,11 +27332,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(37)] public void OMSetStencilRef(uint StencilRef) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[37]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), StencilRef); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), StencilRef); -#endif } /// @@ -33005,11 +27340,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(38)] public void SetPipelineState(ID3D12PipelineState* pPipelineState) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[38]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pPipelineState); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pPipelineState); -#endif } /// @@ -33017,11 +27348,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(39)] public void ResourceBarrier(uint NumBarriers, ResourceBarrier* pBarriers) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[39]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), NumBarriers, pBarriers); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), NumBarriers, pBarriers); -#endif } /// @@ -33029,11 +27356,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(40)] public void ExecuteBundle(ID3D12GraphicsCommandList* pCommandList) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[40]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pCommandList); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pCommandList); -#endif } /// @@ -33041,11 +27364,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(41)] public void SetDescriptorHeaps(uint NumDescriptorHeaps, ID3D12DescriptorHeap* ppDescriptorHeaps) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[41]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), NumDescriptorHeaps, ppDescriptorHeaps); -#endif } /// @@ -33053,11 +27372,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(42)] public void SetComputeRootSignature(ID3D12RootSignature* pRootSignature) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[42]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pRootSignature); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pRootSignature); -#endif } /// @@ -33065,11 +27380,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(43)] public void SetGraphicsRootSignature(ID3D12RootSignature* pRootSignature) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[43]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pRootSignature); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pRootSignature); -#endif } /// @@ -33077,11 +27388,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(44)] public void SetComputeRootDescriptorTable(uint RootParameterIndex, GpuDescriptorHandle* BaseDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[44]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#endif } /// @@ -33089,11 +27396,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(45)] public void SetGraphicsRootDescriptorTable(uint RootParameterIndex, GpuDescriptorHandle* BaseDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[45]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), RootParameterIndex, BaseDescriptor); -#endif } /// @@ -33101,11 +27404,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(46)] public void SetComputeRoot32BitConstant(uint RootParameterIndex, uint SrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[46]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#endif } /// @@ -33113,11 +27412,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(47)] public void SetGraphicsRoot32BitConstant(uint RootParameterIndex, uint SrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[47]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), RootParameterIndex, SrcData, DestOffsetIn32BitValues); -#endif } /// @@ -33125,11 +27420,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(48)] public void SetComputeRoot32BitConstants(uint RootParameterIndex, uint Num32BitValuesToSet, void* pSrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[48]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#endif } /// @@ -33137,11 +27428,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(49)] public void SetGraphicsRoot32BitConstants(uint RootParameterIndex, uint Num32BitValuesToSet, void* pSrcData, uint DestOffsetIn32BitValues) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[49]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), RootParameterIndex, Num32BitValuesToSet, pSrcData, DestOffsetIn32BitValues); -#endif } /// @@ -33149,11 +27436,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(50)] public void SetComputeRootConstantBufferView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[50]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -33161,11 +27444,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(51)] public void SetGraphicsRootConstantBufferView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[51]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -33173,11 +27452,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(52)] public void SetComputeRootShaderResourceView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[52]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -33185,11 +27460,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(53)] public void SetGraphicsRootShaderResourceView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[53]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -33197,11 +27468,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(54)] public void SetComputeRootUnorderedAccessView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[54]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -33209,11 +27476,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(55)] public void SetGraphicsRootUnorderedAccessView(uint RootParameterIndex, ulong BufferLocation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[55]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), RootParameterIndex, BufferLocation); -#endif } /// @@ -33221,11 +27484,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(56)] public void IASetIndexBuffer(IndexBufferView* pView) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[56]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pView); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pView); -#endif } /// @@ -33233,11 +27492,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(57)] public void IASetVertexBuffers(uint StartSlot, uint NumViews, VertexBufferView* pViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[57]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#endif } /// @@ -33245,11 +27500,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(58)] public void SOSetTargets(uint StartSlot, uint NumViews, StreamOutputBufferView* pViews) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[58]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), StartSlot, NumViews, pViews); -#endif } /// @@ -33257,11 +27508,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(59)] public void OMSetRenderTargets(uint NumRenderTargetDescriptors, CpuDescriptorHandle* pRenderTargetDescriptors, Bool32 RTsSingleHandleToDescriptorRange, CpuDescriptorHandle* pDepthStencilDescriptor) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[59]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), NumRenderTargetDescriptors, pRenderTargetDescriptors, RTsSingleHandleToDescriptorRange, pDepthStencilDescriptor); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), NumRenderTargetDescriptors, pRenderTargetDescriptors, RTsSingleHandleToDescriptorRange, pDepthStencilDescriptor); -#endif } /// @@ -33269,11 +27516,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(60)] public void ClearDepthStencilView(CpuDescriptorHandle* DepthStencilView, ClearFlags ClearFlags, float Depth, byte Stencil, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[60]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), DepthStencilView, ClearFlags, Depth, Stencil, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), DepthStencilView, ClearFlags, Depth, Stencil, NumRects, pRects); -#endif } /// @@ -33281,11 +27524,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(61)] public void ClearRenderTargetView(CpuDescriptorHandle* RenderTargetView, float* ColorRGBA, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[61]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), RenderTargetView, ColorRGBA, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), RenderTargetView, ColorRGBA, NumRects, pRects); -#endif } /// @@ -33293,11 +27532,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(62)] public void ClearUnorderedAccessViewUint(GpuDescriptorHandle* ViewGPUHandleInCurrentHeap, CpuDescriptorHandle* ViewCPUHandle, ID3D12Resource* pResource, uint* Values, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[62]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#endif } /// @@ -33305,11 +27540,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(63)] public void ClearUnorderedAccessViewFloat(GpuDescriptorHandle* ViewGPUHandleInCurrentHeap, CpuDescriptorHandle* ViewCPUHandle, ID3D12Resource* pResource, float* Values, uint NumRects, RawRect* pRects) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[63]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); -#endif } /// @@ -33317,11 +27548,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(64)] public void DiscardResource(ID3D12Resource* pResource, DiscardRegion* pRegion) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[64]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pResource, pRegion); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pResource, pRegion); -#endif } /// @@ -33329,11 +27556,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(65)] public void BeginQuery(ID3D12QueryHeap* pQueryHeap, QueryType Type, uint Index) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[65]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#endif } /// @@ -33341,11 +27564,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(66)] public void EndQuery(ID3D12QueryHeap* pQueryHeap, QueryType Type, uint Index) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[66]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[66]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pQueryHeap, Type, Index); -#endif } /// @@ -33353,11 +27572,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(67)] public void ResolveQueryData(ID3D12QueryHeap* pQueryHeap, QueryType Type, uint StartIndex, uint NumQueries, ID3D12Resource* pDestinationBuffer, ulong AlignedDestinationBufferOffset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[67]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pQueryHeap, Type, StartIndex, NumQueries, pDestinationBuffer, AlignedDestinationBufferOffset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pQueryHeap, Type, StartIndex, NumQueries, pDestinationBuffer, AlignedDestinationBufferOffset); -#endif } /// @@ -33365,11 +27580,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(68)] public void SetPredication(ID3D12Resource* pBuffer, ulong AlignedBufferOffset, PredicationOp Operation) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[68]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pBuffer, AlignedBufferOffset, Operation); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[68]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pBuffer, AlignedBufferOffset, Operation); -#endif } /// @@ -33377,11 +27588,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(69)] public void SetMarker(uint Metadata, void* pData, uint Size) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[69]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[69]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#endif } /// @@ -33389,11 +27596,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(70)] public void BeginEvent(uint Metadata, void* pData, uint Size) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[70]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), Metadata, pData, Size); -#endif } /// @@ -33401,11 +27604,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(71)] public void EndEvent() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[71]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -33413,11 +27612,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(72)] public void ExecuteIndirect(ID3D12CommandSignature* pCommandSignature, uint MaxCommandCount, ID3D12Resource* pArgumentBuffer, ulong ArgumentBufferOffset, ID3D12Resource* pCountBuffer, ulong CountBufferOffset) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[72]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pCommandSignature, MaxCommandCount, pArgumentBuffer, ArgumentBufferOffset, pCountBuffer, CountBufferOffset); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), pCommandSignature, MaxCommandCount, pArgumentBuffer, ArgumentBufferOffset, pCountBuffer, CountBufferOffset); -#endif } /// @@ -33425,11 +27620,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(73)] public new Graphics.Direct3D12.CommandListType GetType() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[73]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[73]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -33437,11 +27628,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(74)] public HResult GetDevice(Guid* riid, void** ppvDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[74]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[74]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), riid, ppvDevice); -#endif } /// @@ -33449,11 +27636,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(75)] public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[75]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[75]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), guid, pDataSize, pData); -#endif } /// @@ -33461,11 +27644,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(76)] public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[76]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[76]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), guid, DataSize, pData); -#endif } /// @@ -33473,11 +27652,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(77)] public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[77]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), guid, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[77]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), guid, pData); -#endif } /// @@ -33485,11 +27660,7 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(78)] public HResult SetName(char** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[78]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[78]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -33497,22 +27668,15 @@ public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandL [VtblIndex(79)] public void DispatchMesh(uint ThreadGroupCountX, uint ThreadGroupCountY, uint ThreadGroupCountZ) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[79]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[79]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ); -#endif } - public interface Interface : ID3D12GraphicsCommandList5.Interface - { - } } /// /// ID3D12ShaderReflectionType [Guid("e913c351-783d-48ca-a1d1-4f306284ad56")] -public unsafe partial struct ID3D12ShaderReflectionType : ID3D12ShaderReflectionType.Interface +public unsafe partial struct ID3D12ShaderReflectionType { public static ref readonly Guid IID_ID3D12ShaderReflectionType { @@ -33547,11 +27711,7 @@ public unsafe partial struct ID3D12ShaderReflectionType : ID3D12ShaderReflection [VtblIndex(0)] public HResult GetDesc(ShaderTypeDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[0]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[0]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -33559,11 +27719,7 @@ public unsafe partial struct ID3D12ShaderReflectionType : ID3D12ShaderReflection [VtblIndex(1)] public Graphics.Direct3D12.ID3D12ShaderReflectionType GetMemberTypeByIndex(uint Index) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[1]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), Index); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), Index); -#endif } /// @@ -33571,11 +27727,7 @@ public unsafe partial struct ID3D12ShaderReflectionType : ID3D12ShaderReflection [VtblIndex(2)] public Graphics.Direct3D12.ID3D12ShaderReflectionType GetMemberTypeByName(byte** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[2]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -33583,11 +27735,7 @@ public unsafe partial struct ID3D12ShaderReflectionType : ID3D12ShaderReflection [VtblIndex(3)] public byte* GetMemberTypeName(uint Index) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), Index); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), Index); -#endif } /// @@ -33595,11 +27743,7 @@ public unsafe partial struct ID3D12ShaderReflectionType : ID3D12ShaderReflection [VtblIndex(4)] public HResult IsEqual(ID3D12ShaderReflectionType* pType) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), pType); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), pType); -#endif } /// @@ -33607,11 +27751,7 @@ public unsafe partial struct ID3D12ShaderReflectionType : ID3D12ShaderReflection [VtblIndex(5)] public Graphics.Direct3D12.ID3D12ShaderReflectionType GetSubType() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -33619,11 +27759,7 @@ public unsafe partial struct ID3D12ShaderReflectionType : ID3D12ShaderReflection [VtblIndex(6)] public Graphics.Direct3D12.ID3D12ShaderReflectionType GetBaseClass() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -33631,11 +27767,7 @@ public unsafe partial struct ID3D12ShaderReflectionType : ID3D12ShaderReflection [VtblIndex(7)] public uint GetNumInterfaces() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -33643,11 +27775,7 @@ public unsafe partial struct ID3D12ShaderReflectionType : ID3D12ShaderReflection [VtblIndex(8)] public Graphics.Direct3D12.ID3D12ShaderReflectionType GetInterfaceByIndex(uint uIndex) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), uIndex); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), uIndex); -#endif } /// @@ -33655,11 +27783,7 @@ public unsafe partial struct ID3D12ShaderReflectionType : ID3D12ShaderReflection [VtblIndex(9)] public HResult IsOfType(ID3D12ShaderReflectionType* pType) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), pType); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), pType); -#endif } /// @@ -33667,22 +27791,15 @@ public unsafe partial struct ID3D12ShaderReflectionType : ID3D12ShaderReflection [VtblIndex(10)] public HResult ImplementsInterface(ID3D12ShaderReflectionType* pBase) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), pBase); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), pBase); -#endif } - public interface Interface - { - } } /// /// ID3D12ShaderReflectionVariable [Guid("8337a8a6-a216-444a-b2f4-314733a73aea")] -public unsafe partial struct ID3D12ShaderReflectionVariable : ID3D12ShaderReflectionVariable.Interface +public unsafe partial struct ID3D12ShaderReflectionVariable { public static ref readonly Guid IID_ID3D12ShaderReflectionVariable { @@ -33717,11 +27834,7 @@ public unsafe partial struct ID3D12ShaderReflectionVariable : ID3D12ShaderReflec [VtblIndex(0)] public HResult GetDesc(ShaderVariableDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[0]))((ID3D12ShaderReflectionVariable*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[0]))((ID3D12ShaderReflectionVariable*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -33729,11 +27842,7 @@ public unsafe partial struct ID3D12ShaderReflectionVariable : ID3D12ShaderReflec [VtblIndex(1)] public new Graphics.Direct3D12.ID3D12ShaderReflectionType GetType() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[1]))((ID3D12ShaderReflectionVariable*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((ID3D12ShaderReflectionVariable*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -33741,11 +27850,7 @@ public unsafe partial struct ID3D12ShaderReflectionVariable : ID3D12ShaderReflec [VtblIndex(2)] public Graphics.Direct3D12.ID3D12ShaderReflectionConstantBuffer GetBuffer() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[2]))((ID3D12ShaderReflectionVariable*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((ID3D12ShaderReflectionVariable*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -33753,22 +27858,15 @@ public unsafe partial struct ID3D12ShaderReflectionVariable : ID3D12ShaderReflec [VtblIndex(3)] public uint GetInterfaceSlot(uint uArrayIndex) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12ShaderReflectionVariable*)Unsafe.AsPointer(ref this), uArrayIndex); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12ShaderReflectionVariable*)Unsafe.AsPointer(ref this), uArrayIndex); -#endif } - public interface Interface - { - } } /// /// ID3D12ShaderReflectionConstantBuffer [Guid("c59598b4-48b3-4869-b9b1-b1618b14a8b7")] -public unsafe partial struct ID3D12ShaderReflectionConstantBuffer : ID3D12ShaderReflectionConstantBuffer.Interface +public unsafe partial struct ID3D12ShaderReflectionConstantBuffer { public static ref readonly Guid IID_ID3D12ShaderReflectionConstantBuffer { @@ -33803,11 +27901,7 @@ public unsafe partial struct ID3D12ShaderReflectionConstantBuffer : ID3D12Shader [VtblIndex(0)] public HResult GetDesc(ShaderBufferDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[0]))((ID3D12ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[0]))((ID3D12ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -33815,11 +27909,7 @@ public unsafe partial struct ID3D12ShaderReflectionConstantBuffer : ID3D12Shader [VtblIndex(1)] public Graphics.Direct3D12.ID3D12ShaderReflectionVariable GetVariableByIndex(uint Index) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[1]))((ID3D12ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), Index); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((ID3D12ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), Index); -#endif } /// @@ -33827,16 +27917,9 @@ public unsafe partial struct ID3D12ShaderReflectionConstantBuffer : ID3D12Shader [VtblIndex(2)] public Graphics.Direct3D12.ID3D12ShaderReflectionVariable GetVariableByName(byte** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[2]))((ID3D12ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((ID3D12ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), Name); -#endif } - public interface Interface - { - } } /// @@ -33844,7 +27927,7 @@ public unsafe partial struct ID3D12ShaderReflectionConstantBuffer : ID3D12Shader [Guid("5a58797d-a72c-478d-8ba2-efc6b0efe88e")] [NativeTypeName("struct ID3D12ShaderReflection : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12ShaderReflection : ID3D12ShaderReflection.Interface +public unsafe partial struct ID3D12ShaderReflection { public static ref readonly Guid IID_ID3D12ShaderReflection { @@ -33905,11 +27988,7 @@ public unsafe partial struct ID3D12ShaderReflection : ID3D12ShaderReflection.Int [VtblIndex(3)] public HResult GetDesc(ShaderDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -33917,11 +27996,7 @@ public unsafe partial struct ID3D12ShaderReflection : ID3D12ShaderReflection.Int [VtblIndex(4)] public Graphics.Direct3D12.ID3D12ShaderReflectionConstantBuffer GetConstantBufferByIndex(uint Index) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), Index); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), Index); -#endif } /// @@ -33929,11 +28004,7 @@ public unsafe partial struct ID3D12ShaderReflection : ID3D12ShaderReflection.Int [VtblIndex(5)] public Graphics.Direct3D12.ID3D12ShaderReflectionConstantBuffer GetConstantBufferByName(byte** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -33941,11 +28012,7 @@ public unsafe partial struct ID3D12ShaderReflection : ID3D12ShaderReflection.Int [VtblIndex(6)] public HResult GetResourceBindingDesc(uint ResourceIndex, ShaderInputBindDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), ResourceIndex, pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), ResourceIndex, pDesc); -#endif } /// @@ -33953,11 +28020,7 @@ public unsafe partial struct ID3D12ShaderReflection : ID3D12ShaderReflection.Int [VtblIndex(7)] public HResult GetInputParameterDesc(uint ParameterIndex, SignatureParameterDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), ParameterIndex, pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), ParameterIndex, pDesc); -#endif } /// @@ -33965,11 +28028,7 @@ public unsafe partial struct ID3D12ShaderReflection : ID3D12ShaderReflection.Int [VtblIndex(8)] public HResult GetOutputParameterDesc(uint ParameterIndex, SignatureParameterDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), ParameterIndex, pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), ParameterIndex, pDesc); -#endif } /// @@ -33977,11 +28036,7 @@ public unsafe partial struct ID3D12ShaderReflection : ID3D12ShaderReflection.Int [VtblIndex(9)] public HResult GetPatchConstantParameterDesc(uint ParameterIndex, SignatureParameterDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), ParameterIndex, pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), ParameterIndex, pDesc); -#endif } /// @@ -33989,11 +28044,7 @@ public unsafe partial struct ID3D12ShaderReflection : ID3D12ShaderReflection.Int [VtblIndex(10)] public Graphics.Direct3D12.ID3D12ShaderReflectionVariable GetVariableByName(byte** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -34001,11 +28052,7 @@ public unsafe partial struct ID3D12ShaderReflection : ID3D12ShaderReflection.Int [VtblIndex(11)] public HResult GetResourceBindingDescByName(byte** Name, ShaderInputBindDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), Name, pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), Name, pDesc); -#endif } /// @@ -34013,11 +28060,7 @@ public unsafe partial struct ID3D12ShaderReflection : ID3D12ShaderReflection.Int [VtblIndex(12)] public uint GetMovInstructionCount() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -34025,11 +28068,7 @@ public unsafe partial struct ID3D12ShaderReflection : ID3D12ShaderReflection.Int [VtblIndex(13)] public uint GetMovcInstructionCount() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -34037,11 +28076,7 @@ public unsafe partial struct ID3D12ShaderReflection : ID3D12ShaderReflection.Int [VtblIndex(14)] public uint GetConversionInstructionCount() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -34049,11 +28084,7 @@ public unsafe partial struct ID3D12ShaderReflection : ID3D12ShaderReflection.Int [VtblIndex(15)] public uint GetBitwiseInstructionCount() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -34061,11 +28092,7 @@ public unsafe partial struct ID3D12ShaderReflection : ID3D12ShaderReflection.Int [VtblIndex(16)] public Graphics.Direct3D.Primitive GetGSInputPrimitive() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -34073,11 +28100,7 @@ public unsafe partial struct ID3D12ShaderReflection : ID3D12ShaderReflection.Int [VtblIndex(17)] public Bool32 IsSampleFrequencyShader() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -34085,11 +28108,7 @@ public unsafe partial struct ID3D12ShaderReflection : ID3D12ShaderReflection.Int [VtblIndex(18)] public uint GetNumInterfaceSlots() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -34097,11 +28116,7 @@ public unsafe partial struct ID3D12ShaderReflection : ID3D12ShaderReflection.Int [VtblIndex(19)] public HResult GetMinFeatureLevel(Graphics.Direct3D.FeatureLevel* pLevel) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), pLevel); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), pLevel); -#endif } /// @@ -34109,11 +28124,7 @@ public unsafe partial struct ID3D12ShaderReflection : ID3D12ShaderReflection.Int [VtblIndex(20)] public uint GetThreadGroupSize(uint* pSizeX, uint* pSizeY, uint* pSizeZ) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), pSizeX, pSizeY, pSizeZ); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), pSizeX, pSizeY, pSizeZ); -#endif } /// @@ -34121,16 +28132,9 @@ public unsafe partial struct ID3D12ShaderReflection : ID3D12ShaderReflection.Int [VtblIndex(21)] public ulong GetRequiresFlags() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -34138,7 +28142,7 @@ public unsafe partial struct ID3D12ShaderReflection : ID3D12ShaderReflection.Int [Guid("8e349d19-54db-4a56-9dc9-119d87bdb804")] [NativeTypeName("struct ID3D12LibraryReflection : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12LibraryReflection : ID3D12LibraryReflection.Interface +public unsafe partial struct ID3D12LibraryReflection { public static ref readonly Guid IID_ID3D12LibraryReflection { @@ -34199,11 +28203,7 @@ public unsafe partial struct ID3D12LibraryReflection : ID3D12LibraryReflection.I [VtblIndex(3)] public HResult GetDesc(LibraryDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12LibraryReflection*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12LibraryReflection*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -34211,22 +28211,15 @@ public unsafe partial struct ID3D12LibraryReflection : ID3D12LibraryReflection.I [VtblIndex(4)] public Graphics.Direct3D12.ID3D12FunctionReflection GetFunctionByIndex(int FunctionIndex) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12LibraryReflection*)Unsafe.AsPointer(ref this), FunctionIndex); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12LibraryReflection*)Unsafe.AsPointer(ref this), FunctionIndex); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// /// ID3D12FunctionReflection [Guid("1108795c-2772-4ba9-b2a8-d464dc7e2799")] -public unsafe partial struct ID3D12FunctionReflection : ID3D12FunctionReflection.Interface +public unsafe partial struct ID3D12FunctionReflection { public static ref readonly Guid IID_ID3D12FunctionReflection { @@ -34261,11 +28254,7 @@ public unsafe partial struct ID3D12FunctionReflection : ID3D12FunctionReflection [VtblIndex(0)] public HResult GetDesc(FunctionDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[0]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[0]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -34273,11 +28262,7 @@ public unsafe partial struct ID3D12FunctionReflection : ID3D12FunctionReflection [VtblIndex(1)] public Graphics.Direct3D12.ID3D12ShaderReflectionConstantBuffer GetConstantBufferByIndex(uint BufferIndex) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[1]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), BufferIndex); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), BufferIndex); -#endif } /// @@ -34285,11 +28270,7 @@ public unsafe partial struct ID3D12FunctionReflection : ID3D12FunctionReflection [VtblIndex(2)] public Graphics.Direct3D12.ID3D12ShaderReflectionConstantBuffer GetConstantBufferByName(byte** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[2]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -34297,11 +28278,7 @@ public unsafe partial struct ID3D12FunctionReflection : ID3D12FunctionReflection [VtblIndex(3)] public HResult GetResourceBindingDesc(uint ResourceIndex, ShaderInputBindDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), ResourceIndex, pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), ResourceIndex, pDesc); -#endif } /// @@ -34309,11 +28286,7 @@ public unsafe partial struct ID3D12FunctionReflection : ID3D12FunctionReflection [VtblIndex(4)] public Graphics.Direct3D12.ID3D12ShaderReflectionVariable GetVariableByName(byte** Name) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), Name); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), Name); -#endif } /// @@ -34321,11 +28294,7 @@ public unsafe partial struct ID3D12FunctionReflection : ID3D12FunctionReflection [VtblIndex(5)] public HResult GetResourceBindingDescByName(byte** Name, ShaderInputBindDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), Name, pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), Name, pDesc); -#endif } /// @@ -34333,22 +28302,15 @@ public unsafe partial struct ID3D12FunctionReflection : ID3D12FunctionReflection [VtblIndex(6)] public Graphics.Direct3D12.ID3D12FunctionParameterReflection GetFunctionParameter(int ParameterIndex) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), ParameterIndex); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), ParameterIndex); -#endif } - public interface Interface - { - } } /// /// ID3D12FunctionParameterReflection [Guid("ec25f42d-7006-4f2b-b33e-02cc3375733f")] -public unsafe partial struct ID3D12FunctionParameterReflection : ID3D12FunctionParameterReflection.Interface +public unsafe partial struct ID3D12FunctionParameterReflection { public static ref readonly Guid IID_ID3D12FunctionParameterReflection { @@ -34383,16 +28345,9 @@ public unsafe partial struct ID3D12FunctionParameterReflection : ID3D12FunctionP [VtblIndex(0)] public HResult GetDesc(ParameterDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[0]))((ID3D12FunctionParameterReflection*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[0]))((ID3D12FunctionParameterReflection*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface - { - } } #endregion Com Types diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi.cs index da13853..f1e20e6 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi.cs @@ -2342,7 +2342,7 @@ public partial struct InfoQueueFilter [Guid("aec22fb8-76f3-4639-9be0-28eb43a67a2e")] [NativeTypeName("struct IDXGIObject : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDXGIObject : IDXGIObject.Interface +public unsafe partial struct IDXGIObject { public static ref readonly Guid IID_IDXGIObject { @@ -2403,11 +2403,7 @@ public unsafe partial struct IDXGIObject : IDXGIObject.Interface [VtblIndex(3)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIObject*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIObject*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -2415,11 +2411,7 @@ public unsafe partial struct IDXGIObject : IDXGIObject.Interface [VtblIndex(4)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIObject*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIObject*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -2427,11 +2419,7 @@ public unsafe partial struct IDXGIObject : IDXGIObject.Interface [VtblIndex(5)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIObject*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIObject*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -2439,16 +2427,9 @@ public unsafe partial struct IDXGIObject : IDXGIObject.Interface [VtblIndex(6)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIObject*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIObject*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -2456,7 +2437,7 @@ public unsafe partial struct IDXGIObject : IDXGIObject.Interface [Guid("3d3e0379-f9de-4d58-bb6c-18d62992f1a6")] [NativeTypeName("struct IDXGIDeviceSubObject : IDXGIObject")] [NativeInheritance("IDXGIObject")] -public unsafe partial struct IDXGIDeviceSubObject : IDXGIDeviceSubObject.Interface +public unsafe partial struct IDXGIDeviceSubObject { public static ref readonly Guid IID_IDXGIDeviceSubObject { @@ -2517,11 +2498,7 @@ public unsafe partial struct IDXGIDeviceSubObject : IDXGIDeviceSubObject.Interfa [VtblIndex(3)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIDeviceSubObject*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIDeviceSubObject*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -2529,11 +2506,7 @@ public unsafe partial struct IDXGIDeviceSubObject : IDXGIDeviceSubObject.Interfa [VtblIndex(4)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIDeviceSubObject*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIDeviceSubObject*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -2541,11 +2514,7 @@ public unsafe partial struct IDXGIDeviceSubObject : IDXGIDeviceSubObject.Interfa [VtblIndex(5)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIDeviceSubObject*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIDeviceSubObject*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -2553,11 +2522,7 @@ public unsafe partial struct IDXGIDeviceSubObject : IDXGIDeviceSubObject.Interfa [VtblIndex(6)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIDeviceSubObject*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIDeviceSubObject*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -2565,16 +2530,9 @@ public unsafe partial struct IDXGIDeviceSubObject : IDXGIDeviceSubObject.Interfa [VtblIndex(7)] public HResult GetDevice(Guid* riid, void** ppDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIDeviceSubObject*)Unsafe.AsPointer(ref this), riid, ppDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIDeviceSubObject*)Unsafe.AsPointer(ref this), riid, ppDevice); -#endif } - public interface Interface : IDXGIObject.Interface - { - } } /// @@ -2582,7 +2540,7 @@ public unsafe partial struct IDXGIDeviceSubObject : IDXGIDeviceSubObject.Interfa [Guid("035f3ab4-482e-4e50-b41f-8a7f8bd8960b")] [NativeTypeName("struct IDXGIResource : IDXGIDeviceSubObject")] [NativeInheritance("IDXGIDeviceSubObject")] -public unsafe partial struct IDXGIResource : IDXGIResource.Interface +public unsafe partial struct IDXGIResource { public static ref readonly Guid IID_IDXGIResource { @@ -2643,11 +2601,7 @@ public unsafe partial struct IDXGIResource : IDXGIResource.Interface [VtblIndex(3)] public HResult GetDevice(Guid* riid, void** ppDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIResource*)Unsafe.AsPointer(ref this), riid, ppDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIResource*)Unsafe.AsPointer(ref this), riid, ppDevice); -#endif } /// @@ -2655,11 +2609,7 @@ public unsafe partial struct IDXGIResource : IDXGIResource.Interface [VtblIndex(4)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIResource*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIResource*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -2667,11 +2617,7 @@ public unsafe partial struct IDXGIResource : IDXGIResource.Interface [VtblIndex(5)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIResource*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIResource*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -2679,11 +2625,7 @@ public unsafe partial struct IDXGIResource : IDXGIResource.Interface [VtblIndex(6)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIResource*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIResource*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -2691,11 +2633,7 @@ public unsafe partial struct IDXGIResource : IDXGIResource.Interface [VtblIndex(7)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIResource*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIResource*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -2703,11 +2641,7 @@ public unsafe partial struct IDXGIResource : IDXGIResource.Interface [VtblIndex(8)] public HResult GetSharedHandle(IntPtr* pSharedHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIResource*)Unsafe.AsPointer(ref this), pSharedHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIResource*)Unsafe.AsPointer(ref this), pSharedHandle); -#endif } /// @@ -2715,11 +2649,7 @@ public unsafe partial struct IDXGIResource : IDXGIResource.Interface [VtblIndex(9)] public HResult GetUsage(uint* pUsage) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIResource*)Unsafe.AsPointer(ref this), pUsage); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIResource*)Unsafe.AsPointer(ref this), pUsage); -#endif } /// @@ -2727,11 +2657,7 @@ public unsafe partial struct IDXGIResource : IDXGIResource.Interface [VtblIndex(10)] public HResult SetEvictionPriority(ResourcePriority EvictionPriority) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIResource*)Unsafe.AsPointer(ref this), EvictionPriority); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIResource*)Unsafe.AsPointer(ref this), EvictionPriority); -#endif } /// @@ -2739,16 +2665,9 @@ public unsafe partial struct IDXGIResource : IDXGIResource.Interface [VtblIndex(11)] public HResult GetEvictionPriority(uint* pEvictionPriority) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIResource*)Unsafe.AsPointer(ref this), pEvictionPriority); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIResource*)Unsafe.AsPointer(ref this), pEvictionPriority); -#endif } - public interface Interface : IDXGIDeviceSubObject.Interface - { - } } /// @@ -2756,7 +2675,7 @@ public unsafe partial struct IDXGIResource : IDXGIResource.Interface [Guid("9d8e1289-d7b3-465f-8126-250e349af85d")] [NativeTypeName("struct IDXGIKeyedMutex : IDXGIDeviceSubObject")] [NativeInheritance("IDXGIDeviceSubObject")] -public unsafe partial struct IDXGIKeyedMutex : IDXGIKeyedMutex.Interface +public unsafe partial struct IDXGIKeyedMutex { public static ref readonly Guid IID_IDXGIKeyedMutex { @@ -2817,11 +2736,7 @@ public unsafe partial struct IDXGIKeyedMutex : IDXGIKeyedMutex.Interface [VtblIndex(3)] public HResult GetDevice(Guid* riid, void** ppDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), riid, ppDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), riid, ppDevice); -#endif } /// @@ -2829,11 +2744,7 @@ public unsafe partial struct IDXGIKeyedMutex : IDXGIKeyedMutex.Interface [VtblIndex(4)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -2841,11 +2752,7 @@ public unsafe partial struct IDXGIKeyedMutex : IDXGIKeyedMutex.Interface [VtblIndex(5)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -2853,11 +2760,7 @@ public unsafe partial struct IDXGIKeyedMutex : IDXGIKeyedMutex.Interface [VtblIndex(6)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -2865,11 +2768,7 @@ public unsafe partial struct IDXGIKeyedMutex : IDXGIKeyedMutex.Interface [VtblIndex(7)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -2877,11 +2776,7 @@ public unsafe partial struct IDXGIKeyedMutex : IDXGIKeyedMutex.Interface [VtblIndex(8)] public HResult AcquireSync(ulong Key, uint dwMilliseconds) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), Key, dwMilliseconds); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), Key, dwMilliseconds); -#endif } /// @@ -2889,16 +2784,9 @@ public unsafe partial struct IDXGIKeyedMutex : IDXGIKeyedMutex.Interface [VtblIndex(9)] public HResult ReleaseSync(ulong Key) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), Key); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), Key); -#endif } - public interface Interface : IDXGIDeviceSubObject.Interface - { - } } /// @@ -2906,7 +2794,7 @@ public unsafe partial struct IDXGIKeyedMutex : IDXGIKeyedMutex.Interface [Guid("cafcb56c-6ac3-4889-bf47-9e23bbd260ec")] [NativeTypeName("struct IDXGISurface : IDXGIDeviceSubObject")] [NativeInheritance("IDXGIDeviceSubObject")] -public unsafe partial struct IDXGISurface : IDXGISurface.Interface +public unsafe partial struct IDXGISurface { public static ref readonly Guid IID_IDXGISurface { @@ -2967,11 +2855,7 @@ public unsafe partial struct IDXGISurface : IDXGISurface.Interface [VtblIndex(3)] public HResult GetDevice(Guid* riid, void** ppDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGISurface*)Unsafe.AsPointer(ref this), riid, ppDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGISurface*)Unsafe.AsPointer(ref this), riid, ppDevice); -#endif } /// @@ -2979,11 +2863,7 @@ public unsafe partial struct IDXGISurface : IDXGISurface.Interface [VtblIndex(4)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGISurface*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGISurface*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -2991,11 +2871,7 @@ public unsafe partial struct IDXGISurface : IDXGISurface.Interface [VtblIndex(5)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGISurface*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGISurface*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -3003,11 +2879,7 @@ public unsafe partial struct IDXGISurface : IDXGISurface.Interface [VtblIndex(6)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGISurface*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGISurface*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -3015,11 +2887,7 @@ public unsafe partial struct IDXGISurface : IDXGISurface.Interface [VtblIndex(7)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGISurface*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGISurface*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -3027,11 +2895,7 @@ public unsafe partial struct IDXGISurface : IDXGISurface.Interface [VtblIndex(8)] public HResult GetDesc(SurfaceDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGISurface*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGISurface*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -3039,11 +2903,7 @@ public unsafe partial struct IDXGISurface : IDXGISurface.Interface [VtblIndex(9)] public HResult Map(MappedRect* pLockedRect, uint MapFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGISurface*)Unsafe.AsPointer(ref this), pLockedRect, MapFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGISurface*)Unsafe.AsPointer(ref this), pLockedRect, MapFlags); -#endif } /// @@ -3051,16 +2911,9 @@ public unsafe partial struct IDXGISurface : IDXGISurface.Interface [VtblIndex(10)] public HResult Unmap() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGISurface*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGISurface*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : IDXGIDeviceSubObject.Interface - { - } } /// @@ -3068,7 +2921,7 @@ public unsafe partial struct IDXGISurface : IDXGISurface.Interface [Guid("4ae63092-6327-4c1b-80ae-bfe12ea32b86")] [NativeTypeName("struct IDXGISurface1 : IDXGISurface")] [NativeInheritance("IDXGISurface")] -public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface +public unsafe partial struct IDXGISurface1 { public static ref readonly Guid IID_IDXGISurface1 { @@ -3129,11 +2982,7 @@ public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface [VtblIndex(3)] public HResult GetDesc(SurfaceDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGISurface1*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGISurface1*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -3141,11 +2990,7 @@ public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface [VtblIndex(4)] public HResult Map(MappedRect* pLockedRect, uint MapFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGISurface1*)Unsafe.AsPointer(ref this), pLockedRect, MapFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGISurface1*)Unsafe.AsPointer(ref this), pLockedRect, MapFlags); -#endif } /// @@ -3153,11 +2998,7 @@ public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface [VtblIndex(5)] public HResult Unmap() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGISurface1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGISurface1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -3165,11 +3006,7 @@ public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface [VtblIndex(6)] public HResult GetDevice(Guid* riid, void** ppDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGISurface1*)Unsafe.AsPointer(ref this), riid, ppDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGISurface1*)Unsafe.AsPointer(ref this), riid, ppDevice); -#endif } /// @@ -3177,11 +3014,7 @@ public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface [VtblIndex(7)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGISurface1*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGISurface1*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -3189,11 +3022,7 @@ public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface [VtblIndex(8)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGISurface1*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGISurface1*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -3201,11 +3030,7 @@ public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface [VtblIndex(9)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGISurface1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGISurface1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -3213,11 +3038,7 @@ public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface [VtblIndex(10)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGISurface1*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGISurface1*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -3225,11 +3046,7 @@ public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface [VtblIndex(11)] public HResult GetDC(Bool32 Discard, IntPtr* phdc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGISurface1*)Unsafe.AsPointer(ref this), Discard, phdc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGISurface1*)Unsafe.AsPointer(ref this), Discard, phdc); -#endif } /// @@ -3237,16 +3054,9 @@ public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface [VtblIndex(12)] public HResult ReleaseDC(RawRect* pDirtyRect) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGISurface1*)Unsafe.AsPointer(ref this), pDirtyRect); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGISurface1*)Unsafe.AsPointer(ref this), pDirtyRect); -#endif } - public interface Interface : IDXGISurface.Interface - { - } } /// @@ -3254,7 +3064,7 @@ public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface [Guid("2411e7e1-12ac-4ccf-bd14-9798e8534dc0")] [NativeTypeName("struct IDXGIAdapter : IDXGIObject")] [NativeInheritance("IDXGIObject")] -public unsafe partial struct IDXGIAdapter : IDXGIAdapter.Interface +public unsafe partial struct IDXGIAdapter { public static ref readonly Guid IID_IDXGIAdapter { @@ -3315,11 +3125,7 @@ public unsafe partial struct IDXGIAdapter : IDXGIAdapter.Interface [VtblIndex(3)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -3327,11 +3133,7 @@ public unsafe partial struct IDXGIAdapter : IDXGIAdapter.Interface [VtblIndex(4)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -3339,11 +3141,7 @@ public unsafe partial struct IDXGIAdapter : IDXGIAdapter.Interface [VtblIndex(5)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -3351,11 +3149,7 @@ public unsafe partial struct IDXGIAdapter : IDXGIAdapter.Interface [VtblIndex(6)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -3363,11 +3157,7 @@ public unsafe partial struct IDXGIAdapter : IDXGIAdapter.Interface [VtblIndex(7)] public HResult EnumOutputs(uint Output, IDXGIOutput** ppOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), Output, ppOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), Output, ppOutput); -#endif } /// @@ -3375,11 +3165,7 @@ public unsafe partial struct IDXGIAdapter : IDXGIAdapter.Interface [VtblIndex(8)] public HResult GetDesc(AdapterDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -3387,16 +3173,9 @@ public unsafe partial struct IDXGIAdapter : IDXGIAdapter.Interface [VtblIndex(9)] public HResult CheckInterfaceSupport(Guid* InterfaceName, LargeInterger* pUMDVersion) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), InterfaceName, pUMDVersion); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), InterfaceName, pUMDVersion); -#endif } - public interface Interface : IDXGIObject.Interface - { - } } /// @@ -3404,7 +3183,7 @@ public unsafe partial struct IDXGIAdapter : IDXGIAdapter.Interface [Guid("ae02eedb-c735-4690-8d52-5a8dc20213aa")] [NativeTypeName("struct IDXGIOutput : IDXGIObject")] [NativeInheritance("IDXGIObject")] -public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface +public unsafe partial struct IDXGIOutput { public static ref readonly Guid IID_IDXGIOutput { @@ -3465,11 +3244,7 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface [VtblIndex(3)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIOutput*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIOutput*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -3477,11 +3252,7 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface [VtblIndex(4)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIOutput*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIOutput*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -3489,11 +3260,7 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface [VtblIndex(5)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIOutput*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIOutput*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -3501,11 +3268,7 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface [VtblIndex(6)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIOutput*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIOutput*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -3513,11 +3276,7 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface [VtblIndex(7)] public HResult GetDesc(OutputDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -3525,11 +3284,7 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface [VtblIndex(8)] public HResult GetDisplayModeList(Common.Format EnumFormat, uint Flags, uint* pNumModes, Common.ModeDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIOutput*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIOutput*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); -#endif } /// @@ -3537,11 +3292,7 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface [VtblIndex(9)] public HResult FindClosestMatchingMode(Common.ModeDescription* pModeToMatch, Common.ModeDescription* pClosestMatch, IUnknown* pConcernedDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); -#endif } /// @@ -3549,11 +3300,7 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface [VtblIndex(10)] public HResult WaitForVBlank() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIOutput*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIOutput*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -3561,11 +3308,7 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface [VtblIndex(11)] public HResult TakeOwnership(IUnknown* pDevice, Bool32 Exclusive) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pDevice, Exclusive); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pDevice, Exclusive); -#endif } /// @@ -3573,11 +3316,7 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface [VtblIndex(12)] public void ReleaseOwnership() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[12]))((IDXGIOutput*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIOutput*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -3585,11 +3324,7 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface [VtblIndex(13)] public HResult GetGammaControlCapabilities(Common.GammaControlCapabilities* pGammaCaps) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pGammaCaps); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pGammaCaps); -#endif } /// @@ -3597,11 +3332,7 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface [VtblIndex(14)] public HResult SetGammaControl(Common.GammaControl* pArray) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pArray); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pArray); -#endif } /// @@ -3609,11 +3340,7 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface [VtblIndex(15)] public HResult GetGammaControl(Common.GammaControl* pArray) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pArray); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pArray); -#endif } /// @@ -3621,11 +3348,7 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface [VtblIndex(16)] public HResult SetDisplaySurface(IDXGISurface* pScanoutSurface) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pScanoutSurface); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pScanoutSurface); -#endif } /// @@ -3633,11 +3356,7 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface [VtblIndex(17)] public HResult GetDisplaySurfaceData(IDXGISurface* pDestination) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pDestination); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pDestination); -#endif } /// @@ -3645,16 +3364,9 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface [VtblIndex(18)] public HResult GetFrameStatistics(FrameStatistics* pStats) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pStats); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pStats); -#endif } - public interface Interface : IDXGIObject.Interface - { - } } /// @@ -3662,7 +3374,7 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface [Guid("310d36a0-d2e7-4c0a-aa04-6a9d23b8886a")] [NativeTypeName("struct IDXGISwapChain : IDXGIDeviceSubObject")] [NativeInheritance("IDXGIDeviceSubObject")] -public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface +public unsafe partial struct IDXGISwapChain { public static ref readonly Guid IID_IDXGISwapChain { @@ -3723,11 +3435,7 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface [VtblIndex(3)] public HResult GetDevice(Guid* riid, void** ppDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), riid, ppDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), riid, ppDevice); -#endif } /// @@ -3735,11 +3443,7 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface [VtblIndex(4)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -3747,11 +3451,7 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface [VtblIndex(5)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -3759,11 +3459,7 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface [VtblIndex(6)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -3771,11 +3467,7 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface [VtblIndex(7)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -3783,11 +3475,7 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface [VtblIndex(8)] public HResult Present(uint SyncInterval, uint Flags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), SyncInterval, Flags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), SyncInterval, Flags); -#endif } /// @@ -3795,11 +3483,7 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface [VtblIndex(9)] public HResult GetBuffer(uint Buffer, Guid* riid, void** ppSurface) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), Buffer, riid, ppSurface); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), Buffer, riid, ppSurface); -#endif } /// @@ -3807,11 +3491,7 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface [VtblIndex(10)] public HResult SetFullscreenState(Bool32 Fullscreen, IDXGIOutput* pTarget) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); -#endif } /// @@ -3819,11 +3499,7 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface [VtblIndex(11)] public HResult GetFullscreenState(Bool32* pFullscreen, IDXGIOutput** ppTarget) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), pFullscreen, ppTarget); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), pFullscreen, ppTarget); -#endif } /// @@ -3831,11 +3507,7 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface [VtblIndex(12)] public HResult GetDesc(SwapChainDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -3843,11 +3515,7 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface [VtblIndex(13)] public HResult ResizeBuffers(uint BufferCount, uint Width, uint Height, Common.Format NewFormat, uint SwapChainFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, NewFormat, SwapChainFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, NewFormat, SwapChainFlags); -#endif } /// @@ -3855,11 +3523,7 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface [VtblIndex(14)] public HResult ResizeTarget(Common.ModeDescription* pNewTargetParameters) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), pNewTargetParameters); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), pNewTargetParameters); -#endif } /// @@ -3867,11 +3531,7 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface [VtblIndex(15)] public HResult GetContainingOutput(IDXGIOutput** ppOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), ppOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), ppOutput); -#endif } /// @@ -3879,11 +3539,7 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface [VtblIndex(16)] public HResult GetFrameStatistics(FrameStatistics* pStats) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), pStats); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), pStats); -#endif } /// @@ -3891,16 +3547,9 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface [VtblIndex(17)] public HResult GetLastPresentCount(uint* pLastPresentCount) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), pLastPresentCount); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), pLastPresentCount); -#endif } - public interface Interface : IDXGIDeviceSubObject.Interface - { - } } /// @@ -3908,7 +3557,7 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface [Guid("7b7166ec-21c7-44ae-b21a-c9ae321ae369")] [NativeTypeName("struct IDXGIFactory : IDXGIObject")] [NativeInheritance("IDXGIObject")] -public unsafe partial struct IDXGIFactory : IDXGIFactory.Interface +public unsafe partial struct IDXGIFactory { public static ref readonly Guid IID_IDXGIFactory { @@ -3969,11 +3618,7 @@ public unsafe partial struct IDXGIFactory : IDXGIFactory.Interface [VtblIndex(3)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIFactory*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIFactory*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -3981,11 +3626,7 @@ public unsafe partial struct IDXGIFactory : IDXGIFactory.Interface [VtblIndex(4)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIFactory*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIFactory*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -3993,11 +3634,7 @@ public unsafe partial struct IDXGIFactory : IDXGIFactory.Interface [VtblIndex(5)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIFactory*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIFactory*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -4005,11 +3642,7 @@ public unsafe partial struct IDXGIFactory : IDXGIFactory.Interface [VtblIndex(6)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIFactory*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIFactory*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -4017,11 +3650,7 @@ public unsafe partial struct IDXGIFactory : IDXGIFactory.Interface [VtblIndex(7)] public HResult EnumAdapters(uint Adapter, IDXGIAdapter** ppAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIFactory*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIFactory*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#endif } /// @@ -4029,11 +3658,7 @@ public unsafe partial struct IDXGIFactory : IDXGIFactory.Interface [VtblIndex(8)] public HResult MakeWindowAssociation(IntPtr WindowHandle, uint Flags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIFactory*)Unsafe.AsPointer(ref this), WindowHandle, Flags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIFactory*)Unsafe.AsPointer(ref this), WindowHandle, Flags); -#endif } /// @@ -4041,11 +3666,7 @@ public unsafe partial struct IDXGIFactory : IDXGIFactory.Interface [VtblIndex(9)] public HResult GetWindowAssociation(IntPtr* pWindowHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIFactory*)Unsafe.AsPointer(ref this), pWindowHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIFactory*)Unsafe.AsPointer(ref this), pWindowHandle); -#endif } /// @@ -4053,11 +3674,7 @@ public unsafe partial struct IDXGIFactory : IDXGIFactory.Interface [VtblIndex(10)] public HResult CreateSwapChain(IUnknown* pDevice, SwapChainDescription* pDesc, IDXGISwapChain** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIFactory*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIFactory*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain); -#endif } /// @@ -4065,16 +3682,9 @@ public unsafe partial struct IDXGIFactory : IDXGIFactory.Interface [VtblIndex(11)] public HResult CreateSoftwareAdapter(IntPtr Module, IDXGIAdapter** ppAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIFactory*)Unsafe.AsPointer(ref this), Module, ppAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIFactory*)Unsafe.AsPointer(ref this), Module, ppAdapter); -#endif } - public interface Interface : IDXGIObject.Interface - { - } } /// @@ -4082,7 +3692,7 @@ public unsafe partial struct IDXGIFactory : IDXGIFactory.Interface [Guid("54ec77fa-1377-44e6-8c32-88fd5f44c84c")] [NativeTypeName("struct IDXGIDevice : IDXGIObject")] [NativeInheritance("IDXGIObject")] -public unsafe partial struct IDXGIDevice : IDXGIDevice.Interface +public unsafe partial struct IDXGIDevice { public static ref readonly Guid IID_IDXGIDevice { @@ -4143,11 +3753,7 @@ public unsafe partial struct IDXGIDevice : IDXGIDevice.Interface [VtblIndex(3)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIDevice*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIDevice*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -4155,11 +3761,7 @@ public unsafe partial struct IDXGIDevice : IDXGIDevice.Interface [VtblIndex(4)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIDevice*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIDevice*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -4167,11 +3769,7 @@ public unsafe partial struct IDXGIDevice : IDXGIDevice.Interface [VtblIndex(5)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIDevice*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIDevice*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -4179,11 +3777,7 @@ public unsafe partial struct IDXGIDevice : IDXGIDevice.Interface [VtblIndex(6)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIDevice*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIDevice*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -4191,11 +3785,7 @@ public unsafe partial struct IDXGIDevice : IDXGIDevice.Interface [VtblIndex(7)] public HResult GetAdapter(IDXGIAdapter** pAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIDevice*)Unsafe.AsPointer(ref this), pAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIDevice*)Unsafe.AsPointer(ref this), pAdapter); -#endif } /// @@ -4203,11 +3793,7 @@ public unsafe partial struct IDXGIDevice : IDXGIDevice.Interface [VtblIndex(8)] public HResult CreateSurface(SurfaceDescription* pDesc, uint NumSurfaces, uint Usage, SharedResource* pSharedResource, IDXGISurface* ppSurface) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIDevice*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIDevice*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface); -#endif } /// @@ -4215,11 +3801,7 @@ public unsafe partial struct IDXGIDevice : IDXGIDevice.Interface [VtblIndex(9)] public HResult QueryResourceResidency(IUnknown* ppResources, Residency* pResidencyStatus, uint NumResources) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIDevice*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIDevice*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources); -#endif } /// @@ -4227,11 +3809,7 @@ public unsafe partial struct IDXGIDevice : IDXGIDevice.Interface [VtblIndex(10)] public HResult SetGPUThreadPriority(int Priority) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIDevice*)Unsafe.AsPointer(ref this), Priority); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIDevice*)Unsafe.AsPointer(ref this), Priority); -#endif } /// @@ -4239,16 +3817,9 @@ public unsafe partial struct IDXGIDevice : IDXGIDevice.Interface [VtblIndex(11)] public HResult GetGPUThreadPriority(int* pPriority) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIDevice*)Unsafe.AsPointer(ref this), pPriority); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIDevice*)Unsafe.AsPointer(ref this), pPriority); -#endif } - public interface Interface : IDXGIObject.Interface - { - } } /// @@ -4256,7 +3827,7 @@ public unsafe partial struct IDXGIDevice : IDXGIDevice.Interface [Guid("770aae78-f26f-4dba-a829-253c83d1b387")] [NativeTypeName("struct IDXGIFactory1 : IDXGIFactory")] [NativeInheritance("IDXGIFactory")] -public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface +public unsafe partial struct IDXGIFactory1 { public static ref readonly Guid IID_IDXGIFactory1 { @@ -4317,11 +3888,7 @@ public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface [VtblIndex(3)] public HResult EnumAdapters(uint Adapter, IDXGIAdapter** ppAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#endif } /// @@ -4329,11 +3896,7 @@ public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface [VtblIndex(4)] public HResult MakeWindowAssociation(IntPtr WindowHandle, uint Flags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), WindowHandle, Flags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), WindowHandle, Flags); -#endif } /// @@ -4341,11 +3904,7 @@ public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface [VtblIndex(5)] public HResult GetWindowAssociation(IntPtr* pWindowHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), pWindowHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), pWindowHandle); -#endif } /// @@ -4353,11 +3912,7 @@ public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface [VtblIndex(6)] public HResult CreateSwapChain(IUnknown* pDevice, SwapChainDescription* pDesc, IDXGISwapChain** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain); -#endif } /// @@ -4365,11 +3920,7 @@ public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface [VtblIndex(7)] public HResult CreateSoftwareAdapter(IntPtr Module, IDXGIAdapter** ppAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Module, ppAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Module, ppAdapter); -#endif } /// @@ -4377,11 +3928,7 @@ public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface [VtblIndex(8)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -4389,11 +3936,7 @@ public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface [VtblIndex(9)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -4401,11 +3944,7 @@ public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface [VtblIndex(10)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -4413,11 +3952,7 @@ public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface [VtblIndex(11)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -4425,11 +3960,7 @@ public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface [VtblIndex(12)] public HResult EnumAdapters1(uint Adapter, IDXGIAdapter1** ppAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#endif } /// @@ -4437,16 +3968,9 @@ public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface [VtblIndex(13)] public Bool32 IsCurrent() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGIFactory1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIFactory1*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : IDXGIFactory.Interface - { - } } /// @@ -4454,7 +3978,7 @@ public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface [Guid("29038f61-3839-4626-91fd-086879011a05")] [NativeTypeName("struct IDXGIAdapter1 : IDXGIAdapter")] [NativeInheritance("IDXGIAdapter")] -public unsafe partial struct IDXGIAdapter1 : IDXGIAdapter1.Interface +public unsafe partial struct IDXGIAdapter1 { public static ref readonly Guid IID_IDXGIAdapter1 { @@ -4515,11 +4039,7 @@ public unsafe partial struct IDXGIAdapter1 : IDXGIAdapter1.Interface [VtblIndex(3)] public HResult EnumOutputs(uint Output, IDXGIOutput** ppOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), Output, ppOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), Output, ppOutput); -#endif } /// @@ -4527,11 +4047,7 @@ public unsafe partial struct IDXGIAdapter1 : IDXGIAdapter1.Interface [VtblIndex(4)] public HResult GetDesc(AdapterDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -4539,11 +4055,7 @@ public unsafe partial struct IDXGIAdapter1 : IDXGIAdapter1.Interface [VtblIndex(5)] public HResult CheckInterfaceSupport(Guid* InterfaceName, LargeInterger* pUMDVersion) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), InterfaceName, pUMDVersion); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), InterfaceName, pUMDVersion); -#endif } /// @@ -4551,11 +4063,7 @@ public unsafe partial struct IDXGIAdapter1 : IDXGIAdapter1.Interface [VtblIndex(6)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -4563,11 +4071,7 @@ public unsafe partial struct IDXGIAdapter1 : IDXGIAdapter1.Interface [VtblIndex(7)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -4575,11 +4079,7 @@ public unsafe partial struct IDXGIAdapter1 : IDXGIAdapter1.Interface [VtblIndex(8)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -4587,11 +4087,7 @@ public unsafe partial struct IDXGIAdapter1 : IDXGIAdapter1.Interface [VtblIndex(9)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -4599,16 +4095,9 @@ public unsafe partial struct IDXGIAdapter1 : IDXGIAdapter1.Interface [VtblIndex(10)] public HResult GetDesc1(AdapterDescription1* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface : IDXGIAdapter.Interface - { - } } /// @@ -4616,7 +4105,7 @@ public unsafe partial struct IDXGIAdapter1 : IDXGIAdapter1.Interface [Guid("77db970f-6276-48ba-ba28-070143b4392c")] [NativeTypeName("struct IDXGIDevice1 : IDXGIDevice")] [NativeInheritance("IDXGIDevice")] -public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface +public unsafe partial struct IDXGIDevice1 { public static ref readonly Guid IID_IDXGIDevice1 { @@ -4677,11 +4166,7 @@ public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface [VtblIndex(3)] public HResult GetAdapter(IDXGIAdapter** pAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), pAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), pAdapter); -#endif } /// @@ -4689,11 +4174,7 @@ public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface [VtblIndex(4)] public HResult CreateSurface(SurfaceDescription* pDesc, uint NumSurfaces, uint Usage, SharedResource* pSharedResource, IDXGISurface* ppSurface) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface); -#endif } /// @@ -4701,11 +4182,7 @@ public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface [VtblIndex(5)] public HResult QueryResourceResidency(IUnknown* ppResources, Residency* pResidencyStatus, uint NumResources) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources); -#endif } /// @@ -4713,11 +4190,7 @@ public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface [VtblIndex(6)] public HResult SetGPUThreadPriority(int Priority) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), Priority); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), Priority); -#endif } /// @@ -4725,11 +4198,7 @@ public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface [VtblIndex(7)] public HResult GetGPUThreadPriority(int* pPriority) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), pPriority); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), pPriority); -#endif } /// @@ -4737,11 +4206,7 @@ public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface [VtblIndex(8)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -4749,11 +4214,7 @@ public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface [VtblIndex(9)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -4761,11 +4222,7 @@ public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface [VtblIndex(10)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -4773,11 +4230,7 @@ public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface [VtblIndex(11)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -4785,11 +4238,7 @@ public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface [VtblIndex(12)] public HResult SetMaximumFrameLatency(uint MaxLatency) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), MaxLatency); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), MaxLatency); -#endif } /// @@ -4797,16 +4246,9 @@ public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface [VtblIndex(13)] public HResult GetMaximumFrameLatency(uint* pMaxLatency) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), pMaxLatency); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), pMaxLatency); -#endif } - public interface Interface : IDXGIDevice.Interface - { - } } /// @@ -4814,7 +4256,7 @@ public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface [Guid("ea9dbf1a-c88e-4486-854a-98aa0138f30c")] [NativeTypeName("struct IDXGIDisplayControl : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDXGIDisplayControl : IDXGIDisplayControl.Interface +public unsafe partial struct IDXGIDisplayControl { public static ref readonly Guid IID_IDXGIDisplayControl { @@ -4875,11 +4317,7 @@ public unsafe partial struct IDXGIDisplayControl : IDXGIDisplayControl.Interface [VtblIndex(3)] public Bool32 IsStereoEnabled() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIDisplayControl*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIDisplayControl*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -4887,16 +4325,9 @@ public unsafe partial struct IDXGIDisplayControl : IDXGIDisplayControl.Interface [VtblIndex(4)] public void SetStereoEnabled(Bool32 enabled) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((IDXGIDisplayControl*)Unsafe.AsPointer(ref this), enabled); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIDisplayControl*)Unsafe.AsPointer(ref this), enabled); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -4904,7 +4335,7 @@ public unsafe partial struct IDXGIDisplayControl : IDXGIDisplayControl.Interface [Guid("191cfac3-a341-470d-b26e-a864f428319c")] [NativeTypeName("struct IDXGIOutputDuplication : IDXGIObject")] [NativeInheritance("IDXGIObject")] -public unsafe partial struct IDXGIOutputDuplication : IDXGIOutputDuplication.Interface +public unsafe partial struct IDXGIOutputDuplication { public static ref readonly Guid IID_IDXGIOutputDuplication { @@ -4965,11 +4396,7 @@ public unsafe partial struct IDXGIOutputDuplication : IDXGIOutputDuplication.Int [VtblIndex(3)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -4977,11 +4404,7 @@ public unsafe partial struct IDXGIOutputDuplication : IDXGIOutputDuplication.Int [VtblIndex(4)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -4989,11 +4412,7 @@ public unsafe partial struct IDXGIOutputDuplication : IDXGIOutputDuplication.Int [VtblIndex(5)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -5001,11 +4420,7 @@ public unsafe partial struct IDXGIOutputDuplication : IDXGIOutputDuplication.Int [VtblIndex(6)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -5013,11 +4428,7 @@ public unsafe partial struct IDXGIOutputDuplication : IDXGIOutputDuplication.Int [VtblIndex(7)] public void GetDesc(OutduplDescription* pDesc) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[7]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), pDesc); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -5025,11 +4436,7 @@ public unsafe partial struct IDXGIOutputDuplication : IDXGIOutputDuplication.Int [VtblIndex(8)] public HResult AcquireNextFrame(uint TimeoutInMilliseconds, OutduplFrameInfo* pFrameInfo, IDXGIResource** ppDesktopResource) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), TimeoutInMilliseconds, pFrameInfo, ppDesktopResource); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), TimeoutInMilliseconds, pFrameInfo, ppDesktopResource); -#endif } /// @@ -5037,11 +4444,7 @@ public unsafe partial struct IDXGIOutputDuplication : IDXGIOutputDuplication.Int [VtblIndex(9)] public HResult GetFrameDirtyRects(uint DirtyRectsBufferSize, RawRect* pDirtyRectsBuffer, uint* pDirtyRectsBufferSizeRequired) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), DirtyRectsBufferSize, pDirtyRectsBuffer, pDirtyRectsBufferSizeRequired); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), DirtyRectsBufferSize, pDirtyRectsBuffer, pDirtyRectsBufferSizeRequired); -#endif } /// @@ -5049,11 +4452,7 @@ public unsafe partial struct IDXGIOutputDuplication : IDXGIOutputDuplication.Int [VtblIndex(10)] public HResult GetFrameMoveRects(uint MoveRectsBufferSize, OutduplMoveRect* pMoveRectBuffer, uint* pMoveRectsBufferSizeRequired) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), MoveRectsBufferSize, pMoveRectBuffer, pMoveRectsBufferSizeRequired); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), MoveRectsBufferSize, pMoveRectBuffer, pMoveRectsBufferSizeRequired); -#endif } /// @@ -5061,11 +4460,7 @@ public unsafe partial struct IDXGIOutputDuplication : IDXGIOutputDuplication.Int [VtblIndex(11)] public HResult GetFramePointerShape(uint PointerShapeBufferSize, void* pPointerShapeBuffer, uint* pPointerShapeBufferSizeRequired, OutduplPointerShapeInfo* pPointerShapeInfo) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), PointerShapeBufferSize, pPointerShapeBuffer, pPointerShapeBufferSizeRequired, pPointerShapeInfo); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), PointerShapeBufferSize, pPointerShapeBuffer, pPointerShapeBufferSizeRequired, pPointerShapeInfo); -#endif } /// @@ -5073,11 +4468,7 @@ public unsafe partial struct IDXGIOutputDuplication : IDXGIOutputDuplication.Int [VtblIndex(12)] public HResult MapDesktopSurface(MappedRect* pLockedRect) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), pLockedRect); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), pLockedRect); -#endif } /// @@ -5085,11 +4476,7 @@ public unsafe partial struct IDXGIOutputDuplication : IDXGIOutputDuplication.Int [VtblIndex(13)] public HResult UnMapDesktopSurface() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -5097,16 +4484,9 @@ public unsafe partial struct IDXGIOutputDuplication : IDXGIOutputDuplication.Int [VtblIndex(14)] public HResult ReleaseFrame() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : IDXGIObject.Interface - { - } } /// @@ -5114,7 +4494,7 @@ public unsafe partial struct IDXGIOutputDuplication : IDXGIOutputDuplication.Int [Guid("aba496dd-b617-4cb8-a866-bc44d7eb1fa2")] [NativeTypeName("struct IDXGISurface2 : IDXGISurface1")] [NativeInheritance("IDXGISurface1")] -public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface +public unsafe partial struct IDXGISurface2 { public static ref readonly Guid IID_IDXGISurface2 { @@ -5175,11 +4555,7 @@ public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface [VtblIndex(3)] public HResult GetDC(Bool32 Discard, IntPtr* phdc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGISurface2*)Unsafe.AsPointer(ref this), Discard, phdc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGISurface2*)Unsafe.AsPointer(ref this), Discard, phdc); -#endif } /// @@ -5187,11 +4563,7 @@ public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface [VtblIndex(4)] public HResult ReleaseDC(RawRect* pDirtyRect) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGISurface2*)Unsafe.AsPointer(ref this), pDirtyRect); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGISurface2*)Unsafe.AsPointer(ref this), pDirtyRect); -#endif } /// @@ -5199,11 +4571,7 @@ public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface [VtblIndex(5)] public HResult GetDesc(SurfaceDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGISurface2*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGISurface2*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -5211,11 +4579,7 @@ public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface [VtblIndex(6)] public HResult Map(MappedRect* pLockedRect, uint MapFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGISurface2*)Unsafe.AsPointer(ref this), pLockedRect, MapFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGISurface2*)Unsafe.AsPointer(ref this), pLockedRect, MapFlags); -#endif } /// @@ -5223,11 +4587,7 @@ public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface [VtblIndex(7)] public HResult Unmap() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGISurface2*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGISurface2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -5235,11 +4595,7 @@ public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface [VtblIndex(8)] public HResult GetDevice(Guid* riid, void** ppDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGISurface2*)Unsafe.AsPointer(ref this), riid, ppDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGISurface2*)Unsafe.AsPointer(ref this), riid, ppDevice); -#endif } /// @@ -5247,11 +4603,7 @@ public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface [VtblIndex(9)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGISurface2*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGISurface2*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -5259,11 +4611,7 @@ public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface [VtblIndex(10)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGISurface2*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGISurface2*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -5271,11 +4619,7 @@ public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface [VtblIndex(11)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGISurface2*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGISurface2*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -5283,11 +4627,7 @@ public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface [VtblIndex(12)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGISurface2*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGISurface2*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -5295,16 +4635,9 @@ public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface [VtblIndex(13)] public HResult GetResource(Guid* riid, void** ppParentResource, uint* pSubresourceIndex) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGISurface2*)Unsafe.AsPointer(ref this), riid, ppParentResource, pSubresourceIndex); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGISurface2*)Unsafe.AsPointer(ref this), riid, ppParentResource, pSubresourceIndex); -#endif } - public interface Interface : IDXGISurface1.Interface - { - } } /// @@ -5312,7 +4645,7 @@ public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface [Guid("30961379-4609-4a41-998e-54fe567ee0c1")] [NativeTypeName("struct IDXGIResource1 : IDXGIResource")] [NativeInheritance("IDXGIResource")] -public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface +public unsafe partial struct IDXGIResource1 { public static ref readonly Guid IID_IDXGIResource1 { @@ -5373,11 +4706,7 @@ public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface [VtblIndex(3)] public HResult GetSharedHandle(IntPtr* pSharedHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIResource1*)Unsafe.AsPointer(ref this), pSharedHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIResource1*)Unsafe.AsPointer(ref this), pSharedHandle); -#endif } /// @@ -5385,11 +4714,7 @@ public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface [VtblIndex(4)] public HResult GetUsage(uint* pUsage) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIResource1*)Unsafe.AsPointer(ref this), pUsage); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIResource1*)Unsafe.AsPointer(ref this), pUsage); -#endif } /// @@ -5397,11 +4722,7 @@ public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface [VtblIndex(5)] public HResult SetEvictionPriority(ResourcePriority EvictionPriority) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIResource1*)Unsafe.AsPointer(ref this), EvictionPriority); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIResource1*)Unsafe.AsPointer(ref this), EvictionPriority); -#endif } /// @@ -5409,11 +4730,7 @@ public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface [VtblIndex(6)] public HResult GetEvictionPriority(uint* pEvictionPriority) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIResource1*)Unsafe.AsPointer(ref this), pEvictionPriority); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIResource1*)Unsafe.AsPointer(ref this), pEvictionPriority); -#endif } /// @@ -5421,11 +4738,7 @@ public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface [VtblIndex(7)] public HResult GetDevice(Guid* riid, void** ppDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIResource1*)Unsafe.AsPointer(ref this), riid, ppDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIResource1*)Unsafe.AsPointer(ref this), riid, ppDevice); -#endif } /// @@ -5433,11 +4746,7 @@ public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface [VtblIndex(8)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIResource1*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIResource1*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -5445,11 +4754,7 @@ public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface [VtblIndex(9)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIResource1*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIResource1*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -5457,11 +4762,7 @@ public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface [VtblIndex(10)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIResource1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIResource1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -5469,11 +4770,7 @@ public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface [VtblIndex(11)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIResource1*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIResource1*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -5481,11 +4778,7 @@ public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface [VtblIndex(12)] public HResult CreateSubresourceSurface(uint index, IDXGISurface2** ppSurface) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIResource1*)Unsafe.AsPointer(ref this), index, ppSurface); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIResource1*)Unsafe.AsPointer(ref this), index, ppSurface); -#endif } /// @@ -5493,16 +4786,9 @@ public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface [VtblIndex(13)] public HResult CreateSharedHandle(Security.SECURITY_ATTRIBUTES* pAttributes, uint dwAccess, char** lpName, IntPtr* pHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGIResource1*)Unsafe.AsPointer(ref this), pAttributes, dwAccess, lpName, pHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIResource1*)Unsafe.AsPointer(ref this), pAttributes, dwAccess, lpName, pHandle); -#endif } - public interface Interface : IDXGIResource.Interface - { - } } /// @@ -5510,7 +4796,7 @@ public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface [Guid("05008617-fbfd-4051-a790-144884b4f6a9")] [NativeTypeName("struct IDXGIDevice2 : IDXGIDevice1")] [NativeInheritance("IDXGIDevice1")] -public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface +public unsafe partial struct IDXGIDevice2 { public static ref readonly Guid IID_IDXGIDevice2 { @@ -5571,11 +4857,7 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface [VtblIndex(3)] public HResult SetMaximumFrameLatency(uint MaxLatency) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), MaxLatency); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), MaxLatency); -#endif } /// @@ -5583,11 +4865,7 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface [VtblIndex(4)] public HResult GetMaximumFrameLatency(uint* pMaxLatency) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), pMaxLatency); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), pMaxLatency); -#endif } /// @@ -5595,11 +4873,7 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface [VtblIndex(5)] public HResult GetAdapter(IDXGIAdapter** pAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), pAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), pAdapter); -#endif } /// @@ -5607,11 +4881,7 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface [VtblIndex(6)] public HResult CreateSurface(SurfaceDescription* pDesc, uint NumSurfaces, uint Usage, SharedResource* pSharedResource, IDXGISurface* ppSurface) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface); -#endif } /// @@ -5619,11 +4889,7 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface [VtblIndex(7)] public HResult QueryResourceResidency(IUnknown* ppResources, Residency* pResidencyStatus, uint NumResources) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources); -#endif } /// @@ -5631,11 +4897,7 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface [VtblIndex(8)] public HResult SetGPUThreadPriority(int Priority) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), Priority); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), Priority); -#endif } /// @@ -5643,11 +4905,7 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface [VtblIndex(9)] public HResult GetGPUThreadPriority(int* pPriority) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), pPriority); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), pPriority); -#endif } /// @@ -5655,11 +4913,7 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface [VtblIndex(10)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -5667,11 +4921,7 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface [VtblIndex(11)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -5679,11 +4929,7 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface [VtblIndex(12)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -5691,11 +4937,7 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface [VtblIndex(13)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -5703,11 +4945,7 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface [VtblIndex(14)] public HResult OfferResources(uint NumResources, IDXGIResource* ppResources, OfferResourcePriority Priority) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), NumResources, ppResources, Priority); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), NumResources, ppResources, Priority); -#endif } /// @@ -5715,11 +4953,7 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface [VtblIndex(15)] public HResult ReclaimResources(uint NumResources, IDXGIResource* ppResources, Bool32* pDiscarded) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), NumResources, ppResources, pDiscarded); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), NumResources, ppResources, pDiscarded); -#endif } /// @@ -5727,16 +4961,9 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface [VtblIndex(16)] public HResult EnqueueSetEvent(IntPtr hEvent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), hEvent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), hEvent); -#endif } - public interface Interface : IDXGIDevice1.Interface - { - } } /// @@ -5744,7 +4971,7 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface [Guid("790a45f7-0d42-4876-983a-0a55cfe6f4aa")] [NativeTypeName("struct IDXGISwapChain1 : IDXGISwapChain")] [NativeInheritance("IDXGISwapChain")] -public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface +public unsafe partial struct IDXGISwapChain1 { public static ref readonly Guid IID_IDXGISwapChain1 { @@ -5805,11 +5032,7 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface [VtblIndex(3)] public HResult Present(uint SyncInterval, uint Flags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), SyncInterval, Flags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), SyncInterval, Flags); -#endif } /// @@ -5817,11 +5040,7 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface [VtblIndex(4)] public HResult GetBuffer(uint Buffer, Guid* riid, void** ppSurface) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Buffer, riid, ppSurface); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Buffer, riid, ppSurface); -#endif } /// @@ -5829,11 +5048,7 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface [VtblIndex(5)] public HResult SetFullscreenState(Bool32 Fullscreen, IDXGIOutput* pTarget) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); -#endif } /// @@ -5841,11 +5056,7 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface [VtblIndex(6)] public HResult GetFullscreenState(Bool32* pFullscreen, IDXGIOutput** ppTarget) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pFullscreen, ppTarget); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pFullscreen, ppTarget); -#endif } /// @@ -5853,11 +5064,7 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface [VtblIndex(7)] public HResult GetDesc(SwapChainDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -5865,11 +5072,7 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface [VtblIndex(8)] public HResult ResizeBuffers(uint BufferCount, uint Width, uint Height, Common.Format NewFormat, uint SwapChainFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, NewFormat, SwapChainFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, NewFormat, SwapChainFlags); -#endif } /// @@ -5877,11 +5080,7 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface [VtblIndex(9)] public HResult ResizeTarget(Common.ModeDescription* pNewTargetParameters) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pNewTargetParameters); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pNewTargetParameters); -#endif } /// @@ -5889,11 +5088,7 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface [VtblIndex(10)] public HResult GetContainingOutput(IDXGIOutput** ppOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), ppOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), ppOutput); -#endif } /// @@ -5901,11 +5096,7 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface [VtblIndex(11)] public HResult GetFrameStatistics(FrameStatistics* pStats) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pStats); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pStats); -#endif } /// @@ -5913,11 +5104,7 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface [VtblIndex(12)] public HResult GetLastPresentCount(uint* pLastPresentCount) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pLastPresentCount); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pLastPresentCount); -#endif } /// @@ -5925,11 +5112,7 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface [VtblIndex(13)] public HResult GetDevice(Guid* riid, void** ppDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), riid, ppDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), riid, ppDevice); -#endif } /// @@ -5937,11 +5120,7 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface [VtblIndex(14)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -5949,11 +5128,7 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface [VtblIndex(15)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -5961,11 +5136,7 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface [VtblIndex(16)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -5973,11 +5144,7 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface [VtblIndex(17)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -5985,11 +5152,7 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface [VtblIndex(18)] public HResult GetDesc1(SwapChainDescription1* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -5997,11 +5160,7 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface [VtblIndex(19)] public HResult GetFullscreenDesc(SwapChainFullscreenDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -6009,11 +5168,7 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface [VtblIndex(20)] public HResult GetHwnd(IntPtr* pHwnd) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pHwnd); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pHwnd); -#endif } /// @@ -6021,11 +5176,7 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface [VtblIndex(21)] public HResult GetCoreWindow(Guid* refiid, void** ppUnk) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), refiid, ppUnk); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), refiid, ppUnk); -#endif } /// @@ -6033,11 +5184,7 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface [VtblIndex(22)] public HResult Present1(uint SyncInterval, uint PresentFlags, PresentParameters* pPresentParameters) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), SyncInterval, PresentFlags, pPresentParameters); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), SyncInterval, PresentFlags, pPresentParameters); -#endif } /// @@ -6045,11 +5192,7 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface [VtblIndex(23)] public Bool32 IsTemporaryMonoSupported() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -6057,11 +5200,7 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface [VtblIndex(24)] public HResult GetRestrictToOutput(IDXGIOutput* ppRestrictToOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), ppRestrictToOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), ppRestrictToOutput); -#endif } /// @@ -6069,11 +5208,7 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface [VtblIndex(25)] public HResult SetBackgroundColor(Rgba* pColor) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pColor); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pColor); -#endif } /// @@ -6081,11 +5216,7 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface [VtblIndex(26)] public HResult GetBackgroundColor(Rgba* pColor) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[26]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pColor); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pColor); -#endif } /// @@ -6093,11 +5224,7 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface [VtblIndex(27)] public HResult SetRotation(Common.ModeRotation Rotation) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Rotation); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Rotation); -#endif } /// @@ -6105,16 +5232,9 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface [VtblIndex(28)] public HResult GetRotation(Common.ModeRotation* pRotation) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pRotation); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pRotation); -#endif } - public interface Interface : IDXGISwapChain.Interface - { - } } /// @@ -6122,7 +5242,7 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface [Guid("50c83a1c-e072-4c48-87b0-3630fa36a6d0")] [NativeTypeName("struct IDXGIFactory2 : IDXGIFactory1")] [NativeInheritance("IDXGIFactory1")] -public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface +public unsafe partial struct IDXGIFactory2 { public static ref readonly Guid IID_IDXGIFactory2 { @@ -6183,11 +5303,7 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface [VtblIndex(3)] public HResult EnumAdapters1(uint Adapter, IDXGIAdapter1** ppAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#endif } /// @@ -6195,11 +5311,7 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface [VtblIndex(4)] public Bool32 IsCurrent() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIFactory2*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIFactory2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -6207,11 +5319,7 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface [VtblIndex(5)] public HResult EnumAdapters(uint Adapter, IDXGIAdapter** ppAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#endif } /// @@ -6219,11 +5327,7 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface [VtblIndex(6)] public HResult MakeWindowAssociation(IntPtr WindowHandle, uint Flags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, Flags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, Flags); -#endif } /// @@ -6231,11 +5335,7 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface [VtblIndex(7)] public HResult GetWindowAssociation(IntPtr* pWindowHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pWindowHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pWindowHandle); -#endif } /// @@ -6243,11 +5343,7 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface [VtblIndex(8)] public HResult CreateSwapChain(IUnknown* pDevice, SwapChainDescription* pDesc, IDXGISwapChain** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain); -#endif } /// @@ -6255,11 +5351,7 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface [VtblIndex(9)] public HResult CreateSoftwareAdapter(IntPtr Module, IDXGIAdapter** ppAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Module, ppAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Module, ppAdapter); -#endif } /// @@ -6267,11 +5359,7 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface [VtblIndex(10)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -6279,11 +5367,7 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface [VtblIndex(11)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -6291,11 +5375,7 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface [VtblIndex(12)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -6303,11 +5383,7 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface [VtblIndex(13)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -6315,11 +5391,7 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface [VtblIndex(14)] public Bool32 IsWindowedStereoEnabled() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((IDXGIFactory2*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIFactory2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -6327,11 +5399,7 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface [VtblIndex(15)] public HResult CreateSwapChainForHwnd(IUnknown* pDevice, IntPtr hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); -#endif } /// @@ -6339,11 +5407,7 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface [VtblIndex(16)] public HResult CreateSwapChainForCoreWindow(IUnknown* pDevice, IUnknown* pWindow, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pDevice, pWindow, pDesc, pRestrictToOutput, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pDevice, pWindow, pDesc, pRestrictToOutput, ppSwapChain); -#endif } /// @@ -6351,11 +5415,7 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface [VtblIndex(17)] public HResult GetSharedResourceAdapterLuid(IntPtr hResource, Luid* pLuid) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), hResource, pLuid); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), hResource, pLuid); -#endif } /// @@ -6363,11 +5423,7 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface [VtblIndex(18)] public HResult RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); -#endif } /// @@ -6375,11 +5431,7 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface [VtblIndex(19)] public HResult RegisterStereoStatusEvent(IntPtr hEvent, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#endif } /// @@ -6387,11 +5439,7 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface [VtblIndex(20)] public void UnregisterStereoStatus(uint dwCookie) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[20]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), dwCookie); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), dwCookie); -#endif } /// @@ -6399,11 +5447,7 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface [VtblIndex(21)] public HResult RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); -#endif } /// @@ -6411,11 +5455,7 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface [VtblIndex(22)] public HResult RegisterOcclusionStatusEvent(IntPtr hEvent, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#endif } /// @@ -6423,11 +5463,7 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface [VtblIndex(23)] public void UnregisterOcclusionStatus(uint dwCookie) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[23]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), dwCookie); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), dwCookie); -#endif } /// @@ -6435,16 +5471,9 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface [VtblIndex(24)] public HResult CreateSwapChainForComposition(IUnknown* pDevice, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pDevice, pDesc, pRestrictToOutput, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pDevice, pDesc, pRestrictToOutput, ppSwapChain); -#endif } - public interface Interface : IDXGIFactory1.Interface - { - } } /// @@ -6452,7 +5481,7 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface [Guid("0aa1ae0a-fa0e-4b84-8644-e05ff8e5acb5")] [NativeTypeName("struct IDXGIAdapter2 : IDXGIAdapter1")] [NativeInheritance("IDXGIAdapter1")] -public unsafe partial struct IDXGIAdapter2 : IDXGIAdapter2.Interface +public unsafe partial struct IDXGIAdapter2 { public static ref readonly Guid IID_IDXGIAdapter2 { @@ -6513,11 +5542,7 @@ public unsafe partial struct IDXGIAdapter2 : IDXGIAdapter2.Interface [VtblIndex(3)] public HResult GetDesc1(AdapterDescription1* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -6525,11 +5550,7 @@ public unsafe partial struct IDXGIAdapter2 : IDXGIAdapter2.Interface [VtblIndex(4)] public HResult EnumOutputs(uint Output, IDXGIOutput** ppOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), Output, ppOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), Output, ppOutput); -#endif } /// @@ -6537,11 +5558,7 @@ public unsafe partial struct IDXGIAdapter2 : IDXGIAdapter2.Interface [VtblIndex(5)] public HResult GetDesc(AdapterDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -6549,11 +5566,7 @@ public unsafe partial struct IDXGIAdapter2 : IDXGIAdapter2.Interface [VtblIndex(6)] public HResult CheckInterfaceSupport(Guid* InterfaceName, LargeInterger* pUMDVersion) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), InterfaceName, pUMDVersion); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), InterfaceName, pUMDVersion); -#endif } /// @@ -6561,11 +5574,7 @@ public unsafe partial struct IDXGIAdapter2 : IDXGIAdapter2.Interface [VtblIndex(7)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -6573,11 +5582,7 @@ public unsafe partial struct IDXGIAdapter2 : IDXGIAdapter2.Interface [VtblIndex(8)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -6585,11 +5590,7 @@ public unsafe partial struct IDXGIAdapter2 : IDXGIAdapter2.Interface [VtblIndex(9)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -6597,11 +5598,7 @@ public unsafe partial struct IDXGIAdapter2 : IDXGIAdapter2.Interface [VtblIndex(10)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -6609,16 +5606,9 @@ public unsafe partial struct IDXGIAdapter2 : IDXGIAdapter2.Interface [VtblIndex(11)] public HResult GetDesc2(AdapterDescription2* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface : IDXGIAdapter1.Interface - { - } } /// @@ -6626,7 +5616,7 @@ public unsafe partial struct IDXGIAdapter2 : IDXGIAdapter2.Interface [Guid("00cddea8-939b-4b83-a340-a685226666cc")] [NativeTypeName("struct IDXGIOutput1 : IDXGIOutput")] [NativeInheritance("IDXGIOutput")] -public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface +public unsafe partial struct IDXGIOutput1 { public static ref readonly Guid IID_IDXGIOutput1 { @@ -6687,11 +5677,7 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface [VtblIndex(3)] public HResult GetDesc(OutputDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -6699,11 +5685,7 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface [VtblIndex(4)] public HResult GetDisplayModeList(Common.Format EnumFormat, uint Flags, uint* pNumModes, Common.ModeDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); -#endif } /// @@ -6711,11 +5693,7 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface [VtblIndex(5)] public HResult FindClosestMatchingMode(Common.ModeDescription* pModeToMatch, Common.ModeDescription* pClosestMatch, IUnknown* pConcernedDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); -#endif } /// @@ -6723,11 +5701,7 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface [VtblIndex(6)] public HResult WaitForVBlank() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIOutput1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIOutput1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -6735,11 +5709,7 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface [VtblIndex(7)] public HResult TakeOwnership(IUnknown* pDevice, Bool32 Exclusive) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pDevice, Exclusive); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pDevice, Exclusive); -#endif } /// @@ -6747,11 +5717,7 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface [VtblIndex(8)] public void ReleaseOwnership() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((IDXGIOutput1*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIOutput1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -6759,11 +5725,7 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface [VtblIndex(9)] public HResult GetGammaControlCapabilities(Common.GammaControlCapabilities* pGammaCaps) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pGammaCaps); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pGammaCaps); -#endif } /// @@ -6771,11 +5733,7 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface [VtblIndex(10)] public HResult SetGammaControl(Common.GammaControl* pArray) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pArray); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pArray); -#endif } /// @@ -6783,11 +5741,7 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface [VtblIndex(11)] public HResult GetGammaControl(Common.GammaControl* pArray) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pArray); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pArray); -#endif } /// @@ -6795,11 +5749,7 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface [VtblIndex(12)] public HResult SetDisplaySurface(IDXGISurface* pScanoutSurface) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pScanoutSurface); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pScanoutSurface); -#endif } /// @@ -6807,11 +5757,7 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface [VtblIndex(13)] public HResult GetDisplaySurfaceData(IDXGISurface* pDestination) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pDestination); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pDestination); -#endif } /// @@ -6819,11 +5765,7 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface [VtblIndex(14)] public HResult GetFrameStatistics(FrameStatistics* pStats) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pStats); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pStats); -#endif } /// @@ -6831,11 +5773,7 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface [VtblIndex(15)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -6843,11 +5781,7 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface [VtblIndex(16)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -6855,11 +5789,7 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface [VtblIndex(17)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -6867,11 +5797,7 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface [VtblIndex(18)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -6879,11 +5805,7 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface [VtblIndex(19)] public HResult GetDisplayModeList1(Common.Format EnumFormat, uint Flags, uint* pNumModes, ModeDescription1* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); -#endif } /// @@ -6891,11 +5813,7 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface [VtblIndex(20)] public HResult FindClosestMatchingMode1(ModeDescription1* pModeToMatch, ModeDescription1* pClosestMatch, IUnknown* pConcernedDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); -#endif } /// @@ -6903,11 +5821,7 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface [VtblIndex(21)] public HResult GetDisplaySurfaceData1(IDXGIResource* pDestination) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pDestination); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pDestination); -#endif } /// @@ -6915,16 +5829,9 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface [VtblIndex(22)] public HResult DuplicateOutput(IUnknown* pDevice, IDXGIOutputDuplication** ppOutputDuplication) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pDevice, ppOutputDuplication); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pDevice, ppOutputDuplication); -#endif } - public interface Interface : IDXGIOutput.Interface - { - } } /// @@ -6932,7 +5839,7 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface [Guid("6007896c-3244-4afd-bf18-a6d3beda5023")] [NativeTypeName("struct IDXGIDevice3 : IDXGIDevice2")] [NativeInheritance("IDXGIDevice2")] -public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface +public unsafe partial struct IDXGIDevice3 { public static ref readonly Guid IID_IDXGIDevice3 { @@ -6993,11 +5900,7 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface [VtblIndex(3)] public HResult OfferResources(uint NumResources, IDXGIResource* ppResources, OfferResourcePriority Priority) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), NumResources, ppResources, Priority); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), NumResources, ppResources, Priority); -#endif } /// @@ -7005,11 +5908,7 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface [VtblIndex(4)] public HResult ReclaimResources(uint NumResources, IDXGIResource* ppResources, Bool32* pDiscarded) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), NumResources, ppResources, pDiscarded); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), NumResources, ppResources, pDiscarded); -#endif } /// @@ -7017,11 +5916,7 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface [VtblIndex(5)] public HResult EnqueueSetEvent(IntPtr hEvent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), hEvent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), hEvent); -#endif } /// @@ -7029,11 +5924,7 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface [VtblIndex(6)] public HResult SetMaximumFrameLatency(uint MaxLatency) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), MaxLatency); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), MaxLatency); -#endif } /// @@ -7041,11 +5932,7 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface [VtblIndex(7)] public HResult GetMaximumFrameLatency(uint* pMaxLatency) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), pMaxLatency); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), pMaxLatency); -#endif } /// @@ -7053,11 +5940,7 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface [VtblIndex(8)] public HResult GetAdapter(IDXGIAdapter** pAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), pAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), pAdapter); -#endif } /// @@ -7065,11 +5948,7 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface [VtblIndex(9)] public HResult CreateSurface(SurfaceDescription* pDesc, uint NumSurfaces, uint Usage, SharedResource* pSharedResource, IDXGISurface* ppSurface) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface); -#endif } /// @@ -7077,11 +5956,7 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface [VtblIndex(10)] public HResult QueryResourceResidency(IUnknown* ppResources, Residency* pResidencyStatus, uint NumResources) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources); -#endif } /// @@ -7089,11 +5964,7 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface [VtblIndex(11)] public HResult SetGPUThreadPriority(int Priority) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), Priority); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), Priority); -#endif } /// @@ -7101,11 +5972,7 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface [VtblIndex(12)] public HResult GetGPUThreadPriority(int* pPriority) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), pPriority); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), pPriority); -#endif } /// @@ -7113,11 +5980,7 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface [VtblIndex(13)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -7125,11 +5988,7 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface [VtblIndex(14)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -7137,11 +5996,7 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface [VtblIndex(15)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -7149,11 +6004,7 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface [VtblIndex(16)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -7161,16 +6012,9 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface [VtblIndex(17)] public void Trim() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[17]))((IDXGIDevice3*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGIDevice3*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : IDXGIDevice2.Interface - { - } } /// @@ -7178,7 +6022,7 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface [Guid("a8be2ac4-199f-4946-b331-79599fb98de7")] [NativeTypeName("struct IDXGISwapChain2 : IDXGISwapChain1")] [NativeInheritance("IDXGISwapChain1")] -public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface +public unsafe partial struct IDXGISwapChain2 { public static ref readonly Guid IID_IDXGISwapChain2 { @@ -7239,11 +6083,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(3)] public HResult GetDesc1(SwapChainDescription1* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -7251,11 +6091,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(4)] public HResult GetFullscreenDesc(SwapChainFullscreenDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -7263,11 +6099,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(5)] public HResult GetHwnd(IntPtr* pHwnd) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pHwnd); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pHwnd); -#endif } /// @@ -7275,11 +6107,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(6)] public HResult GetCoreWindow(Guid* refiid, void** ppUnk) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), refiid, ppUnk); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), refiid, ppUnk); -#endif } /// @@ -7287,11 +6115,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(7)] public HResult Present1(uint SyncInterval, uint PresentFlags, PresentParameters* pPresentParameters) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), SyncInterval, PresentFlags, pPresentParameters); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), SyncInterval, PresentFlags, pPresentParameters); -#endif } /// @@ -7299,11 +6123,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(8)] public Bool32 IsTemporaryMonoSupported() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -7311,11 +6131,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(9)] public HResult GetRestrictToOutput(IDXGIOutput* ppRestrictToOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), ppRestrictToOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), ppRestrictToOutput); -#endif } /// @@ -7323,11 +6139,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(10)] public HResult SetBackgroundColor(Rgba* pColor) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pColor); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pColor); -#endif } /// @@ -7335,11 +6147,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(11)] public HResult GetBackgroundColor(Rgba* pColor) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pColor); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pColor); -#endif } /// @@ -7347,11 +6155,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(12)] public HResult SetRotation(Common.ModeRotation Rotation) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Rotation); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Rotation); -#endif } /// @@ -7359,11 +6163,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(13)] public HResult GetRotation(Common.ModeRotation* pRotation) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pRotation); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pRotation); -#endif } /// @@ -7371,11 +6171,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(14)] public HResult Present(uint SyncInterval, uint Flags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), SyncInterval, Flags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), SyncInterval, Flags); -#endif } /// @@ -7383,11 +6179,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(15)] public HResult GetBuffer(uint Buffer, Guid* riid, void** ppSurface) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Buffer, riid, ppSurface); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Buffer, riid, ppSurface); -#endif } /// @@ -7395,11 +6187,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(16)] public HResult SetFullscreenState(Bool32 Fullscreen, IDXGIOutput* pTarget) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); -#endif } /// @@ -7407,11 +6195,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(17)] public HResult GetFullscreenState(Bool32* pFullscreen, IDXGIOutput** ppTarget) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pFullscreen, ppTarget); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pFullscreen, ppTarget); -#endif } /// @@ -7419,11 +6203,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(18)] public HResult GetDesc(SwapChainDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -7431,11 +6211,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(19)] public HResult ResizeBuffers(uint BufferCount, uint Width, uint Height, Common.Format NewFormat, uint SwapChainFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, NewFormat, SwapChainFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, NewFormat, SwapChainFlags); -#endif } /// @@ -7443,11 +6219,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(20)] public HResult ResizeTarget(Common.ModeDescription* pNewTargetParameters) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pNewTargetParameters); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pNewTargetParameters); -#endif } /// @@ -7455,11 +6227,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(21)] public HResult GetContainingOutput(IDXGIOutput** ppOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), ppOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), ppOutput); -#endif } /// @@ -7467,11 +6235,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(22)] public HResult GetFrameStatistics(FrameStatistics* pStats) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pStats); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pStats); -#endif } /// @@ -7479,11 +6243,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(23)] public HResult GetLastPresentCount(uint* pLastPresentCount) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pLastPresentCount); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pLastPresentCount); -#endif } /// @@ -7491,11 +6251,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(24)] public HResult GetDevice(Guid* riid, void** ppDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), riid, ppDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), riid, ppDevice); -#endif } /// @@ -7503,11 +6259,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(25)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -7515,11 +6267,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(26)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[26]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -7527,11 +6275,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(27)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -7539,11 +6283,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(28)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -7551,11 +6291,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(29)] public HResult SetSourceSize(uint Width, uint Height) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[29]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Width, Height); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Width, Height); -#endif } /// @@ -7563,11 +6299,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(30)] public HResult GetSourceSize(uint* pWidth, uint* pHeight) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[30]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pWidth, pHeight); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pWidth, pHeight); -#endif } /// @@ -7575,11 +6307,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(31)] public HResult SetMaximumFrameLatency(uint MaxLatency) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[31]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), MaxLatency); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), MaxLatency); -#endif } /// @@ -7587,11 +6315,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(32)] public HResult GetMaximumFrameLatency(uint* pMaxLatency) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[32]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pMaxLatency); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pMaxLatency); -#endif } /// @@ -7599,11 +6323,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(33)] public IntPtr GetFrameLatencyWaitableObject() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[33]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -7611,11 +6331,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(34)] public HResult SetMatrixTransform(Matrix3x2F* pMatrix) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[34]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pMatrix); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pMatrix); -#endif } /// @@ -7623,16 +6339,9 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [VtblIndex(35)] public HResult GetMatrixTransform(Matrix3x2F* pMatrix) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[35]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pMatrix); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pMatrix); -#endif } - public interface Interface : IDXGISwapChain1.Interface - { - } } /// @@ -7640,7 +6349,7 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface [Guid("595e39d1-2724-4663-99b1-da969de28364")] [NativeTypeName("struct IDXGIOutput2 : IDXGIOutput1")] [NativeInheritance("IDXGIOutput1")] -public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface +public unsafe partial struct IDXGIOutput2 { public static ref readonly Guid IID_IDXGIOutput2 { @@ -7701,11 +6410,7 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface [VtblIndex(3)] public HResult GetDisplayModeList1(Common.Format EnumFormat, uint Flags, uint* pNumModes, ModeDescription1* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); -#endif } /// @@ -7713,11 +6418,7 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface [VtblIndex(4)] public HResult FindClosestMatchingMode1(ModeDescription1* pModeToMatch, ModeDescription1* pClosestMatch, IUnknown* pConcernedDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); -#endif } /// @@ -7725,11 +6426,7 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface [VtblIndex(5)] public HResult GetDisplaySurfaceData1(IDXGIResource* pDestination) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pDestination); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pDestination); -#endif } /// @@ -7737,11 +6434,7 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface [VtblIndex(6)] public HResult DuplicateOutput(IUnknown* pDevice, IDXGIOutputDuplication** ppOutputDuplication) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pDevice, ppOutputDuplication); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pDevice, ppOutputDuplication); -#endif } /// @@ -7749,11 +6442,7 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface [VtblIndex(7)] public HResult GetDesc(OutputDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -7761,11 +6450,7 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface [VtblIndex(8)] public HResult GetDisplayModeList(Common.Format EnumFormat, uint Flags, uint* pNumModes, Common.ModeDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); -#endif } /// @@ -7773,11 +6458,7 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface [VtblIndex(9)] public HResult FindClosestMatchingMode(Common.ModeDescription* pModeToMatch, Common.ModeDescription* pClosestMatch, IUnknown* pConcernedDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); -#endif } /// @@ -7785,11 +6466,7 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface [VtblIndex(10)] public HResult WaitForVBlank() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIOutput2*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIOutput2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -7797,11 +6474,7 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface [VtblIndex(11)] public HResult TakeOwnership(IUnknown* pDevice, Bool32 Exclusive) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pDevice, Exclusive); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pDevice, Exclusive); -#endif } /// @@ -7809,11 +6482,7 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface [VtblIndex(12)] public void ReleaseOwnership() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[12]))((IDXGIOutput2*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIOutput2*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -7821,11 +6490,7 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface [VtblIndex(13)] public HResult GetGammaControlCapabilities(Common.GammaControlCapabilities* pGammaCaps) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pGammaCaps); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pGammaCaps); -#endif } /// @@ -7833,11 +6498,7 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface [VtblIndex(14)] public HResult SetGammaControl(Common.GammaControl* pArray) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pArray); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pArray); -#endif } /// @@ -7845,11 +6506,7 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface [VtblIndex(15)] public HResult GetGammaControl(Common.GammaControl* pArray) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pArray); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pArray); -#endif } /// @@ -7857,11 +6514,7 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface [VtblIndex(16)] public HResult SetDisplaySurface(IDXGISurface* pScanoutSurface) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pScanoutSurface); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pScanoutSurface); -#endif } /// @@ -7869,11 +6522,7 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface [VtblIndex(17)] public HResult GetDisplaySurfaceData(IDXGISurface* pDestination) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pDestination); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pDestination); -#endif } /// @@ -7881,11 +6530,7 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface [VtblIndex(18)] public HResult GetFrameStatistics(FrameStatistics* pStats) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pStats); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pStats); -#endif } /// @@ -7893,11 +6538,7 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface [VtblIndex(19)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -7905,11 +6546,7 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface [VtblIndex(20)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -7917,11 +6554,7 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface [VtblIndex(21)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -7929,11 +6562,7 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface [VtblIndex(22)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -7941,16 +6570,9 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface [VtblIndex(23)] public Bool32 SupportsOverlays() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((IDXGIOutput2*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDXGIOutput2*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : IDXGIOutput1.Interface - { - } } /// @@ -7958,7 +6580,7 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface [Guid("25483823-cd46-4c7d-86ca-47aa95b837bd")] [NativeTypeName("struct IDXGIFactory3 : IDXGIFactory2")] [NativeInheritance("IDXGIFactory2")] -public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface +public unsafe partial struct IDXGIFactory3 { public static ref readonly Guid IID_IDXGIFactory3 { @@ -8019,11 +6641,7 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface [VtblIndex(3)] public Bool32 IsWindowedStereoEnabled() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIFactory3*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIFactory3*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -8031,11 +6649,7 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface [VtblIndex(4)] public HResult CreateSwapChainForHwnd(IUnknown* pDevice, IntPtr hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); -#endif } /// @@ -8043,11 +6657,7 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface [VtblIndex(5)] public HResult CreateSwapChainForCoreWindow(IUnknown* pDevice, IUnknown* pWindow, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), pDevice, pWindow, pDesc, pRestrictToOutput, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), pDevice, pWindow, pDesc, pRestrictToOutput, ppSwapChain); -#endif } /// @@ -8055,11 +6665,7 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface [VtblIndex(6)] public HResult GetSharedResourceAdapterLuid(IntPtr hResource, Luid* pLuid) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), hResource, pLuid); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), hResource, pLuid); -#endif } /// @@ -8067,11 +6673,7 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface [VtblIndex(7)] public HResult RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); -#endif } /// @@ -8079,11 +6681,7 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface [VtblIndex(8)] public HResult RegisterStereoStatusEvent(IntPtr hEvent, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#endif } /// @@ -8091,11 +6689,7 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface [VtblIndex(9)] public void UnregisterStereoStatus(uint dwCookie) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[9]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), dwCookie); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), dwCookie); -#endif } /// @@ -8103,11 +6697,7 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface [VtblIndex(10)] public HResult RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); -#endif } /// @@ -8115,11 +6705,7 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface [VtblIndex(11)] public HResult RegisterOcclusionStatusEvent(IntPtr hEvent, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#endif } /// @@ -8127,11 +6713,7 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface [VtblIndex(12)] public void UnregisterOcclusionStatus(uint dwCookie) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[12]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), dwCookie); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), dwCookie); -#endif } /// @@ -8139,11 +6721,7 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface [VtblIndex(13)] public HResult CreateSwapChainForComposition(IUnknown* pDevice, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), pDevice, pDesc, pRestrictToOutput, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), pDevice, pDesc, pRestrictToOutput, ppSwapChain); -#endif } /// @@ -8151,11 +6729,7 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface [VtblIndex(14)] public HResult EnumAdapters1(uint Adapter, IDXGIAdapter1** ppAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#endif } /// @@ -8163,11 +6737,7 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface [VtblIndex(15)] public Bool32 IsCurrent() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((IDXGIFactory3*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIFactory3*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -8175,11 +6745,7 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface [VtblIndex(16)] public HResult EnumAdapters(uint Adapter, IDXGIAdapter** ppAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#endif } /// @@ -8187,11 +6753,7 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface [VtblIndex(17)] public HResult MakeWindowAssociation(IntPtr WindowHandle, uint Flags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), WindowHandle, Flags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), WindowHandle, Flags); -#endif } /// @@ -8199,11 +6761,7 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface [VtblIndex(18)] public HResult GetWindowAssociation(IntPtr* pWindowHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), pWindowHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), pWindowHandle); -#endif } /// @@ -8211,11 +6769,7 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface [VtblIndex(19)] public HResult CreateSwapChain(IUnknown* pDevice, SwapChainDescription* pDesc, IDXGISwapChain** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain); -#endif } /// @@ -8223,11 +6777,7 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface [VtblIndex(20)] public HResult CreateSoftwareAdapter(IntPtr Module, IDXGIAdapter** ppAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Module, ppAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Module, ppAdapter); -#endif } /// @@ -8235,11 +6785,7 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface [VtblIndex(21)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -8247,11 +6793,7 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface [VtblIndex(22)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -8259,11 +6801,7 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface [VtblIndex(23)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -8271,11 +6809,7 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface [VtblIndex(24)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -8283,16 +6817,9 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface [VtblIndex(25)] public uint GetCreationFlags() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((IDXGIFactory3*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDXGIFactory3*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : IDXGIFactory2.Interface - { - } } /// @@ -8300,7 +6827,7 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface [Guid("2633066b-4514-4c7a-8fd8-12ea98059d18")] [NativeTypeName("struct IDXGIDecodeSwapChain : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDXGIDecodeSwapChain : IDXGIDecodeSwapChain.Interface +public unsafe partial struct IDXGIDecodeSwapChain { public static ref readonly Guid IID_IDXGIDecodeSwapChain { @@ -8361,11 +6888,7 @@ public unsafe partial struct IDXGIDecodeSwapChain : IDXGIDecodeSwapChain.Interfa [VtblIndex(3)] public HResult PresentBuffer(uint BufferToPresent, uint SyncInterval, uint Flags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), BufferToPresent, SyncInterval, Flags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), BufferToPresent, SyncInterval, Flags); -#endif } /// @@ -8373,11 +6896,7 @@ public unsafe partial struct IDXGIDecodeSwapChain : IDXGIDecodeSwapChain.Interfa [VtblIndex(4)] public HResult SetSourceRect(RawRect* pRect) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), pRect); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), pRect); -#endif } /// @@ -8385,11 +6904,7 @@ public unsafe partial struct IDXGIDecodeSwapChain : IDXGIDecodeSwapChain.Interfa [VtblIndex(5)] public HResult SetTargetRect(RawRect* pRect) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), pRect); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), pRect); -#endif } /// @@ -8397,11 +6912,7 @@ public unsafe partial struct IDXGIDecodeSwapChain : IDXGIDecodeSwapChain.Interfa [VtblIndex(6)] public HResult SetDestSize(uint Width, uint Height) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), Width, Height); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), Width, Height); -#endif } /// @@ -8409,11 +6920,7 @@ public unsafe partial struct IDXGIDecodeSwapChain : IDXGIDecodeSwapChain.Interfa [VtblIndex(7)] public HResult GetSourceRect(RawRect* pRect) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), pRect); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), pRect); -#endif } /// @@ -8421,11 +6928,7 @@ public unsafe partial struct IDXGIDecodeSwapChain : IDXGIDecodeSwapChain.Interfa [VtblIndex(8)] public HResult GetTargetRect(RawRect* pRect) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), pRect); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), pRect); -#endif } /// @@ -8433,11 +6936,7 @@ public unsafe partial struct IDXGIDecodeSwapChain : IDXGIDecodeSwapChain.Interfa [VtblIndex(9)] public HResult GetDestSize(uint* pWidth, uint* pHeight) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), pWidth, pHeight); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), pWidth, pHeight); -#endif } /// @@ -8445,11 +6944,7 @@ public unsafe partial struct IDXGIDecodeSwapChain : IDXGIDecodeSwapChain.Interfa [VtblIndex(10)] public HResult SetColorSpace(MultiplaneOverlayYcbcrFlags ColorSpace) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), ColorSpace); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), ColorSpace); -#endif } /// @@ -8457,16 +6952,9 @@ public unsafe partial struct IDXGIDecodeSwapChain : IDXGIDecodeSwapChain.Interfa [VtblIndex(11)] public Graphics.Dxgi.MultiplaneOverlayYcbcrFlags GetColorSpace() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -8474,7 +6962,7 @@ public unsafe partial struct IDXGIDecodeSwapChain : IDXGIDecodeSwapChain.Interfa [Guid("41e7d1f2-a591-4f7b-a2e5-fa9c843e1c12")] [NativeTypeName("struct IDXGIFactoryMedia : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDXGIFactoryMedia : IDXGIFactoryMedia.Interface +public unsafe partial struct IDXGIFactoryMedia { public static ref readonly Guid IID_IDXGIFactoryMedia { @@ -8535,11 +7023,7 @@ public unsafe partial struct IDXGIFactoryMedia : IDXGIFactoryMedia.Interface [VtblIndex(3)] public HResult CreateSwapChainForCompositionSurfaceHandle(IUnknown* pDevice, IntPtr hSurface, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIFactoryMedia*)Unsafe.AsPointer(ref this), pDevice, hSurface, pDesc, pRestrictToOutput, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIFactoryMedia*)Unsafe.AsPointer(ref this), pDevice, hSurface, pDesc, pRestrictToOutput, ppSwapChain); -#endif } /// @@ -8547,16 +7031,9 @@ public unsafe partial struct IDXGIFactoryMedia : IDXGIFactoryMedia.Interface [VtblIndex(4)] public HResult CreateDecodeSwapChainForCompositionSurfaceHandle(IUnknown* pDevice, IntPtr hSurface, DecodeSwapChainDescription* pDesc, IDXGIResource* pYuvDecodeBuffers, IDXGIOutput* pRestrictToOutput, IDXGIDecodeSwapChain** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIFactoryMedia*)Unsafe.AsPointer(ref this), pDevice, hSurface, pDesc, pYuvDecodeBuffers, pRestrictToOutput, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIFactoryMedia*)Unsafe.AsPointer(ref this), pDevice, hSurface, pDesc, pYuvDecodeBuffers, pRestrictToOutput, ppSwapChain); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -8564,7 +7041,7 @@ public unsafe partial struct IDXGIFactoryMedia : IDXGIFactoryMedia.Interface [Guid("dd95b90b-f05f-4f6a-bd65-25bfb264bd84")] [NativeTypeName("struct IDXGISwapChainMedia : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDXGISwapChainMedia : IDXGISwapChainMedia.Interface +public unsafe partial struct IDXGISwapChainMedia { public static ref readonly Guid IID_IDXGISwapChainMedia { @@ -8625,11 +7102,7 @@ public unsafe partial struct IDXGISwapChainMedia : IDXGISwapChainMedia.Interface [VtblIndex(3)] public HResult GetFrameStatisticsMedia(FrameStatisticsMedia* pStats) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGISwapChainMedia*)Unsafe.AsPointer(ref this), pStats); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGISwapChainMedia*)Unsafe.AsPointer(ref this), pStats); -#endif } /// @@ -8637,11 +7110,7 @@ public unsafe partial struct IDXGISwapChainMedia : IDXGISwapChainMedia.Interface [VtblIndex(4)] public HResult SetPresentDuration(uint Duration) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGISwapChainMedia*)Unsafe.AsPointer(ref this), Duration); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGISwapChainMedia*)Unsafe.AsPointer(ref this), Duration); -#endif } /// @@ -8649,16 +7118,9 @@ public unsafe partial struct IDXGISwapChainMedia : IDXGISwapChainMedia.Interface [VtblIndex(5)] public HResult CheckPresentDurationSupport(uint DesiredPresentDuration, uint* pClosestSmallerPresentDuration, uint* pClosestLargerPresentDuration) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGISwapChainMedia*)Unsafe.AsPointer(ref this), DesiredPresentDuration, pClosestSmallerPresentDuration, pClosestLargerPresentDuration); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGISwapChainMedia*)Unsafe.AsPointer(ref this), DesiredPresentDuration, pClosestSmallerPresentDuration, pClosestLargerPresentDuration); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -8666,7 +7128,7 @@ public unsafe partial struct IDXGISwapChainMedia : IDXGISwapChainMedia.Interface [Guid("8a6bb301-7e7e-41f4-a8e0-5b32f7f99b18")] [NativeTypeName("struct IDXGIOutput3 : IDXGIOutput2")] [NativeInheritance("IDXGIOutput2")] -public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface +public unsafe partial struct IDXGIOutput3 { public static ref readonly Guid IID_IDXGIOutput3 { @@ -8727,11 +7189,7 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface [VtblIndex(3)] public Bool32 SupportsOverlays() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIOutput3*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIOutput3*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -8739,11 +7197,7 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface [VtblIndex(4)] public HResult GetDisplayModeList1(Common.Format EnumFormat, uint Flags, uint* pNumModes, ModeDescription1* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); -#endif } /// @@ -8751,11 +7205,7 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface [VtblIndex(5)] public HResult FindClosestMatchingMode1(ModeDescription1* pModeToMatch, ModeDescription1* pClosestMatch, IUnknown* pConcernedDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); -#endif } /// @@ -8763,11 +7213,7 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface [VtblIndex(6)] public HResult GetDisplaySurfaceData1(IDXGIResource* pDestination) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pDestination); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pDestination); -#endif } /// @@ -8775,11 +7221,7 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface [VtblIndex(7)] public HResult DuplicateOutput(IUnknown* pDevice, IDXGIOutputDuplication** ppOutputDuplication) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pDevice, ppOutputDuplication); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pDevice, ppOutputDuplication); -#endif } /// @@ -8787,11 +7229,7 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface [VtblIndex(8)] public HResult GetDesc(OutputDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -8799,11 +7237,7 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface [VtblIndex(9)] public HResult GetDisplayModeList(Common.Format EnumFormat, uint Flags, uint* pNumModes, Common.ModeDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); -#endif } /// @@ -8811,11 +7245,7 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface [VtblIndex(10)] public HResult FindClosestMatchingMode(Common.ModeDescription* pModeToMatch, Common.ModeDescription* pClosestMatch, IUnknown* pConcernedDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); -#endif } /// @@ -8823,11 +7253,7 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface [VtblIndex(11)] public HResult WaitForVBlank() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIOutput3*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIOutput3*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -8835,11 +7261,7 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface [VtblIndex(12)] public HResult TakeOwnership(IUnknown* pDevice, Bool32 Exclusive) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pDevice, Exclusive); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pDevice, Exclusive); -#endif } /// @@ -8847,11 +7269,7 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface [VtblIndex(13)] public void ReleaseOwnership() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[13]))((IDXGIOutput3*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIOutput3*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -8859,11 +7277,7 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface [VtblIndex(14)] public HResult GetGammaControlCapabilities(Common.GammaControlCapabilities* pGammaCaps) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pGammaCaps); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pGammaCaps); -#endif } /// @@ -8871,11 +7285,7 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface [VtblIndex(15)] public HResult SetGammaControl(Common.GammaControl* pArray) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pArray); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pArray); -#endif } /// @@ -8883,11 +7293,7 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface [VtblIndex(16)] public HResult GetGammaControl(Common.GammaControl* pArray) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pArray); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pArray); -#endif } /// @@ -8895,11 +7301,7 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface [VtblIndex(17)] public HResult SetDisplaySurface(IDXGISurface* pScanoutSurface) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pScanoutSurface); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pScanoutSurface); -#endif } /// @@ -8907,11 +7309,7 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface [VtblIndex(18)] public HResult GetDisplaySurfaceData(IDXGISurface* pDestination) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pDestination); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pDestination); -#endif } /// @@ -8919,11 +7317,7 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface [VtblIndex(19)] public HResult GetFrameStatistics(FrameStatistics* pStats) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pStats); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pStats); -#endif } /// @@ -8931,11 +7325,7 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface [VtblIndex(20)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -8943,11 +7333,7 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface [VtblIndex(21)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -8955,11 +7341,7 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface [VtblIndex(22)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -8967,11 +7349,7 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface [VtblIndex(23)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -8979,16 +7357,9 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface [VtblIndex(24)] public HResult CheckOverlaySupport(Common.Format EnumFormat, IUnknown* pConcernedDevice, uint* pFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), EnumFormat, pConcernedDevice, pFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), EnumFormat, pConcernedDevice, pFlags); -#endif } - public interface Interface : IDXGIOutput2.Interface - { - } } /// @@ -8996,7 +7367,7 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface [Guid("94d99bdb-f1f8-4ab0-b236-7da0170edab1")] [NativeTypeName("struct IDXGISwapChain3 : IDXGISwapChain2")] [NativeInheritance("IDXGISwapChain2")] -public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface +public unsafe partial struct IDXGISwapChain3 { public static ref readonly Guid IID_IDXGISwapChain3 { @@ -9057,11 +7428,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(3)] public HResult SetSourceSize(uint Width, uint Height) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Width, Height); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Width, Height); -#endif } /// @@ -9069,11 +7436,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(4)] public HResult GetSourceSize(uint* pWidth, uint* pHeight) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pWidth, pHeight); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pWidth, pHeight); -#endif } /// @@ -9081,11 +7444,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(5)] public HResult SetMaximumFrameLatency(uint MaxLatency) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), MaxLatency); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), MaxLatency); -#endif } /// @@ -9093,11 +7452,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(6)] public HResult GetMaximumFrameLatency(uint* pMaxLatency) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pMaxLatency); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pMaxLatency); -#endif } /// @@ -9105,11 +7460,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(7)] public IntPtr GetFrameLatencyWaitableObject() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -9117,11 +7468,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(8)] public HResult SetMatrixTransform(Matrix3x2F* pMatrix) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pMatrix); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pMatrix); -#endif } /// @@ -9129,11 +7476,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(9)] public HResult GetMatrixTransform(Matrix3x2F* pMatrix) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pMatrix); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pMatrix); -#endif } /// @@ -9141,11 +7484,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(10)] public HResult GetDesc1(SwapChainDescription1* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -9153,11 +7492,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(11)] public HResult GetFullscreenDesc(SwapChainFullscreenDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -9165,11 +7500,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(12)] public HResult GetHwnd(IntPtr* pHwnd) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pHwnd); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pHwnd); -#endif } /// @@ -9177,11 +7508,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(13)] public HResult GetCoreWindow(Guid* refiid, void** ppUnk) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), refiid, ppUnk); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), refiid, ppUnk); -#endif } /// @@ -9189,11 +7516,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(14)] public HResult Present1(uint SyncInterval, uint PresentFlags, PresentParameters* pPresentParameters) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), SyncInterval, PresentFlags, pPresentParameters); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), SyncInterval, PresentFlags, pPresentParameters); -#endif } /// @@ -9201,11 +7524,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(15)] public Bool32 IsTemporaryMonoSupported() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -9213,11 +7532,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(16)] public HResult GetRestrictToOutput(IDXGIOutput* ppRestrictToOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), ppRestrictToOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), ppRestrictToOutput); -#endif } /// @@ -9225,11 +7540,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(17)] public HResult SetBackgroundColor(Rgba* pColor) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pColor); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pColor); -#endif } /// @@ -9237,11 +7548,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(18)] public HResult GetBackgroundColor(Rgba* pColor) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pColor); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pColor); -#endif } /// @@ -9249,11 +7556,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(19)] public HResult SetRotation(Common.ModeRotation Rotation) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Rotation); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Rotation); -#endif } /// @@ -9261,11 +7564,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(20)] public HResult GetRotation(Common.ModeRotation* pRotation) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pRotation); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pRotation); -#endif } /// @@ -9273,11 +7572,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(21)] public HResult Present(uint SyncInterval, uint Flags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), SyncInterval, Flags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), SyncInterval, Flags); -#endif } /// @@ -9285,11 +7580,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(22)] public HResult GetBuffer(uint Buffer, Guid* riid, void** ppSurface) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Buffer, riid, ppSurface); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Buffer, riid, ppSurface); -#endif } /// @@ -9297,11 +7588,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(23)] public HResult SetFullscreenState(Bool32 Fullscreen, IDXGIOutput* pTarget) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); -#endif } /// @@ -9309,11 +7596,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(24)] public HResult GetFullscreenState(Bool32* pFullscreen, IDXGIOutput** ppTarget) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pFullscreen, ppTarget); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pFullscreen, ppTarget); -#endif } /// @@ -9321,11 +7604,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(25)] public HResult GetDesc(SwapChainDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -9333,11 +7612,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(26)] public HResult ResizeBuffers(uint BufferCount, uint Width, uint Height, Common.Format NewFormat, uint SwapChainFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[26]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, NewFormat, SwapChainFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, NewFormat, SwapChainFlags); -#endif } /// @@ -9345,11 +7620,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(27)] public HResult ResizeTarget(Common.ModeDescription* pNewTargetParameters) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pNewTargetParameters); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pNewTargetParameters); -#endif } /// @@ -9357,11 +7628,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(28)] public HResult GetContainingOutput(IDXGIOutput** ppOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), ppOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), ppOutput); -#endif } /// @@ -9369,11 +7636,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(29)] public HResult GetFrameStatistics(FrameStatistics* pStats) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[29]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pStats); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pStats); -#endif } /// @@ -9381,11 +7644,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(30)] public HResult GetLastPresentCount(uint* pLastPresentCount) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[30]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pLastPresentCount); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pLastPresentCount); -#endif } /// @@ -9393,11 +7652,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(31)] public HResult GetDevice(Guid* riid, void** ppDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[31]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), riid, ppDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), riid, ppDevice); -#endif } /// @@ -9405,11 +7660,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(32)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[32]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -9417,11 +7668,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(33)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[33]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -9429,11 +7676,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(34)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[34]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -9441,11 +7684,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(35)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[35]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -9453,11 +7692,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(36)] public uint GetCurrentBackBufferIndex() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[36]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -9465,11 +7700,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(37)] public HResult CheckColorSpaceSupport(Common.ColorSpaceType ColorSpace, uint* pColorSpaceSupport) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[37]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), ColorSpace, pColorSpaceSupport); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), ColorSpace, pColorSpaceSupport); -#endif } /// @@ -9477,11 +7708,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(38)] public HResult SetColorSpace1(Common.ColorSpaceType ColorSpace) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[38]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), ColorSpace); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), ColorSpace); -#endif } /// @@ -9489,16 +7716,9 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [VtblIndex(39)] public HResult ResizeBuffers1(uint BufferCount, uint Width, uint Height, Common.Format Format, uint SwapChainFlags, uint* pCreationNodeMask, IUnknown* ppPresentQueue) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[39]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, Format, SwapChainFlags, pCreationNodeMask, ppPresentQueue); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, Format, SwapChainFlags, pCreationNodeMask, ppPresentQueue); -#endif } - public interface Interface : IDXGISwapChain2.Interface - { - } } /// @@ -9506,7 +7726,7 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface [Guid("dc7dca35-2196-414d-9f53-617884032a60")] [NativeTypeName("struct IDXGIOutput4 : IDXGIOutput3")] [NativeInheritance("IDXGIOutput3")] -public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface +public unsafe partial struct IDXGIOutput4 { public static ref readonly Guid IID_IDXGIOutput4 { @@ -9567,11 +7787,7 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface [VtblIndex(3)] public HResult CheckOverlaySupport(Common.Format EnumFormat, IUnknown* pConcernedDevice, uint* pFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), EnumFormat, pConcernedDevice, pFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), EnumFormat, pConcernedDevice, pFlags); -#endif } /// @@ -9579,11 +7795,7 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface [VtblIndex(4)] public Bool32 SupportsOverlays() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIOutput4*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIOutput4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -9591,11 +7803,7 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface [VtblIndex(5)] public HResult GetDisplayModeList1(Common.Format EnumFormat, uint Flags, uint* pNumModes, ModeDescription1* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); -#endif } /// @@ -9603,11 +7811,7 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface [VtblIndex(6)] public HResult FindClosestMatchingMode1(ModeDescription1* pModeToMatch, ModeDescription1* pClosestMatch, IUnknown* pConcernedDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); -#endif } /// @@ -9615,11 +7819,7 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface [VtblIndex(7)] public HResult GetDisplaySurfaceData1(IDXGIResource* pDestination) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pDestination); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pDestination); -#endif } /// @@ -9627,11 +7827,7 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface [VtblIndex(8)] public HResult DuplicateOutput(IUnknown* pDevice, IDXGIOutputDuplication** ppOutputDuplication) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pDevice, ppOutputDuplication); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pDevice, ppOutputDuplication); -#endif } /// @@ -9639,11 +7835,7 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface [VtblIndex(9)] public HResult GetDesc(OutputDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -9651,11 +7843,7 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface [VtblIndex(10)] public HResult GetDisplayModeList(Common.Format EnumFormat, uint Flags, uint* pNumModes, Common.ModeDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); -#endif } /// @@ -9663,11 +7851,7 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface [VtblIndex(11)] public HResult FindClosestMatchingMode(Common.ModeDescription* pModeToMatch, Common.ModeDescription* pClosestMatch, IUnknown* pConcernedDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); -#endif } /// @@ -9675,11 +7859,7 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface [VtblIndex(12)] public HResult WaitForVBlank() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIOutput4*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIOutput4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -9687,11 +7867,7 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface [VtblIndex(13)] public HResult TakeOwnership(IUnknown* pDevice, Bool32 Exclusive) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pDevice, Exclusive); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pDevice, Exclusive); -#endif } /// @@ -9699,11 +7875,7 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface [VtblIndex(14)] public void ReleaseOwnership() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[14]))((IDXGIOutput4*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIOutput4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -9711,11 +7883,7 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface [VtblIndex(15)] public HResult GetGammaControlCapabilities(Common.GammaControlCapabilities* pGammaCaps) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pGammaCaps); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pGammaCaps); -#endif } /// @@ -9723,11 +7891,7 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface [VtblIndex(16)] public HResult SetGammaControl(Common.GammaControl* pArray) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pArray); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pArray); -#endif } /// @@ -9735,11 +7899,7 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface [VtblIndex(17)] public HResult GetGammaControl(Common.GammaControl* pArray) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pArray); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pArray); -#endif } /// @@ -9747,11 +7907,7 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface [VtblIndex(18)] public HResult SetDisplaySurface(IDXGISurface* pScanoutSurface) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pScanoutSurface); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pScanoutSurface); -#endif } /// @@ -9759,11 +7915,7 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface [VtblIndex(19)] public HResult GetDisplaySurfaceData(IDXGISurface* pDestination) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pDestination); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pDestination); -#endif } /// @@ -9771,11 +7923,7 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface [VtblIndex(20)] public HResult GetFrameStatistics(FrameStatistics* pStats) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pStats); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pStats); -#endif } /// @@ -9783,11 +7931,7 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface [VtblIndex(21)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -9795,11 +7939,7 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface [VtblIndex(22)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -9807,11 +7947,7 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface [VtblIndex(23)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -9819,11 +7955,7 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface [VtblIndex(24)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -9831,16 +7963,9 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface [VtblIndex(25)] public HResult CheckOverlayColorSpaceSupport(Common.Format Format, Common.ColorSpaceType ColorSpace, IUnknown* pConcernedDevice, uint* pFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), Format, ColorSpace, pConcernedDevice, pFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), Format, ColorSpace, pConcernedDevice, pFlags); -#endif } - public interface Interface : IDXGIOutput3.Interface - { - } } /// @@ -9848,7 +7973,7 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface [Guid("1bc6ea02-ef36-464f-bf0c-21ca39e5168a")] [NativeTypeName("struct IDXGIFactory4 : IDXGIFactory3")] [NativeInheritance("IDXGIFactory3")] -public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface +public unsafe partial struct IDXGIFactory4 { public static ref readonly Guid IID_IDXGIFactory4 { @@ -9909,11 +8034,7 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface [VtblIndex(3)] public uint GetCreationFlags() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIFactory4*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIFactory4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -9921,11 +8042,7 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface [VtblIndex(4)] public Bool32 IsWindowedStereoEnabled() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIFactory4*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIFactory4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -9933,11 +8050,7 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface [VtblIndex(5)] public HResult CreateSwapChainForHwnd(IUnknown* pDevice, IntPtr hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); -#endif } /// @@ -9945,11 +8058,7 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface [VtblIndex(6)] public HResult CreateSwapChainForCoreWindow(IUnknown* pDevice, IUnknown* pWindow, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), pDevice, pWindow, pDesc, pRestrictToOutput, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), pDevice, pWindow, pDesc, pRestrictToOutput, ppSwapChain); -#endif } /// @@ -9957,11 +8066,7 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface [VtblIndex(7)] public HResult GetSharedResourceAdapterLuid(IntPtr hResource, Luid* pLuid) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), hResource, pLuid); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), hResource, pLuid); -#endif } /// @@ -9969,11 +8074,7 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface [VtblIndex(8)] public HResult RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); -#endif } /// @@ -9981,11 +8082,7 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface [VtblIndex(9)] public HResult RegisterStereoStatusEvent(IntPtr hEvent, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#endif } /// @@ -9993,11 +8090,7 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface [VtblIndex(10)] public void UnregisterStereoStatus(uint dwCookie) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[10]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), dwCookie); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), dwCookie); -#endif } /// @@ -10005,11 +8098,7 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface [VtblIndex(11)] public HResult RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); -#endif } /// @@ -10017,11 +8106,7 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface [VtblIndex(12)] public HResult RegisterOcclusionStatusEvent(IntPtr hEvent, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#endif } /// @@ -10029,11 +8114,7 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface [VtblIndex(13)] public void UnregisterOcclusionStatus(uint dwCookie) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[13]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), dwCookie); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), dwCookie); -#endif } /// @@ -10041,11 +8122,7 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface [VtblIndex(14)] public HResult CreateSwapChainForComposition(IUnknown* pDevice, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), pDevice, pDesc, pRestrictToOutput, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), pDevice, pDesc, pRestrictToOutput, ppSwapChain); -#endif } /// @@ -10053,11 +8130,7 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface [VtblIndex(15)] public HResult EnumAdapters1(uint Adapter, IDXGIAdapter1** ppAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#endif } /// @@ -10065,11 +8138,7 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface [VtblIndex(16)] public Bool32 IsCurrent() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((IDXGIFactory4*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIFactory4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -10077,11 +8146,7 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface [VtblIndex(17)] public HResult EnumAdapters(uint Adapter, IDXGIAdapter** ppAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#endif } /// @@ -10089,11 +8154,7 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface [VtblIndex(18)] public HResult MakeWindowAssociation(IntPtr WindowHandle, uint Flags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), WindowHandle, Flags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), WindowHandle, Flags); -#endif } /// @@ -10101,11 +8162,7 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface [VtblIndex(19)] public HResult GetWindowAssociation(IntPtr* pWindowHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), pWindowHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), pWindowHandle); -#endif } /// @@ -10113,11 +8170,7 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface [VtblIndex(20)] public HResult CreateSwapChain(IUnknown* pDevice, SwapChainDescription* pDesc, IDXGISwapChain** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain); -#endif } /// @@ -10125,11 +8178,7 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface [VtblIndex(21)] public HResult CreateSoftwareAdapter(IntPtr Module, IDXGIAdapter** ppAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Module, ppAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Module, ppAdapter); -#endif } /// @@ -10137,11 +8186,7 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface [VtblIndex(22)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -10149,11 +8194,7 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface [VtblIndex(23)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -10161,11 +8202,7 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface [VtblIndex(24)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -10173,11 +8210,7 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface [VtblIndex(25)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -10185,11 +8218,7 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface [VtblIndex(26)] public HResult EnumAdapterByLuid(Luid* AdapterLuid, Guid* riid, void** ppvAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[26]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), AdapterLuid, riid, ppvAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), AdapterLuid, riid, ppvAdapter); -#endif } /// @@ -10197,16 +8226,9 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface [VtblIndex(27)] public HResult EnumWarpAdapter(Guid* riid, void** ppvAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), riid, ppvAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), riid, ppvAdapter); -#endif } - public interface Interface : IDXGIFactory3.Interface - { - } } /// @@ -10214,7 +8236,7 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface [Guid("645967a4-1392-4310-a798-8053ce3e93fd")] [NativeTypeName("struct IDXGIAdapter3 : IDXGIAdapter2")] [NativeInheritance("IDXGIAdapter2")] -public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface +public unsafe partial struct IDXGIAdapter3 { public static ref readonly Guid IID_IDXGIAdapter3 { @@ -10275,11 +8297,7 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface [VtblIndex(3)] public HResult GetDesc2(AdapterDescription2* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -10287,11 +8305,7 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface [VtblIndex(4)] public HResult GetDesc1(AdapterDescription1* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -10299,11 +8313,7 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface [VtblIndex(5)] public HResult EnumOutputs(uint Output, IDXGIOutput** ppOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), Output, ppOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), Output, ppOutput); -#endif } /// @@ -10311,11 +8321,7 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface [VtblIndex(6)] public HResult GetDesc(AdapterDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -10323,11 +8329,7 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface [VtblIndex(7)] public HResult CheckInterfaceSupport(Guid* InterfaceName, LargeInterger* pUMDVersion) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), InterfaceName, pUMDVersion); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), InterfaceName, pUMDVersion); -#endif } /// @@ -10335,11 +8337,7 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface [VtblIndex(8)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -10347,11 +8345,7 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface [VtblIndex(9)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -10359,11 +8353,7 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface [VtblIndex(10)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -10371,11 +8361,7 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface [VtblIndex(11)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -10383,11 +8369,7 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface [VtblIndex(12)] public HResult RegisterHardwareContentProtectionTeardownStatusEvent(IntPtr hEvent, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#endif } /// @@ -10395,11 +8377,7 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface [VtblIndex(13)] public void UnregisterHardwareContentProtectionTeardownStatus(uint dwCookie) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[13]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), dwCookie); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), dwCookie); -#endif } /// @@ -10407,11 +8385,7 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface [VtblIndex(14)] public HResult QueryVideoMemoryInfo(uint NodeIndex, MemorySegmentGroup MemorySegmentGroup, QueryVideoMemoryInfo* pVideoMemoryInfo) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), NodeIndex, MemorySegmentGroup, pVideoMemoryInfo); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), NodeIndex, MemorySegmentGroup, pVideoMemoryInfo); -#endif } /// @@ -10419,11 +8393,7 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface [VtblIndex(15)] public HResult SetVideoMemoryReservation(uint NodeIndex, MemorySegmentGroup MemorySegmentGroup, ulong Reservation) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), NodeIndex, MemorySegmentGroup, Reservation); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), NodeIndex, MemorySegmentGroup, Reservation); -#endif } /// @@ -10431,11 +8401,7 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface [VtblIndex(16)] public HResult RegisterVideoMemoryBudgetChangeNotificationEvent(IntPtr hEvent, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#endif } /// @@ -10443,16 +8409,9 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface [VtblIndex(17)] public void UnregisterVideoMemoryBudgetChangeNotification(uint dwCookie) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[17]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), dwCookie); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), dwCookie); -#endif } - public interface Interface : IDXGIAdapter2.Interface - { - } } /// @@ -10460,7 +8419,7 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface [Guid("80a07424-ab52-42eb-833c-0c42fd282d98")] [NativeTypeName("struct IDXGIOutput5 : IDXGIOutput4")] [NativeInheritance("IDXGIOutput4")] -public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface +public unsafe partial struct IDXGIOutput5 { public static ref readonly Guid IID_IDXGIOutput5 { @@ -10521,11 +8480,7 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface [VtblIndex(3)] public HResult CheckOverlayColorSpaceSupport(Common.Format Format, Common.ColorSpaceType ColorSpace, IUnknown* pConcernedDevice, uint* pFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), Format, ColorSpace, pConcernedDevice, pFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), Format, ColorSpace, pConcernedDevice, pFlags); -#endif } /// @@ -10533,11 +8488,7 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface [VtblIndex(4)] public HResult CheckOverlaySupport(Common.Format EnumFormat, IUnknown* pConcernedDevice, uint* pFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), EnumFormat, pConcernedDevice, pFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), EnumFormat, pConcernedDevice, pFlags); -#endif } /// @@ -10545,11 +8496,7 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface [VtblIndex(5)] public Bool32 SupportsOverlays() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIOutput5*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIOutput5*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -10557,11 +8504,7 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface [VtblIndex(6)] public HResult GetDisplayModeList1(Common.Format EnumFormat, uint Flags, uint* pNumModes, ModeDescription1* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); -#endif } /// @@ -10569,11 +8512,7 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface [VtblIndex(7)] public HResult FindClosestMatchingMode1(ModeDescription1* pModeToMatch, ModeDescription1* pClosestMatch, IUnknown* pConcernedDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); -#endif } /// @@ -10581,11 +8520,7 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface [VtblIndex(8)] public HResult GetDisplaySurfaceData1(IDXGIResource* pDestination) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDestination); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDestination); -#endif } /// @@ -10593,11 +8528,7 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface [VtblIndex(9)] public HResult DuplicateOutput(IUnknown* pDevice, IDXGIOutputDuplication** ppOutputDuplication) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDevice, ppOutputDuplication); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDevice, ppOutputDuplication); -#endif } /// @@ -10605,11 +8536,7 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface [VtblIndex(10)] public HResult GetDesc(OutputDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -10617,11 +8544,7 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface [VtblIndex(11)] public HResult GetDisplayModeList(Common.Format EnumFormat, uint Flags, uint* pNumModes, Common.ModeDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); -#endif } /// @@ -10629,11 +8552,7 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface [VtblIndex(12)] public HResult FindClosestMatchingMode(Common.ModeDescription* pModeToMatch, Common.ModeDescription* pClosestMatch, IUnknown* pConcernedDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); -#endif } /// @@ -10641,11 +8560,7 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface [VtblIndex(13)] public HResult WaitForVBlank() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGIOutput5*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIOutput5*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -10653,11 +8568,7 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface [VtblIndex(14)] public HResult TakeOwnership(IUnknown* pDevice, Bool32 Exclusive) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDevice, Exclusive); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDevice, Exclusive); -#endif } /// @@ -10665,11 +8576,7 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface [VtblIndex(15)] public void ReleaseOwnership() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[15]))((IDXGIOutput5*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIOutput5*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -10677,11 +8584,7 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface [VtblIndex(16)] public HResult GetGammaControlCapabilities(Common.GammaControlCapabilities* pGammaCaps) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pGammaCaps); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pGammaCaps); -#endif } /// @@ -10689,11 +8592,7 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface [VtblIndex(17)] public HResult SetGammaControl(Common.GammaControl* pArray) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pArray); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pArray); -#endif } /// @@ -10701,11 +8600,7 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface [VtblIndex(18)] public HResult GetGammaControl(Common.GammaControl* pArray) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pArray); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pArray); -#endif } /// @@ -10713,11 +8608,7 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface [VtblIndex(19)] public HResult SetDisplaySurface(IDXGISurface* pScanoutSurface) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pScanoutSurface); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pScanoutSurface); -#endif } /// @@ -10725,11 +8616,7 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface [VtblIndex(20)] public HResult GetDisplaySurfaceData(IDXGISurface* pDestination) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDestination); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDestination); -#endif } /// @@ -10737,11 +8624,7 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface [VtblIndex(21)] public HResult GetFrameStatistics(FrameStatistics* pStats) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pStats); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pStats); -#endif } /// @@ -10749,11 +8632,7 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface [VtblIndex(22)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -10761,11 +8640,7 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface [VtblIndex(23)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -10773,11 +8648,7 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface [VtblIndex(24)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -10785,11 +8656,7 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface [VtblIndex(25)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -10797,16 +8664,9 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface [VtblIndex(26)] public HResult DuplicateOutput1(IUnknown* pDevice, uint Flags, uint SupportedFormatsCount, Common.Format* pSupportedFormats, IDXGIOutputDuplication** ppOutputDuplication) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[26]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDevice, Flags, SupportedFormatsCount, pSupportedFormats, ppOutputDuplication); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDevice, Flags, SupportedFormatsCount, pSupportedFormats, ppOutputDuplication); -#endif } - public interface Interface : IDXGIOutput4.Interface - { - } } /// @@ -10814,7 +8674,7 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface [Guid("3d585d5a-bd4a-489e-b1f4-3dbcb6452ffb")] [NativeTypeName("struct IDXGISwapChain4 : IDXGISwapChain3")] [NativeInheritance("IDXGISwapChain3")] -public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface +public unsafe partial struct IDXGISwapChain4 { public static ref readonly Guid IID_IDXGISwapChain4 { @@ -10875,11 +8735,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(3)] public uint GetCurrentBackBufferIndex() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -10887,11 +8743,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(4)] public HResult CheckColorSpaceSupport(Common.ColorSpaceType ColorSpace, uint* pColorSpaceSupport) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), ColorSpace, pColorSpaceSupport); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), ColorSpace, pColorSpaceSupport); -#endif } /// @@ -10899,11 +8751,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(5)] public HResult SetColorSpace1(Common.ColorSpaceType ColorSpace) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), ColorSpace); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), ColorSpace); -#endif } /// @@ -10911,11 +8759,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(6)] public HResult ResizeBuffers1(uint BufferCount, uint Width, uint Height, Common.Format Format, uint SwapChainFlags, uint* pCreationNodeMask, IUnknown* ppPresentQueue) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, Format, SwapChainFlags, pCreationNodeMask, ppPresentQueue); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, Format, SwapChainFlags, pCreationNodeMask, ppPresentQueue); -#endif } /// @@ -10923,11 +8767,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(7)] public HResult SetSourceSize(uint Width, uint Height) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Width, Height); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Width, Height); -#endif } /// @@ -10935,11 +8775,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(8)] public HResult GetSourceSize(uint* pWidth, uint* pHeight) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pWidth, pHeight); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pWidth, pHeight); -#endif } /// @@ -10947,11 +8783,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(9)] public HResult SetMaximumFrameLatency(uint MaxLatency) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), MaxLatency); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), MaxLatency); -#endif } /// @@ -10959,11 +8791,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(10)] public HResult GetMaximumFrameLatency(uint* pMaxLatency) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pMaxLatency); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pMaxLatency); -#endif } /// @@ -10971,11 +8799,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(11)] public IntPtr GetFrameLatencyWaitableObject() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -10983,11 +8807,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(12)] public HResult SetMatrixTransform(Matrix3x2F* pMatrix) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pMatrix); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pMatrix); -#endif } /// @@ -10995,11 +8815,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(13)] public HResult GetMatrixTransform(Matrix3x2F* pMatrix) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pMatrix); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pMatrix); -#endif } /// @@ -11007,11 +8823,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(14)] public HResult GetDesc1(SwapChainDescription1* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -11019,11 +8831,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(15)] public HResult GetFullscreenDesc(SwapChainFullscreenDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -11031,11 +8839,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(16)] public HResult GetHwnd(IntPtr* pHwnd) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pHwnd); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pHwnd); -#endif } /// @@ -11043,11 +8847,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(17)] public HResult GetCoreWindow(Guid* refiid, void** ppUnk) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), refiid, ppUnk); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), refiid, ppUnk); -#endif } /// @@ -11055,11 +8855,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(18)] public HResult Present1(uint SyncInterval, uint PresentFlags, PresentParameters* pPresentParameters) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), SyncInterval, PresentFlags, pPresentParameters); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), SyncInterval, PresentFlags, pPresentParameters); -#endif } /// @@ -11067,11 +8863,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(19)] public Bool32 IsTemporaryMonoSupported() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -11079,11 +8871,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(20)] public HResult GetRestrictToOutput(IDXGIOutput* ppRestrictToOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), ppRestrictToOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), ppRestrictToOutput); -#endif } /// @@ -11091,11 +8879,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(21)] public HResult SetBackgroundColor(Rgba* pColor) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pColor); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pColor); -#endif } /// @@ -11103,11 +8887,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(22)] public HResult GetBackgroundColor(Rgba* pColor) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pColor); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pColor); -#endif } /// @@ -11115,11 +8895,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(23)] public HResult SetRotation(Common.ModeRotation Rotation) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Rotation); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Rotation); -#endif } /// @@ -11127,11 +8903,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(24)] public HResult GetRotation(Common.ModeRotation* pRotation) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pRotation); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pRotation); -#endif } /// @@ -11139,11 +8911,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(25)] public HResult Present(uint SyncInterval, uint Flags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), SyncInterval, Flags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), SyncInterval, Flags); -#endif } /// @@ -11151,11 +8919,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(26)] public HResult GetBuffer(uint Buffer, Guid* riid, void** ppSurface) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[26]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Buffer, riid, ppSurface); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Buffer, riid, ppSurface); -#endif } /// @@ -11163,11 +8927,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(27)] public HResult SetFullscreenState(Bool32 Fullscreen, IDXGIOutput* pTarget) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); -#endif } /// @@ -11175,11 +8935,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(28)] public HResult GetFullscreenState(Bool32* pFullscreen, IDXGIOutput** ppTarget) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pFullscreen, ppTarget); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pFullscreen, ppTarget); -#endif } /// @@ -11187,11 +8943,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(29)] public HResult GetDesc(SwapChainDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[29]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -11199,11 +8951,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(30)] public HResult ResizeBuffers(uint BufferCount, uint Width, uint Height, Common.Format NewFormat, uint SwapChainFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[30]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, NewFormat, SwapChainFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, NewFormat, SwapChainFlags); -#endif } /// @@ -11211,11 +8959,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(31)] public HResult ResizeTarget(Common.ModeDescription* pNewTargetParameters) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[31]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pNewTargetParameters); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pNewTargetParameters); -#endif } /// @@ -11223,11 +8967,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(32)] public HResult GetContainingOutput(IDXGIOutput** ppOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[32]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), ppOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), ppOutput); -#endif } /// @@ -11235,11 +8975,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(33)] public HResult GetFrameStatistics(FrameStatistics* pStats) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[33]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pStats); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pStats); -#endif } /// @@ -11247,11 +8983,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(34)] public HResult GetLastPresentCount(uint* pLastPresentCount) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[34]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pLastPresentCount); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pLastPresentCount); -#endif } /// @@ -11259,11 +8991,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(35)] public HResult GetDevice(Guid* riid, void** ppDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[35]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), riid, ppDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), riid, ppDevice); -#endif } /// @@ -11271,11 +8999,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(36)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[36]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -11283,11 +9007,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(37)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[37]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -11295,11 +9015,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(38)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[38]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -11307,11 +9023,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(39)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[39]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -11319,16 +9031,9 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [VtblIndex(40)] public HResult SetHDRMetaData(HdrMetadataType Type, uint Size, void* pMetaData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[40]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Type, Size, pMetaData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Type, Size, pMetaData); -#endif } - public interface Interface : IDXGISwapChain3.Interface - { - } } /// @@ -11336,7 +9041,7 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface [Guid("95b4f95f-d8da-4ca4-9ee6-3b76d5968a10")] [NativeTypeName("struct IDXGIDevice4 : IDXGIDevice3")] [NativeInheritance("IDXGIDevice3")] -public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface +public unsafe partial struct IDXGIDevice4 { public static ref readonly Guid IID_IDXGIDevice4 { @@ -11397,11 +9102,7 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface [VtblIndex(3)] public void Trim() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((IDXGIDevice4*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIDevice4*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -11409,11 +9110,7 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface [VtblIndex(4)] public HResult OfferResources(uint NumResources, IDXGIResource* ppResources, OfferResourcePriority Priority) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), NumResources, ppResources, Priority); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), NumResources, ppResources, Priority); -#endif } /// @@ -11421,11 +9118,7 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface [VtblIndex(5)] public HResult ReclaimResources(uint NumResources, IDXGIResource* ppResources, Bool32* pDiscarded) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), NumResources, ppResources, pDiscarded); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), NumResources, ppResources, pDiscarded); -#endif } /// @@ -11433,11 +9126,7 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface [VtblIndex(6)] public HResult EnqueueSetEvent(IntPtr hEvent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), hEvent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), hEvent); -#endif } /// @@ -11445,11 +9134,7 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface [VtblIndex(7)] public HResult SetMaximumFrameLatency(uint MaxLatency) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), MaxLatency); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), MaxLatency); -#endif } /// @@ -11457,11 +9142,7 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface [VtblIndex(8)] public HResult GetMaximumFrameLatency(uint* pMaxLatency) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), pMaxLatency); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), pMaxLatency); -#endif } /// @@ -11469,11 +9150,7 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface [VtblIndex(9)] public HResult GetAdapter(IDXGIAdapter** pAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), pAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), pAdapter); -#endif } /// @@ -11481,11 +9158,7 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface [VtblIndex(10)] public HResult CreateSurface(SurfaceDescription* pDesc, uint NumSurfaces, uint Usage, SharedResource* pSharedResource, IDXGISurface* ppSurface) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface); -#endif } /// @@ -11493,11 +9166,7 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface [VtblIndex(11)] public HResult QueryResourceResidency(IUnknown* ppResources, Residency* pResidencyStatus, uint NumResources) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources); -#endif } /// @@ -11505,11 +9174,7 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface [VtblIndex(12)] public HResult SetGPUThreadPriority(int Priority) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), Priority); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), Priority); -#endif } /// @@ -11517,11 +9182,7 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface [VtblIndex(13)] public HResult GetGPUThreadPriority(int* pPriority) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), pPriority); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), pPriority); -#endif } /// @@ -11529,11 +9190,7 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface [VtblIndex(14)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -11541,11 +9198,7 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface [VtblIndex(15)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -11553,11 +9206,7 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface [VtblIndex(16)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -11565,11 +9214,7 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface [VtblIndex(17)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -11577,11 +9222,7 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface [VtblIndex(18)] public HResult OfferResources1(uint NumResources, IDXGIResource* ppResources, OfferResourcePriority Priority, uint Flags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), NumResources, ppResources, Priority, Flags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), NumResources, ppResources, Priority, Flags); -#endif } /// @@ -11589,16 +9230,9 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface [VtblIndex(19)] public HResult ReclaimResources1(uint NumResources, IDXGIResource* ppResources, ReclaimResourceResults* pResults) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), NumResources, ppResources, pResults); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), NumResources, ppResources, pResults); -#endif } - public interface Interface : IDXGIDevice3.Interface - { - } } /// @@ -11606,7 +9240,7 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface [Guid("7632e1f5-ee65-4dca-87fd-84cd75f8838d")] [NativeTypeName("struct IDXGIFactory5 : IDXGIFactory4")] [NativeInheritance("IDXGIFactory4")] -public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface +public unsafe partial struct IDXGIFactory5 { public static ref readonly Guid IID_IDXGIFactory5 { @@ -11667,11 +9301,7 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface [VtblIndex(3)] public HResult EnumAdapterByLuid(Luid* AdapterLuid, Guid* riid, void** ppvAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), AdapterLuid, riid, ppvAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), AdapterLuid, riid, ppvAdapter); -#endif } /// @@ -11679,11 +9309,7 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface [VtblIndex(4)] public HResult EnumWarpAdapter(Guid* riid, void** ppvAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), riid, ppvAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), riid, ppvAdapter); -#endif } /// @@ -11691,11 +9317,7 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface [VtblIndex(5)] public uint GetCreationFlags() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIFactory5*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIFactory5*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -11703,11 +9325,7 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface [VtblIndex(6)] public Bool32 IsWindowedStereoEnabled() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIFactory5*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIFactory5*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -11715,11 +9333,7 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface [VtblIndex(7)] public HResult CreateSwapChainForHwnd(IUnknown* pDevice, IntPtr hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); -#endif } /// @@ -11727,11 +9341,7 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface [VtblIndex(8)] public HResult CreateSwapChainForCoreWindow(IUnknown* pDevice, IUnknown* pWindow, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), pDevice, pWindow, pDesc, pRestrictToOutput, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), pDevice, pWindow, pDesc, pRestrictToOutput, ppSwapChain); -#endif } /// @@ -11739,11 +9349,7 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface [VtblIndex(9)] public HResult GetSharedResourceAdapterLuid(IntPtr hResource, Luid* pLuid) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), hResource, pLuid); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), hResource, pLuid); -#endif } /// @@ -11751,11 +9357,7 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface [VtblIndex(10)] public HResult RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); -#endif } /// @@ -11763,11 +9365,7 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface [VtblIndex(11)] public HResult RegisterStereoStatusEvent(IntPtr hEvent, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#endif } /// @@ -11775,11 +9373,7 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface [VtblIndex(12)] public void UnregisterStereoStatus(uint dwCookie) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[12]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), dwCookie); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), dwCookie); -#endif } /// @@ -11787,11 +9381,7 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface [VtblIndex(13)] public HResult RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); -#endif } /// @@ -11799,11 +9389,7 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface [VtblIndex(14)] public HResult RegisterOcclusionStatusEvent(IntPtr hEvent, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#endif } /// @@ -11811,11 +9397,7 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface [VtblIndex(15)] public void UnregisterOcclusionStatus(uint dwCookie) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[15]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), dwCookie); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), dwCookie); -#endif } /// @@ -11823,11 +9405,7 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface [VtblIndex(16)] public HResult CreateSwapChainForComposition(IUnknown* pDevice, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), pDevice, pDesc, pRestrictToOutput, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), pDevice, pDesc, pRestrictToOutput, ppSwapChain); -#endif } /// @@ -11835,11 +9413,7 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface [VtblIndex(17)] public HResult EnumAdapters1(uint Adapter, IDXGIAdapter1** ppAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#endif } /// @@ -11847,11 +9421,7 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface [VtblIndex(18)] public Bool32 IsCurrent() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((IDXGIFactory5*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGIFactory5*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -11859,11 +9429,7 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface [VtblIndex(19)] public HResult EnumAdapters(uint Adapter, IDXGIAdapter** ppAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#endif } /// @@ -11871,11 +9437,7 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface [VtblIndex(20)] public HResult MakeWindowAssociation(IntPtr WindowHandle, uint Flags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, Flags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, Flags); -#endif } /// @@ -11883,11 +9445,7 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface [VtblIndex(21)] public HResult GetWindowAssociation(IntPtr* pWindowHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), pWindowHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), pWindowHandle); -#endif } /// @@ -11895,11 +9453,7 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface [VtblIndex(22)] public HResult CreateSwapChain(IUnknown* pDevice, SwapChainDescription* pDesc, IDXGISwapChain** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain); -#endif } /// @@ -11907,11 +9461,7 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface [VtblIndex(23)] public HResult CreateSoftwareAdapter(IntPtr Module, IDXGIAdapter** ppAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Module, ppAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Module, ppAdapter); -#endif } /// @@ -11919,11 +9469,7 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface [VtblIndex(24)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -11931,11 +9477,7 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface [VtblIndex(25)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -11943,11 +9485,7 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface [VtblIndex(26)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[26]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -11955,11 +9493,7 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface [VtblIndex(27)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -11967,16 +9501,9 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface [VtblIndex(28)] public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, uint FeatureSupportDataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#endif } - public interface Interface : IDXGIFactory4.Interface - { - } } /// @@ -11984,7 +9511,7 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface [Guid("3c8d99d1-4fbf-4181-a82c-af66bf7bd24e")] [NativeTypeName("struct IDXGIAdapter4 : IDXGIAdapter3")] [NativeInheritance("IDXGIAdapter3")] -public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface +public unsafe partial struct IDXGIAdapter4 { public static ref readonly Guid IID_IDXGIAdapter4 { @@ -12045,11 +9572,7 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface [VtblIndex(3)] public HResult RegisterHardwareContentProtectionTeardownStatusEvent(IntPtr hEvent, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#endif } /// @@ -12057,11 +9580,7 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface [VtblIndex(4)] public void UnregisterHardwareContentProtectionTeardownStatus(uint dwCookie) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), dwCookie); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), dwCookie); -#endif } /// @@ -12069,11 +9588,7 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface [VtblIndex(5)] public HResult QueryVideoMemoryInfo(uint NodeIndex, MemorySegmentGroup MemorySegmentGroup, QueryVideoMemoryInfo* pVideoMemoryInfo) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), NodeIndex, MemorySegmentGroup, pVideoMemoryInfo); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), NodeIndex, MemorySegmentGroup, pVideoMemoryInfo); -#endif } /// @@ -12081,11 +9596,7 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface [VtblIndex(6)] public HResult SetVideoMemoryReservation(uint NodeIndex, MemorySegmentGroup MemorySegmentGroup, ulong Reservation) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), NodeIndex, MemorySegmentGroup, Reservation); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), NodeIndex, MemorySegmentGroup, Reservation); -#endif } /// @@ -12093,11 +9604,7 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface [VtblIndex(7)] public HResult RegisterVideoMemoryBudgetChangeNotificationEvent(IntPtr hEvent, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#endif } /// @@ -12105,11 +9612,7 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface [VtblIndex(8)] public void UnregisterVideoMemoryBudgetChangeNotification(uint dwCookie) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[8]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), dwCookie); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), dwCookie); -#endif } /// @@ -12117,11 +9620,7 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface [VtblIndex(9)] public HResult GetDesc2(AdapterDescription2* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -12129,11 +9628,7 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface [VtblIndex(10)] public HResult GetDesc1(AdapterDescription1* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -12141,11 +9636,7 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface [VtblIndex(11)] public HResult EnumOutputs(uint Output, IDXGIOutput** ppOutput) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), Output, ppOutput); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), Output, ppOutput); -#endif } /// @@ -12153,11 +9644,7 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface [VtblIndex(12)] public HResult GetDesc(AdapterDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -12165,11 +9652,7 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface [VtblIndex(13)] public HResult CheckInterfaceSupport(Guid* InterfaceName, LargeInterger* pUMDVersion) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), InterfaceName, pUMDVersion); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), InterfaceName, pUMDVersion); -#endif } /// @@ -12177,11 +9660,7 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface [VtblIndex(14)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -12189,11 +9668,7 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface [VtblIndex(15)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -12201,11 +9676,7 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface [VtblIndex(16)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -12213,11 +9684,7 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface [VtblIndex(17)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -12225,16 +9692,9 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface [VtblIndex(18)] public HResult GetDesc3(AdapterDescription3* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), pDesc); -#endif } - public interface Interface : IDXGIAdapter3.Interface - { - } } /// @@ -12242,7 +9702,7 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface [Guid("068346e8-aaec-4b84-add7-137f513f77a1")] [NativeTypeName("struct IDXGIOutput6 : IDXGIOutput5")] [NativeInheritance("IDXGIOutput5")] -public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface +public unsafe partial struct IDXGIOutput6 { public static ref readonly Guid IID_IDXGIOutput6 { @@ -12303,11 +9763,7 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface [VtblIndex(3)] public HResult DuplicateOutput1(IUnknown* pDevice, uint Flags, uint SupportedFormatsCount, Common.Format* pSupportedFormats, IDXGIOutputDuplication** ppOutputDuplication) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDevice, Flags, SupportedFormatsCount, pSupportedFormats, ppOutputDuplication); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDevice, Flags, SupportedFormatsCount, pSupportedFormats, ppOutputDuplication); -#endif } /// @@ -12315,11 +9771,7 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface [VtblIndex(4)] public HResult CheckOverlayColorSpaceSupport(Common.Format Format, Common.ColorSpaceType ColorSpace, IUnknown* pConcernedDevice, uint* pFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), Format, ColorSpace, pConcernedDevice, pFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), Format, ColorSpace, pConcernedDevice, pFlags); -#endif } /// @@ -12327,11 +9779,7 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface [VtblIndex(5)] public HResult CheckOverlaySupport(Common.Format EnumFormat, IUnknown* pConcernedDevice, uint* pFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), EnumFormat, pConcernedDevice, pFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), EnumFormat, pConcernedDevice, pFlags); -#endif } /// @@ -12339,11 +9787,7 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface [VtblIndex(6)] public Bool32 SupportsOverlays() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIOutput6*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIOutput6*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -12351,11 +9795,7 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface [VtblIndex(7)] public HResult GetDisplayModeList1(Common.Format EnumFormat, uint Flags, uint* pNumModes, ModeDescription1* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); -#endif } /// @@ -12363,11 +9803,7 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface [VtblIndex(8)] public HResult FindClosestMatchingMode1(ModeDescription1* pModeToMatch, ModeDescription1* pClosestMatch, IUnknown* pConcernedDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); -#endif } /// @@ -12375,11 +9811,7 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface [VtblIndex(9)] public HResult GetDisplaySurfaceData1(IDXGIResource* pDestination) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDestination); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDestination); -#endif } /// @@ -12387,11 +9819,7 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface [VtblIndex(10)] public HResult DuplicateOutput(IUnknown* pDevice, IDXGIOutputDuplication** ppOutputDuplication) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDevice, ppOutputDuplication); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDevice, ppOutputDuplication); -#endif } /// @@ -12399,11 +9827,7 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface [VtblIndex(11)] public HResult GetDesc(OutputDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -12411,11 +9835,7 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface [VtblIndex(12)] public HResult GetDisplayModeList(Common.Format EnumFormat, uint Flags, uint* pNumModes, Common.ModeDescription* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); -#endif } /// @@ -12423,11 +9843,7 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface [VtblIndex(13)] public HResult FindClosestMatchingMode(Common.ModeDescription* pModeToMatch, Common.ModeDescription* pClosestMatch, IUnknown* pConcernedDevice) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); -#endif } /// @@ -12435,11 +9851,7 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface [VtblIndex(14)] public HResult WaitForVBlank() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((IDXGIOutput6*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIOutput6*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -12447,11 +9859,7 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface [VtblIndex(15)] public HResult TakeOwnership(IUnknown* pDevice, Bool32 Exclusive) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDevice, Exclusive); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDevice, Exclusive); -#endif } /// @@ -12459,11 +9867,7 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface [VtblIndex(16)] public void ReleaseOwnership() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[16]))((IDXGIOutput6*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIOutput6*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -12471,11 +9875,7 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface [VtblIndex(17)] public HResult GetGammaControlCapabilities(Common.GammaControlCapabilities* pGammaCaps) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pGammaCaps); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pGammaCaps); -#endif } /// @@ -12483,11 +9883,7 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface [VtblIndex(18)] public HResult SetGammaControl(Common.GammaControl* pArray) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pArray); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pArray); -#endif } /// @@ -12495,11 +9891,7 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface [VtblIndex(19)] public HResult GetGammaControl(Common.GammaControl* pArray) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pArray); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pArray); -#endif } /// @@ -12507,11 +9899,7 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface [VtblIndex(20)] public HResult SetDisplaySurface(IDXGISurface* pScanoutSurface) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pScanoutSurface); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pScanoutSurface); -#endif } /// @@ -12519,11 +9907,7 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface [VtblIndex(21)] public HResult GetDisplaySurfaceData(IDXGISurface* pDestination) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDestination); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDestination); -#endif } /// @@ -12531,11 +9915,7 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface [VtblIndex(22)] public HResult GetFrameStatistics(FrameStatistics* pStats) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pStats); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pStats); -#endif } /// @@ -12543,11 +9923,7 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface [VtblIndex(23)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -12555,11 +9931,7 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface [VtblIndex(24)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -12567,11 +9939,7 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface [VtblIndex(25)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -12579,11 +9947,7 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface [VtblIndex(26)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[26]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -12591,11 +9955,7 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface [VtblIndex(27)] public HResult GetDesc1(OutputDescription1* pDesc) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDesc); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDesc); -#endif } /// @@ -12603,16 +9963,9 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface [VtblIndex(28)] public HResult CheckHardwareCompositionSupport(uint* pFlags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pFlags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pFlags); -#endif } - public interface Interface : IDXGIOutput5.Interface - { - } } /// @@ -12620,7 +9973,7 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface [Guid("c1b6694f-ff09-44a9-b03c-77900a0a1d17")] [NativeTypeName("struct IDXGIFactory6 : IDXGIFactory5")] [NativeInheritance("IDXGIFactory5")] -public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface +public unsafe partial struct IDXGIFactory6 { public static ref readonly Guid IID_IDXGIFactory6 { @@ -12681,11 +10034,7 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [VtblIndex(3)] public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, uint FeatureSupportDataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#endif } /// @@ -12693,11 +10042,7 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [VtblIndex(4)] public HResult EnumAdapterByLuid(Luid* AdapterLuid, Guid* riid, void** ppvAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), AdapterLuid, riid, ppvAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), AdapterLuid, riid, ppvAdapter); -#endif } /// @@ -12705,11 +10050,7 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [VtblIndex(5)] public HResult EnumWarpAdapter(Guid* riid, void** ppvAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), riid, ppvAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), riid, ppvAdapter); -#endif } /// @@ -12717,11 +10058,7 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [VtblIndex(6)] public uint GetCreationFlags() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIFactory6*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIFactory6*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -12729,11 +10066,7 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [VtblIndex(7)] public Bool32 IsWindowedStereoEnabled() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIFactory6*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIFactory6*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -12741,11 +10074,7 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [VtblIndex(8)] public HResult CreateSwapChainForHwnd(IUnknown* pDevice, IntPtr hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); -#endif } /// @@ -12753,11 +10082,7 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [VtblIndex(9)] public HResult CreateSwapChainForCoreWindow(IUnknown* pDevice, IUnknown* pWindow, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), pDevice, pWindow, pDesc, pRestrictToOutput, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), pDevice, pWindow, pDesc, pRestrictToOutput, ppSwapChain); -#endif } /// @@ -12765,11 +10090,7 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [VtblIndex(10)] public HResult GetSharedResourceAdapterLuid(IntPtr hResource, Luid* pLuid) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), hResource, pLuid); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), hResource, pLuid); -#endif } /// @@ -12777,11 +10098,7 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [VtblIndex(11)] public HResult RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); -#endif } /// @@ -12789,11 +10106,7 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [VtblIndex(12)] public HResult RegisterStereoStatusEvent(IntPtr hEvent, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#endif } /// @@ -12801,11 +10114,7 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [VtblIndex(13)] public void UnregisterStereoStatus(uint dwCookie) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[13]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), dwCookie); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), dwCookie); -#endif } /// @@ -12813,11 +10122,7 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [VtblIndex(14)] public HResult RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); -#endif } /// @@ -12825,11 +10130,7 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [VtblIndex(15)] public HResult RegisterOcclusionStatusEvent(IntPtr hEvent, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#endif } /// @@ -12837,11 +10138,7 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [VtblIndex(16)] public void UnregisterOcclusionStatus(uint dwCookie) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[16]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), dwCookie); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), dwCookie); -#endif } /// @@ -12849,11 +10146,7 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [VtblIndex(17)] public HResult CreateSwapChainForComposition(IUnknown* pDevice, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), pDevice, pDesc, pRestrictToOutput, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), pDevice, pDesc, pRestrictToOutput, ppSwapChain); -#endif } /// @@ -12861,11 +10154,7 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [VtblIndex(18)] public HResult EnumAdapters1(uint Adapter, IDXGIAdapter1** ppAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#endif } /// @@ -12873,11 +10162,7 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [VtblIndex(19)] public Bool32 IsCurrent() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((IDXGIFactory6*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDXGIFactory6*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -12885,11 +10170,7 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [VtblIndex(20)] public HResult EnumAdapters(uint Adapter, IDXGIAdapter** ppAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#endif } /// @@ -12897,11 +10178,7 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [VtblIndex(21)] public HResult MakeWindowAssociation(IntPtr WindowHandle, uint Flags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), WindowHandle, Flags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), WindowHandle, Flags); -#endif } /// @@ -12909,11 +10186,7 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [VtblIndex(22)] public HResult GetWindowAssociation(IntPtr* pWindowHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), pWindowHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), pWindowHandle); -#endif } /// @@ -12921,11 +10194,7 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [VtblIndex(23)] public HResult CreateSwapChain(IUnknown* pDevice, SwapChainDescription* pDesc, IDXGISwapChain** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain); -#endif } /// @@ -12933,11 +10202,7 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [VtblIndex(24)] public HResult CreateSoftwareAdapter(IntPtr Module, IDXGIAdapter** ppAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Module, ppAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Module, ppAdapter); -#endif } /// @@ -12945,11 +10210,7 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [VtblIndex(25)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -12957,11 +10218,7 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [VtblIndex(26)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[26]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -12969,11 +10226,7 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [VtblIndex(27)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -12981,11 +10234,7 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [VtblIndex(28)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -12993,16 +10242,9 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [VtblIndex(29)] public HResult EnumAdapterByGpuPreference(uint Adapter, GpuPreference GpuPreference, Guid* riid, void** ppvAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[29]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Adapter, GpuPreference, riid, ppvAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Adapter, GpuPreference, riid, ppvAdapter); -#endif } - public interface Interface : IDXGIFactory5.Interface - { - } } /// @@ -13010,7 +10252,7 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface [Guid("a4966eed-76db-44da-84c1-ee9a7afb20a8")] [NativeTypeName("struct IDXGIFactory7 : IDXGIFactory6")] [NativeInheritance("IDXGIFactory6")] -public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface +public unsafe partial struct IDXGIFactory7 { public static ref readonly Guid IID_IDXGIFactory7 { @@ -13071,11 +10313,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(3)] public HResult EnumAdapterByGpuPreference(uint Adapter, GpuPreference GpuPreference, Guid* riid, void** ppvAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Adapter, GpuPreference, riid, ppvAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Adapter, GpuPreference, riid, ppvAdapter); -#endif } /// @@ -13083,11 +10321,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(4)] public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, uint FeatureSupportDataSize) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); -#endif } /// @@ -13095,11 +10329,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(5)] public HResult EnumAdapterByLuid(Luid* AdapterLuid, Guid* riid, void** ppvAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), AdapterLuid, riid, ppvAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), AdapterLuid, riid, ppvAdapter); -#endif } /// @@ -13107,11 +10337,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(6)] public HResult EnumWarpAdapter(Guid* riid, void** ppvAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), riid, ppvAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), riid, ppvAdapter); -#endif } /// @@ -13119,11 +10345,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(7)] public uint GetCreationFlags() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIFactory7*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIFactory7*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -13131,11 +10353,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(8)] public Bool32 IsWindowedStereoEnabled() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIFactory7*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIFactory7*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -13143,11 +10361,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(9)] public HResult CreateSwapChainForHwnd(IUnknown* pDevice, IntPtr hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); -#endif } /// @@ -13155,11 +10369,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(10)] public HResult CreateSwapChainForCoreWindow(IUnknown* pDevice, IUnknown* pWindow, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), pDevice, pWindow, pDesc, pRestrictToOutput, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), pDevice, pWindow, pDesc, pRestrictToOutput, ppSwapChain); -#endif } /// @@ -13167,11 +10377,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(11)] public HResult GetSharedResourceAdapterLuid(IntPtr hResource, Luid* pLuid) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hResource, pLuid); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hResource, pLuid); -#endif } /// @@ -13179,11 +10385,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(12)] public HResult RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); -#endif } /// @@ -13191,11 +10393,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(13)] public HResult RegisterStereoStatusEvent(IntPtr hEvent, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#endif } /// @@ -13203,11 +10401,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(14)] public void UnregisterStereoStatus(uint dwCookie) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[14]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), dwCookie); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), dwCookie); -#endif } /// @@ -13215,11 +10409,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(15)] public HResult RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); -#endif } /// @@ -13227,11 +10417,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(16)] public HResult RegisterOcclusionStatusEvent(IntPtr hEvent, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#endif } /// @@ -13239,11 +10425,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(17)] public void UnregisterOcclusionStatus(uint dwCookie) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[17]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), dwCookie); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), dwCookie); -#endif } /// @@ -13251,11 +10433,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(18)] public HResult CreateSwapChainForComposition(IUnknown* pDevice, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), pDevice, pDesc, pRestrictToOutput, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), pDevice, pDesc, pRestrictToOutput, ppSwapChain); -#endif } /// @@ -13263,11 +10441,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(19)] public HResult EnumAdapters1(uint Adapter, IDXGIAdapter1** ppAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#endif } /// @@ -13275,11 +10449,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(20)] public Bool32 IsCurrent() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((IDXGIFactory7*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDXGIFactory7*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -13287,11 +10457,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(21)] public HResult EnumAdapters(uint Adapter, IDXGIAdapter** ppAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); -#endif } /// @@ -13299,11 +10465,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(22)] public HResult MakeWindowAssociation(IntPtr WindowHandle, uint Flags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), WindowHandle, Flags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), WindowHandle, Flags); -#endif } /// @@ -13311,11 +10473,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(23)] public HResult GetWindowAssociation(IntPtr* pWindowHandle) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), pWindowHandle); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), pWindowHandle); -#endif } /// @@ -13323,11 +10481,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(24)] public HResult CreateSwapChain(IUnknown* pDevice, SwapChainDescription* pDesc, IDXGISwapChain** ppSwapChain) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain); -#endif } /// @@ -13335,11 +10489,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(25)] public HResult CreateSoftwareAdapter(IntPtr Module, IDXGIAdapter** ppAdapter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Module, ppAdapter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Module, ppAdapter); -#endif } /// @@ -13347,11 +10497,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(26)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[26]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Name, DataSize, pData); -#endif } /// @@ -13359,11 +10505,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(27)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Name, pUnknown); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Name, pUnknown); -#endif } /// @@ -13371,11 +10513,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(28)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); -#endif } /// @@ -13383,11 +10521,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(29)] public HResult GetParent(Guid* riid, void** ppParent) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[29]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), riid, ppParent); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), riid, ppParent); -#endif } /// @@ -13395,11 +10529,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(30)] public HResult RegisterAdaptersChangedEvent(IntPtr hEvent, uint* pdwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[30]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); -#endif } /// @@ -13407,16 +10537,9 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [VtblIndex(31)] public HResult UnregisterAdaptersChangedEvent(uint dwCookie) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[31]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), dwCookie); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), dwCookie); -#endif } - public interface Interface : IDXGIFactory6.Interface - { - } } /// @@ -13424,7 +10547,7 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface [Guid("d67441c7-672a-476f-9e82-cd55b44949ce")] [NativeTypeName("struct IDXGIInfoQueue : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface +public unsafe partial struct IDXGIInfoQueue { public static ref readonly Guid IID_IDXGIInfoQueue { @@ -13485,11 +10608,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(3)] public HResult SetMessageCountLimit(Guid Producer, ulong MessageCountLimit) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, MessageCountLimit); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, MessageCountLimit); -#endif } /// @@ -13497,11 +10616,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(4)] public void ClearStoredMessages(Guid Producer) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#endif } /// @@ -13509,11 +10624,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(5)] public HResult GetMessage(Guid Producer, ulong MessageIndex, InfoQueueMessage* pMessage, nuint* pMessageByteLength) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, MessageIndex, pMessage, pMessageByteLength); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, MessageIndex, pMessage, pMessageByteLength); -#endif } /// @@ -13521,11 +10632,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(6)] public ulong GetNumStoredMessagesAllowedByRetrievalFilters(Guid Producer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#endif } /// @@ -13533,11 +10640,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(7)] public ulong GetNumStoredMessages(Guid Producer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#endif } /// @@ -13545,11 +10648,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(8)] public ulong GetNumMessagesDiscardedByMessageCountLimit(Guid Producer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#endif } /// @@ -13557,11 +10656,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(9)] public ulong GetMessageCountLimit(Guid Producer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#endif } /// @@ -13569,11 +10664,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(10)] public ulong GetNumMessagesAllowedByStorageFilter(Guid Producer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#endif } /// @@ -13581,11 +10672,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(11)] public ulong GetNumMessagesDeniedByStorageFilter(Guid Producer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#endif } /// @@ -13593,11 +10680,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(12)] public HResult AddStorageFilterEntries(Guid Producer, InfoQueueFilter* pFilter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter); -#endif } /// @@ -13605,11 +10688,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(13)] public HResult GetStorageFilter(Guid Producer, InfoQueueFilter* pFilter, nuint* pFilterByteLength) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter, pFilterByteLength); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter, pFilterByteLength); -#endif } /// @@ -13617,11 +10696,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(14)] public void ClearStorageFilter(Guid Producer) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[14]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#endif } /// @@ -13629,11 +10704,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(15)] public HResult PushEmptyStorageFilter(Guid Producer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#endif } /// @@ -13641,11 +10712,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(16)] public HResult PushDenyAllStorageFilter(Guid Producer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#endif } /// @@ -13653,11 +10720,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(17)] public HResult PushCopyOfStorageFilter(Guid Producer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#endif } /// @@ -13665,11 +10728,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(18)] public HResult PushStorageFilter(Guid Producer, InfoQueueFilter* pFilter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter); -#endif } /// @@ -13677,11 +10736,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(19)] public void PopStorageFilter(Guid Producer) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[19]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#endif } /// @@ -13689,11 +10744,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(20)] public uint GetStorageFilterStackSize(Guid Producer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#endif } /// @@ -13701,11 +10752,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(21)] public HResult AddRetrievalFilterEntries(Guid Producer, InfoQueueFilter* pFilter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter); -#endif } /// @@ -13713,11 +10760,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(22)] public HResult GetRetrievalFilter(Guid Producer, InfoQueueFilter* pFilter, nuint* pFilterByteLength) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter, pFilterByteLength); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter, pFilterByteLength); -#endif } /// @@ -13725,11 +10768,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(23)] public void ClearRetrievalFilter(Guid Producer) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[23]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#endif } /// @@ -13737,11 +10776,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(24)] public HResult PushEmptyRetrievalFilter(Guid Producer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#endif } /// @@ -13749,11 +10784,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(25)] public HResult PushDenyAllRetrievalFilter(Guid Producer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#endif } /// @@ -13761,11 +10792,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(26)] public HResult PushCopyOfRetrievalFilter(Guid Producer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[26]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#endif } /// @@ -13773,11 +10800,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(27)] public HResult PushRetrievalFilter(Guid Producer, InfoQueueFilter* pFilter) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter); -#endif } /// @@ -13785,11 +10808,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(28)] public void PopRetrievalFilter(Guid Producer) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[28]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#endif } /// @@ -13797,11 +10816,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(29)] public uint GetRetrievalFilterStackSize(Guid Producer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[29]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#endif } /// @@ -13809,11 +10824,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(30)] public HResult AddMessage(Guid Producer, InfoQueueMessageCategory Category, InfoQueueMessageSeverity Severity, int ID, byte** pDescription) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[30]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Category, Severity, ID, pDescription); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Category, Severity, ID, pDescription); -#endif } /// @@ -13821,11 +10832,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(31)] public HResult AddApplicationMessage(InfoQueueMessageSeverity Severity, byte** pDescription) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[31]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Severity, pDescription); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Severity, pDescription); -#endif } /// @@ -13833,11 +10840,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(32)] public HResult SetBreakOnCategory(Guid Producer, InfoQueueMessageCategory Category, Bool32 bEnable) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[32]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Category, bEnable); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Category, bEnable); -#endif } /// @@ -13845,11 +10848,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(33)] public HResult SetBreakOnSeverity(Guid Producer, InfoQueueMessageSeverity Severity, Bool32 bEnable) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[33]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Severity, bEnable); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Severity, bEnable); -#endif } /// @@ -13857,11 +10856,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(34)] public HResult SetBreakOnID(Guid Producer, int ID, Bool32 bEnable) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[34]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, ID, bEnable); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, ID, bEnable); -#endif } /// @@ -13869,11 +10864,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(35)] public Bool32 GetBreakOnCategory(Guid Producer, InfoQueueMessageCategory Category) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[35]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Category); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Category); -#endif } /// @@ -13881,11 +10872,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(36)] public Bool32 GetBreakOnSeverity(Guid Producer, InfoQueueMessageSeverity Severity) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[36]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Severity); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Severity); -#endif } /// @@ -13893,11 +10880,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(37)] public Bool32 GetBreakOnID(Guid Producer, int ID) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[37]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, ID); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, ID); -#endif } /// @@ -13905,11 +10888,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(38)] public void SetMuteDebugOutput(Guid Producer, Bool32 bMute) { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[38]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, bMute); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, bMute); -#endif } /// @@ -13917,16 +10896,9 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [VtblIndex(39)] public Bool32 GetMuteDebugOutput(Guid Producer) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[39]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -13934,7 +10906,7 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface [Guid("119e7452-de9e-40fe-8806-88f90c12b441")] [NativeTypeName("struct IDXGIDebug : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDXGIDebug : IDXGIDebug.Interface +public unsafe partial struct IDXGIDebug { public static ref readonly Guid IID_IDXGIDebug { @@ -13995,16 +10967,9 @@ public unsafe partial struct IDXGIDebug : IDXGIDebug.Interface [VtblIndex(3)] public HResult ReportLiveObjects(Guid apiid, DebugRloFlags flags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIDebug*)Unsafe.AsPointer(ref this), apiid, flags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIDebug*)Unsafe.AsPointer(ref this), apiid, flags); -#endif } - public interface Interface : IUnknown.Interface - { - } } /// @@ -14012,7 +10977,7 @@ public unsafe partial struct IDXGIDebug : IDXGIDebug.Interface [Guid("c5a05f0c-16f2-4adf-9f4d-a8c4d58ac550")] [NativeTypeName("struct IDXGIDebug1 : IDXGIDebug")] [NativeInheritance("IDXGIDebug")] -public unsafe partial struct IDXGIDebug1 : IDXGIDebug1.Interface +public unsafe partial struct IDXGIDebug1 { public static ref readonly Guid IID_IDXGIDebug1 { @@ -14073,11 +11038,7 @@ public unsafe partial struct IDXGIDebug1 : IDXGIDebug1.Interface [VtblIndex(3)] public HResult ReportLiveObjects(Guid apiid, DebugRloFlags flags) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIDebug1*)Unsafe.AsPointer(ref this), apiid, flags); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIDebug1*)Unsafe.AsPointer(ref this), apiid, flags); -#endif } /// @@ -14085,11 +11046,7 @@ public unsafe partial struct IDXGIDebug1 : IDXGIDebug1.Interface [VtblIndex(4)] public void EnableLeakTrackingForThread() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((IDXGIDebug1*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIDebug1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -14097,11 +11054,7 @@ public unsafe partial struct IDXGIDebug1 : IDXGIDebug1.Interface [VtblIndex(5)] public void DisableLeakTrackingForThread() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[5]))((IDXGIDebug1*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIDebug1*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -14109,16 +11062,9 @@ public unsafe partial struct IDXGIDebug1 : IDXGIDebug1.Interface [VtblIndex(6)] public Bool32 IsLeakTrackingEnabledForThread() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIDebug1*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIDebug1*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : IDXGIDebug.Interface - { - } } /// @@ -14126,7 +11072,7 @@ public unsafe partial struct IDXGIDebug1 : IDXGIDebug1.Interface [Guid("9f251514-9d4d-4902-9d60-18988ab7d4b5")] [NativeTypeName("struct IDXGraphicsAnalysis : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDXGraphicsAnalysis : IDXGraphicsAnalysis.Interface +public unsafe partial struct IDXGraphicsAnalysis { public static ref readonly Guid IID_IDXGraphicsAnalysis { @@ -14187,11 +11133,7 @@ public unsafe partial struct IDXGraphicsAnalysis : IDXGraphicsAnalysis.Interface [VtblIndex(3)] public void BeginCapture() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((IDXGraphicsAnalysis*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGraphicsAnalysis*)Unsafe.AsPointer(ref this)); -#endif } /// @@ -14199,16 +11141,9 @@ public unsafe partial struct IDXGraphicsAnalysis : IDXGraphicsAnalysis.Interface [VtblIndex(4)] public void EndCapture() { -#if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((IDXGraphicsAnalysis*)Unsafe.AsPointer(ref this)); -#else ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGraphicsAnalysis*)Unsafe.AsPointer(ref this)); -#endif } - public interface Interface : IUnknown.Interface - { - } } #endregion Com Types diff --git a/src/Vortice.Win32/Graphics/Direct3D11.Manual.cs b/src/Vortice.Win32/Graphics/Direct3D11.Manual.cs index e35d9f2..a637982 100644 --- a/src/Vortice.Win32/Graphics/Direct3D11.Manual.cs +++ b/src/Vortice.Win32/Graphics/Direct3D11.Manual.cs @@ -4,9 +4,6 @@ using System.Runtime.CompilerServices; using Win32.Graphics.Direct3D; using Win32.Graphics.Dxgi; -using Win32.Graphics.Dxgi.Common; -using static Win32.Graphics.Direct3D11.Apis; -using static Win32.StringUtilities; namespace Win32.Graphics.Direct3D11; diff --git a/src/Vortice.Win32/IUnknown.cs b/src/Vortice.Win32/IUnknown.cs index ea4df82..2e50575 100644 --- a/src/Vortice.Win32/IUnknown.cs +++ b/src/Vortice.Win32/IUnknown.cs @@ -7,7 +7,7 @@ using static Win32.Apis; namespace Win32; [Guid("00000000-0000-0000-C000-000000000046")] -public unsafe partial struct IUnknown : IUnknown.Interface +public unsafe partial struct IUnknown { public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUnknown)); @@ -17,62 +17,20 @@ public unsafe partial struct IUnknown : IUnknown.Interface [VtblIndex(0)] public HResult QueryInterface(Guid* riid, void** ppvObject) { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[0]))((IUnknown*)Unsafe.AsPointer(ref this), riid, ppvObject); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[0]))((IUnknown*)Unsafe.AsPointer(ref this), riid, ppvObject); -#endif } [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(1)] public uint AddRef() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[1]))((IUnknown*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((IUnknown*)Unsafe.AsPointer(ref this)); -#endif } [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(2)] public uint Release() { -#if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); -#else return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); -#endif - } - - public interface Interface - { - [VtblIndex(0)] - HResult QueryInterface(Guid* riid, void** ppvObject); - - [VtblIndex(1)] - uint AddRef(); - - [VtblIndex(2)] - uint Release(); - } - - public partial struct Vtbl - where TSelf : unmanaged, Interface - { -#if NET6_0_OR_GREATER - public delegate* unmanaged QueryInterface; - - public delegate* unmanaged AddRef; - - public delegate* unmanaged Release; -#else - public delegate* unmanaged[Stdcall] QueryInterface; - - public delegate* unmanaged[Stdcall] AddRef; - - public delegate* unmanaged[Stdcall] Release; -#endif } } diff --git a/src/Vortice.Win32/NetStandard.cs b/src/Vortice.Win32/NetStandard.cs index e005052..2ab94f8 100644 --- a/src/Vortice.Win32/NetStandard.cs +++ b/src/Vortice.Win32/NetStandard.cs @@ -23,17 +23,6 @@ internal static class MemoryMarshal return ref global::System.Runtime.InteropServices.MemoryMarshal.GetReference(span); } - /// - /// Returns a reference to the 0th element of . If the array is empty, returns a reference - /// to where the 0th element would have been stored. Such a reference may be used for pinning but must never be dereferenced. - /// - /// is . - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public static ref T GetArrayDataReference(T[] array) - { - return ref global::System.Runtime.InteropServices.MemoryMarshal.GetReference(array.AsSpan()); - } - /// /// Creates a new from a given reference. /// diff --git a/src/Vortice.Win32/UnsafeUtilities.cs b/src/Vortice.Win32/UnsafeUtilities.cs index 85f40c3..385b45f 100644 --- a/src/Vortice.Win32/UnsafeUtilities.cs +++ b/src/Vortice.Win32/UnsafeUtilities.cs @@ -14,33 +14,11 @@ namespace Win32; /// Provides a set of methods to supplement or replace and . public static unsafe class UnsafeUtilities { - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] -#if NET6_0_OR_GREATER - [return: NotNullIfNotNull("o")] -#endif - public static T? As(this object? o) - where T : class? - { - //Assert(o is null or T); - return Unsafe.As(o); - } - /// [MethodImpl(MethodImplOptions.AggressiveInlining)] public static ref TTo As(ref TFrom source) => ref Unsafe.As(ref source); - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public static Span As(this Span span) - where TFrom : unmanaged - where TTo : unmanaged - { - //Assert(AssertionsEnabled && (SizeOf() == SizeOf())); - return CreateSpan(ref As(ref span.GetReference()), span.Length); - } - /// [MethodImpl(MethodImplOptions.AggressiveInlining)] public static ReadOnlySpan As(this ReadOnlySpan span) @@ -51,29 +29,11 @@ public static unsafe class UnsafeUtilities return CreateReadOnlySpan(in AsReadOnly(in span.GetReference()), span.Length); } - /// Reinterprets the given native integer as a reference. - /// The type of the reference. - /// The native integer to reinterpret. - /// A reference to a value of type . - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public static ref T AsRef(nint source) => ref Unsafe.AsRef((void*)source); - - /// Reinterprets the given native unsigned integer as a reference. - /// The type of the reference. - /// The native unsigned integer to reinterpret. - /// A reference to a value of type . - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public static ref T AsRef(nuint source) => ref Unsafe.AsRef((void*)source); - - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public static ref T AsRef(in T source) => ref Unsafe.AsRef(in source); - /// [MethodImpl(MethodImplOptions.AggressiveInlining)] public static ref TTo AsRef(in TFrom source) { - ref var mutable = ref AsRef(in source); + ref var mutable = ref Unsafe.AsRef(in source); return ref As(ref mutable); } @@ -85,73 +45,21 @@ public static unsafe class UnsafeUtilities /// [MethodImpl(MethodImplOptions.AggressiveInlining)] public static ref readonly TTo AsReadOnly(in TFrom source) - => ref Unsafe.As(ref AsRef(in source)); - - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public static T* AsReadOnlyPointer(in T source) - where T : unmanaged => AsPointer(ref AsRef(in source)); - - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public static ref T AsRef(void* source) => ref Unsafe.AsRef(source); - - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public static ref T GetReference(this T[] array) => ref MemoryMarshal.GetArrayDataReference(array); - - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public static ref T GetReference(this T[] array, int index) => ref Unsafe.Add(ref array.GetReference(), index); - - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public static ref T GetReference(this T[] array, nuint index) => ref Unsafe.Add(ref array.GetReference(), index); - - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public static ref T GetReference(this Span span) => ref MemoryMarshal.GetReference(span); - - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public static ref T GetReference(this Span span, int index) => ref Unsafe.Add(ref MemoryMarshal.GetReference(span), index); - - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public static ref T GetReference(this Span span, nuint index) => ref Unsafe.Add(ref MemoryMarshal.GetReference(span), index); + => ref Unsafe.As(ref Unsafe.AsRef(in source)); /// [MethodImpl(MethodImplOptions.AggressiveInlining)] public static ref readonly T GetReference(this ReadOnlySpan span) => ref MemoryMarshal.GetReference(span); - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public static ref readonly T GetReference(this ReadOnlySpan span, int index) => ref Unsafe.Add(ref MemoryMarshal.GetReference(span), index); - - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public static ref readonly T GetReference(this ReadOnlySpan span, nuint index) => ref Unsafe.Add(ref MemoryMarshal.GetReference(span), index); - - /// Determines if a given reference to a value of type is not a null reference. - /// The type of the reference - /// The reference to check. - /// true if is not a null reference; otherwise, false. - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public static bool IsNotNullRef(in T source) => !IsNullRef(in source); - /// [MethodImpl(MethodImplOptions.AggressiveInlining)] - public static bool IsNullRef(in T source) => Unsafe.IsNullRef(ref AsRef(in source)); - - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public static ref T NullRef() => ref Unsafe.NullRef(); + public static bool IsNullRef(in T source) => Unsafe.IsNullRef(ref Unsafe.AsRef(in source)); /// public static Span CreateSpan(ref T reference, int length) => MemoryMarshal.CreateSpan(ref reference, length); /// - public static ReadOnlySpan CreateReadOnlySpan(in T reference, int length) => MemoryMarshal.CreateReadOnlySpan(ref AsRef(in reference), length); + public static ReadOnlySpan CreateReadOnlySpan(in T reference, int length) => MemoryMarshal.CreateReadOnlySpan(ref Unsafe.AsRef(in reference), length); /// Returns a pointer to the element of the span at index zero. /// The type of items in . @@ -159,7 +67,7 @@ public static unsafe class UnsafeUtilities /// A pointer to the item at index zero of . [MethodImpl(MethodImplOptions.AggressiveInlining)] public static T* GetPointer(this Span span) - where T : unmanaged => AsPointer(ref span.GetReference()); + where T : unmanaged => AsPointer(ref MemoryMarshal.GetReference(span)); /// Returns a pointer to the element of the span at index zero. /// The type of items in . @@ -167,5 +75,5 @@ public static unsafe class UnsafeUtilities /// A pointer to the item at index zero of . [MethodImpl(MethodImplOptions.AggressiveInlining)] public static T* GetPointer(this ReadOnlySpan span) - where T : unmanaged => AsPointer(ref AsRef(in span.GetReference())); + where T : unmanaged => AsPointer(ref Unsafe.AsRef(in span.GetReference())); } diff --git a/src/Vortice.Win32/Vortice.Win32.csproj b/src/Vortice.Win32/Vortice.Win32.csproj index e7396d7..e75913c 100644 --- a/src/Vortice.Win32/Vortice.Win32.csproj +++ b/src/Vortice.Win32/Vortice.Win32.csproj @@ -20,8 +20,4 @@ - - - -