mirror of
https://github.com/amerkoleci/Vortice.Win32.git
synced 2026-01-14 16:16:04 +08:00
Update generation to 48.0.19-preview metadata.
This commit is contained in:
@@ -184,5 +184,7 @@ public static partial class Apis
|
||||
public static readonly HResult DXGI_ERROR_CACHE_HASH_COLLISION = -2005270475;
|
||||
|
||||
public static readonly HResult DXGI_ERROR_ALREADY_EXISTS = -2005270474;
|
||||
|
||||
public static readonly HResult DXGI_ERROR_MPO_UNPINNED = -2005270428;
|
||||
}
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ public enum Usage : uint
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_RESIDENCY"]/*' />
|
||||
/// <unmanaged>DXGI_RESIDENCY</unmanaged>
|
||||
public enum Residency : int
|
||||
public enum Residency
|
||||
{
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_RESIDENCY::DXGI_RESIDENCY_FULLY_RESIDENT"]/*' />
|
||||
/// <unmanaged>DXGI_RESIDENCY_FULLY_RESIDENT</unmanaged>
|
||||
@@ -76,7 +76,7 @@ public enum Residency : int
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_SWAP_EFFECT"]/*' />
|
||||
/// <unmanaged>DXGI_SWAP_EFFECT</unmanaged>
|
||||
public enum SwapEffect : int
|
||||
public enum SwapEffect
|
||||
{
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_SWAP_EFFECT::DXGI_SWAP_EFFECT_DISCARD"]/*' />
|
||||
/// <unmanaged>DXGI_SWAP_EFFECT_DISCARD</unmanaged>
|
||||
@@ -95,7 +95,7 @@ public enum SwapEffect : int
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_SWAP_CHAIN_FLAG"]/*' />
|
||||
/// <unmanaged>DXGI_SWAP_CHAIN_FLAG</unmanaged>
|
||||
[Flags]
|
||||
public enum SwapChainFlags : int
|
||||
public enum SwapChainFlags
|
||||
{
|
||||
None = 0,
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_SWAP_CHAIN_FLAG::DXGI_SWAP_CHAIN_FLAG_NONPREROTATED"]/*' />
|
||||
@@ -157,7 +157,7 @@ public enum AdapterFlags : uint
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_OUTDUPL_POINTER_SHAPE_TYPE"]/*' />
|
||||
/// <unmanaged>DXGI_OUTDUPL_POINTER_SHAPE_TYPE</unmanaged>
|
||||
public enum OutduplPointerShapeType : int
|
||||
public enum OutduplPointerShapeType
|
||||
{
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_OUTDUPL_POINTER_SHAPE_TYPE::DXGI_OUTDUPL_POINTER_SHAPE_TYPE_MONOCHROME"]/*' />
|
||||
/// <unmanaged>DXGI_OUTDUPL_POINTER_SHAPE_TYPE_MONOCHROME</unmanaged>
|
||||
@@ -172,7 +172,7 @@ public enum OutduplPointerShapeType : int
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_OFFER_RESOURCE_PRIORITY"]/*' />
|
||||
/// <unmanaged>DXGI_OFFER_RESOURCE_PRIORITY</unmanaged>
|
||||
public enum OfferResourcePriority : int
|
||||
public enum OfferResourcePriority
|
||||
{
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_OFFER_RESOURCE_PRIORITY::DXGI_OFFER_RESOURCE_PRIORITY_LOW"]/*' />
|
||||
/// <unmanaged>DXGI_OFFER_RESOURCE_PRIORITY_LOW</unmanaged>
|
||||
@@ -187,7 +187,7 @@ public enum OfferResourcePriority : int
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_SCALING"]/*' />
|
||||
/// <unmanaged>DXGI_SCALING</unmanaged>
|
||||
public enum Scaling : int
|
||||
public enum Scaling
|
||||
{
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_SCALING::DXGI_SCALING_STRETCH"]/*' />
|
||||
/// <unmanaged>DXGI_SCALING_STRETCH</unmanaged>
|
||||
@@ -202,7 +202,7 @@ public enum Scaling : int
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_GRAPHICS_PREEMPTION_GRANULARITY"]/*' />
|
||||
/// <unmanaged>DXGI_GRAPHICS_PREEMPTION_GRANULARITY</unmanaged>
|
||||
public enum GraphicsPreemptionGranularity : int
|
||||
public enum GraphicsPreemptionGranularity
|
||||
{
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_GRAPHICS_PREEMPTION_GRANULARITY::DXGI_GRAPHICS_PREEMPTION_DMA_BUFFER_BOUNDARY"]/*' />
|
||||
/// <unmanaged>DXGI_GRAPHICS_PREEMPTION_DMA_BUFFER_BOUNDARY</unmanaged>
|
||||
@@ -223,7 +223,7 @@ public enum GraphicsPreemptionGranularity : int
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_COMPUTE_PREEMPTION_GRANULARITY"]/*' />
|
||||
/// <unmanaged>DXGI_COMPUTE_PREEMPTION_GRANULARITY</unmanaged>
|
||||
public enum ComputePreemptionGranularity : int
|
||||
public enum ComputePreemptionGranularity
|
||||
{
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_COMPUTE_PREEMPTION_GRANULARITY::DXGI_COMPUTE_PREEMPTION_DMA_BUFFER_BOUNDARY"]/*' />
|
||||
/// <unmanaged>DXGI_COMPUTE_PREEMPTION_DMA_BUFFER_BOUNDARY</unmanaged>
|
||||
@@ -245,7 +245,7 @@ public enum ComputePreemptionGranularity : int
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS"]/*' />
|
||||
/// <unmanaged>DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS</unmanaged>
|
||||
[Flags]
|
||||
public enum MultiplaneOverlayYcbcrFlags : int
|
||||
public enum MultiplaneOverlayYcbcrFlags
|
||||
{
|
||||
None = 0,
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS::DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAG_NOMINAL_RANGE"]/*' />
|
||||
@@ -261,7 +261,7 @@ public enum MultiplaneOverlayYcbcrFlags : int
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_FRAME_PRESENTATION_MODE"]/*' />
|
||||
/// <unmanaged>DXGI_FRAME_PRESENTATION_MODE</unmanaged>
|
||||
public enum FramePresentationMode : int
|
||||
public enum FramePresentationMode
|
||||
{
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_FRAME_PRESENTATION_MODE::DXGI_FRAME_PRESENTATION_MODE_COMPOSED"]/*' />
|
||||
/// <unmanaged>DXGI_FRAME_PRESENTATION_MODE_COMPOSED</unmanaged>
|
||||
@@ -280,7 +280,7 @@ public enum FramePresentationMode : int
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_OVERLAY_SUPPORT_FLAG"]/*' />
|
||||
/// <unmanaged>DXGI_OVERLAY_SUPPORT_FLAG</unmanaged>
|
||||
[Flags]
|
||||
public enum OverlaySupportFlags : int
|
||||
public enum OverlaySupportFlags
|
||||
{
|
||||
None = 0,
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_OVERLAY_SUPPORT_FLAG::DXGI_OVERLAY_SUPPORT_FLAG_DIRECT"]/*' />
|
||||
@@ -294,7 +294,7 @@ public enum OverlaySupportFlags : int
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG"]/*' />
|
||||
/// <unmanaged>DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG</unmanaged>
|
||||
[Flags]
|
||||
public enum SwapChainColorSpaceSupportFlags : int
|
||||
public enum SwapChainColorSpaceSupportFlags
|
||||
{
|
||||
None = 0,
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG::DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG_PRESENT"]/*' />
|
||||
@@ -308,7 +308,7 @@ public enum SwapChainColorSpaceSupportFlags : int
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_OVERLAY_COLOR_SPACE_SUPPORT_FLAG"]/*' />
|
||||
/// <unmanaged>DXGI_OVERLAY_COLOR_SPACE_SUPPORT_FLAG</unmanaged>
|
||||
[Flags]
|
||||
public enum OverlayColorSpaceSupportFlags : int
|
||||
public enum OverlayColorSpaceSupportFlags
|
||||
{
|
||||
None = 0,
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_OVERLAY_COLOR_SPACE_SUPPORT_FLAG::DXGI_OVERLAY_COLOR_SPACE_SUPPORT_FLAG_PRESENT"]/*' />
|
||||
@@ -318,7 +318,7 @@ public enum OverlayColorSpaceSupportFlags : int
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_MEMORY_SEGMENT_GROUP"]/*' />
|
||||
/// <unmanaged>DXGI_MEMORY_SEGMENT_GROUP</unmanaged>
|
||||
public enum MemorySegmentGroup : int
|
||||
public enum MemorySegmentGroup
|
||||
{
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_MEMORY_SEGMENT_GROUP::DXGI_MEMORY_SEGMENT_GROUP_LOCAL"]/*' />
|
||||
/// <unmanaged>DXGI_MEMORY_SEGMENT_GROUP_LOCAL</unmanaged>
|
||||
@@ -331,7 +331,7 @@ public enum MemorySegmentGroup : int
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_OUTDUPL_FLAG"]/*' />
|
||||
/// <unmanaged>DXGI_OUTDUPL_FLAG</unmanaged>
|
||||
[Flags]
|
||||
public enum OutduplFlags : int
|
||||
public enum OutduplFlags
|
||||
{
|
||||
None = 0,
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_OUTDUPL_FLAG::DXGI_OUTDUPL_COMPOSITED_UI_CAPTURE_ONLY"]/*' />
|
||||
@@ -341,7 +341,7 @@ public enum OutduplFlags : int
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_HDR_METADATA_TYPE"]/*' />
|
||||
/// <unmanaged>DXGI_HDR_METADATA_TYPE</unmanaged>
|
||||
public enum HDRMetadataType : int
|
||||
public enum HDRMetadataType
|
||||
{
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_HDR_METADATA_TYPE::DXGI_HDR_METADATA_TYPE_NONE"]/*' />
|
||||
/// <unmanaged>DXGI_HDR_METADATA_TYPE_NONE</unmanaged>
|
||||
@@ -357,7 +357,7 @@ public enum HDRMetadataType : int
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_OFFER_RESOURCE_FLAGS"]/*' />
|
||||
/// <unmanaged>DXGI_OFFER_RESOURCE_FLAGS</unmanaged>
|
||||
[Flags]
|
||||
public enum OfferResourceFlags : int
|
||||
public enum OfferResourceFlags
|
||||
{
|
||||
None = 0,
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_OFFER_RESOURCE_FLAGS::DXGI_OFFER_RESOURCE_FLAG_ALLOW_DECOMMIT"]/*' />
|
||||
@@ -367,7 +367,7 @@ public enum OfferResourceFlags : int
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_RECLAIM_RESOURCE_RESULTS"]/*' />
|
||||
/// <unmanaged>DXGI_RECLAIM_RESOURCE_RESULTS</unmanaged>
|
||||
public enum ReclaimResourceResults : int
|
||||
public enum ReclaimResourceResults
|
||||
{
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_RECLAIM_RESOURCE_RESULTS::DXGI_RECLAIM_RESOURCE_RESULT_OK"]/*' />
|
||||
/// <unmanaged>DXGI_RECLAIM_RESOURCE_RESULT_OK</unmanaged>
|
||||
@@ -382,7 +382,7 @@ public enum ReclaimResourceResults : int
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_FEATURE"]/*' />
|
||||
/// <unmanaged>DXGI_FEATURE</unmanaged>
|
||||
public enum Feature : int
|
||||
public enum Feature
|
||||
{
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_FEATURE::DXGI_FEATURE_PRESENT_ALLOW_TEARING"]/*' />
|
||||
/// <unmanaged>DXGI_FEATURE_PRESENT_ALLOW_TEARING</unmanaged>
|
||||
@@ -420,7 +420,7 @@ public enum AdapterFlags3 : uint
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAGS"]/*' />
|
||||
/// <unmanaged>DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAGS</unmanaged>
|
||||
[Flags]
|
||||
public enum HardwareCompositionSupportFlags : uint
|
||||
public enum HardwareCompositionSupportFlags
|
||||
{
|
||||
None = 0,
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAGS::DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAG_FULLSCREEN"]/*' />
|
||||
@@ -436,7 +436,7 @@ public enum HardwareCompositionSupportFlags : uint
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_GPU_PREFERENCE"]/*' />
|
||||
/// <unmanaged>DXGI_GPU_PREFERENCE</unmanaged>
|
||||
public enum GpuPreference : int
|
||||
public enum GpuPreference
|
||||
{
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_GPU_PREFERENCE::DXGI_GPU_PREFERENCE_UNSPECIFIED"]/*' />
|
||||
/// <unmanaged>DXGI_GPU_PREFERENCE_UNSPECIFIED</unmanaged>
|
||||
@@ -452,7 +452,7 @@ public enum GpuPreference : int
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_DEBUG_RLO_FLAGS"]/*' />
|
||||
/// <unmanaged>DXGI_DEBUG_RLO_FLAGS</unmanaged>
|
||||
[Flags]
|
||||
public enum ReportLiveObjectFlags : uint
|
||||
public enum ReportLiveObjectFlags
|
||||
{
|
||||
None = 0,
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_DEBUG_RLO_FLAGS::DXGI_DEBUG_RLO_SUMMARY"]/*' />
|
||||
@@ -471,7 +471,7 @@ public enum ReportLiveObjectFlags : uint
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_INFO_QUEUE_MESSAGE_CATEGORY"]/*' />
|
||||
/// <unmanaged>DXGI_INFO_QUEUE_MESSAGE_CATEGORY</unmanaged>
|
||||
public enum InfoQueueMessageCategory : int
|
||||
public enum InfoQueueMessageCategory
|
||||
{
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_INFO_QUEUE_MESSAGE_CATEGORY::DXGI_INFO_QUEUE_MESSAGE_CATEGORY_UNKNOWN"]/*' />
|
||||
/// <unmanaged>DXGI_INFO_QUEUE_MESSAGE_CATEGORY_UNKNOWN</unmanaged>
|
||||
@@ -510,7 +510,7 @@ public enum InfoQueueMessageCategory : int
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_INFO_QUEUE_MESSAGE_SEVERITY"]/*' />
|
||||
/// <unmanaged>DXGI_INFO_QUEUE_MESSAGE_SEVERITY</unmanaged>
|
||||
public enum InfoQueueMessageSeverity : int
|
||||
public enum InfoQueueMessageSeverity
|
||||
{
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_INFO_QUEUE_MESSAGE_SEVERITY::DXGI_INFO_QUEUE_MESSAGE_SEVERITY_CORRUPTION"]/*' />
|
||||
/// <unmanaged>DXGI_INFO_QUEUE_MESSAGE_SEVERITY_CORRUPTION</unmanaged>
|
||||
@@ -531,7 +531,7 @@ public enum InfoQueueMessageSeverity : int
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_Message_Id"]/*' />
|
||||
/// <unmanaged>DXGI_Message_Id</unmanaged>
|
||||
public enum MessageId : int
|
||||
public enum MessageId
|
||||
{
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_Message_Id::DXGI_MSG_IDXGISwapChain_CreationOrResizeBuffers_InvalidOutputWindow"]/*' />
|
||||
/// <unmanaged>DXGI_MSG_IDXGISwapChain_CreationOrResizeBuffers_InvalidOutputWindow</unmanaged>
|
||||
|
||||
@@ -23,10 +23,10 @@ public partial struct FrameStatistics
|
||||
public uint SyncRefreshCount;
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_FRAME_STATISTICS::SyncQPCTime"]/*' />
|
||||
public LargeInteger SyncQPCTime;
|
||||
public long SyncQPCTime;
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_FRAME_STATISTICS::SyncGPUTime"]/*' />
|
||||
public LargeInteger SyncGPUTime;
|
||||
public long SyncGPUTime;
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_MAPPED_RECT"]/*' />
|
||||
@@ -134,7 +134,7 @@ public partial struct SwapChainDescription
|
||||
public uint BufferCount;
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_SWAP_CHAIN_DESC::OutputWindow"]/*' />
|
||||
public IntPtr OutputWindow;
|
||||
public nint OutputWindow;
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_SWAP_CHAIN_DESC::Windowed"]/*' />
|
||||
public Bool32 Windowed;
|
||||
@@ -253,10 +253,10 @@ public partial struct OutduplPointerShapeInfo
|
||||
public partial struct OutduplFrameInfo
|
||||
{
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_OUTDUPL_FRAME_INFO::LastPresentTime"]/*' />
|
||||
public LargeInteger LastPresentTime;
|
||||
public long LastPresentTime;
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_OUTDUPL_FRAME_INFO::LastMouseUpdateTime"]/*' />
|
||||
public LargeInteger LastMouseUpdateTime;
|
||||
public long LastMouseUpdateTime;
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_OUTDUPL_FRAME_INFO::AccumulatedFrames"]/*' />
|
||||
public uint AccumulatedFrames;
|
||||
@@ -438,10 +438,10 @@ public partial struct FrameStatisticsMedia
|
||||
public uint SyncRefreshCount;
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_FRAME_STATISTICS_MEDIA::SyncQPCTime"]/*' />
|
||||
public LargeInteger SyncQPCTime;
|
||||
public long SyncQPCTime;
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_FRAME_STATISTICS_MEDIA::SyncGPUTime"]/*' />
|
||||
public LargeInteger SyncGPUTime;
|
||||
public long SyncGPUTime;
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="DXGI_FRAME_STATISTICS_MEDIA::CompositionMode"]/*' />
|
||||
public FramePresentationMode CompositionMode;
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIAdapter : IDXGIAdapter.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIAdapter : IDXGIAdapter.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter*, uint>)(lpVtbl[1]))((IDXGIAdapter*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter*, uint>)(lpVtbl[1]))((IDXGIAdapter*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIAdapter : IDXGIAdapter.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter*, uint>)(lpVtbl[2]))((IDXGIAdapter*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter*, uint>)(lpVtbl[2]))((IDXGIAdapter*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIAdapter : IDXGIAdapter.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIAdapter : IDXGIAdapter.Interface, INativeGuid
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIAdapter : IDXGIAdapter.Interface, INativeGuid
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIAdapter : IDXGIAdapter.Interface, INativeGuid
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIAdapter::EnumOutputs"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGIAdapter : IDXGIAdapter.Interface, INativeGuid
|
||||
[VtblIndex(7)]
|
||||
public HResult EnumOutputs(uint Output, IDXGIOutput** ppOutput)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter*, uint, IDXGIOutput**, int>)(lpVtbl[7]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), Output, ppOutput);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter*, uint, IDXGIOutput**, int>)(lpVtbl[7]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), Output, ppOutput);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIAdapter::GetDesc"]/*' />
|
||||
@@ -119,15 +151,23 @@ public unsafe partial struct IDXGIAdapter : IDXGIAdapter.Interface, INativeGuid
|
||||
[VtblIndex(8)]
|
||||
public HResult GetDesc(AdapterDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter*, AdapterDescription*, int>)(lpVtbl[8]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter*, AdapterDescription*, int>)(lpVtbl[8]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIAdapter::CheckInterfaceSupport"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(9)]
|
||||
public HResult CheckInterfaceSupport(Guid* InterfaceName, LargeInteger* pUMDVersion)
|
||||
public HResult CheckInterfaceSupport(Guid* InterfaceName, long* pUMDVersion)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter*, Guid*, LargeInteger*, int>)(lpVtbl[9]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), InterfaceName, pUMDVersion);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter*, Guid*, long*, int>)(lpVtbl[9]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), InterfaceName, pUMDVersion);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter*, Guid*, long*, int>)(lpVtbl[9]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), InterfaceName, pUMDVersion);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIObject.Interface
|
||||
@@ -139,7 +179,7 @@ public unsafe partial struct IDXGIAdapter : IDXGIAdapter.Interface, INativeGuid
|
||||
HResult GetDesc(AdapterDescription* pDesc);
|
||||
|
||||
[VtblIndex(9)]
|
||||
HResult CheckInterfaceSupport(Guid* InterfaceName, LargeInteger* pUMDVersion);
|
||||
HResult CheckInterfaceSupport(Guid* InterfaceName, long* pUMDVersion);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIAdapter1 : IDXGIAdapter1.Interface, INativeGui
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter1*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter1*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIAdapter1 : IDXGIAdapter1.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter1*, uint>)(lpVtbl[1]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter1*, uint>)(lpVtbl[1]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIAdapter1 : IDXGIAdapter1.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter1*, uint>)(lpVtbl[2]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter1*, uint>)(lpVtbl[2]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIAdapter1 : IDXGIAdapter1.Interface, INativeGui
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter1*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter1*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIAdapter1 : IDXGIAdapter1.Interface, INativeGui
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter1*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter1*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIAdapter1 : IDXGIAdapter1.Interface, INativeGui
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter1*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter1*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIAdapter1 : IDXGIAdapter1.Interface, INativeGui
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter1*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter1*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIAdapter.EnumOutputs" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGIAdapter1 : IDXGIAdapter1.Interface, INativeGui
|
||||
[VtblIndex(7)]
|
||||
public HResult EnumOutputs(uint Output, IDXGIOutput** ppOutput)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter1*, uint, IDXGIOutput**, int>)(lpVtbl[7]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), Output, ppOutput);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter1*, uint, IDXGIOutput**, int>)(lpVtbl[7]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), Output, ppOutput);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIAdapter.GetDesc" />
|
||||
@@ -119,15 +151,23 @@ public unsafe partial struct IDXGIAdapter1 : IDXGIAdapter1.Interface, INativeGui
|
||||
[VtblIndex(8)]
|
||||
public HResult GetDesc(AdapterDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter1*, AdapterDescription*, int>)(lpVtbl[8]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter1*, AdapterDescription*, int>)(lpVtbl[8]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIAdapter.CheckInterfaceSupport" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(9)]
|
||||
public HResult CheckInterfaceSupport(Guid* InterfaceName, LargeInteger* pUMDVersion)
|
||||
public HResult CheckInterfaceSupport(Guid* InterfaceName, long* pUMDVersion)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter1*, Guid*, LargeInteger*, int>)(lpVtbl[9]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), InterfaceName, pUMDVersion);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter1*, Guid*, long*, int>)(lpVtbl[9]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), InterfaceName, pUMDVersion);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter1*, Guid*, long*, int>)(lpVtbl[9]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), InterfaceName, pUMDVersion);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIAdapter1::GetDesc1"]/*' />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGIAdapter1 : IDXGIAdapter1.Interface, INativeGui
|
||||
[VtblIndex(10)]
|
||||
public HResult GetDesc1(AdapterDescription1* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter1*, AdapterDescription1*, int>)(lpVtbl[10]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter1*, AdapterDescription1*, int>)(lpVtbl[10]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIAdapter.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIAdapter2 : IDXGIAdapter2.Interface, INativeGui
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter2*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter2*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIAdapter2 : IDXGIAdapter2.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter2*, uint>)(lpVtbl[1]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter2*, uint>)(lpVtbl[1]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIAdapter2 : IDXGIAdapter2.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter2*, uint>)(lpVtbl[2]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter2*, uint>)(lpVtbl[2]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIAdapter2 : IDXGIAdapter2.Interface, INativeGui
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter2*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter2*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIAdapter2 : IDXGIAdapter2.Interface, INativeGui
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter2*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter2*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIAdapter2 : IDXGIAdapter2.Interface, INativeGui
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter2*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter2*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIAdapter2 : IDXGIAdapter2.Interface, INativeGui
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter2*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter2*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIAdapter.EnumOutputs" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGIAdapter2 : IDXGIAdapter2.Interface, INativeGui
|
||||
[VtblIndex(7)]
|
||||
public HResult EnumOutputs(uint Output, IDXGIOutput** ppOutput)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter2*, uint, IDXGIOutput**, int>)(lpVtbl[7]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), Output, ppOutput);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter2*, uint, IDXGIOutput**, int>)(lpVtbl[7]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), Output, ppOutput);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIAdapter.GetDesc" />
|
||||
@@ -119,15 +151,23 @@ public unsafe partial struct IDXGIAdapter2 : IDXGIAdapter2.Interface, INativeGui
|
||||
[VtblIndex(8)]
|
||||
public HResult GetDesc(AdapterDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter2*, AdapterDescription*, int>)(lpVtbl[8]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter2*, AdapterDescription*, int>)(lpVtbl[8]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIAdapter.CheckInterfaceSupport" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(9)]
|
||||
public HResult CheckInterfaceSupport(Guid* InterfaceName, LargeInteger* pUMDVersion)
|
||||
public HResult CheckInterfaceSupport(Guid* InterfaceName, long* pUMDVersion)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter2*, Guid*, LargeInteger*, int>)(lpVtbl[9]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), InterfaceName, pUMDVersion);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter2*, Guid*, long*, int>)(lpVtbl[9]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), InterfaceName, pUMDVersion);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter2*, Guid*, long*, int>)(lpVtbl[9]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), InterfaceName, pUMDVersion);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIAdapter1.GetDesc1" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGIAdapter2 : IDXGIAdapter2.Interface, INativeGui
|
||||
[VtblIndex(10)]
|
||||
public HResult GetDesc1(AdapterDescription1* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter2*, AdapterDescription1*, int>)(lpVtbl[10]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter2*, AdapterDescription1*, int>)(lpVtbl[10]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIAdapter2::GetDesc2"]/*' />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct IDXGIAdapter2 : IDXGIAdapter2.Interface, INativeGui
|
||||
[VtblIndex(11)]
|
||||
public HResult GetDesc2(AdapterDescription2* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter2*, AdapterDescription2*, int>)(lpVtbl[11]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter2*, AdapterDescription2*, int>)(lpVtbl[11]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIAdapter1.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface, INativeGui
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter3*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter3*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter3*, uint>)(lpVtbl[1]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter3*, uint>)(lpVtbl[1]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter3*, uint>)(lpVtbl[2]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter3*, uint>)(lpVtbl[2]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface, INativeGui
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter3*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter3*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface, INativeGui
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter3*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter3*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface, INativeGui
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter3*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter3*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface, INativeGui
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter3*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter3*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIAdapter.EnumOutputs" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface, INativeGui
|
||||
[VtblIndex(7)]
|
||||
public HResult EnumOutputs(uint Output, IDXGIOutput** ppOutput)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter3*, uint, IDXGIOutput**, int>)(lpVtbl[7]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), Output, ppOutput);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter3*, uint, IDXGIOutput**, int>)(lpVtbl[7]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), Output, ppOutput);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIAdapter.GetDesc" />
|
||||
@@ -119,15 +151,23 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface, INativeGui
|
||||
[VtblIndex(8)]
|
||||
public HResult GetDesc(AdapterDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter3*, AdapterDescription*, int>)(lpVtbl[8]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter3*, AdapterDescription*, int>)(lpVtbl[8]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIAdapter.CheckInterfaceSupport" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(9)]
|
||||
public HResult CheckInterfaceSupport(Guid* InterfaceName, LargeInteger* pUMDVersion)
|
||||
public HResult CheckInterfaceSupport(Guid* InterfaceName, long* pUMDVersion)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter3*, Guid*, LargeInteger*, int>)(lpVtbl[9]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), InterfaceName, pUMDVersion);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter3*, Guid*, long*, int>)(lpVtbl[9]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), InterfaceName, pUMDVersion);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter3*, Guid*, long*, int>)(lpVtbl[9]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), InterfaceName, pUMDVersion);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIAdapter1.GetDesc1" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface, INativeGui
|
||||
[VtblIndex(10)]
|
||||
public HResult GetDesc1(AdapterDescription1* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter3*, AdapterDescription1*, int>)(lpVtbl[10]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter3*, AdapterDescription1*, int>)(lpVtbl[10]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIAdapter2.GetDesc2" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface, INativeGui
|
||||
[VtblIndex(11)]
|
||||
public HResult GetDesc2(AdapterDescription2* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter3*, AdapterDescription2*, int>)(lpVtbl[11]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter3*, AdapterDescription2*, int>)(lpVtbl[11]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIAdapter3::RegisterHardwareContentProtectionTeardownStatusEvent"]/*' />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface, INativeGui
|
||||
[VtblIndex(12)]
|
||||
public HResult RegisterHardwareContentProtectionTeardownStatusEvent(Handle hEvent, uint* pdwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter3*, Handle, uint*, int>)(lpVtbl[12]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter3*, Handle, uint*, int>)(lpVtbl[12]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIAdapter3::UnregisterHardwareContentProtectionTeardownStatus"]/*' />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface, INativeGui
|
||||
[VtblIndex(13)]
|
||||
public void UnregisterHardwareContentProtectionTeardownStatus(uint dwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIAdapter3*, uint, void>)(lpVtbl[13]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIAdapter3*, uint, void>)(lpVtbl[13]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIAdapter3::QueryVideoMemoryInfo"]/*' />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface, INativeGui
|
||||
[VtblIndex(14)]
|
||||
public HResult QueryVideoMemoryInfo(uint NodeIndex, MemorySegmentGroup MemorySegmentGroup, QueryVideoMemoryInfo* pVideoMemoryInfo)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter3*, uint, MemorySegmentGroup, QueryVideoMemoryInfo*, int>)(lpVtbl[14]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), NodeIndex, MemorySegmentGroup, pVideoMemoryInfo);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter3*, uint, MemorySegmentGroup, QueryVideoMemoryInfo*, int>)(lpVtbl[14]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), NodeIndex, MemorySegmentGroup, pVideoMemoryInfo);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIAdapter3::SetVideoMemoryReservation"]/*' />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface, INativeGui
|
||||
[VtblIndex(15)]
|
||||
public HResult SetVideoMemoryReservation(uint NodeIndex, MemorySegmentGroup MemorySegmentGroup, ulong Reservation)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter3*, uint, MemorySegmentGroup, ulong, int>)(lpVtbl[15]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), NodeIndex, MemorySegmentGroup, Reservation);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter3*, uint, MemorySegmentGroup, ulong, int>)(lpVtbl[15]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), NodeIndex, MemorySegmentGroup, Reservation);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIAdapter3::RegisterVideoMemoryBudgetChangeNotificationEvent"]/*' />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface, INativeGui
|
||||
[VtblIndex(16)]
|
||||
public HResult RegisterVideoMemoryBudgetChangeNotificationEvent(Handle hEvent, uint* pdwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter3*, Handle, uint*, int>)(lpVtbl[16]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter3*, Handle, uint*, int>)(lpVtbl[16]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIAdapter3::UnregisterVideoMemoryBudgetChangeNotification"]/*' />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface, INativeGui
|
||||
[VtblIndex(17)]
|
||||
public void UnregisterVideoMemoryBudgetChangeNotification(uint dwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIAdapter3*, uint, void>)(lpVtbl[17]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIAdapter3*, uint, void>)(lpVtbl[17]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIAdapter2.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface, INativeGui
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter4*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter4*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter4*, uint>)(lpVtbl[1]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter4*, uint>)(lpVtbl[1]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter4*, uint>)(lpVtbl[2]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter4*, uint>)(lpVtbl[2]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface, INativeGui
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter4*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter4*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface, INativeGui
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter4*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter4*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface, INativeGui
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter4*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter4*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface, INativeGui
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter4*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter4*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIAdapter.EnumOutputs" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface, INativeGui
|
||||
[VtblIndex(7)]
|
||||
public HResult EnumOutputs(uint Output, IDXGIOutput** ppOutput)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter4*, uint, IDXGIOutput**, int>)(lpVtbl[7]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), Output, ppOutput);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter4*, uint, IDXGIOutput**, int>)(lpVtbl[7]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), Output, ppOutput);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIAdapter.GetDesc" />
|
||||
@@ -119,15 +151,23 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface, INativeGui
|
||||
[VtblIndex(8)]
|
||||
public HResult GetDesc(AdapterDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter4*, AdapterDescription*, int>)(lpVtbl[8]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter4*, AdapterDescription*, int>)(lpVtbl[8]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIAdapter.CheckInterfaceSupport" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(9)]
|
||||
public HResult CheckInterfaceSupport(Guid* InterfaceName, LargeInteger* pUMDVersion)
|
||||
public HResult CheckInterfaceSupport(Guid* InterfaceName, long* pUMDVersion)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter4*, Guid*, LargeInteger*, int>)(lpVtbl[9]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), InterfaceName, pUMDVersion);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter4*, Guid*, long*, int>)(lpVtbl[9]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), InterfaceName, pUMDVersion);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter4*, Guid*, long*, int>)(lpVtbl[9]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), InterfaceName, pUMDVersion);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIAdapter1.GetDesc1" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface, INativeGui
|
||||
[VtblIndex(10)]
|
||||
public HResult GetDesc1(AdapterDescription1* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter4*, AdapterDescription1*, int>)(lpVtbl[10]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter4*, AdapterDescription1*, int>)(lpVtbl[10]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIAdapter2.GetDesc2" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface, INativeGui
|
||||
[VtblIndex(11)]
|
||||
public HResult GetDesc2(AdapterDescription2* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter4*, AdapterDescription2*, int>)(lpVtbl[11]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter4*, AdapterDescription2*, int>)(lpVtbl[11]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIAdapter3.RegisterHardwareContentProtectionTeardownStatusEvent" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface, INativeGui
|
||||
[VtblIndex(12)]
|
||||
public HResult RegisterHardwareContentProtectionTeardownStatusEvent(Handle hEvent, uint* pdwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter4*, Handle, uint*, int>)(lpVtbl[12]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter4*, Handle, uint*, int>)(lpVtbl[12]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIAdapter3.UnregisterHardwareContentProtectionTeardownStatus" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface, INativeGui
|
||||
[VtblIndex(13)]
|
||||
public void UnregisterHardwareContentProtectionTeardownStatus(uint dwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIAdapter4*, uint, void>)(lpVtbl[13]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIAdapter4*, uint, void>)(lpVtbl[13]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIAdapter3.QueryVideoMemoryInfo" />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface, INativeGui
|
||||
[VtblIndex(14)]
|
||||
public HResult QueryVideoMemoryInfo(uint NodeIndex, MemorySegmentGroup MemorySegmentGroup, QueryVideoMemoryInfo* pVideoMemoryInfo)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter4*, uint, MemorySegmentGroup, QueryVideoMemoryInfo*, int>)(lpVtbl[14]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), NodeIndex, MemorySegmentGroup, pVideoMemoryInfo);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter4*, uint, MemorySegmentGroup, QueryVideoMemoryInfo*, int>)(lpVtbl[14]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), NodeIndex, MemorySegmentGroup, pVideoMemoryInfo);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIAdapter3.SetVideoMemoryReservation" />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface, INativeGui
|
||||
[VtblIndex(15)]
|
||||
public HResult SetVideoMemoryReservation(uint NodeIndex, MemorySegmentGroup MemorySegmentGroup, ulong Reservation)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter4*, uint, MemorySegmentGroup, ulong, int>)(lpVtbl[15]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), NodeIndex, MemorySegmentGroup, Reservation);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter4*, uint, MemorySegmentGroup, ulong, int>)(lpVtbl[15]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), NodeIndex, MemorySegmentGroup, Reservation);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIAdapter3.RegisterVideoMemoryBudgetChangeNotificationEvent" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface, INativeGui
|
||||
[VtblIndex(16)]
|
||||
public HResult RegisterVideoMemoryBudgetChangeNotificationEvent(Handle hEvent, uint* pdwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter4*, Handle, uint*, int>)(lpVtbl[16]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter4*, Handle, uint*, int>)(lpVtbl[16]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIAdapter3.UnregisterVideoMemoryBudgetChangeNotification" />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface, INativeGui
|
||||
[VtblIndex(17)]
|
||||
public void UnregisterVideoMemoryBudgetChangeNotification(uint dwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIAdapter4*, uint, void>)(lpVtbl[17]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIAdapter4*, uint, void>)(lpVtbl[17]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIAdapter4::GetDesc3"]/*' />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface, INativeGui
|
||||
[VtblIndex(18)]
|
||||
public HResult GetDesc3(AdapterDescription3* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIAdapter4*, AdapterDescription3*, int>)(lpVtbl[18]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIAdapter4*, AdapterDescription3*, int>)(lpVtbl[18]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIAdapter3.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIDebug : IDXGIDebug.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDebug*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIDebug*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDebug*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIDebug*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIDebug : IDXGIDebug.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDebug*, uint>)(lpVtbl[1]))((IDXGIDebug*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDebug*, uint>)(lpVtbl[1]))((IDXGIDebug*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIDebug : IDXGIDebug.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDebug*, uint>)(lpVtbl[2]))((IDXGIDebug*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDebug*, uint>)(lpVtbl[2]))((IDXGIDebug*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDebug::ReportLiveObjects"]/*' />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIDebug : IDXGIDebug.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public HResult ReportLiveObjects(Guid apiid, ReportLiveObjectFlags flags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDebug*, Guid, ReportLiveObjectFlags, int>)(lpVtbl[3]))((IDXGIDebug*)Unsafe.AsPointer(ref this), apiid, flags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDebug*, Guid, ReportLiveObjectFlags, int>)(lpVtbl[3]))((IDXGIDebug*)Unsafe.AsPointer(ref this), apiid, flags);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIDebug1 : IDXGIDebug1.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDebug1*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIDebug1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDebug1*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIDebug1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIDebug1 : IDXGIDebug1.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDebug1*, uint>)(lpVtbl[1]))((IDXGIDebug1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDebug1*, uint>)(lpVtbl[1]))((IDXGIDebug1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIDebug1 : IDXGIDebug1.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDebug1*, uint>)(lpVtbl[2]))((IDXGIDebug1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDebug1*, uint>)(lpVtbl[2]))((IDXGIDebug1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDebug.ReportLiveObjects" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIDebug1 : IDXGIDebug1.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public HResult ReportLiveObjects(Guid apiid, ReportLiveObjectFlags flags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDebug1*, Guid, ReportLiveObjectFlags, int>)(lpVtbl[3]))((IDXGIDebug1*)Unsafe.AsPointer(ref this), apiid, flags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDebug1*, Guid, ReportLiveObjectFlags, int>)(lpVtbl[3]))((IDXGIDebug1*)Unsafe.AsPointer(ref this), apiid, flags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDebug1::EnableLeakTrackingForThread"]/*' />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIDebug1 : IDXGIDebug1.Interface, INativeGuid
|
||||
[VtblIndex(4)]
|
||||
public void EnableLeakTrackingForThread()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIDebug1*, void>)(lpVtbl[4]))((IDXGIDebug1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIDebug1*, void>)(lpVtbl[4]))((IDXGIDebug1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDebug1::DisableLeakTrackingForThread"]/*' />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIDebug1 : IDXGIDebug1.Interface, INativeGuid
|
||||
[VtblIndex(5)]
|
||||
public void DisableLeakTrackingForThread()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIDebug1*, void>)(lpVtbl[5]))((IDXGIDebug1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIDebug1*, void>)(lpVtbl[5]))((IDXGIDebug1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDebug1::IsLeakTrackingEnabledForThread"]/*' />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIDebug1 : IDXGIDebug1.Interface, INativeGuid
|
||||
[VtblIndex(6)]
|
||||
public Bool32 IsLeakTrackingEnabledForThread()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDebug1*, Bool32>)(lpVtbl[6]))((IDXGIDebug1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDebug1*, Bool32>)(lpVtbl[6]))((IDXGIDebug1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIDebug.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIDecodeSwapChain : IDXGIDecodeSwapChain.Interfa
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDecodeSwapChain*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDecodeSwapChain*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIDecodeSwapChain : IDXGIDecodeSwapChain.Interfa
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDecodeSwapChain*, uint>)(lpVtbl[1]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDecodeSwapChain*, uint>)(lpVtbl[1]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIDecodeSwapChain : IDXGIDecodeSwapChain.Interfa
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDecodeSwapChain*, uint>)(lpVtbl[2]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDecodeSwapChain*, uint>)(lpVtbl[2]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDecodeSwapChain::PresentBuffer"]/*' />
|
||||
@@ -79,7 +91,11 @@ 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<IDXGIDecodeSwapChain*, uint, uint, uint, int>)(lpVtbl[3]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), BufferToPresent, SyncInterval, Flags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDecodeSwapChain*, uint, uint, uint, int>)(lpVtbl[3]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), BufferToPresent, SyncInterval, Flags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDecodeSwapChain::SetSourceRect"]/*' />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIDecodeSwapChain : IDXGIDecodeSwapChain.Interfa
|
||||
[VtblIndex(4)]
|
||||
public HResult SetSourceRect(Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDecodeSwapChain*, Rect*, int>)(lpVtbl[4]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), pRect);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDecodeSwapChain*, Rect*, int>)(lpVtbl[4]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDecodeSwapChain::SetTargetRect"]/*' />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIDecodeSwapChain : IDXGIDecodeSwapChain.Interfa
|
||||
[VtblIndex(5)]
|
||||
public HResult SetTargetRect(Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDecodeSwapChain*, Rect*, int>)(lpVtbl[5]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), pRect);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDecodeSwapChain*, Rect*, int>)(lpVtbl[5]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDecodeSwapChain::SetDestSize"]/*' />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIDecodeSwapChain : IDXGIDecodeSwapChain.Interfa
|
||||
[VtblIndex(6)]
|
||||
public HResult SetDestSize(uint Width, uint Height)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDecodeSwapChain*, uint, uint, int>)(lpVtbl[6]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), Width, Height);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDecodeSwapChain*, uint, uint, int>)(lpVtbl[6]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), Width, Height);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDecodeSwapChain::GetSourceRect"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGIDecodeSwapChain : IDXGIDecodeSwapChain.Interfa
|
||||
[VtblIndex(7)]
|
||||
public HResult GetSourceRect(Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDecodeSwapChain*, Rect*, int>)(lpVtbl[7]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), pRect);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDecodeSwapChain*, Rect*, int>)(lpVtbl[7]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDecodeSwapChain::GetTargetRect"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct IDXGIDecodeSwapChain : IDXGIDecodeSwapChain.Interfa
|
||||
[VtblIndex(8)]
|
||||
public HResult GetTargetRect(Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDecodeSwapChain*, Rect*, int>)(lpVtbl[8]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), pRect);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDecodeSwapChain*, Rect*, int>)(lpVtbl[8]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDecodeSwapChain::GetDestSize"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct IDXGIDecodeSwapChain : IDXGIDecodeSwapChain.Interfa
|
||||
[VtblIndex(9)]
|
||||
public HResult GetDestSize(uint* pWidth, uint* pHeight)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDecodeSwapChain*, uint*, uint*, int>)(lpVtbl[9]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), pWidth, pHeight);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDecodeSwapChain*, uint*, uint*, int>)(lpVtbl[9]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), pWidth, pHeight);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDecodeSwapChain::SetColorSpace"]/*' />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGIDecodeSwapChain : IDXGIDecodeSwapChain.Interfa
|
||||
[VtblIndex(10)]
|
||||
public HResult SetColorSpace(MultiplaneOverlayYcbcrFlags ColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDecodeSwapChain*, MultiplaneOverlayYcbcrFlags, int>)(lpVtbl[10]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), ColorSpace);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDecodeSwapChain*, MultiplaneOverlayYcbcrFlags, int>)(lpVtbl[10]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), ColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDecodeSwapChain::GetColorSpace"]/*' />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct IDXGIDecodeSwapChain : IDXGIDecodeSwapChain.Interfa
|
||||
[VtblIndex(11)]
|
||||
public MultiplaneOverlayYcbcrFlags GetColorSpace()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDecodeSwapChain*, MultiplaneOverlayYcbcrFlags>)(lpVtbl[11]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDecodeSwapChain*, MultiplaneOverlayYcbcrFlags>)(lpVtbl[11]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIDevice : IDXGIDevice.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIDevice*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIDevice*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIDevice : IDXGIDevice.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice*, uint>)(lpVtbl[1]))((IDXGIDevice*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice*, uint>)(lpVtbl[1]))((IDXGIDevice*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIDevice : IDXGIDevice.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice*, uint>)(lpVtbl[2]))((IDXGIDevice*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice*, uint>)(lpVtbl[2]))((IDXGIDevice*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIDevice : IDXGIDevice.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIDevice*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIDevice*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIDevice : IDXGIDevice.Interface, INativeGuid
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIDevice*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIDevice*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIDevice : IDXGIDevice.Interface, INativeGuid
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIDevice*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIDevice*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIDevice : IDXGIDevice.Interface, INativeGuid
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIDevice*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIDevice*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice::GetAdapter"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGIDevice : IDXGIDevice.Interface, INativeGuid
|
||||
[VtblIndex(7)]
|
||||
public HResult GetAdapter(IDXGIAdapter** pAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice*, IDXGIAdapter**, int>)(lpVtbl[7]))((IDXGIDevice*)Unsafe.AsPointer(ref this), pAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice*, IDXGIAdapter**, int>)(lpVtbl[7]))((IDXGIDevice*)Unsafe.AsPointer(ref this), pAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice::CreateSurface"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct IDXGIDevice : IDXGIDevice.Interface, INativeGuid
|
||||
[VtblIndex(8)]
|
||||
public HResult CreateSurface(SurfaceDescription* pDesc, uint NumSurfaces, Usage Usage, SharedResource* pSharedResource, IDXGISurface** ppSurface)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice*, SurfaceDescription*, uint, Usage, SharedResource*, IDXGISurface**, int>)(lpVtbl[8]))((IDXGIDevice*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice*, SurfaceDescription*, uint, Usage, SharedResource*, IDXGISurface**, int>)(lpVtbl[8]))((IDXGIDevice*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice::QueryResourceResidency"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct IDXGIDevice : IDXGIDevice.Interface, INativeGuid
|
||||
[VtblIndex(9)]
|
||||
public HResult QueryResourceResidency(IUnknown** ppResources, Residency* pResidencyStatus, uint NumResources)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice*, IUnknown**, Residency*, uint, int>)(lpVtbl[9]))((IDXGIDevice*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice*, IUnknown**, Residency*, uint, int>)(lpVtbl[9]))((IDXGIDevice*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice::SetGPUThreadPriority"]/*' />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGIDevice : IDXGIDevice.Interface, INativeGuid
|
||||
[VtblIndex(10)]
|
||||
public HResult SetGPUThreadPriority(int Priority)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice*, int, int>)(lpVtbl[10]))((IDXGIDevice*)Unsafe.AsPointer(ref this), Priority);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice*, int, int>)(lpVtbl[10]))((IDXGIDevice*)Unsafe.AsPointer(ref this), Priority);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice::GetGPUThreadPriority"]/*' />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct IDXGIDevice : IDXGIDevice.Interface, INativeGuid
|
||||
[VtblIndex(11)]
|
||||
public HResult GetGPUThreadPriority(int* pPriority)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice*, int*, int>)(lpVtbl[11]))((IDXGIDevice*)Unsafe.AsPointer(ref this), pPriority);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice*, int*, int>)(lpVtbl[11]))((IDXGIDevice*)Unsafe.AsPointer(ref this), pPriority);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIObject.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice1*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice1*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice1*, uint>)(lpVtbl[1]))((IDXGIDevice1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice1*, uint>)(lpVtbl[1]))((IDXGIDevice1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice1*, uint>)(lpVtbl[2]))((IDXGIDevice1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice1*, uint>)(lpVtbl[2]))((IDXGIDevice1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice1*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice1*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface, INativeGuid
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice1*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice1*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface, INativeGuid
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice1*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice1*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface, INativeGuid
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice1*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice1*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice.GetAdapter" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface, INativeGuid
|
||||
[VtblIndex(7)]
|
||||
public HResult GetAdapter(IDXGIAdapter** pAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice1*, IDXGIAdapter**, int>)(lpVtbl[7]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), pAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice1*, IDXGIAdapter**, int>)(lpVtbl[7]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), pAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice.CreateSurface" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface, INativeGuid
|
||||
[VtblIndex(8)]
|
||||
public HResult CreateSurface(SurfaceDescription* pDesc, uint NumSurfaces, Usage Usage, SharedResource* pSharedResource, IDXGISurface** ppSurface)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice1*, SurfaceDescription*, uint, Usage, SharedResource*, IDXGISurface**, int>)(lpVtbl[8]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice1*, SurfaceDescription*, uint, Usage, SharedResource*, IDXGISurface**, int>)(lpVtbl[8]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice.QueryResourceResidency" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface, INativeGuid
|
||||
[VtblIndex(9)]
|
||||
public HResult QueryResourceResidency(IUnknown** ppResources, Residency* pResidencyStatus, uint NumResources)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice1*, IUnknown**, Residency*, uint, int>)(lpVtbl[9]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice1*, IUnknown**, Residency*, uint, int>)(lpVtbl[9]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice.SetGPUThreadPriority" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface, INativeGuid
|
||||
[VtblIndex(10)]
|
||||
public HResult SetGPUThreadPriority(int Priority)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice1*, int, int>)(lpVtbl[10]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), Priority);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice1*, int, int>)(lpVtbl[10]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), Priority);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice.GetGPUThreadPriority" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface, INativeGuid
|
||||
[VtblIndex(11)]
|
||||
public HResult GetGPUThreadPriority(int* pPriority)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice1*, int*, int>)(lpVtbl[11]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), pPriority);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice1*, int*, int>)(lpVtbl[11]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), pPriority);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice1::SetMaximumFrameLatency"]/*' />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface, INativeGuid
|
||||
[VtblIndex(12)]
|
||||
public HResult SetMaximumFrameLatency(uint MaxLatency)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice1*, uint, int>)(lpVtbl[12]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), MaxLatency);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice1*, uint, int>)(lpVtbl[12]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), MaxLatency);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice1::GetMaximumFrameLatency"]/*' />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface, INativeGuid
|
||||
[VtblIndex(13)]
|
||||
public HResult GetMaximumFrameLatency(uint* pMaxLatency)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice1*, uint*, int>)(lpVtbl[13]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), pMaxLatency);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice1*, uint*, int>)(lpVtbl[13]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), pMaxLatency);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIDevice.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice2*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice2*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice2*, uint>)(lpVtbl[1]))((IDXGIDevice2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice2*, uint>)(lpVtbl[1]))((IDXGIDevice2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice2*, uint>)(lpVtbl[2]))((IDXGIDevice2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice2*, uint>)(lpVtbl[2]))((IDXGIDevice2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice2*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice2*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface, INativeGuid
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice2*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice2*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface, INativeGuid
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice2*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice2*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface, INativeGuid
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice2*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice2*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice.GetAdapter" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface, INativeGuid
|
||||
[VtblIndex(7)]
|
||||
public HResult GetAdapter(IDXGIAdapter** pAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice2*, IDXGIAdapter**, int>)(lpVtbl[7]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), pAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice2*, IDXGIAdapter**, int>)(lpVtbl[7]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), pAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice.CreateSurface" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface, INativeGuid
|
||||
[VtblIndex(8)]
|
||||
public HResult CreateSurface(SurfaceDescription* pDesc, uint NumSurfaces, Usage Usage, SharedResource* pSharedResource, IDXGISurface** ppSurface)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice2*, SurfaceDescription*, uint, Usage, SharedResource*, IDXGISurface**, int>)(lpVtbl[8]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice2*, SurfaceDescription*, uint, Usage, SharedResource*, IDXGISurface**, int>)(lpVtbl[8]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice.QueryResourceResidency" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface, INativeGuid
|
||||
[VtblIndex(9)]
|
||||
public HResult QueryResourceResidency(IUnknown** ppResources, Residency* pResidencyStatus, uint NumResources)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice2*, IUnknown**, Residency*, uint, int>)(lpVtbl[9]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice2*, IUnknown**, Residency*, uint, int>)(lpVtbl[9]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice.SetGPUThreadPriority" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface, INativeGuid
|
||||
[VtblIndex(10)]
|
||||
public HResult SetGPUThreadPriority(int Priority)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice2*, int, int>)(lpVtbl[10]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), Priority);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice2*, int, int>)(lpVtbl[10]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), Priority);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice.GetGPUThreadPriority" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface, INativeGuid
|
||||
[VtblIndex(11)]
|
||||
public HResult GetGPUThreadPriority(int* pPriority)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice2*, int*, int>)(lpVtbl[11]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), pPriority);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice2*, int*, int>)(lpVtbl[11]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), pPriority);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice1.SetMaximumFrameLatency" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface, INativeGuid
|
||||
[VtblIndex(12)]
|
||||
public HResult SetMaximumFrameLatency(uint MaxLatency)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice2*, uint, int>)(lpVtbl[12]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), MaxLatency);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice2*, uint, int>)(lpVtbl[12]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), MaxLatency);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice1.GetMaximumFrameLatency" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface, INativeGuid
|
||||
[VtblIndex(13)]
|
||||
public HResult GetMaximumFrameLatency(uint* pMaxLatency)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice2*, uint*, int>)(lpVtbl[13]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), pMaxLatency);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice2*, uint*, int>)(lpVtbl[13]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), pMaxLatency);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice2::OfferResources"]/*' />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface, INativeGuid
|
||||
[VtblIndex(14)]
|
||||
public HResult OfferResources(uint NumResources, IDXGIResource** ppResources, OfferResourcePriority Priority)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice2*, uint, IDXGIResource**, OfferResourcePriority, int>)(lpVtbl[14]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), NumResources, ppResources, Priority);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice2*, uint, IDXGIResource**, OfferResourcePriority, int>)(lpVtbl[14]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), NumResources, ppResources, Priority);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice2::ReclaimResources"]/*' />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface, INativeGuid
|
||||
[VtblIndex(15)]
|
||||
public HResult ReclaimResources(uint NumResources, IDXGIResource** ppResources, Bool32* pDiscarded)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice2*, uint, IDXGIResource**, Bool32*, int>)(lpVtbl[15]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), NumResources, ppResources, pDiscarded);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice2*, uint, IDXGIResource**, Bool32*, int>)(lpVtbl[15]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), NumResources, ppResources, pDiscarded);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice2::EnqueueSetEvent"]/*' />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface, INativeGuid
|
||||
[VtblIndex(16)]
|
||||
public HResult EnqueueSetEvent(Handle hEvent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice2*, Handle, int>)(lpVtbl[16]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), hEvent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice2*, Handle, int>)(lpVtbl[16]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), hEvent);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIDevice1.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice3*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice3*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice3*, uint>)(lpVtbl[1]))((IDXGIDevice3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice3*, uint>)(lpVtbl[1]))((IDXGIDevice3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice3*, uint>)(lpVtbl[2]))((IDXGIDevice3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice3*, uint>)(lpVtbl[2]))((IDXGIDevice3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice3*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice3*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface, INativeGuid
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice3*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice3*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface, INativeGuid
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice3*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice3*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface, INativeGuid
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice3*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice3*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice.GetAdapter" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface, INativeGuid
|
||||
[VtblIndex(7)]
|
||||
public HResult GetAdapter(IDXGIAdapter** pAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice3*, IDXGIAdapter**, int>)(lpVtbl[7]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), pAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice3*, IDXGIAdapter**, int>)(lpVtbl[7]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), pAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice.CreateSurface" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface, INativeGuid
|
||||
[VtblIndex(8)]
|
||||
public HResult CreateSurface(SurfaceDescription* pDesc, uint NumSurfaces, Usage Usage, SharedResource* pSharedResource, IDXGISurface** ppSurface)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice3*, SurfaceDescription*, uint, Usage, SharedResource*, IDXGISurface**, int>)(lpVtbl[8]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice3*, SurfaceDescription*, uint, Usage, SharedResource*, IDXGISurface**, int>)(lpVtbl[8]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice.QueryResourceResidency" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface, INativeGuid
|
||||
[VtblIndex(9)]
|
||||
public HResult QueryResourceResidency(IUnknown** ppResources, Residency* pResidencyStatus, uint NumResources)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice3*, IUnknown**, Residency*, uint, int>)(lpVtbl[9]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice3*, IUnknown**, Residency*, uint, int>)(lpVtbl[9]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice.SetGPUThreadPriority" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface, INativeGuid
|
||||
[VtblIndex(10)]
|
||||
public HResult SetGPUThreadPriority(int Priority)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice3*, int, int>)(lpVtbl[10]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), Priority);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice3*, int, int>)(lpVtbl[10]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), Priority);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice.GetGPUThreadPriority" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface, INativeGuid
|
||||
[VtblIndex(11)]
|
||||
public HResult GetGPUThreadPriority(int* pPriority)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice3*, int*, int>)(lpVtbl[11]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), pPriority);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice3*, int*, int>)(lpVtbl[11]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), pPriority);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice1.SetMaximumFrameLatency" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface, INativeGuid
|
||||
[VtblIndex(12)]
|
||||
public HResult SetMaximumFrameLatency(uint MaxLatency)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice3*, uint, int>)(lpVtbl[12]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), MaxLatency);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice3*, uint, int>)(lpVtbl[12]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), MaxLatency);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice1.GetMaximumFrameLatency" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface, INativeGuid
|
||||
[VtblIndex(13)]
|
||||
public HResult GetMaximumFrameLatency(uint* pMaxLatency)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice3*, uint*, int>)(lpVtbl[13]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), pMaxLatency);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice3*, uint*, int>)(lpVtbl[13]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), pMaxLatency);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice2.OfferResources" />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface, INativeGuid
|
||||
[VtblIndex(14)]
|
||||
public HResult OfferResources(uint NumResources, IDXGIResource** ppResources, OfferResourcePriority Priority)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice3*, uint, IDXGIResource**, OfferResourcePriority, int>)(lpVtbl[14]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), NumResources, ppResources, Priority);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice3*, uint, IDXGIResource**, OfferResourcePriority, int>)(lpVtbl[14]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), NumResources, ppResources, Priority);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice2.ReclaimResources" />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface, INativeGuid
|
||||
[VtblIndex(15)]
|
||||
public HResult ReclaimResources(uint NumResources, IDXGIResource** ppResources, Bool32* pDiscarded)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice3*, uint, IDXGIResource**, Bool32*, int>)(lpVtbl[15]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), NumResources, ppResources, pDiscarded);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice3*, uint, IDXGIResource**, Bool32*, int>)(lpVtbl[15]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), NumResources, ppResources, pDiscarded);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice2.EnqueueSetEvent" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface, INativeGuid
|
||||
[VtblIndex(16)]
|
||||
public HResult EnqueueSetEvent(Handle hEvent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice3*, Handle, int>)(lpVtbl[16]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), hEvent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice3*, Handle, int>)(lpVtbl[16]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), hEvent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice3::Trim"]/*' />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface, INativeGuid
|
||||
[VtblIndex(17)]
|
||||
public void Trim()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIDevice3*, void>)(lpVtbl[17]))((IDXGIDevice3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIDevice3*, void>)(lpVtbl[17]))((IDXGIDevice3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIDevice2.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice4*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice4*, uint>)(lpVtbl[1]))((IDXGIDevice4*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, uint>)(lpVtbl[1]))((IDXGIDevice4*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice4*, uint>)(lpVtbl[2]))((IDXGIDevice4*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, uint>)(lpVtbl[2]))((IDXGIDevice4*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice4*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface, INativeGuid
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice4*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface, INativeGuid
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice4*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface, INativeGuid
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice4*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice.GetAdapter" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface, INativeGuid
|
||||
[VtblIndex(7)]
|
||||
public HResult GetAdapter(IDXGIAdapter** pAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice4*, IDXGIAdapter**, int>)(lpVtbl[7]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), pAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, IDXGIAdapter**, int>)(lpVtbl[7]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), pAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice.CreateSurface" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface, INativeGuid
|
||||
[VtblIndex(8)]
|
||||
public HResult CreateSurface(SurfaceDescription* pDesc, uint NumSurfaces, Usage Usage, SharedResource* pSharedResource, IDXGISurface** ppSurface)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice4*, SurfaceDescription*, uint, Usage, SharedResource*, IDXGISurface**, int>)(lpVtbl[8]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, SurfaceDescription*, uint, Usage, SharedResource*, IDXGISurface**, int>)(lpVtbl[8]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice.QueryResourceResidency" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface, INativeGuid
|
||||
[VtblIndex(9)]
|
||||
public HResult QueryResourceResidency(IUnknown** ppResources, Residency* pResidencyStatus, uint NumResources)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice4*, IUnknown**, Residency*, uint, int>)(lpVtbl[9]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, IUnknown**, Residency*, uint, int>)(lpVtbl[9]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice.SetGPUThreadPriority" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface, INativeGuid
|
||||
[VtblIndex(10)]
|
||||
public HResult SetGPUThreadPriority(int Priority)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice4*, int, int>)(lpVtbl[10]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), Priority);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, int, int>)(lpVtbl[10]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), Priority);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice.GetGPUThreadPriority" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface, INativeGuid
|
||||
[VtblIndex(11)]
|
||||
public HResult GetGPUThreadPriority(int* pPriority)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice4*, int*, int>)(lpVtbl[11]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), pPriority);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, int*, int>)(lpVtbl[11]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), pPriority);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice1.SetMaximumFrameLatency" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface, INativeGuid
|
||||
[VtblIndex(12)]
|
||||
public HResult SetMaximumFrameLatency(uint MaxLatency)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice4*, uint, int>)(lpVtbl[12]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), MaxLatency);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, uint, int>)(lpVtbl[12]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), MaxLatency);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice1.GetMaximumFrameLatency" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface, INativeGuid
|
||||
[VtblIndex(13)]
|
||||
public HResult GetMaximumFrameLatency(uint* pMaxLatency)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice4*, uint*, int>)(lpVtbl[13]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), pMaxLatency);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, uint*, int>)(lpVtbl[13]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), pMaxLatency);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice2.OfferResources" />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface, INativeGuid
|
||||
[VtblIndex(14)]
|
||||
public HResult OfferResources(uint NumResources, IDXGIResource** ppResources, OfferResourcePriority Priority)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice4*, uint, IDXGIResource**, OfferResourcePriority, int>)(lpVtbl[14]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), NumResources, ppResources, Priority);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, uint, IDXGIResource**, OfferResourcePriority, int>)(lpVtbl[14]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), NumResources, ppResources, Priority);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice2.ReclaimResources" />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface, INativeGuid
|
||||
[VtblIndex(15)]
|
||||
public HResult ReclaimResources(uint NumResources, IDXGIResource** ppResources, Bool32* pDiscarded)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice4*, uint, IDXGIResource**, Bool32*, int>)(lpVtbl[15]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), NumResources, ppResources, pDiscarded);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, uint, IDXGIResource**, Bool32*, int>)(lpVtbl[15]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), NumResources, ppResources, pDiscarded);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice2.EnqueueSetEvent" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface, INativeGuid
|
||||
[VtblIndex(16)]
|
||||
public HResult EnqueueSetEvent(Handle hEvent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice4*, Handle, int>)(lpVtbl[16]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), hEvent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, Handle, int>)(lpVtbl[16]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), hEvent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDevice3.Trim" />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface, INativeGuid
|
||||
[VtblIndex(17)]
|
||||
public void Trim()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIDevice4*, void>)(lpVtbl[17]))((IDXGIDevice4*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIDevice4*, void>)(lpVtbl[17]))((IDXGIDevice4*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice4::OfferResources1"]/*' />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface, INativeGuid
|
||||
[VtblIndex(18)]
|
||||
public HResult OfferResources1(uint NumResources, IDXGIResource** ppResources, OfferResourcePriority Priority, uint Flags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice4*, uint, IDXGIResource**, OfferResourcePriority, uint, int>)(lpVtbl[18]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), NumResources, ppResources, Priority, Flags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, uint, IDXGIResource**, OfferResourcePriority, uint, int>)(lpVtbl[18]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), NumResources, ppResources, Priority, Flags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDevice4::ReclaimResources1"]/*' />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface, INativeGuid
|
||||
[VtblIndex(19)]
|
||||
public HResult ReclaimResources1(uint NumResources, IDXGIResource** ppResources, ReclaimResourceResults* pResults)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDevice4*, uint, IDXGIResource**, ReclaimResourceResults*, int>)(lpVtbl[19]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), NumResources, ppResources, pResults);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDevice4*, uint, IDXGIResource**, ReclaimResourceResults*, int>)(lpVtbl[19]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), NumResources, ppResources, pResults);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIDevice3.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIDeviceSubObject : IDXGIDeviceSubObject.Interfa
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDeviceSubObject*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIDeviceSubObject*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDeviceSubObject*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIDeviceSubObject*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIDeviceSubObject : IDXGIDeviceSubObject.Interfa
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDeviceSubObject*, uint>)(lpVtbl[1]))((IDXGIDeviceSubObject*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDeviceSubObject*, uint>)(lpVtbl[1]))((IDXGIDeviceSubObject*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIDeviceSubObject : IDXGIDeviceSubObject.Interfa
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDeviceSubObject*, uint>)(lpVtbl[2]))((IDXGIDeviceSubObject*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDeviceSubObject*, uint>)(lpVtbl[2]))((IDXGIDeviceSubObject*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ 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<IDXGIDeviceSubObject*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIDeviceSubObject*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDeviceSubObject*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIDeviceSubObject*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIDeviceSubObject : IDXGIDeviceSubObject.Interfa
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDeviceSubObject*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIDeviceSubObject*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDeviceSubObject*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIDeviceSubObject*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ 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<IDXGIDeviceSubObject*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIDeviceSubObject*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDeviceSubObject*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIDeviceSubObject*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIDeviceSubObject : IDXGIDeviceSubObject.Interfa
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDeviceSubObject*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIDeviceSubObject*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDeviceSubObject*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIDeviceSubObject*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDeviceSubObject::GetDevice"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGIDeviceSubObject : IDXGIDeviceSubObject.Interfa
|
||||
[VtblIndex(7)]
|
||||
public HResult GetDevice(Guid* riid, void** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDeviceSubObject*, Guid*, void**, int>)(lpVtbl[7]))((IDXGIDeviceSubObject*)Unsafe.AsPointer(ref this), riid, ppDevice);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDeviceSubObject*, Guid*, void**, int>)(lpVtbl[7]))((IDXGIDeviceSubObject*)Unsafe.AsPointer(ref this), riid, ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIObject.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIDisplayControl : IDXGIDisplayControl.Interface
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDisplayControl*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIDisplayControl*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDisplayControl*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIDisplayControl*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIDisplayControl : IDXGIDisplayControl.Interface
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDisplayControl*, uint>)(lpVtbl[1]))((IDXGIDisplayControl*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDisplayControl*, uint>)(lpVtbl[1]))((IDXGIDisplayControl*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIDisplayControl : IDXGIDisplayControl.Interface
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDisplayControl*, uint>)(lpVtbl[2]))((IDXGIDisplayControl*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDisplayControl*, uint>)(lpVtbl[2]))((IDXGIDisplayControl*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDisplayControl::IsStereoEnabled"]/*' />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIDisplayControl : IDXGIDisplayControl.Interface
|
||||
[VtblIndex(3)]
|
||||
public Bool32 IsStereoEnabled()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIDisplayControl*, Bool32>)(lpVtbl[3]))((IDXGIDisplayControl*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIDisplayControl*, Bool32>)(lpVtbl[3]))((IDXGIDisplayControl*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDisplayControl::SetStereoEnabled"]/*' />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIDisplayControl : IDXGIDisplayControl.Interface
|
||||
[VtblIndex(4)]
|
||||
public void SetStereoEnabled(Bool32 enabled)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIDisplayControl*, Bool32, void>)(lpVtbl[4]))((IDXGIDisplayControl*)Unsafe.AsPointer(ref this), enabled);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIDisplayControl*, Bool32, void>)(lpVtbl[4]))((IDXGIDisplayControl*)Unsafe.AsPointer(ref this), enabled);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIFactory : IDXGIFactory.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIFactory*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIFactory*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIFactory : IDXGIFactory.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory*, uint>)(lpVtbl[1]))((IDXGIFactory*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory*, uint>)(lpVtbl[1]))((IDXGIFactory*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIFactory : IDXGIFactory.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory*, uint>)(lpVtbl[2]))((IDXGIFactory*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory*, uint>)(lpVtbl[2]))((IDXGIFactory*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIFactory : IDXGIFactory.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIFactory*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIFactory*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIFactory : IDXGIFactory.Interface, INativeGuid
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIFactory*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIFactory*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIFactory : IDXGIFactory.Interface, INativeGuid
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIFactory*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIFactory*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIFactory : IDXGIFactory.Interface, INativeGuid
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIFactory*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIFactory*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIFactory::EnumAdapters"]/*' />
|
||||
@@ -111,23 +139,35 @@ public unsafe partial struct IDXGIFactory : IDXGIFactory.Interface, INativeGuid
|
||||
[VtblIndex(7)]
|
||||
public HResult EnumAdapters(uint Adapter, IDXGIAdapter** ppAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory*, uint, IDXGIAdapter**, int>)(lpVtbl[7]))((IDXGIFactory*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory*, uint, IDXGIAdapter**, int>)(lpVtbl[7]))((IDXGIFactory*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIFactory::MakeWindowAssociation"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(8)]
|
||||
public HResult MakeWindowAssociation(IntPtr WindowHandle, WindowAssociationFlags Flags)
|
||||
public HResult MakeWindowAssociation(nint WindowHandle, WindowAssociationFlags Flags)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory*, IntPtr, WindowAssociationFlags, int>)(lpVtbl[8]))((IDXGIFactory*)Unsafe.AsPointer(ref this), WindowHandle, Flags);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory*, nint, WindowAssociationFlags, int>)(lpVtbl[8]))((IDXGIFactory*)Unsafe.AsPointer(ref this), WindowHandle, Flags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory*, nint, WindowAssociationFlags, int>)(lpVtbl[8]))((IDXGIFactory*)Unsafe.AsPointer(ref this), WindowHandle, Flags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIFactory::GetWindowAssociation"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(9)]
|
||||
public HResult GetWindowAssociation(IntPtr* pWindowHandle)
|
||||
public HResult GetWindowAssociation(nint* pWindowHandle)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory*, IntPtr*, int>)(lpVtbl[9]))((IDXGIFactory*)Unsafe.AsPointer(ref this), pWindowHandle);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory*, nint*, int>)(lpVtbl[9]))((IDXGIFactory*)Unsafe.AsPointer(ref this), pWindowHandle);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory*, nint*, int>)(lpVtbl[9]))((IDXGIFactory*)Unsafe.AsPointer(ref this), pWindowHandle);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIFactory::CreateSwapChain"]/*' />
|
||||
@@ -135,15 +175,23 @@ public unsafe partial struct IDXGIFactory : IDXGIFactory.Interface, INativeGuid
|
||||
[VtblIndex(10)]
|
||||
public HResult CreateSwapChain(IUnknown* pDevice, SwapChainDescription* pDesc, IDXGISwapChain** ppSwapChain)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory*, IUnknown*, SwapChainDescription*, IDXGISwapChain**, int>)(lpVtbl[10]))((IDXGIFactory*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory*, IUnknown*, SwapChainDescription*, IDXGISwapChain**, int>)(lpVtbl[10]))((IDXGIFactory*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIFactory::CreateSoftwareAdapter"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(11)]
|
||||
public HResult CreateSoftwareAdapter(IntPtr Module, IDXGIAdapter** ppAdapter)
|
||||
public HResult CreateSoftwareAdapter(nint Module, IDXGIAdapter** ppAdapter)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory*, IntPtr, IDXGIAdapter**, int>)(lpVtbl[11]))((IDXGIFactory*)Unsafe.AsPointer(ref this), Module, ppAdapter);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory*, nint, IDXGIAdapter**, int>)(lpVtbl[11]))((IDXGIFactory*)Unsafe.AsPointer(ref this), Module, ppAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory*, nint, IDXGIAdapter**, int>)(lpVtbl[11]))((IDXGIFactory*)Unsafe.AsPointer(ref this), Module, ppAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIObject.Interface
|
||||
@@ -152,16 +200,16 @@ public unsafe partial struct IDXGIFactory : IDXGIFactory.Interface, INativeGuid
|
||||
HResult EnumAdapters(uint Adapter, IDXGIAdapter** ppAdapter);
|
||||
|
||||
[VtblIndex(8)]
|
||||
HResult MakeWindowAssociation(IntPtr WindowHandle, WindowAssociationFlags Flags);
|
||||
HResult MakeWindowAssociation(nint WindowHandle, WindowAssociationFlags Flags);
|
||||
|
||||
[VtblIndex(9)]
|
||||
HResult GetWindowAssociation(IntPtr* pWindowHandle);
|
||||
HResult GetWindowAssociation(nint* pWindowHandle);
|
||||
|
||||
[VtblIndex(10)]
|
||||
HResult CreateSwapChain(IUnknown* pDevice, SwapChainDescription* pDesc, IDXGISwapChain** ppSwapChain);
|
||||
|
||||
[VtblIndex(11)]
|
||||
HResult CreateSoftwareAdapter(IntPtr Module, IDXGIAdapter** ppAdapter);
|
||||
HResult CreateSoftwareAdapter(nint Module, IDXGIAdapter** ppAdapter);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface, INativeGui
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory1*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory1*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory1*, uint>)(lpVtbl[1]))((IDXGIFactory1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory1*, uint>)(lpVtbl[1]))((IDXGIFactory1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory1*, uint>)(lpVtbl[2]))((IDXGIFactory1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory1*, uint>)(lpVtbl[2]))((IDXGIFactory1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface, INativeGui
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory1*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory1*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface, INativeGui
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory1*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory1*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface, INativeGui
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory1*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory1*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface, INativeGui
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory1*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory1*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.EnumAdapters" />
|
||||
@@ -111,23 +139,35 @@ public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface, INativeGui
|
||||
[VtblIndex(7)]
|
||||
public HResult EnumAdapters(uint Adapter, IDXGIAdapter** ppAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory1*, uint, IDXGIAdapter**, int>)(lpVtbl[7]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory1*, uint, IDXGIAdapter**, int>)(lpVtbl[7]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.MakeWindowAssociation" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(8)]
|
||||
public HResult MakeWindowAssociation(IntPtr WindowHandle, WindowAssociationFlags Flags)
|
||||
public HResult MakeWindowAssociation(nint WindowHandle, WindowAssociationFlags Flags)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory1*, IntPtr, WindowAssociationFlags, int>)(lpVtbl[8]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), WindowHandle, Flags);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory1*, nint, WindowAssociationFlags, int>)(lpVtbl[8]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), WindowHandle, Flags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory1*, nint, WindowAssociationFlags, int>)(lpVtbl[8]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), WindowHandle, Flags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.GetWindowAssociation" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(9)]
|
||||
public HResult GetWindowAssociation(IntPtr* pWindowHandle)
|
||||
public HResult GetWindowAssociation(nint* pWindowHandle)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory1*, IntPtr*, int>)(lpVtbl[9]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), pWindowHandle);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory1*, nint*, int>)(lpVtbl[9]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), pWindowHandle);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory1*, nint*, int>)(lpVtbl[9]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), pWindowHandle);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.CreateSwapChain" />
|
||||
@@ -135,15 +175,23 @@ public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface, INativeGui
|
||||
[VtblIndex(10)]
|
||||
public HResult CreateSwapChain(IUnknown* pDevice, SwapChainDescription* pDesc, IDXGISwapChain** ppSwapChain)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory1*, IUnknown*, SwapChainDescription*, IDXGISwapChain**, int>)(lpVtbl[10]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory1*, IUnknown*, SwapChainDescription*, IDXGISwapChain**, int>)(lpVtbl[10]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.CreateSoftwareAdapter" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(11)]
|
||||
public HResult CreateSoftwareAdapter(IntPtr Module, IDXGIAdapter** ppAdapter)
|
||||
public HResult CreateSoftwareAdapter(nint Module, IDXGIAdapter** ppAdapter)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory1*, IntPtr, IDXGIAdapter**, int>)(lpVtbl[11]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Module, ppAdapter);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory1*, nint, IDXGIAdapter**, int>)(lpVtbl[11]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Module, ppAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory1*, nint, IDXGIAdapter**, int>)(lpVtbl[11]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Module, ppAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIFactory1::EnumAdapters1"]/*' />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface, INativeGui
|
||||
[VtblIndex(12)]
|
||||
public HResult EnumAdapters1(uint Adapter, IDXGIAdapter1** ppAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory1*, uint, IDXGIAdapter1**, int>)(lpVtbl[12]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory1*, uint, IDXGIAdapter1**, int>)(lpVtbl[12]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIFactory1::IsCurrent"]/*' />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface, INativeGui
|
||||
[VtblIndex(13)]
|
||||
public Bool32 IsCurrent()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory1*, Bool32>)(lpVtbl[13]))((IDXGIFactory1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory1*, Bool32>)(lpVtbl[13]))((IDXGIFactory1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIFactory.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface, INativeGui
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory2*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory2*, uint>)(lpVtbl[1]))((IDXGIFactory2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, uint>)(lpVtbl[1]))((IDXGIFactory2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory2*, uint>)(lpVtbl[2]))((IDXGIFactory2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, uint>)(lpVtbl[2]))((IDXGIFactory2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface, INativeGui
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory2*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface, INativeGui
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory2*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface, INativeGui
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory2*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface, INativeGui
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory2*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.EnumAdapters" />
|
||||
@@ -111,23 +139,35 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface, INativeGui
|
||||
[VtblIndex(7)]
|
||||
public HResult EnumAdapters(uint Adapter, IDXGIAdapter** ppAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory2*, uint, IDXGIAdapter**, int>)(lpVtbl[7]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, uint, IDXGIAdapter**, int>)(lpVtbl[7]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.MakeWindowAssociation" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(8)]
|
||||
public HResult MakeWindowAssociation(IntPtr WindowHandle, WindowAssociationFlags Flags)
|
||||
public HResult MakeWindowAssociation(nint WindowHandle, WindowAssociationFlags Flags)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, IntPtr, WindowAssociationFlags, int>)(lpVtbl[8]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, Flags);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory2*, nint, WindowAssociationFlags, int>)(lpVtbl[8]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, Flags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, nint, WindowAssociationFlags, int>)(lpVtbl[8]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, Flags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.GetWindowAssociation" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(9)]
|
||||
public HResult GetWindowAssociation(IntPtr* pWindowHandle)
|
||||
public HResult GetWindowAssociation(nint* pWindowHandle)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, IntPtr*, int>)(lpVtbl[9]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pWindowHandle);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory2*, nint*, int>)(lpVtbl[9]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pWindowHandle);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, nint*, int>)(lpVtbl[9]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pWindowHandle);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.CreateSwapChain" />
|
||||
@@ -135,15 +175,23 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface, INativeGui
|
||||
[VtblIndex(10)]
|
||||
public HResult CreateSwapChain(IUnknown* pDevice, SwapChainDescription* pDesc, IDXGISwapChain** ppSwapChain)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory2*, IUnknown*, SwapChainDescription*, IDXGISwapChain**, int>)(lpVtbl[10]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, IUnknown*, SwapChainDescription*, IDXGISwapChain**, int>)(lpVtbl[10]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.CreateSoftwareAdapter" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(11)]
|
||||
public HResult CreateSoftwareAdapter(IntPtr Module, IDXGIAdapter** ppAdapter)
|
||||
public HResult CreateSoftwareAdapter(nint Module, IDXGIAdapter** ppAdapter)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, IntPtr, IDXGIAdapter**, int>)(lpVtbl[11]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Module, ppAdapter);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory2*, nint, IDXGIAdapter**, int>)(lpVtbl[11]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Module, ppAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, nint, IDXGIAdapter**, int>)(lpVtbl[11]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Module, ppAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory1.EnumAdapters1" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface, INativeGui
|
||||
[VtblIndex(12)]
|
||||
public HResult EnumAdapters1(uint Adapter, IDXGIAdapter1** ppAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory2*, uint, IDXGIAdapter1**, int>)(lpVtbl[12]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, uint, IDXGIAdapter1**, int>)(lpVtbl[12]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory1.IsCurrent" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface, INativeGui
|
||||
[VtblIndex(13)]
|
||||
public Bool32 IsCurrent()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory2*, Bool32>)(lpVtbl[13]))((IDXGIFactory2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, Bool32>)(lpVtbl[13]))((IDXGIFactory2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIFactory2::IsWindowedStereoEnabled"]/*' />
|
||||
@@ -167,15 +223,23 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface, INativeGui
|
||||
[VtblIndex(14)]
|
||||
public Bool32 IsWindowedStereoEnabled()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory2*, Bool32>)(lpVtbl[14]))((IDXGIFactory2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, Bool32>)(lpVtbl[14]))((IDXGIFactory2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIFactory2::CreateSwapChainForHwnd"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(15)]
|
||||
public HResult CreateSwapChainForHwnd(IUnknown* pDevice, IntPtr hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain)
|
||||
public HResult CreateSwapChainForHwnd(IUnknown* pDevice, nint hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, IUnknown*, IntPtr, SwapChainDescription1*, SwapChainFullscreenDescription*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[15]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory2*, IUnknown*, nint, SwapChainDescription1*, SwapChainFullscreenDescription*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[15]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, IUnknown*, nint, SwapChainDescription1*, SwapChainFullscreenDescription*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[15]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIFactory2::CreateSwapChainForCoreWindow"]/*' />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface, INativeGui
|
||||
[VtblIndex(16)]
|
||||
public HResult CreateSwapChainForCoreWindow(IUnknown* pDevice, IUnknown* pWindow, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory2*, IUnknown*, IUnknown*, SwapChainDescription1*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[16]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pDevice, pWindow, pDesc, pRestrictToOutput, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, IUnknown*, IUnknown*, SwapChainDescription1*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[16]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pDevice, pWindow, pDesc, pRestrictToOutput, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIFactory2::GetSharedResourceAdapterLuid"]/*' />
|
||||
@@ -191,15 +259,23 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface, INativeGui
|
||||
[VtblIndex(17)]
|
||||
public HResult GetSharedResourceAdapterLuid(Handle hResource, Luid* pLuid)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory2*, Handle, Luid*, int>)(lpVtbl[17]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), hResource, pLuid);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, Handle, Luid*, int>)(lpVtbl[17]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), hResource, pLuid);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIFactory2::RegisterStereoStatusWindow"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(18)]
|
||||
public HResult RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie)
|
||||
public HResult RegisterStereoStatusWindow(nint WindowHandle, uint wMsg, uint* pdwCookie)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, IntPtr, uint, uint*, int>)(lpVtbl[18]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory2*, nint, uint, uint*, int>)(lpVtbl[18]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, nint, uint, uint*, int>)(lpVtbl[18]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIFactory2::RegisterStereoStatusEvent"]/*' />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface, INativeGui
|
||||
[VtblIndex(19)]
|
||||
public HResult RegisterStereoStatusEvent(Handle hEvent, uint* pdwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory2*, Handle, uint*, int>)(lpVtbl[19]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, Handle, uint*, int>)(lpVtbl[19]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIFactory2::UnregisterStereoStatus"]/*' />
|
||||
@@ -215,15 +295,23 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface, INativeGui
|
||||
[VtblIndex(20)]
|
||||
public void UnregisterStereoStatus(uint dwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIFactory2*, uint, void>)(lpVtbl[20]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIFactory2*, uint, void>)(lpVtbl[20]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIFactory2::RegisterOcclusionStatusWindow"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(21)]
|
||||
public HResult RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie)
|
||||
public HResult RegisterOcclusionStatusWindow(nint WindowHandle, uint wMsg, uint* pdwCookie)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, IntPtr, uint, uint*, int>)(lpVtbl[21]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory2*, nint, uint, uint*, int>)(lpVtbl[21]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, nint, uint, uint*, int>)(lpVtbl[21]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIFactory2::RegisterOcclusionStatusEvent"]/*' />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface, INativeGui
|
||||
[VtblIndex(22)]
|
||||
public HResult RegisterOcclusionStatusEvent(Handle hEvent, uint* pdwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory2*, Handle, uint*, int>)(lpVtbl[22]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, Handle, uint*, int>)(lpVtbl[22]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIFactory2::UnregisterOcclusionStatus"]/*' />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface, INativeGui
|
||||
[VtblIndex(23)]
|
||||
public void UnregisterOcclusionStatus(uint dwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIFactory2*, uint, void>)(lpVtbl[23]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIFactory2*, uint, void>)(lpVtbl[23]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIFactory2::CreateSwapChainForComposition"]/*' />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface, INativeGui
|
||||
[VtblIndex(24)]
|
||||
public HResult CreateSwapChainForComposition(IUnknown* pDevice, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory2*, IUnknown*, SwapChainDescription1*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[24]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pDevice, pDesc, pRestrictToOutput, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory2*, IUnknown*, SwapChainDescription1*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[24]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pDevice, pDesc, pRestrictToOutput, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIFactory1.Interface
|
||||
@@ -256,7 +356,7 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface, INativeGui
|
||||
Bool32 IsWindowedStereoEnabled();
|
||||
|
||||
[VtblIndex(15)]
|
||||
HResult CreateSwapChainForHwnd(IUnknown* pDevice, IntPtr hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain);
|
||||
HResult CreateSwapChainForHwnd(IUnknown* pDevice, nint hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain);
|
||||
|
||||
[VtblIndex(16)]
|
||||
HResult CreateSwapChainForCoreWindow(IUnknown* pDevice, IUnknown* pWindow, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain);
|
||||
@@ -265,7 +365,7 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface, INativeGui
|
||||
HResult GetSharedResourceAdapterLuid(Handle hResource, Luid* pLuid);
|
||||
|
||||
[VtblIndex(18)]
|
||||
HResult RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie);
|
||||
HResult RegisterStereoStatusWindow(nint WindowHandle, uint wMsg, uint* pdwCookie);
|
||||
|
||||
[VtblIndex(19)]
|
||||
HResult RegisterStereoStatusEvent(Handle hEvent, uint* pdwCookie);
|
||||
@@ -274,7 +374,7 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface, INativeGui
|
||||
void UnregisterStereoStatus(uint dwCookie);
|
||||
|
||||
[VtblIndex(21)]
|
||||
HResult RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie);
|
||||
HResult RegisterOcclusionStatusWindow(nint WindowHandle, uint wMsg, uint* pdwCookie);
|
||||
|
||||
[VtblIndex(22)]
|
||||
HResult RegisterOcclusionStatusEvent(Handle hEvent, uint* pdwCookie);
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface, INativeGui
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory3*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory3*, uint>)(lpVtbl[1]))((IDXGIFactory3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, uint>)(lpVtbl[1]))((IDXGIFactory3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory3*, uint>)(lpVtbl[2]))((IDXGIFactory3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, uint>)(lpVtbl[2]))((IDXGIFactory3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface, INativeGui
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory3*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface, INativeGui
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory3*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface, INativeGui
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory3*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface, INativeGui
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory3*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.EnumAdapters" />
|
||||
@@ -111,23 +139,35 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface, INativeGui
|
||||
[VtblIndex(7)]
|
||||
public HResult EnumAdapters(uint Adapter, IDXGIAdapter** ppAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory3*, uint, IDXGIAdapter**, int>)(lpVtbl[7]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, uint, IDXGIAdapter**, int>)(lpVtbl[7]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.MakeWindowAssociation" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(8)]
|
||||
public HResult MakeWindowAssociation(IntPtr WindowHandle, WindowAssociationFlags Flags)
|
||||
public HResult MakeWindowAssociation(nint WindowHandle, WindowAssociationFlags Flags)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, IntPtr, WindowAssociationFlags, int>)(lpVtbl[8]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), WindowHandle, Flags);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory3*, nint, WindowAssociationFlags, int>)(lpVtbl[8]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), WindowHandle, Flags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, nint, WindowAssociationFlags, int>)(lpVtbl[8]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), WindowHandle, Flags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.GetWindowAssociation" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(9)]
|
||||
public HResult GetWindowAssociation(IntPtr* pWindowHandle)
|
||||
public HResult GetWindowAssociation(nint* pWindowHandle)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, IntPtr*, int>)(lpVtbl[9]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), pWindowHandle);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory3*, nint*, int>)(lpVtbl[9]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), pWindowHandle);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, nint*, int>)(lpVtbl[9]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), pWindowHandle);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.CreateSwapChain" />
|
||||
@@ -135,15 +175,23 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface, INativeGui
|
||||
[VtblIndex(10)]
|
||||
public HResult CreateSwapChain(IUnknown* pDevice, SwapChainDescription* pDesc, IDXGISwapChain** ppSwapChain)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory3*, IUnknown*, SwapChainDescription*, IDXGISwapChain**, int>)(lpVtbl[10]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, IUnknown*, SwapChainDescription*, IDXGISwapChain**, int>)(lpVtbl[10]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.CreateSoftwareAdapter" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(11)]
|
||||
public HResult CreateSoftwareAdapter(IntPtr Module, IDXGIAdapter** ppAdapter)
|
||||
public HResult CreateSoftwareAdapter(nint Module, IDXGIAdapter** ppAdapter)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, IntPtr, IDXGIAdapter**, int>)(lpVtbl[11]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Module, ppAdapter);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory3*, nint, IDXGIAdapter**, int>)(lpVtbl[11]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Module, ppAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, nint, IDXGIAdapter**, int>)(lpVtbl[11]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Module, ppAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory1.EnumAdapters1" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface, INativeGui
|
||||
[VtblIndex(12)]
|
||||
public HResult EnumAdapters1(uint Adapter, IDXGIAdapter1** ppAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory3*, uint, IDXGIAdapter1**, int>)(lpVtbl[12]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, uint, IDXGIAdapter1**, int>)(lpVtbl[12]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory1.IsCurrent" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface, INativeGui
|
||||
[VtblIndex(13)]
|
||||
public Bool32 IsCurrent()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory3*, Bool32>)(lpVtbl[13]))((IDXGIFactory3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, Bool32>)(lpVtbl[13]))((IDXGIFactory3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.IsWindowedStereoEnabled" />
|
||||
@@ -167,15 +223,23 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface, INativeGui
|
||||
[VtblIndex(14)]
|
||||
public Bool32 IsWindowedStereoEnabled()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory3*, Bool32>)(lpVtbl[14]))((IDXGIFactory3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, Bool32>)(lpVtbl[14]))((IDXGIFactory3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.CreateSwapChainForHwnd" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(15)]
|
||||
public HResult CreateSwapChainForHwnd(IUnknown* pDevice, IntPtr hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain)
|
||||
public HResult CreateSwapChainForHwnd(IUnknown* pDevice, nint hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, IUnknown*, IntPtr, SwapChainDescription1*, SwapChainFullscreenDescription*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[15]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory3*, IUnknown*, nint, SwapChainDescription1*, SwapChainFullscreenDescription*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[15]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, IUnknown*, nint, SwapChainDescription1*, SwapChainFullscreenDescription*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[15]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.CreateSwapChainForCoreWindow" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface, INativeGui
|
||||
[VtblIndex(16)]
|
||||
public HResult CreateSwapChainForCoreWindow(IUnknown* pDevice, IUnknown* pWindow, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory3*, IUnknown*, IUnknown*, SwapChainDescription1*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[16]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), pDevice, pWindow, pDesc, pRestrictToOutput, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, IUnknown*, IUnknown*, SwapChainDescription1*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[16]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), pDevice, pWindow, pDesc, pRestrictToOutput, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.GetSharedResourceAdapterLuid" />
|
||||
@@ -191,15 +259,23 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface, INativeGui
|
||||
[VtblIndex(17)]
|
||||
public HResult GetSharedResourceAdapterLuid(Handle hResource, Luid* pLuid)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory3*, Handle, Luid*, int>)(lpVtbl[17]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), hResource, pLuid);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, Handle, Luid*, int>)(lpVtbl[17]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), hResource, pLuid);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.RegisterStereoStatusWindow" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(18)]
|
||||
public HResult RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie)
|
||||
public HResult RegisterStereoStatusWindow(nint WindowHandle, uint wMsg, uint* pdwCookie)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, IntPtr, uint, uint*, int>)(lpVtbl[18]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory3*, nint, uint, uint*, int>)(lpVtbl[18]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, nint, uint, uint*, int>)(lpVtbl[18]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.RegisterStereoStatusEvent" />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface, INativeGui
|
||||
[VtblIndex(19)]
|
||||
public HResult RegisterStereoStatusEvent(Handle hEvent, uint* pdwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory3*, Handle, uint*, int>)(lpVtbl[19]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, Handle, uint*, int>)(lpVtbl[19]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.UnregisterStereoStatus" />
|
||||
@@ -215,15 +295,23 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface, INativeGui
|
||||
[VtblIndex(20)]
|
||||
public void UnregisterStereoStatus(uint dwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIFactory3*, uint, void>)(lpVtbl[20]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIFactory3*, uint, void>)(lpVtbl[20]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.RegisterOcclusionStatusWindow" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(21)]
|
||||
public HResult RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie)
|
||||
public HResult RegisterOcclusionStatusWindow(nint WindowHandle, uint wMsg, uint* pdwCookie)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, IntPtr, uint, uint*, int>)(lpVtbl[21]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory3*, nint, uint, uint*, int>)(lpVtbl[21]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, nint, uint, uint*, int>)(lpVtbl[21]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.RegisterOcclusionStatusEvent" />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface, INativeGui
|
||||
[VtblIndex(22)]
|
||||
public HResult RegisterOcclusionStatusEvent(Handle hEvent, uint* pdwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory3*, Handle, uint*, int>)(lpVtbl[22]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, Handle, uint*, int>)(lpVtbl[22]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.UnregisterOcclusionStatus" />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface, INativeGui
|
||||
[VtblIndex(23)]
|
||||
public void UnregisterOcclusionStatus(uint dwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIFactory3*, uint, void>)(lpVtbl[23]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIFactory3*, uint, void>)(lpVtbl[23]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.CreateSwapChainForComposition" />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface, INativeGui
|
||||
[VtblIndex(24)]
|
||||
public HResult CreateSwapChainForComposition(IUnknown* pDevice, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory3*, IUnknown*, SwapChainDescription1*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[24]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), pDevice, pDesc, pRestrictToOutput, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, IUnknown*, SwapChainDescription1*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[24]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), pDevice, pDesc, pRestrictToOutput, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIFactory3::GetCreationFlags"]/*' />
|
||||
@@ -255,7 +355,11 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface, INativeGui
|
||||
[VtblIndex(25)]
|
||||
public uint GetCreationFlags()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory3*, uint>)(lpVtbl[25]))((IDXGIFactory3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory3*, uint>)(lpVtbl[25]))((IDXGIFactory3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIFactory2.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface, INativeGui
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory4*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory4*, uint>)(lpVtbl[1]))((IDXGIFactory4*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, uint>)(lpVtbl[1]))((IDXGIFactory4*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory4*, uint>)(lpVtbl[2]))((IDXGIFactory4*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, uint>)(lpVtbl[2]))((IDXGIFactory4*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface, INativeGui
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory4*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface, INativeGui
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory4*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface, INativeGui
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory4*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface, INativeGui
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory4*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.EnumAdapters" />
|
||||
@@ -111,23 +139,35 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface, INativeGui
|
||||
[VtblIndex(7)]
|
||||
public HResult EnumAdapters(uint Adapter, IDXGIAdapter** ppAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory4*, uint, IDXGIAdapter**, int>)(lpVtbl[7]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, uint, IDXGIAdapter**, int>)(lpVtbl[7]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.MakeWindowAssociation" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(8)]
|
||||
public HResult MakeWindowAssociation(IntPtr WindowHandle, WindowAssociationFlags Flags)
|
||||
public HResult MakeWindowAssociation(nint WindowHandle, WindowAssociationFlags Flags)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, IntPtr, WindowAssociationFlags, int>)(lpVtbl[8]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), WindowHandle, Flags);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory4*, nint, WindowAssociationFlags, int>)(lpVtbl[8]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), WindowHandle, Flags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, nint, WindowAssociationFlags, int>)(lpVtbl[8]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), WindowHandle, Flags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.GetWindowAssociation" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(9)]
|
||||
public HResult GetWindowAssociation(IntPtr* pWindowHandle)
|
||||
public HResult GetWindowAssociation(nint* pWindowHandle)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, IntPtr*, int>)(lpVtbl[9]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), pWindowHandle);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory4*, nint*, int>)(lpVtbl[9]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), pWindowHandle);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, nint*, int>)(lpVtbl[9]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), pWindowHandle);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.CreateSwapChain" />
|
||||
@@ -135,15 +175,23 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface, INativeGui
|
||||
[VtblIndex(10)]
|
||||
public HResult CreateSwapChain(IUnknown* pDevice, SwapChainDescription* pDesc, IDXGISwapChain** ppSwapChain)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory4*, IUnknown*, SwapChainDescription*, IDXGISwapChain**, int>)(lpVtbl[10]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, IUnknown*, SwapChainDescription*, IDXGISwapChain**, int>)(lpVtbl[10]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.CreateSoftwareAdapter" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(11)]
|
||||
public HResult CreateSoftwareAdapter(IntPtr Module, IDXGIAdapter** ppAdapter)
|
||||
public HResult CreateSoftwareAdapter(nint Module, IDXGIAdapter** ppAdapter)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, IntPtr, IDXGIAdapter**, int>)(lpVtbl[11]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Module, ppAdapter);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory4*, nint, IDXGIAdapter**, int>)(lpVtbl[11]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Module, ppAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, nint, IDXGIAdapter**, int>)(lpVtbl[11]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Module, ppAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory1.EnumAdapters1" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface, INativeGui
|
||||
[VtblIndex(12)]
|
||||
public HResult EnumAdapters1(uint Adapter, IDXGIAdapter1** ppAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory4*, uint, IDXGIAdapter1**, int>)(lpVtbl[12]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, uint, IDXGIAdapter1**, int>)(lpVtbl[12]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory1.IsCurrent" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface, INativeGui
|
||||
[VtblIndex(13)]
|
||||
public Bool32 IsCurrent()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory4*, Bool32>)(lpVtbl[13]))((IDXGIFactory4*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, Bool32>)(lpVtbl[13]))((IDXGIFactory4*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.IsWindowedStereoEnabled" />
|
||||
@@ -167,15 +223,23 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface, INativeGui
|
||||
[VtblIndex(14)]
|
||||
public Bool32 IsWindowedStereoEnabled()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory4*, Bool32>)(lpVtbl[14]))((IDXGIFactory4*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, Bool32>)(lpVtbl[14]))((IDXGIFactory4*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.CreateSwapChainForHwnd" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(15)]
|
||||
public HResult CreateSwapChainForHwnd(IUnknown* pDevice, IntPtr hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain)
|
||||
public HResult CreateSwapChainForHwnd(IUnknown* pDevice, nint hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, IUnknown*, IntPtr, SwapChainDescription1*, SwapChainFullscreenDescription*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[15]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory4*, IUnknown*, nint, SwapChainDescription1*, SwapChainFullscreenDescription*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[15]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, IUnknown*, nint, SwapChainDescription1*, SwapChainFullscreenDescription*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[15]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.CreateSwapChainForCoreWindow" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface, INativeGui
|
||||
[VtblIndex(16)]
|
||||
public HResult CreateSwapChainForCoreWindow(IUnknown* pDevice, IUnknown* pWindow, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory4*, IUnknown*, IUnknown*, SwapChainDescription1*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[16]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), pDevice, pWindow, pDesc, pRestrictToOutput, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, IUnknown*, IUnknown*, SwapChainDescription1*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[16]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), pDevice, pWindow, pDesc, pRestrictToOutput, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.GetSharedResourceAdapterLuid" />
|
||||
@@ -191,15 +259,23 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface, INativeGui
|
||||
[VtblIndex(17)]
|
||||
public HResult GetSharedResourceAdapterLuid(Handle hResource, Luid* pLuid)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory4*, Handle, Luid*, int>)(lpVtbl[17]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), hResource, pLuid);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, Handle, Luid*, int>)(lpVtbl[17]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), hResource, pLuid);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.RegisterStereoStatusWindow" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(18)]
|
||||
public HResult RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie)
|
||||
public HResult RegisterStereoStatusWindow(nint WindowHandle, uint wMsg, uint* pdwCookie)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, IntPtr, uint, uint*, int>)(lpVtbl[18]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory4*, nint, uint, uint*, int>)(lpVtbl[18]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, nint, uint, uint*, int>)(lpVtbl[18]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.RegisterStereoStatusEvent" />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface, INativeGui
|
||||
[VtblIndex(19)]
|
||||
public HResult RegisterStereoStatusEvent(Handle hEvent, uint* pdwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory4*, Handle, uint*, int>)(lpVtbl[19]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, Handle, uint*, int>)(lpVtbl[19]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.UnregisterStereoStatus" />
|
||||
@@ -215,15 +295,23 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface, INativeGui
|
||||
[VtblIndex(20)]
|
||||
public void UnregisterStereoStatus(uint dwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIFactory4*, uint, void>)(lpVtbl[20]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIFactory4*, uint, void>)(lpVtbl[20]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.RegisterOcclusionStatusWindow" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(21)]
|
||||
public HResult RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie)
|
||||
public HResult RegisterOcclusionStatusWindow(nint WindowHandle, uint wMsg, uint* pdwCookie)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, IntPtr, uint, uint*, int>)(lpVtbl[21]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory4*, nint, uint, uint*, int>)(lpVtbl[21]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, nint, uint, uint*, int>)(lpVtbl[21]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.RegisterOcclusionStatusEvent" />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface, INativeGui
|
||||
[VtblIndex(22)]
|
||||
public HResult RegisterOcclusionStatusEvent(Handle hEvent, uint* pdwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory4*, Handle, uint*, int>)(lpVtbl[22]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, Handle, uint*, int>)(lpVtbl[22]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.UnregisterOcclusionStatus" />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface, INativeGui
|
||||
[VtblIndex(23)]
|
||||
public void UnregisterOcclusionStatus(uint dwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIFactory4*, uint, void>)(lpVtbl[23]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIFactory4*, uint, void>)(lpVtbl[23]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.CreateSwapChainForComposition" />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface, INativeGui
|
||||
[VtblIndex(24)]
|
||||
public HResult CreateSwapChainForComposition(IUnknown* pDevice, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory4*, IUnknown*, SwapChainDescription1*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[24]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), pDevice, pDesc, pRestrictToOutput, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, IUnknown*, SwapChainDescription1*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[24]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), pDevice, pDesc, pRestrictToOutput, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory3.GetCreationFlags" />
|
||||
@@ -255,7 +355,11 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface, INativeGui
|
||||
[VtblIndex(25)]
|
||||
public uint GetCreationFlags()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory4*, uint>)(lpVtbl[25]))((IDXGIFactory4*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, uint>)(lpVtbl[25]))((IDXGIFactory4*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIFactory4::EnumAdapterByLuid"]/*' />
|
||||
@@ -263,7 +367,11 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface, INativeGui
|
||||
[VtblIndex(26)]
|
||||
public HResult EnumAdapterByLuid(Luid AdapterLuid, Guid* riid, void** ppvAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory4*, Luid, Guid*, void**, int>)(lpVtbl[26]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), AdapterLuid, riid, ppvAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, Luid, Guid*, void**, int>)(lpVtbl[26]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), AdapterLuid, riid, ppvAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIFactory4::EnumWarpAdapter"]/*' />
|
||||
@@ -271,7 +379,11 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface, INativeGui
|
||||
[VtblIndex(27)]
|
||||
public HResult EnumWarpAdapter(Guid* riid, void** ppvAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory4*, Guid*, void**, int>)(lpVtbl[27]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), riid, ppvAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory4*, Guid*, void**, int>)(lpVtbl[27]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), riid, ppvAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIFactory3.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface, INativeGui
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory5*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory5*, uint>)(lpVtbl[1]))((IDXGIFactory5*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, uint>)(lpVtbl[1]))((IDXGIFactory5*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory5*, uint>)(lpVtbl[2]))((IDXGIFactory5*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, uint>)(lpVtbl[2]))((IDXGIFactory5*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface, INativeGui
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory5*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface, INativeGui
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory5*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface, INativeGui
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory5*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface, INativeGui
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory5*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.EnumAdapters" />
|
||||
@@ -111,23 +139,35 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface, INativeGui
|
||||
[VtblIndex(7)]
|
||||
public HResult EnumAdapters(uint Adapter, IDXGIAdapter** ppAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory5*, uint, IDXGIAdapter**, int>)(lpVtbl[7]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, uint, IDXGIAdapter**, int>)(lpVtbl[7]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.MakeWindowAssociation" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(8)]
|
||||
public HResult MakeWindowAssociation(IntPtr WindowHandle, WindowAssociationFlags Flags)
|
||||
public HResult MakeWindowAssociation(nint WindowHandle, WindowAssociationFlags Flags)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, IntPtr, WindowAssociationFlags, int>)(lpVtbl[8]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, Flags);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory5*, nint, WindowAssociationFlags, int>)(lpVtbl[8]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, Flags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, nint, WindowAssociationFlags, int>)(lpVtbl[8]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, Flags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.GetWindowAssociation" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(9)]
|
||||
public HResult GetWindowAssociation(IntPtr* pWindowHandle)
|
||||
public HResult GetWindowAssociation(nint* pWindowHandle)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, IntPtr*, int>)(lpVtbl[9]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), pWindowHandle);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory5*, nint*, int>)(lpVtbl[9]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), pWindowHandle);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, nint*, int>)(lpVtbl[9]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), pWindowHandle);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.CreateSwapChain" />
|
||||
@@ -135,15 +175,23 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface, INativeGui
|
||||
[VtblIndex(10)]
|
||||
public HResult CreateSwapChain(IUnknown* pDevice, SwapChainDescription* pDesc, IDXGISwapChain** ppSwapChain)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory5*, IUnknown*, SwapChainDescription*, IDXGISwapChain**, int>)(lpVtbl[10]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, IUnknown*, SwapChainDescription*, IDXGISwapChain**, int>)(lpVtbl[10]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.CreateSoftwareAdapter" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(11)]
|
||||
public HResult CreateSoftwareAdapter(IntPtr Module, IDXGIAdapter** ppAdapter)
|
||||
public HResult CreateSoftwareAdapter(nint Module, IDXGIAdapter** ppAdapter)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, IntPtr, IDXGIAdapter**, int>)(lpVtbl[11]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Module, ppAdapter);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory5*, nint, IDXGIAdapter**, int>)(lpVtbl[11]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Module, ppAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, nint, IDXGIAdapter**, int>)(lpVtbl[11]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Module, ppAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory1.EnumAdapters1" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface, INativeGui
|
||||
[VtblIndex(12)]
|
||||
public HResult EnumAdapters1(uint Adapter, IDXGIAdapter1** ppAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory5*, uint, IDXGIAdapter1**, int>)(lpVtbl[12]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, uint, IDXGIAdapter1**, int>)(lpVtbl[12]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory1.IsCurrent" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface, INativeGui
|
||||
[VtblIndex(13)]
|
||||
public Bool32 IsCurrent()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory5*, Bool32>)(lpVtbl[13]))((IDXGIFactory5*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, Bool32>)(lpVtbl[13]))((IDXGIFactory5*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.IsWindowedStereoEnabled" />
|
||||
@@ -167,15 +223,23 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface, INativeGui
|
||||
[VtblIndex(14)]
|
||||
public Bool32 IsWindowedStereoEnabled()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory5*, Bool32>)(lpVtbl[14]))((IDXGIFactory5*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, Bool32>)(lpVtbl[14]))((IDXGIFactory5*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.CreateSwapChainForHwnd" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(15)]
|
||||
public HResult CreateSwapChainForHwnd(IUnknown* pDevice, IntPtr hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain)
|
||||
public HResult CreateSwapChainForHwnd(IUnknown* pDevice, nint hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, IUnknown*, IntPtr, SwapChainDescription1*, SwapChainFullscreenDescription*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[15]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory5*, IUnknown*, nint, SwapChainDescription1*, SwapChainFullscreenDescription*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[15]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, IUnknown*, nint, SwapChainDescription1*, SwapChainFullscreenDescription*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[15]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.CreateSwapChainForCoreWindow" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface, INativeGui
|
||||
[VtblIndex(16)]
|
||||
public HResult CreateSwapChainForCoreWindow(IUnknown* pDevice, IUnknown* pWindow, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory5*, IUnknown*, IUnknown*, SwapChainDescription1*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[16]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), pDevice, pWindow, pDesc, pRestrictToOutput, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, IUnknown*, IUnknown*, SwapChainDescription1*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[16]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), pDevice, pWindow, pDesc, pRestrictToOutput, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.GetSharedResourceAdapterLuid" />
|
||||
@@ -191,15 +259,23 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface, INativeGui
|
||||
[VtblIndex(17)]
|
||||
public HResult GetSharedResourceAdapterLuid(Handle hResource, Luid* pLuid)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory5*, Handle, Luid*, int>)(lpVtbl[17]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), hResource, pLuid);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, Handle, Luid*, int>)(lpVtbl[17]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), hResource, pLuid);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.RegisterStereoStatusWindow" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(18)]
|
||||
public HResult RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie)
|
||||
public HResult RegisterStereoStatusWindow(nint WindowHandle, uint wMsg, uint* pdwCookie)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, IntPtr, uint, uint*, int>)(lpVtbl[18]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory5*, nint, uint, uint*, int>)(lpVtbl[18]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, nint, uint, uint*, int>)(lpVtbl[18]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.RegisterStereoStatusEvent" />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface, INativeGui
|
||||
[VtblIndex(19)]
|
||||
public HResult RegisterStereoStatusEvent(Handle hEvent, uint* pdwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory5*, Handle, uint*, int>)(lpVtbl[19]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, Handle, uint*, int>)(lpVtbl[19]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.UnregisterStereoStatus" />
|
||||
@@ -215,15 +295,23 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface, INativeGui
|
||||
[VtblIndex(20)]
|
||||
public void UnregisterStereoStatus(uint dwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIFactory5*, uint, void>)(lpVtbl[20]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIFactory5*, uint, void>)(lpVtbl[20]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.RegisterOcclusionStatusWindow" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(21)]
|
||||
public HResult RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie)
|
||||
public HResult RegisterOcclusionStatusWindow(nint WindowHandle, uint wMsg, uint* pdwCookie)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, IntPtr, uint, uint*, int>)(lpVtbl[21]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory5*, nint, uint, uint*, int>)(lpVtbl[21]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, nint, uint, uint*, int>)(lpVtbl[21]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.RegisterOcclusionStatusEvent" />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface, INativeGui
|
||||
[VtblIndex(22)]
|
||||
public HResult RegisterOcclusionStatusEvent(Handle hEvent, uint* pdwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory5*, Handle, uint*, int>)(lpVtbl[22]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, Handle, uint*, int>)(lpVtbl[22]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.UnregisterOcclusionStatus" />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface, INativeGui
|
||||
[VtblIndex(23)]
|
||||
public void UnregisterOcclusionStatus(uint dwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIFactory5*, uint, void>)(lpVtbl[23]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIFactory5*, uint, void>)(lpVtbl[23]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.CreateSwapChainForComposition" />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface, INativeGui
|
||||
[VtblIndex(24)]
|
||||
public HResult CreateSwapChainForComposition(IUnknown* pDevice, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory5*, IUnknown*, SwapChainDescription1*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[24]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), pDevice, pDesc, pRestrictToOutput, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, IUnknown*, SwapChainDescription1*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[24]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), pDevice, pDesc, pRestrictToOutput, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory3.GetCreationFlags" />
|
||||
@@ -255,7 +355,11 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface, INativeGui
|
||||
[VtblIndex(25)]
|
||||
public uint GetCreationFlags()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory5*, uint>)(lpVtbl[25]))((IDXGIFactory5*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, uint>)(lpVtbl[25]))((IDXGIFactory5*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory4.EnumAdapterByLuid" />
|
||||
@@ -263,7 +367,11 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface, INativeGui
|
||||
[VtblIndex(26)]
|
||||
public HResult EnumAdapterByLuid(Luid AdapterLuid, Guid* riid, void** ppvAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory5*, Luid, Guid*, void**, int>)(lpVtbl[26]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), AdapterLuid, riid, ppvAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, Luid, Guid*, void**, int>)(lpVtbl[26]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), AdapterLuid, riid, ppvAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory4.EnumWarpAdapter" />
|
||||
@@ -271,7 +379,11 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface, INativeGui
|
||||
[VtblIndex(27)]
|
||||
public HResult EnumWarpAdapter(Guid* riid, void** ppvAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory5*, Guid*, void**, int>)(lpVtbl[27]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), riid, ppvAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, Guid*, void**, int>)(lpVtbl[27]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), riid, ppvAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIFactory5::CheckFeatureSupport"]/*' />
|
||||
@@ -279,7 +391,11 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface, INativeGui
|
||||
[VtblIndex(28)]
|
||||
public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, int FeatureSupportDataSize)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory5*, Feature, void*, int, int>)(lpVtbl[28]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, Feature, void*, int, int>)(lpVtbl[28]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIFactory4.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface, INativeGui
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, uint>)(lpVtbl[1]))((IDXGIFactory6*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, uint>)(lpVtbl[1]))((IDXGIFactory6*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, uint>)(lpVtbl[2]))((IDXGIFactory6*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, uint>)(lpVtbl[2]))((IDXGIFactory6*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface, INativeGui
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface, INativeGui
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface, INativeGui
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface, INativeGui
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.EnumAdapters" />
|
||||
@@ -111,23 +139,35 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface, INativeGui
|
||||
[VtblIndex(7)]
|
||||
public HResult EnumAdapters(uint Adapter, IDXGIAdapter** ppAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, uint, IDXGIAdapter**, int>)(lpVtbl[7]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, uint, IDXGIAdapter**, int>)(lpVtbl[7]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.MakeWindowAssociation" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(8)]
|
||||
public HResult MakeWindowAssociation(IntPtr WindowHandle, WindowAssociationFlags Flags)
|
||||
public HResult MakeWindowAssociation(nint WindowHandle, WindowAssociationFlags Flags)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, IntPtr, WindowAssociationFlags, int>)(lpVtbl[8]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), WindowHandle, Flags);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, nint, WindowAssociationFlags, int>)(lpVtbl[8]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), WindowHandle, Flags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, nint, WindowAssociationFlags, int>)(lpVtbl[8]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), WindowHandle, Flags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.GetWindowAssociation" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(9)]
|
||||
public HResult GetWindowAssociation(IntPtr* pWindowHandle)
|
||||
public HResult GetWindowAssociation(nint* pWindowHandle)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, IntPtr*, int>)(lpVtbl[9]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), pWindowHandle);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, nint*, int>)(lpVtbl[9]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), pWindowHandle);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, nint*, int>)(lpVtbl[9]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), pWindowHandle);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.CreateSwapChain" />
|
||||
@@ -135,15 +175,23 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface, INativeGui
|
||||
[VtblIndex(10)]
|
||||
public HResult CreateSwapChain(IUnknown* pDevice, SwapChainDescription* pDesc, IDXGISwapChain** ppSwapChain)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, IUnknown*, SwapChainDescription*, IDXGISwapChain**, int>)(lpVtbl[10]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, IUnknown*, SwapChainDescription*, IDXGISwapChain**, int>)(lpVtbl[10]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.CreateSoftwareAdapter" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(11)]
|
||||
public HResult CreateSoftwareAdapter(IntPtr Module, IDXGIAdapter** ppAdapter)
|
||||
public HResult CreateSoftwareAdapter(nint Module, IDXGIAdapter** ppAdapter)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, IntPtr, IDXGIAdapter**, int>)(lpVtbl[11]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Module, ppAdapter);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, nint, IDXGIAdapter**, int>)(lpVtbl[11]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Module, ppAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, nint, IDXGIAdapter**, int>)(lpVtbl[11]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Module, ppAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory1.EnumAdapters1" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface, INativeGui
|
||||
[VtblIndex(12)]
|
||||
public HResult EnumAdapters1(uint Adapter, IDXGIAdapter1** ppAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, uint, IDXGIAdapter1**, int>)(lpVtbl[12]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, uint, IDXGIAdapter1**, int>)(lpVtbl[12]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory1.IsCurrent" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface, INativeGui
|
||||
[VtblIndex(13)]
|
||||
public Bool32 IsCurrent()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, Bool32>)(lpVtbl[13]))((IDXGIFactory6*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, Bool32>)(lpVtbl[13]))((IDXGIFactory6*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.IsWindowedStereoEnabled" />
|
||||
@@ -167,15 +223,23 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface, INativeGui
|
||||
[VtblIndex(14)]
|
||||
public Bool32 IsWindowedStereoEnabled()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, Bool32>)(lpVtbl[14]))((IDXGIFactory6*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, Bool32>)(lpVtbl[14]))((IDXGIFactory6*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.CreateSwapChainForHwnd" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(15)]
|
||||
public HResult CreateSwapChainForHwnd(IUnknown* pDevice, IntPtr hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain)
|
||||
public HResult CreateSwapChainForHwnd(IUnknown* pDevice, nint hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, IUnknown*, IntPtr, SwapChainDescription1*, SwapChainFullscreenDescription*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[15]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, IUnknown*, nint, SwapChainDescription1*, SwapChainFullscreenDescription*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[15]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, IUnknown*, nint, SwapChainDescription1*, SwapChainFullscreenDescription*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[15]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.CreateSwapChainForCoreWindow" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface, INativeGui
|
||||
[VtblIndex(16)]
|
||||
public HResult CreateSwapChainForCoreWindow(IUnknown* pDevice, IUnknown* pWindow, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, IUnknown*, IUnknown*, SwapChainDescription1*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[16]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), pDevice, pWindow, pDesc, pRestrictToOutput, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, IUnknown*, IUnknown*, SwapChainDescription1*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[16]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), pDevice, pWindow, pDesc, pRestrictToOutput, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.GetSharedResourceAdapterLuid" />
|
||||
@@ -191,15 +259,23 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface, INativeGui
|
||||
[VtblIndex(17)]
|
||||
public HResult GetSharedResourceAdapterLuid(Handle hResource, Luid* pLuid)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, Handle, Luid*, int>)(lpVtbl[17]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), hResource, pLuid);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, Handle, Luid*, int>)(lpVtbl[17]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), hResource, pLuid);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.RegisterStereoStatusWindow" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(18)]
|
||||
public HResult RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie)
|
||||
public HResult RegisterStereoStatusWindow(nint WindowHandle, uint wMsg, uint* pdwCookie)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, IntPtr, uint, uint*, int>)(lpVtbl[18]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, nint, uint, uint*, int>)(lpVtbl[18]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, nint, uint, uint*, int>)(lpVtbl[18]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.RegisterStereoStatusEvent" />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface, INativeGui
|
||||
[VtblIndex(19)]
|
||||
public HResult RegisterStereoStatusEvent(Handle hEvent, uint* pdwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, Handle, uint*, int>)(lpVtbl[19]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, Handle, uint*, int>)(lpVtbl[19]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.UnregisterStereoStatus" />
|
||||
@@ -215,15 +295,23 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface, INativeGui
|
||||
[VtblIndex(20)]
|
||||
public void UnregisterStereoStatus(uint dwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIFactory6*, uint, void>)(lpVtbl[20]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIFactory6*, uint, void>)(lpVtbl[20]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.RegisterOcclusionStatusWindow" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(21)]
|
||||
public HResult RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie)
|
||||
public HResult RegisterOcclusionStatusWindow(nint WindowHandle, uint wMsg, uint* pdwCookie)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, IntPtr, uint, uint*, int>)(lpVtbl[21]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, nint, uint, uint*, int>)(lpVtbl[21]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, nint, uint, uint*, int>)(lpVtbl[21]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.RegisterOcclusionStatusEvent" />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface, INativeGui
|
||||
[VtblIndex(22)]
|
||||
public HResult RegisterOcclusionStatusEvent(Handle hEvent, uint* pdwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, Handle, uint*, int>)(lpVtbl[22]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, Handle, uint*, int>)(lpVtbl[22]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.UnregisterOcclusionStatus" />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface, INativeGui
|
||||
[VtblIndex(23)]
|
||||
public void UnregisterOcclusionStatus(uint dwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIFactory6*, uint, void>)(lpVtbl[23]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIFactory6*, uint, void>)(lpVtbl[23]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.CreateSwapChainForComposition" />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface, INativeGui
|
||||
[VtblIndex(24)]
|
||||
public HResult CreateSwapChainForComposition(IUnknown* pDevice, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, IUnknown*, SwapChainDescription1*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[24]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), pDevice, pDesc, pRestrictToOutput, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, IUnknown*, SwapChainDescription1*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[24]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), pDevice, pDesc, pRestrictToOutput, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory3.GetCreationFlags" />
|
||||
@@ -255,7 +355,11 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface, INativeGui
|
||||
[VtblIndex(25)]
|
||||
public uint GetCreationFlags()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, uint>)(lpVtbl[25]))((IDXGIFactory6*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, uint>)(lpVtbl[25]))((IDXGIFactory6*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory4.EnumAdapterByLuid" />
|
||||
@@ -263,7 +367,11 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface, INativeGui
|
||||
[VtblIndex(26)]
|
||||
public HResult EnumAdapterByLuid(Luid AdapterLuid, Guid* riid, void** ppvAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, Luid, Guid*, void**, int>)(lpVtbl[26]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), AdapterLuid, riid, ppvAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, Luid, Guid*, void**, int>)(lpVtbl[26]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), AdapterLuid, riid, ppvAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory4.EnumWarpAdapter" />
|
||||
@@ -271,7 +379,11 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface, INativeGui
|
||||
[VtblIndex(27)]
|
||||
public HResult EnumWarpAdapter(Guid* riid, void** ppvAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, Guid*, void**, int>)(lpVtbl[27]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), riid, ppvAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, Guid*, void**, int>)(lpVtbl[27]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), riid, ppvAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory5.CheckFeatureSupport" />
|
||||
@@ -279,7 +391,11 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface, INativeGui
|
||||
[VtblIndex(28)]
|
||||
public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, int FeatureSupportDataSize)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, Feature, void*, int, int>)(lpVtbl[28]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, Feature, void*, int, int>)(lpVtbl[28]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIFactory6::EnumAdapterByGpuPreference"]/*' />
|
||||
@@ -287,7 +403,11 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface, INativeGui
|
||||
[VtblIndex(29)]
|
||||
public HResult EnumAdapterByGpuPreference(uint Adapter, GpuPreference GpuPreference, Guid* riid, void** ppvAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory6*, uint, GpuPreference, Guid*, void**, int>)(lpVtbl[29]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Adapter, GpuPreference, riid, ppvAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory6*, uint, GpuPreference, Guid*, void**, int>)(lpVtbl[29]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Adapter, GpuPreference, riid, ppvAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIFactory5.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface, INativeGui
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, uint>)(lpVtbl[1]))((IDXGIFactory7*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, uint>)(lpVtbl[1]))((IDXGIFactory7*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, uint>)(lpVtbl[2]))((IDXGIFactory7*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, uint>)(lpVtbl[2]))((IDXGIFactory7*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface, INativeGui
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface, INativeGui
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface, INativeGui
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface, INativeGui
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.EnumAdapters" />
|
||||
@@ -111,23 +139,35 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface, INativeGui
|
||||
[VtblIndex(7)]
|
||||
public HResult EnumAdapters(uint Adapter, IDXGIAdapter** ppAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, uint, IDXGIAdapter**, int>)(lpVtbl[7]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, uint, IDXGIAdapter**, int>)(lpVtbl[7]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.MakeWindowAssociation" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(8)]
|
||||
public HResult MakeWindowAssociation(IntPtr WindowHandle, WindowAssociationFlags Flags)
|
||||
public HResult MakeWindowAssociation(nint WindowHandle, WindowAssociationFlags Flags)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, IntPtr, WindowAssociationFlags, int>)(lpVtbl[8]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), WindowHandle, Flags);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, nint, WindowAssociationFlags, int>)(lpVtbl[8]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), WindowHandle, Flags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, nint, WindowAssociationFlags, int>)(lpVtbl[8]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), WindowHandle, Flags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.GetWindowAssociation" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(9)]
|
||||
public HResult GetWindowAssociation(IntPtr* pWindowHandle)
|
||||
public HResult GetWindowAssociation(nint* pWindowHandle)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, IntPtr*, int>)(lpVtbl[9]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), pWindowHandle);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, nint*, int>)(lpVtbl[9]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), pWindowHandle);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, nint*, int>)(lpVtbl[9]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), pWindowHandle);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.CreateSwapChain" />
|
||||
@@ -135,15 +175,23 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface, INativeGui
|
||||
[VtblIndex(10)]
|
||||
public HResult CreateSwapChain(IUnknown* pDevice, SwapChainDescription* pDesc, IDXGISwapChain** ppSwapChain)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, IUnknown*, SwapChainDescription*, IDXGISwapChain**, int>)(lpVtbl[10]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, IUnknown*, SwapChainDescription*, IDXGISwapChain**, int>)(lpVtbl[10]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.CreateSoftwareAdapter" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(11)]
|
||||
public HResult CreateSoftwareAdapter(IntPtr Module, IDXGIAdapter** ppAdapter)
|
||||
public HResult CreateSoftwareAdapter(nint Module, IDXGIAdapter** ppAdapter)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, IntPtr, IDXGIAdapter**, int>)(lpVtbl[11]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Module, ppAdapter);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, nint, IDXGIAdapter**, int>)(lpVtbl[11]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Module, ppAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, nint, IDXGIAdapter**, int>)(lpVtbl[11]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Module, ppAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory1.EnumAdapters1" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface, INativeGui
|
||||
[VtblIndex(12)]
|
||||
public HResult EnumAdapters1(uint Adapter, IDXGIAdapter1** ppAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, uint, IDXGIAdapter1**, int>)(lpVtbl[12]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, uint, IDXGIAdapter1**, int>)(lpVtbl[12]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Adapter, ppAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory1.IsCurrent" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface, INativeGui
|
||||
[VtblIndex(13)]
|
||||
public Bool32 IsCurrent()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, Bool32>)(lpVtbl[13]))((IDXGIFactory7*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, Bool32>)(lpVtbl[13]))((IDXGIFactory7*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.IsWindowedStereoEnabled" />
|
||||
@@ -167,15 +223,23 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface, INativeGui
|
||||
[VtblIndex(14)]
|
||||
public Bool32 IsWindowedStereoEnabled()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, Bool32>)(lpVtbl[14]))((IDXGIFactory7*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, Bool32>)(lpVtbl[14]))((IDXGIFactory7*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.CreateSwapChainForHwnd" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(15)]
|
||||
public HResult CreateSwapChainForHwnd(IUnknown* pDevice, IntPtr hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain)
|
||||
public HResult CreateSwapChainForHwnd(IUnknown* pDevice, nint hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, IUnknown*, IntPtr, SwapChainDescription1*, SwapChainFullscreenDescription*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[15]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, IUnknown*, nint, SwapChainDescription1*, SwapChainFullscreenDescription*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[15]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, IUnknown*, nint, SwapChainDescription1*, SwapChainFullscreenDescription*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[15]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.CreateSwapChainForCoreWindow" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface, INativeGui
|
||||
[VtblIndex(16)]
|
||||
public HResult CreateSwapChainForCoreWindow(IUnknown* pDevice, IUnknown* pWindow, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, IUnknown*, IUnknown*, SwapChainDescription1*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[16]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), pDevice, pWindow, pDesc, pRestrictToOutput, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, IUnknown*, IUnknown*, SwapChainDescription1*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[16]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), pDevice, pWindow, pDesc, pRestrictToOutput, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.GetSharedResourceAdapterLuid" />
|
||||
@@ -191,15 +259,23 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface, INativeGui
|
||||
[VtblIndex(17)]
|
||||
public HResult GetSharedResourceAdapterLuid(Handle hResource, Luid* pLuid)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, Handle, Luid*, int>)(lpVtbl[17]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hResource, pLuid);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, Handle, Luid*, int>)(lpVtbl[17]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hResource, pLuid);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.RegisterStereoStatusWindow" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(18)]
|
||||
public HResult RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie)
|
||||
public HResult RegisterStereoStatusWindow(nint WindowHandle, uint wMsg, uint* pdwCookie)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, IntPtr, uint, uint*, int>)(lpVtbl[18]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, nint, uint, uint*, int>)(lpVtbl[18]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, nint, uint, uint*, int>)(lpVtbl[18]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.RegisterStereoStatusEvent" />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface, INativeGui
|
||||
[VtblIndex(19)]
|
||||
public HResult RegisterStereoStatusEvent(Handle hEvent, uint* pdwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, Handle, uint*, int>)(lpVtbl[19]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, Handle, uint*, int>)(lpVtbl[19]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.UnregisterStereoStatus" />
|
||||
@@ -215,15 +295,23 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface, INativeGui
|
||||
[VtblIndex(20)]
|
||||
public void UnregisterStereoStatus(uint dwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIFactory7*, uint, void>)(lpVtbl[20]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIFactory7*, uint, void>)(lpVtbl[20]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.RegisterOcclusionStatusWindow" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(21)]
|
||||
public HResult RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie)
|
||||
public HResult RegisterOcclusionStatusWindow(nint WindowHandle, uint wMsg, uint* pdwCookie)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, IntPtr, uint, uint*, int>)(lpVtbl[21]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, nint, uint, uint*, int>)(lpVtbl[21]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, nint, uint, uint*, int>)(lpVtbl[21]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.RegisterOcclusionStatusEvent" />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface, INativeGui
|
||||
[VtblIndex(22)]
|
||||
public HResult RegisterOcclusionStatusEvent(Handle hEvent, uint* pdwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, Handle, uint*, int>)(lpVtbl[22]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, Handle, uint*, int>)(lpVtbl[22]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.UnregisterOcclusionStatus" />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface, INativeGui
|
||||
[VtblIndex(23)]
|
||||
public void UnregisterOcclusionStatus(uint dwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIFactory7*, uint, void>)(lpVtbl[23]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIFactory7*, uint, void>)(lpVtbl[23]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory2.CreateSwapChainForComposition" />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface, INativeGui
|
||||
[VtblIndex(24)]
|
||||
public HResult CreateSwapChainForComposition(IUnknown* pDevice, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, IUnknown*, SwapChainDescription1*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[24]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), pDevice, pDesc, pRestrictToOutput, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, IUnknown*, SwapChainDescription1*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[24]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), pDevice, pDesc, pRestrictToOutput, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory3.GetCreationFlags" />
|
||||
@@ -255,7 +355,11 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface, INativeGui
|
||||
[VtblIndex(25)]
|
||||
public uint GetCreationFlags()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, uint>)(lpVtbl[25]))((IDXGIFactory7*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, uint>)(lpVtbl[25]))((IDXGIFactory7*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory4.EnumAdapterByLuid" />
|
||||
@@ -263,7 +367,11 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface, INativeGui
|
||||
[VtblIndex(26)]
|
||||
public HResult EnumAdapterByLuid(Luid AdapterLuid, Guid* riid, void** ppvAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, Luid, Guid*, void**, int>)(lpVtbl[26]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), AdapterLuid, riid, ppvAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, Luid, Guid*, void**, int>)(lpVtbl[26]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), AdapterLuid, riid, ppvAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory4.EnumWarpAdapter" />
|
||||
@@ -271,7 +379,11 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface, INativeGui
|
||||
[VtblIndex(27)]
|
||||
public HResult EnumWarpAdapter(Guid* riid, void** ppvAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, Guid*, void**, int>)(lpVtbl[27]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), riid, ppvAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, Guid*, void**, int>)(lpVtbl[27]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), riid, ppvAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory5.CheckFeatureSupport" />
|
||||
@@ -279,7 +391,11 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface, INativeGui
|
||||
[VtblIndex(28)]
|
||||
public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, int FeatureSupportDataSize)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, Feature, void*, int, int>)(lpVtbl[28]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, Feature, void*, int, int>)(lpVtbl[28]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory6.EnumAdapterByGpuPreference" />
|
||||
@@ -287,7 +403,11 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface, INativeGui
|
||||
[VtblIndex(29)]
|
||||
public HResult EnumAdapterByGpuPreference(uint Adapter, GpuPreference GpuPreference, Guid* riid, void** ppvAdapter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, uint, GpuPreference, Guid*, void**, int>)(lpVtbl[29]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Adapter, GpuPreference, riid, ppvAdapter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, uint, GpuPreference, Guid*, void**, int>)(lpVtbl[29]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Adapter, GpuPreference, riid, ppvAdapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIFactory7::RegisterAdaptersChangedEvent"]/*' />
|
||||
@@ -295,7 +415,11 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface, INativeGui
|
||||
[VtblIndex(30)]
|
||||
public HResult RegisterAdaptersChangedEvent(Handle hEvent, uint* pdwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, Handle, uint*, int>)(lpVtbl[30]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, Handle, uint*, int>)(lpVtbl[30]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIFactory7::UnregisterAdaptersChangedEvent"]/*' />
|
||||
@@ -303,7 +427,11 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface, INativeGui
|
||||
[VtblIndex(31)]
|
||||
public HResult UnregisterAdaptersChangedEvent(uint dwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactory7*, uint, int>)(lpVtbl[31]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory7*, uint, int>)(lpVtbl[31]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIFactory6.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIFactoryMedia : IDXGIFactoryMedia.Interface, IN
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactoryMedia*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIFactoryMedia*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactoryMedia*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIFactoryMedia*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIFactoryMedia : IDXGIFactoryMedia.Interface, IN
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactoryMedia*, uint>)(lpVtbl[1]))((IDXGIFactoryMedia*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactoryMedia*, uint>)(lpVtbl[1]))((IDXGIFactoryMedia*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIFactoryMedia : IDXGIFactoryMedia.Interface, IN
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactoryMedia*, uint>)(lpVtbl[2]))((IDXGIFactoryMedia*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactoryMedia*, uint>)(lpVtbl[2]))((IDXGIFactoryMedia*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIFactoryMedia::CreateSwapChainForCompositionSurfaceHandle"]/*' />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIFactoryMedia : IDXGIFactoryMedia.Interface, IN
|
||||
[VtblIndex(3)]
|
||||
public HResult CreateSwapChainForCompositionSurfaceHandle(IUnknown* pDevice, Handle hSurface, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactoryMedia*, IUnknown*, Handle, SwapChainDescription1*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[3]))((IDXGIFactoryMedia*)Unsafe.AsPointer(ref this), pDevice, hSurface, pDesc, pRestrictToOutput, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactoryMedia*, IUnknown*, Handle, SwapChainDescription1*, IDXGIOutput*, IDXGISwapChain1**, int>)(lpVtbl[3]))((IDXGIFactoryMedia*)Unsafe.AsPointer(ref this), pDevice, hSurface, pDesc, pRestrictToOutput, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIFactoryMedia::CreateDecodeSwapChainForCompositionSurfaceHandle"]/*' />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIFactoryMedia : IDXGIFactoryMedia.Interface, IN
|
||||
[VtblIndex(4)]
|
||||
public HResult CreateDecodeSwapChainForCompositionSurfaceHandle(IUnknown* pDevice, Handle hSurface, DecodeSwapChainDescription* pDesc, IDXGIResource* pYuvDecodeBuffers, IDXGIOutput* pRestrictToOutput, IDXGIDecodeSwapChain** ppSwapChain)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIFactoryMedia*, IUnknown*, Handle, DecodeSwapChainDescription*, IDXGIResource*, IDXGIOutput*, IDXGIDecodeSwapChain**, int>)(lpVtbl[4]))((IDXGIFactoryMedia*)Unsafe.AsPointer(ref this), pDevice, hSurface, pDesc, pYuvDecodeBuffers, pRestrictToOutput, ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactoryMedia*, IUnknown*, Handle, DecodeSwapChainDescription*, IDXGIResource*, IDXGIOutput*, IDXGIDecodeSwapChain**, int>)(lpVtbl[4]))((IDXGIFactoryMedia*)Unsafe.AsPointer(ref this), pDevice, hSurface, pDesc, pYuvDecodeBuffers, pRestrictToOutput, ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, uint>)(lpVtbl[1]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, uint>)(lpVtbl[1]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, uint>)(lpVtbl[2]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, uint>)(lpVtbl[2]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::SetMessageCountLimit"]/*' />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(3)]
|
||||
public HResult SetMessageCountLimit(Guid Producer, ulong MessageCountLimit)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, ulong, int>)(lpVtbl[3]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, MessageCountLimit);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, ulong, int>)(lpVtbl[3]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, MessageCountLimit);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::ClearStoredMessages"]/*' />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(4)]
|
||||
public void ClearStoredMessages(Guid Producer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIInfoQueue*, Guid, void>)(lpVtbl[4]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, void>)(lpVtbl[4]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::GetMessage"]/*' />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(5)]
|
||||
public HResult GetMessage(Guid Producer, ulong MessageIndex, InfoQueueMessage* pMessage, nuint* pMessageByteLength)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, ulong, InfoQueueMessage*, nuint*, int>)(lpVtbl[5]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, MessageIndex, pMessage, pMessageByteLength);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, ulong, InfoQueueMessage*, nuint*, int>)(lpVtbl[5]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, MessageIndex, pMessage, pMessageByteLength);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::GetNumStoredMessagesAllowedByRetrievalFilters"]/*' />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(6)]
|
||||
public ulong GetNumStoredMessagesAllowedByRetrievalFilters(Guid Producer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, ulong>)(lpVtbl[6]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, ulong>)(lpVtbl[6]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::GetNumStoredMessages"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(7)]
|
||||
public ulong GetNumStoredMessages(Guid Producer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, ulong>)(lpVtbl[7]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, ulong>)(lpVtbl[7]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::GetNumMessagesDiscardedByMessageCountLimit"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(8)]
|
||||
public ulong GetNumMessagesDiscardedByMessageCountLimit(Guid Producer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, ulong>)(lpVtbl[8]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, ulong>)(lpVtbl[8]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::GetMessageCountLimit"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(9)]
|
||||
public ulong GetMessageCountLimit(Guid Producer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, ulong>)(lpVtbl[9]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, ulong>)(lpVtbl[9]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::GetNumMessagesAllowedByStorageFilter"]/*' />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(10)]
|
||||
public ulong GetNumMessagesAllowedByStorageFilter(Guid Producer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, ulong>)(lpVtbl[10]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, ulong>)(lpVtbl[10]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::GetNumMessagesDeniedByStorageFilter"]/*' />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(11)]
|
||||
public ulong GetNumMessagesDeniedByStorageFilter(Guid Producer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, ulong>)(lpVtbl[11]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, ulong>)(lpVtbl[11]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::AddStorageFilterEntries"]/*' />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(12)]
|
||||
public HResult AddStorageFilterEntries(Guid Producer, InfoQueueFilter* pFilter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, InfoQueueFilter*, int>)(lpVtbl[12]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, InfoQueueFilter*, int>)(lpVtbl[12]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::GetStorageFilter"]/*' />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(13)]
|
||||
public HResult GetStorageFilter(Guid Producer, InfoQueueFilter* pFilter, nuint* pFilterByteLength)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, InfoQueueFilter*, nuint*, int>)(lpVtbl[13]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter, pFilterByteLength);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, InfoQueueFilter*, nuint*, int>)(lpVtbl[13]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter, pFilterByteLength);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::ClearStorageFilter"]/*' />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(14)]
|
||||
public void ClearStorageFilter(Guid Producer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIInfoQueue*, Guid, void>)(lpVtbl[14]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, void>)(lpVtbl[14]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::PushEmptyStorageFilter"]/*' />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(15)]
|
||||
public HResult PushEmptyStorageFilter(Guid Producer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, int>)(lpVtbl[15]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, int>)(lpVtbl[15]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::PushDenyAllStorageFilter"]/*' />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(16)]
|
||||
public HResult PushDenyAllStorageFilter(Guid Producer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, int>)(lpVtbl[16]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, int>)(lpVtbl[16]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::PushCopyOfStorageFilter"]/*' />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(17)]
|
||||
public HResult PushCopyOfStorageFilter(Guid Producer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, int>)(lpVtbl[17]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, int>)(lpVtbl[17]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::PushStorageFilter"]/*' />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(18)]
|
||||
public HResult PushStorageFilter(Guid Producer, InfoQueueFilter* pFilter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, InfoQueueFilter*, int>)(lpVtbl[18]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, InfoQueueFilter*, int>)(lpVtbl[18]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::PopStorageFilter"]/*' />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(19)]
|
||||
public void PopStorageFilter(Guid Producer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIInfoQueue*, Guid, void>)(lpVtbl[19]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, void>)(lpVtbl[19]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::GetStorageFilterStackSize"]/*' />
|
||||
@@ -215,7 +295,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(20)]
|
||||
public uint GetStorageFilterStackSize(Guid Producer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, uint>)(lpVtbl[20]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, uint>)(lpVtbl[20]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::AddRetrievalFilterEntries"]/*' />
|
||||
@@ -223,7 +307,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(21)]
|
||||
public HResult AddRetrievalFilterEntries(Guid Producer, InfoQueueFilter* pFilter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, InfoQueueFilter*, int>)(lpVtbl[21]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, InfoQueueFilter*, int>)(lpVtbl[21]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::GetRetrievalFilter"]/*' />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(22)]
|
||||
public HResult GetRetrievalFilter(Guid Producer, InfoQueueFilter* pFilter, nuint* pFilterByteLength)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, InfoQueueFilter*, nuint*, int>)(lpVtbl[22]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter, pFilterByteLength);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, InfoQueueFilter*, nuint*, int>)(lpVtbl[22]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter, pFilterByteLength);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::ClearRetrievalFilter"]/*' />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(23)]
|
||||
public void ClearRetrievalFilter(Guid Producer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIInfoQueue*, Guid, void>)(lpVtbl[23]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, void>)(lpVtbl[23]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::PushEmptyRetrievalFilter"]/*' />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(24)]
|
||||
public HResult PushEmptyRetrievalFilter(Guid Producer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, int>)(lpVtbl[24]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, int>)(lpVtbl[24]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::PushDenyAllRetrievalFilter"]/*' />
|
||||
@@ -255,7 +355,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(25)]
|
||||
public HResult PushDenyAllRetrievalFilter(Guid Producer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, int>)(lpVtbl[25]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, int>)(lpVtbl[25]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::PushCopyOfRetrievalFilter"]/*' />
|
||||
@@ -263,7 +367,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(26)]
|
||||
public HResult PushCopyOfRetrievalFilter(Guid Producer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, int>)(lpVtbl[26]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, int>)(lpVtbl[26]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::PushRetrievalFilter"]/*' />
|
||||
@@ -271,7 +379,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(27)]
|
||||
public HResult PushRetrievalFilter(Guid Producer, InfoQueueFilter* pFilter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, InfoQueueFilter*, int>)(lpVtbl[27]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, InfoQueueFilter*, int>)(lpVtbl[27]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::PopRetrievalFilter"]/*' />
|
||||
@@ -279,7 +391,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(28)]
|
||||
public void PopRetrievalFilter(Guid Producer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIInfoQueue*, Guid, void>)(lpVtbl[28]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, void>)(lpVtbl[28]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::GetRetrievalFilterStackSize"]/*' />
|
||||
@@ -287,7 +403,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(29)]
|
||||
public uint GetRetrievalFilterStackSize(Guid Producer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, uint>)(lpVtbl[29]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, uint>)(lpVtbl[29]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::AddMessage"]/*' />
|
||||
@@ -295,7 +415,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(30)]
|
||||
public HResult AddMessage(Guid Producer, InfoQueueMessageCategory Category, InfoQueueMessageSeverity Severity, int ID, sbyte* pDescription)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, InfoQueueMessageCategory, InfoQueueMessageSeverity, int, sbyte*, int>)(lpVtbl[30]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Category, Severity, ID, pDescription);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, InfoQueueMessageCategory, InfoQueueMessageSeverity, int, sbyte*, int>)(lpVtbl[30]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Category, Severity, ID, pDescription);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::AddApplicationMessage"]/*' />
|
||||
@@ -303,7 +427,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(31)]
|
||||
public HResult AddApplicationMessage(InfoQueueMessageSeverity Severity, sbyte* pDescription)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, InfoQueueMessageSeverity, sbyte*, int>)(lpVtbl[31]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Severity, pDescription);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, InfoQueueMessageSeverity, sbyte*, int>)(lpVtbl[31]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Severity, pDescription);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::SetBreakOnCategory"]/*' />
|
||||
@@ -311,7 +439,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(32)]
|
||||
public HResult SetBreakOnCategory(Guid Producer, InfoQueueMessageCategory Category, Bool32 bEnable)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, InfoQueueMessageCategory, Bool32, int>)(lpVtbl[32]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Category, bEnable);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, InfoQueueMessageCategory, Bool32, int>)(lpVtbl[32]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Category, bEnable);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::SetBreakOnSeverity"]/*' />
|
||||
@@ -319,7 +451,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(33)]
|
||||
public HResult SetBreakOnSeverity(Guid Producer, InfoQueueMessageSeverity Severity, Bool32 bEnable)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, InfoQueueMessageSeverity, Bool32, int>)(lpVtbl[33]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Severity, bEnable);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, InfoQueueMessageSeverity, Bool32, int>)(lpVtbl[33]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Severity, bEnable);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::SetBreakOnID"]/*' />
|
||||
@@ -327,7 +463,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(34)]
|
||||
public HResult SetBreakOnID(Guid Producer, int ID, Bool32 bEnable)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, int, Bool32, int>)(lpVtbl[34]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, ID, bEnable);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, int, Bool32, int>)(lpVtbl[34]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, ID, bEnable);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::GetBreakOnCategory"]/*' />
|
||||
@@ -335,7 +475,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(35)]
|
||||
public Bool32 GetBreakOnCategory(Guid Producer, InfoQueueMessageCategory Category)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, InfoQueueMessageCategory, Bool32>)(lpVtbl[35]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Category);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, InfoQueueMessageCategory, Bool32>)(lpVtbl[35]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Category);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::GetBreakOnSeverity"]/*' />
|
||||
@@ -343,7 +487,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(36)]
|
||||
public Bool32 GetBreakOnSeverity(Guid Producer, InfoQueueMessageSeverity Severity)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, InfoQueueMessageSeverity, Bool32>)(lpVtbl[36]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Severity);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, InfoQueueMessageSeverity, Bool32>)(lpVtbl[36]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Severity);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::GetBreakOnID"]/*' />
|
||||
@@ -351,7 +499,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(37)]
|
||||
public Bool32 GetBreakOnID(Guid Producer, int ID)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, int, Bool32>)(lpVtbl[37]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, ID);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, int, Bool32>)(lpVtbl[37]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, ID);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::SetMuteDebugOutput"]/*' />
|
||||
@@ -359,7 +511,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(38)]
|
||||
public void SetMuteDebugOutput(Guid Producer, Bool32 bMute)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIInfoQueue*, Guid, Bool32, void>)(lpVtbl[38]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, bMute);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, Bool32, void>)(lpVtbl[38]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, bMute);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIInfoQueue::GetMuteDebugOutput"]/*' />
|
||||
@@ -367,7 +523,11 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG
|
||||
[VtblIndex(39)]
|
||||
public Bool32 GetMuteDebugOutput(Guid Producer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIInfoQueue*, Guid, Bool32>)(lpVtbl[39]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIInfoQueue*, Guid, Bool32>)(lpVtbl[39]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIKeyedMutex : IDXGIKeyedMutex.Interface, INativ
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIKeyedMutex*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIKeyedMutex*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIKeyedMutex : IDXGIKeyedMutex.Interface, INativ
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIKeyedMutex*, uint>)(lpVtbl[1]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIKeyedMutex*, uint>)(lpVtbl[1]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIKeyedMutex : IDXGIKeyedMutex.Interface, INativ
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIKeyedMutex*, uint>)(lpVtbl[2]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIKeyedMutex*, uint>)(lpVtbl[2]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIKeyedMutex : IDXGIKeyedMutex.Interface, INativ
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIKeyedMutex*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIKeyedMutex*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIKeyedMutex : IDXGIKeyedMutex.Interface, INativ
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIKeyedMutex*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIKeyedMutex*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIKeyedMutex : IDXGIKeyedMutex.Interface, INativ
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIKeyedMutex*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIKeyedMutex*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIKeyedMutex : IDXGIKeyedMutex.Interface, INativ
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIKeyedMutex*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIKeyedMutex*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDeviceSubObject.GetDevice" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGIKeyedMutex : IDXGIKeyedMutex.Interface, INativ
|
||||
[VtblIndex(7)]
|
||||
public HResult GetDevice(Guid* riid, void** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIKeyedMutex*, Guid*, void**, int>)(lpVtbl[7]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), riid, ppDevice);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIKeyedMutex*, Guid*, void**, int>)(lpVtbl[7]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), riid, ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIKeyedMutex::AcquireSync"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct IDXGIKeyedMutex : IDXGIKeyedMutex.Interface, INativ
|
||||
[VtblIndex(8)]
|
||||
public HResult AcquireSync(ulong Key, uint dwMilliseconds)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIKeyedMutex*, ulong, uint, int>)(lpVtbl[8]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), Key, dwMilliseconds);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIKeyedMutex*, ulong, uint, int>)(lpVtbl[8]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), Key, dwMilliseconds);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIKeyedMutex::ReleaseSync"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct IDXGIKeyedMutex : IDXGIKeyedMutex.Interface, INativ
|
||||
[VtblIndex(9)]
|
||||
public HResult ReleaseSync(ulong Key)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIKeyedMutex*, ulong, int>)(lpVtbl[9]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), Key);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIKeyedMutex*, ulong, int>)(lpVtbl[9]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), Key);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIDeviceSubObject.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIObject : IDXGIObject.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIObject*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIObject*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIObject*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIObject*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIObject : IDXGIObject.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIObject*, uint>)(lpVtbl[1]))((IDXGIObject*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIObject*, uint>)(lpVtbl[1]))((IDXGIObject*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIObject : IDXGIObject.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIObject*, uint>)(lpVtbl[2]))((IDXGIObject*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIObject*, uint>)(lpVtbl[2]))((IDXGIObject*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIObject::SetPrivateData"]/*' />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIObject : IDXGIObject.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIObject*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIObject*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIObject*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIObject*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIObject::SetPrivateDataInterface"]/*' />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIObject : IDXGIObject.Interface, INativeGuid
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIObject*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIObject*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIObject*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIObject*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIObject::GetPrivateData"]/*' />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIObject : IDXGIObject.Interface, INativeGuid
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIObject*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIObject*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIObject*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIObject*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIObject::GetParent"]/*' />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIObject : IDXGIObject.Interface, INativeGuid
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIObject*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIObject*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIObject*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIObject*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIOutput*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIOutput*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput*, uint>)(lpVtbl[1]))((IDXGIOutput*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput*, uint>)(lpVtbl[1]))((IDXGIOutput*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput*, uint>)(lpVtbl[2]))((IDXGIOutput*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput*, uint>)(lpVtbl[2]))((IDXGIOutput*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIOutput*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIOutput*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface, INativeGuid
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIOutput*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIOutput*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface, INativeGuid
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIOutput*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIOutput*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface, INativeGuid
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIOutput*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIOutput*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutput::GetDesc"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface, INativeGuid
|
||||
[VtblIndex(7)]
|
||||
public HResult GetDesc(OutputDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput*, OutputDescription*, int>)(lpVtbl[7]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput*, OutputDescription*, int>)(lpVtbl[7]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutput::GetDisplayModeList"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface, INativeGuid
|
||||
[VtblIndex(8)]
|
||||
public HResult GetDisplayModeList(Common.Format EnumFormat, EnumModesFlags Flags, uint* pNumModes, Common.ModeDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput*, Common.Format, EnumModesFlags, uint*, Common.ModeDescription*, int>)(lpVtbl[8]))((IDXGIOutput*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput*, Common.Format, EnumModesFlags, uint*, Common.ModeDescription*, int>)(lpVtbl[8]))((IDXGIOutput*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutput::FindClosestMatchingMode"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface, INativeGuid
|
||||
[VtblIndex(9)]
|
||||
public HResult FindClosestMatchingMode(Common.ModeDescription* pModeToMatch, Common.ModeDescription* pClosestMatch, IUnknown* pConcernedDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput*, Common.ModeDescription*, Common.ModeDescription*, IUnknown*, int>)(lpVtbl[9]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput*, Common.ModeDescription*, Common.ModeDescription*, IUnknown*, int>)(lpVtbl[9]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutput::WaitForVBlank"]/*' />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface, INativeGuid
|
||||
[VtblIndex(10)]
|
||||
public HResult WaitForVBlank()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput*, int>)(lpVtbl[10]))((IDXGIOutput*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput*, int>)(lpVtbl[10]))((IDXGIOutput*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutput::TakeOwnership"]/*' />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface, INativeGuid
|
||||
[VtblIndex(11)]
|
||||
public HResult TakeOwnership(IUnknown* pDevice, Bool32 Exclusive)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput*, IUnknown*, Bool32, int>)(lpVtbl[11]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pDevice, Exclusive);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput*, IUnknown*, Bool32, int>)(lpVtbl[11]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pDevice, Exclusive);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutput::ReleaseOwnership"]/*' />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface, INativeGuid
|
||||
[VtblIndex(12)]
|
||||
public void ReleaseOwnership()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIOutput*, void>)(lpVtbl[12]))((IDXGIOutput*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIOutput*, void>)(lpVtbl[12]))((IDXGIOutput*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutput::GetGammaControlCapabilities"]/*' />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface, INativeGuid
|
||||
[VtblIndex(13)]
|
||||
public HResult GetGammaControlCapabilities(Common.GammaControlCapabilities* pGammaCaps)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput*, Common.GammaControlCapabilities*, int>)(lpVtbl[13]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pGammaCaps);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput*, Common.GammaControlCapabilities*, int>)(lpVtbl[13]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pGammaCaps);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutput::SetGammaControl"]/*' />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface, INativeGuid
|
||||
[VtblIndex(14)]
|
||||
public HResult SetGammaControl(Common.GammaControl* pArray)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput*, Common.GammaControl*, int>)(lpVtbl[14]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pArray);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput*, Common.GammaControl*, int>)(lpVtbl[14]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pArray);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutput::GetGammaControl"]/*' />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface, INativeGuid
|
||||
[VtblIndex(15)]
|
||||
public HResult GetGammaControl(Common.GammaControl* pArray)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput*, Common.GammaControl*, int>)(lpVtbl[15]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pArray);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput*, Common.GammaControl*, int>)(lpVtbl[15]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pArray);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutput::SetDisplaySurface"]/*' />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface, INativeGuid
|
||||
[VtblIndex(16)]
|
||||
public HResult SetDisplaySurface(IDXGISurface* pScanoutSurface)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput*, IDXGISurface*, int>)(lpVtbl[16]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pScanoutSurface);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput*, IDXGISurface*, int>)(lpVtbl[16]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pScanoutSurface);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutput::GetDisplaySurfaceData"]/*' />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface, INativeGuid
|
||||
[VtblIndex(17)]
|
||||
public HResult GetDisplaySurfaceData(IDXGISurface* pDestination)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput*, IDXGISurface*, int>)(lpVtbl[17]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pDestination);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput*, IDXGISurface*, int>)(lpVtbl[17]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pDestination);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutput::GetFrameStatistics"]/*' />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface, INativeGuid
|
||||
[VtblIndex(18)]
|
||||
public HResult GetFrameStatistics(FrameStatistics* pStats)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput*, FrameStatistics*, int>)(lpVtbl[18]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pStats);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput*, FrameStatistics*, int>)(lpVtbl[18]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pStats);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIObject.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput1*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput1*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput1*, uint>)(lpVtbl[1]))((IDXGIOutput1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput1*, uint>)(lpVtbl[1]))((IDXGIOutput1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput1*, uint>)(lpVtbl[2]))((IDXGIOutput1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput1*, uint>)(lpVtbl[2]))((IDXGIOutput1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput1*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput1*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface, INativeGuid
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput1*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput1*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface, INativeGuid
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput1*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput1*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface, INativeGuid
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput1*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput1*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetDesc" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface, INativeGuid
|
||||
[VtblIndex(7)]
|
||||
public HResult GetDesc(OutputDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput1*, OutputDescription*, int>)(lpVtbl[7]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput1*, OutputDescription*, int>)(lpVtbl[7]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetDisplayModeList" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface, INativeGuid
|
||||
[VtblIndex(8)]
|
||||
public HResult GetDisplayModeList(Common.Format EnumFormat, EnumModesFlags Flags, uint* pNumModes, Common.ModeDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput1*, Common.Format, EnumModesFlags, uint*, Common.ModeDescription*, int>)(lpVtbl[8]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput1*, Common.Format, EnumModesFlags, uint*, Common.ModeDescription*, int>)(lpVtbl[8]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.FindClosestMatchingMode" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface, INativeGuid
|
||||
[VtblIndex(9)]
|
||||
public HResult FindClosestMatchingMode(Common.ModeDescription* pModeToMatch, Common.ModeDescription* pClosestMatch, IUnknown* pConcernedDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput1*, Common.ModeDescription*, Common.ModeDescription*, IUnknown*, int>)(lpVtbl[9]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput1*, Common.ModeDescription*, Common.ModeDescription*, IUnknown*, int>)(lpVtbl[9]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.WaitForVBlank" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface, INativeGuid
|
||||
[VtblIndex(10)]
|
||||
public HResult WaitForVBlank()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput1*, int>)(lpVtbl[10]))((IDXGIOutput1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput1*, int>)(lpVtbl[10]))((IDXGIOutput1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.TakeOwnership" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface, INativeGuid
|
||||
[VtblIndex(11)]
|
||||
public HResult TakeOwnership(IUnknown* pDevice, Bool32 Exclusive)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput1*, IUnknown*, Bool32, int>)(lpVtbl[11]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pDevice, Exclusive);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput1*, IUnknown*, Bool32, int>)(lpVtbl[11]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pDevice, Exclusive);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.ReleaseOwnership" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface, INativeGuid
|
||||
[VtblIndex(12)]
|
||||
public void ReleaseOwnership()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIOutput1*, void>)(lpVtbl[12]))((IDXGIOutput1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIOutput1*, void>)(lpVtbl[12]))((IDXGIOutput1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetGammaControlCapabilities" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface, INativeGuid
|
||||
[VtblIndex(13)]
|
||||
public HResult GetGammaControlCapabilities(Common.GammaControlCapabilities* pGammaCaps)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput1*, Common.GammaControlCapabilities*, int>)(lpVtbl[13]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pGammaCaps);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput1*, Common.GammaControlCapabilities*, int>)(lpVtbl[13]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pGammaCaps);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.SetGammaControl" />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface, INativeGuid
|
||||
[VtblIndex(14)]
|
||||
public HResult SetGammaControl(Common.GammaControl* pArray)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput1*, Common.GammaControl*, int>)(lpVtbl[14]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pArray);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput1*, Common.GammaControl*, int>)(lpVtbl[14]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pArray);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetGammaControl" />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface, INativeGuid
|
||||
[VtblIndex(15)]
|
||||
public HResult GetGammaControl(Common.GammaControl* pArray)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput1*, Common.GammaControl*, int>)(lpVtbl[15]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pArray);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput1*, Common.GammaControl*, int>)(lpVtbl[15]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pArray);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.SetDisplaySurface" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface, INativeGuid
|
||||
[VtblIndex(16)]
|
||||
public HResult SetDisplaySurface(IDXGISurface* pScanoutSurface)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput1*, IDXGISurface*, int>)(lpVtbl[16]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pScanoutSurface);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput1*, IDXGISurface*, int>)(lpVtbl[16]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pScanoutSurface);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetDisplaySurfaceData" />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface, INativeGuid
|
||||
[VtblIndex(17)]
|
||||
public HResult GetDisplaySurfaceData(IDXGISurface* pDestination)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput1*, IDXGISurface*, int>)(lpVtbl[17]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pDestination);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput1*, IDXGISurface*, int>)(lpVtbl[17]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pDestination);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetFrameStatistics" />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface, INativeGuid
|
||||
[VtblIndex(18)]
|
||||
public HResult GetFrameStatistics(FrameStatistics* pStats)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput1*, FrameStatistics*, int>)(lpVtbl[18]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pStats);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput1*, FrameStatistics*, int>)(lpVtbl[18]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pStats);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutput1::GetDisplayModeList1"]/*' />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface, INativeGuid
|
||||
[VtblIndex(19)]
|
||||
public HResult GetDisplayModeList1(Common.Format EnumFormat, uint Flags, uint* pNumModes, ModeDescription1* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput1*, Common.Format, uint, uint*, ModeDescription1*, int>)(lpVtbl[19]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput1*, Common.Format, uint, uint*, ModeDescription1*, int>)(lpVtbl[19]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutput1::FindClosestMatchingMode1"]/*' />
|
||||
@@ -215,7 +295,11 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface, INativeGuid
|
||||
[VtblIndex(20)]
|
||||
public HResult FindClosestMatchingMode1(ModeDescription1* pModeToMatch, ModeDescription1* pClosestMatch, IUnknown* pConcernedDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput1*, ModeDescription1*, ModeDescription1*, IUnknown*, int>)(lpVtbl[20]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput1*, ModeDescription1*, ModeDescription1*, IUnknown*, int>)(lpVtbl[20]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutput1::GetDisplaySurfaceData1"]/*' />
|
||||
@@ -223,7 +307,11 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface, INativeGuid
|
||||
[VtblIndex(21)]
|
||||
public HResult GetDisplaySurfaceData1(IDXGIResource* pDestination)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput1*, IDXGIResource*, int>)(lpVtbl[21]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pDestination);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput1*, IDXGIResource*, int>)(lpVtbl[21]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pDestination);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutput1::DuplicateOutput"]/*' />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface, INativeGuid
|
||||
[VtblIndex(22)]
|
||||
public HResult DuplicateOutput(IUnknown* pDevice, IDXGIOutputDuplication** ppOutputDuplication)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput1*, IUnknown*, IDXGIOutputDuplication**, int>)(lpVtbl[22]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pDevice, ppOutputDuplication);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput1*, IUnknown*, IDXGIOutputDuplication**, int>)(lpVtbl[22]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pDevice, ppOutputDuplication);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIOutput.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput2*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput2*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput2*, uint>)(lpVtbl[1]))((IDXGIOutput2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput2*, uint>)(lpVtbl[1]))((IDXGIOutput2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput2*, uint>)(lpVtbl[2]))((IDXGIOutput2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput2*, uint>)(lpVtbl[2]))((IDXGIOutput2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput2*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput2*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface, INativeGuid
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput2*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput2*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface, INativeGuid
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput2*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput2*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface, INativeGuid
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput2*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput2*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetDesc" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface, INativeGuid
|
||||
[VtblIndex(7)]
|
||||
public HResult GetDesc(OutputDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput2*, OutputDescription*, int>)(lpVtbl[7]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput2*, OutputDescription*, int>)(lpVtbl[7]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetDisplayModeList" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface, INativeGuid
|
||||
[VtblIndex(8)]
|
||||
public HResult GetDisplayModeList(Common.Format EnumFormat, EnumModesFlags Flags, uint* pNumModes, Common.ModeDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput2*, Common.Format, EnumModesFlags, uint*, Common.ModeDescription*, int>)(lpVtbl[8]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput2*, Common.Format, EnumModesFlags, uint*, Common.ModeDescription*, int>)(lpVtbl[8]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.FindClosestMatchingMode" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface, INativeGuid
|
||||
[VtblIndex(9)]
|
||||
public HResult FindClosestMatchingMode(Common.ModeDescription* pModeToMatch, Common.ModeDescription* pClosestMatch, IUnknown* pConcernedDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput2*, Common.ModeDescription*, Common.ModeDescription*, IUnknown*, int>)(lpVtbl[9]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput2*, Common.ModeDescription*, Common.ModeDescription*, IUnknown*, int>)(lpVtbl[9]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.WaitForVBlank" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface, INativeGuid
|
||||
[VtblIndex(10)]
|
||||
public HResult WaitForVBlank()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput2*, int>)(lpVtbl[10]))((IDXGIOutput2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput2*, int>)(lpVtbl[10]))((IDXGIOutput2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.TakeOwnership" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface, INativeGuid
|
||||
[VtblIndex(11)]
|
||||
public HResult TakeOwnership(IUnknown* pDevice, Bool32 Exclusive)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput2*, IUnknown*, Bool32, int>)(lpVtbl[11]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pDevice, Exclusive);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput2*, IUnknown*, Bool32, int>)(lpVtbl[11]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pDevice, Exclusive);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.ReleaseOwnership" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface, INativeGuid
|
||||
[VtblIndex(12)]
|
||||
public void ReleaseOwnership()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIOutput2*, void>)(lpVtbl[12]))((IDXGIOutput2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIOutput2*, void>)(lpVtbl[12]))((IDXGIOutput2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetGammaControlCapabilities" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface, INativeGuid
|
||||
[VtblIndex(13)]
|
||||
public HResult GetGammaControlCapabilities(Common.GammaControlCapabilities* pGammaCaps)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput2*, Common.GammaControlCapabilities*, int>)(lpVtbl[13]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pGammaCaps);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput2*, Common.GammaControlCapabilities*, int>)(lpVtbl[13]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pGammaCaps);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.SetGammaControl" />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface, INativeGuid
|
||||
[VtblIndex(14)]
|
||||
public HResult SetGammaControl(Common.GammaControl* pArray)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput2*, Common.GammaControl*, int>)(lpVtbl[14]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pArray);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput2*, Common.GammaControl*, int>)(lpVtbl[14]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pArray);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetGammaControl" />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface, INativeGuid
|
||||
[VtblIndex(15)]
|
||||
public HResult GetGammaControl(Common.GammaControl* pArray)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput2*, Common.GammaControl*, int>)(lpVtbl[15]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pArray);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput2*, Common.GammaControl*, int>)(lpVtbl[15]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pArray);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.SetDisplaySurface" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface, INativeGuid
|
||||
[VtblIndex(16)]
|
||||
public HResult SetDisplaySurface(IDXGISurface* pScanoutSurface)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput2*, IDXGISurface*, int>)(lpVtbl[16]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pScanoutSurface);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput2*, IDXGISurface*, int>)(lpVtbl[16]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pScanoutSurface);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetDisplaySurfaceData" />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface, INativeGuid
|
||||
[VtblIndex(17)]
|
||||
public HResult GetDisplaySurfaceData(IDXGISurface* pDestination)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput2*, IDXGISurface*, int>)(lpVtbl[17]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pDestination);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput2*, IDXGISurface*, int>)(lpVtbl[17]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pDestination);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetFrameStatistics" />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface, INativeGuid
|
||||
[VtblIndex(18)]
|
||||
public HResult GetFrameStatistics(FrameStatistics* pStats)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput2*, FrameStatistics*, int>)(lpVtbl[18]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pStats);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput2*, FrameStatistics*, int>)(lpVtbl[18]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pStats);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput1.GetDisplayModeList1" />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface, INativeGuid
|
||||
[VtblIndex(19)]
|
||||
public HResult GetDisplayModeList1(Common.Format EnumFormat, uint Flags, uint* pNumModes, ModeDescription1* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput2*, Common.Format, uint, uint*, ModeDescription1*, int>)(lpVtbl[19]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput2*, Common.Format, uint, uint*, ModeDescription1*, int>)(lpVtbl[19]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput1.FindClosestMatchingMode1" />
|
||||
@@ -215,7 +295,11 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface, INativeGuid
|
||||
[VtblIndex(20)]
|
||||
public HResult FindClosestMatchingMode1(ModeDescription1* pModeToMatch, ModeDescription1* pClosestMatch, IUnknown* pConcernedDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput2*, ModeDescription1*, ModeDescription1*, IUnknown*, int>)(lpVtbl[20]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput2*, ModeDescription1*, ModeDescription1*, IUnknown*, int>)(lpVtbl[20]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput1.GetDisplaySurfaceData1" />
|
||||
@@ -223,7 +307,11 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface, INativeGuid
|
||||
[VtblIndex(21)]
|
||||
public HResult GetDisplaySurfaceData1(IDXGIResource* pDestination)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput2*, IDXGIResource*, int>)(lpVtbl[21]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pDestination);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput2*, IDXGIResource*, int>)(lpVtbl[21]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pDestination);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput1.DuplicateOutput" />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface, INativeGuid
|
||||
[VtblIndex(22)]
|
||||
public HResult DuplicateOutput(IUnknown* pDevice, IDXGIOutputDuplication** ppOutputDuplication)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput2*, IUnknown*, IDXGIOutputDuplication**, int>)(lpVtbl[22]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pDevice, ppOutputDuplication);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput2*, IUnknown*, IDXGIOutputDuplication**, int>)(lpVtbl[22]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pDevice, ppOutputDuplication);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutput2::SupportsOverlays"]/*' />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface, INativeGuid
|
||||
[VtblIndex(23)]
|
||||
public Bool32 SupportsOverlays()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput2*, Bool32>)(lpVtbl[23]))((IDXGIOutput2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput2*, Bool32>)(lpVtbl[23]))((IDXGIOutput2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIOutput1.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput3*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput3*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput3*, uint>)(lpVtbl[1]))((IDXGIOutput3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput3*, uint>)(lpVtbl[1]))((IDXGIOutput3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput3*, uint>)(lpVtbl[2]))((IDXGIOutput3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput3*, uint>)(lpVtbl[2]))((IDXGIOutput3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput3*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput3*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface, INativeGuid
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput3*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput3*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface, INativeGuid
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput3*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput3*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface, INativeGuid
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput3*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput3*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetDesc" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface, INativeGuid
|
||||
[VtblIndex(7)]
|
||||
public HResult GetDesc(OutputDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput3*, OutputDescription*, int>)(lpVtbl[7]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput3*, OutputDescription*, int>)(lpVtbl[7]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetDisplayModeList" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface, INativeGuid
|
||||
[VtblIndex(8)]
|
||||
public HResult GetDisplayModeList(Common.Format EnumFormat, EnumModesFlags Flags, uint* pNumModes, Common.ModeDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput3*, Common.Format, EnumModesFlags, uint*, Common.ModeDescription*, int>)(lpVtbl[8]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput3*, Common.Format, EnumModesFlags, uint*, Common.ModeDescription*, int>)(lpVtbl[8]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.FindClosestMatchingMode" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface, INativeGuid
|
||||
[VtblIndex(9)]
|
||||
public HResult FindClosestMatchingMode(Common.ModeDescription* pModeToMatch, Common.ModeDescription* pClosestMatch, IUnknown* pConcernedDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput3*, Common.ModeDescription*, Common.ModeDescription*, IUnknown*, int>)(lpVtbl[9]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput3*, Common.ModeDescription*, Common.ModeDescription*, IUnknown*, int>)(lpVtbl[9]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.WaitForVBlank" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface, INativeGuid
|
||||
[VtblIndex(10)]
|
||||
public HResult WaitForVBlank()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput3*, int>)(lpVtbl[10]))((IDXGIOutput3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput3*, int>)(lpVtbl[10]))((IDXGIOutput3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.TakeOwnership" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface, INativeGuid
|
||||
[VtblIndex(11)]
|
||||
public HResult TakeOwnership(IUnknown* pDevice, Bool32 Exclusive)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput3*, IUnknown*, Bool32, int>)(lpVtbl[11]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pDevice, Exclusive);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput3*, IUnknown*, Bool32, int>)(lpVtbl[11]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pDevice, Exclusive);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.ReleaseOwnership" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface, INativeGuid
|
||||
[VtblIndex(12)]
|
||||
public void ReleaseOwnership()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIOutput3*, void>)(lpVtbl[12]))((IDXGIOutput3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIOutput3*, void>)(lpVtbl[12]))((IDXGIOutput3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetGammaControlCapabilities" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface, INativeGuid
|
||||
[VtblIndex(13)]
|
||||
public HResult GetGammaControlCapabilities(Common.GammaControlCapabilities* pGammaCaps)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput3*, Common.GammaControlCapabilities*, int>)(lpVtbl[13]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pGammaCaps);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput3*, Common.GammaControlCapabilities*, int>)(lpVtbl[13]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pGammaCaps);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.SetGammaControl" />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface, INativeGuid
|
||||
[VtblIndex(14)]
|
||||
public HResult SetGammaControl(Common.GammaControl* pArray)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput3*, Common.GammaControl*, int>)(lpVtbl[14]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pArray);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput3*, Common.GammaControl*, int>)(lpVtbl[14]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pArray);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetGammaControl" />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface, INativeGuid
|
||||
[VtblIndex(15)]
|
||||
public HResult GetGammaControl(Common.GammaControl* pArray)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput3*, Common.GammaControl*, int>)(lpVtbl[15]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pArray);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput3*, Common.GammaControl*, int>)(lpVtbl[15]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pArray);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.SetDisplaySurface" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface, INativeGuid
|
||||
[VtblIndex(16)]
|
||||
public HResult SetDisplaySurface(IDXGISurface* pScanoutSurface)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput3*, IDXGISurface*, int>)(lpVtbl[16]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pScanoutSurface);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput3*, IDXGISurface*, int>)(lpVtbl[16]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pScanoutSurface);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetDisplaySurfaceData" />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface, INativeGuid
|
||||
[VtblIndex(17)]
|
||||
public HResult GetDisplaySurfaceData(IDXGISurface* pDestination)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput3*, IDXGISurface*, int>)(lpVtbl[17]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pDestination);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput3*, IDXGISurface*, int>)(lpVtbl[17]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pDestination);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetFrameStatistics" />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface, INativeGuid
|
||||
[VtblIndex(18)]
|
||||
public HResult GetFrameStatistics(FrameStatistics* pStats)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput3*, FrameStatistics*, int>)(lpVtbl[18]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pStats);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput3*, FrameStatistics*, int>)(lpVtbl[18]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pStats);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput1.GetDisplayModeList1" />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface, INativeGuid
|
||||
[VtblIndex(19)]
|
||||
public HResult GetDisplayModeList1(Common.Format EnumFormat, uint Flags, uint* pNumModes, ModeDescription1* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput3*, Common.Format, uint, uint*, ModeDescription1*, int>)(lpVtbl[19]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput3*, Common.Format, uint, uint*, ModeDescription1*, int>)(lpVtbl[19]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput1.FindClosestMatchingMode1" />
|
||||
@@ -215,7 +295,11 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface, INativeGuid
|
||||
[VtblIndex(20)]
|
||||
public HResult FindClosestMatchingMode1(ModeDescription1* pModeToMatch, ModeDescription1* pClosestMatch, IUnknown* pConcernedDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput3*, ModeDescription1*, ModeDescription1*, IUnknown*, int>)(lpVtbl[20]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput3*, ModeDescription1*, ModeDescription1*, IUnknown*, int>)(lpVtbl[20]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput1.GetDisplaySurfaceData1" />
|
||||
@@ -223,7 +307,11 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface, INativeGuid
|
||||
[VtblIndex(21)]
|
||||
public HResult GetDisplaySurfaceData1(IDXGIResource* pDestination)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput3*, IDXGIResource*, int>)(lpVtbl[21]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pDestination);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput3*, IDXGIResource*, int>)(lpVtbl[21]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pDestination);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput1.DuplicateOutput" />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface, INativeGuid
|
||||
[VtblIndex(22)]
|
||||
public HResult DuplicateOutput(IUnknown* pDevice, IDXGIOutputDuplication** ppOutputDuplication)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput3*, IUnknown*, IDXGIOutputDuplication**, int>)(lpVtbl[22]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pDevice, ppOutputDuplication);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput3*, IUnknown*, IDXGIOutputDuplication**, int>)(lpVtbl[22]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pDevice, ppOutputDuplication);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput2.SupportsOverlays" />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface, INativeGuid
|
||||
[VtblIndex(23)]
|
||||
public Bool32 SupportsOverlays()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput3*, Bool32>)(lpVtbl[23]))((IDXGIOutput3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput3*, Bool32>)(lpVtbl[23]))((IDXGIOutput3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutput3::CheckOverlaySupport"]/*' />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface, INativeGuid
|
||||
[VtblIndex(24)]
|
||||
public HResult CheckOverlaySupport(Common.Format EnumFormat, IUnknown* pConcernedDevice, uint* pFlags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput3*, Common.Format, IUnknown*, uint*, int>)(lpVtbl[24]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), EnumFormat, pConcernedDevice, pFlags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput3*, Common.Format, IUnknown*, uint*, int>)(lpVtbl[24]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), EnumFormat, pConcernedDevice, pFlags);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIOutput2.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput4*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput4*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput4*, uint>)(lpVtbl[1]))((IDXGIOutput4*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput4*, uint>)(lpVtbl[1]))((IDXGIOutput4*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput4*, uint>)(lpVtbl[2]))((IDXGIOutput4*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput4*, uint>)(lpVtbl[2]))((IDXGIOutput4*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput4*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput4*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface, INativeGuid
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput4*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput4*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface, INativeGuid
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput4*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput4*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface, INativeGuid
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput4*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput4*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetDesc" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface, INativeGuid
|
||||
[VtblIndex(7)]
|
||||
public HResult GetDesc(OutputDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput4*, OutputDescription*, int>)(lpVtbl[7]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput4*, OutputDescription*, int>)(lpVtbl[7]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetDisplayModeList" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface, INativeGuid
|
||||
[VtblIndex(8)]
|
||||
public HResult GetDisplayModeList(Common.Format EnumFormat, EnumModesFlags Flags, uint* pNumModes, Common.ModeDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput4*, Common.Format, EnumModesFlags, uint*, Common.ModeDescription*, int>)(lpVtbl[8]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput4*, Common.Format, EnumModesFlags, uint*, Common.ModeDescription*, int>)(lpVtbl[8]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.FindClosestMatchingMode" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface, INativeGuid
|
||||
[VtblIndex(9)]
|
||||
public HResult FindClosestMatchingMode(Common.ModeDescription* pModeToMatch, Common.ModeDescription* pClosestMatch, IUnknown* pConcernedDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput4*, Common.ModeDescription*, Common.ModeDescription*, IUnknown*, int>)(lpVtbl[9]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput4*, Common.ModeDescription*, Common.ModeDescription*, IUnknown*, int>)(lpVtbl[9]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.WaitForVBlank" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface, INativeGuid
|
||||
[VtblIndex(10)]
|
||||
public HResult WaitForVBlank()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput4*, int>)(lpVtbl[10]))((IDXGIOutput4*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput4*, int>)(lpVtbl[10]))((IDXGIOutput4*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.TakeOwnership" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface, INativeGuid
|
||||
[VtblIndex(11)]
|
||||
public HResult TakeOwnership(IUnknown* pDevice, Bool32 Exclusive)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput4*, IUnknown*, Bool32, int>)(lpVtbl[11]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pDevice, Exclusive);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput4*, IUnknown*, Bool32, int>)(lpVtbl[11]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pDevice, Exclusive);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.ReleaseOwnership" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface, INativeGuid
|
||||
[VtblIndex(12)]
|
||||
public void ReleaseOwnership()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIOutput4*, void>)(lpVtbl[12]))((IDXGIOutput4*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIOutput4*, void>)(lpVtbl[12]))((IDXGIOutput4*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetGammaControlCapabilities" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface, INativeGuid
|
||||
[VtblIndex(13)]
|
||||
public HResult GetGammaControlCapabilities(Common.GammaControlCapabilities* pGammaCaps)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput4*, Common.GammaControlCapabilities*, int>)(lpVtbl[13]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pGammaCaps);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput4*, Common.GammaControlCapabilities*, int>)(lpVtbl[13]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pGammaCaps);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.SetGammaControl" />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface, INativeGuid
|
||||
[VtblIndex(14)]
|
||||
public HResult SetGammaControl(Common.GammaControl* pArray)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput4*, Common.GammaControl*, int>)(lpVtbl[14]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pArray);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput4*, Common.GammaControl*, int>)(lpVtbl[14]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pArray);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetGammaControl" />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface, INativeGuid
|
||||
[VtblIndex(15)]
|
||||
public HResult GetGammaControl(Common.GammaControl* pArray)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput4*, Common.GammaControl*, int>)(lpVtbl[15]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pArray);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput4*, Common.GammaControl*, int>)(lpVtbl[15]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pArray);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.SetDisplaySurface" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface, INativeGuid
|
||||
[VtblIndex(16)]
|
||||
public HResult SetDisplaySurface(IDXGISurface* pScanoutSurface)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput4*, IDXGISurface*, int>)(lpVtbl[16]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pScanoutSurface);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput4*, IDXGISurface*, int>)(lpVtbl[16]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pScanoutSurface);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetDisplaySurfaceData" />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface, INativeGuid
|
||||
[VtblIndex(17)]
|
||||
public HResult GetDisplaySurfaceData(IDXGISurface* pDestination)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput4*, IDXGISurface*, int>)(lpVtbl[17]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pDestination);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput4*, IDXGISurface*, int>)(lpVtbl[17]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pDestination);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetFrameStatistics" />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface, INativeGuid
|
||||
[VtblIndex(18)]
|
||||
public HResult GetFrameStatistics(FrameStatistics* pStats)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput4*, FrameStatistics*, int>)(lpVtbl[18]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pStats);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput4*, FrameStatistics*, int>)(lpVtbl[18]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pStats);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput1.GetDisplayModeList1" />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface, INativeGuid
|
||||
[VtblIndex(19)]
|
||||
public HResult GetDisplayModeList1(Common.Format EnumFormat, uint Flags, uint* pNumModes, ModeDescription1* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput4*, Common.Format, uint, uint*, ModeDescription1*, int>)(lpVtbl[19]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput4*, Common.Format, uint, uint*, ModeDescription1*, int>)(lpVtbl[19]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput1.FindClosestMatchingMode1" />
|
||||
@@ -215,7 +295,11 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface, INativeGuid
|
||||
[VtblIndex(20)]
|
||||
public HResult FindClosestMatchingMode1(ModeDescription1* pModeToMatch, ModeDescription1* pClosestMatch, IUnknown* pConcernedDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput4*, ModeDescription1*, ModeDescription1*, IUnknown*, int>)(lpVtbl[20]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput4*, ModeDescription1*, ModeDescription1*, IUnknown*, int>)(lpVtbl[20]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput1.GetDisplaySurfaceData1" />
|
||||
@@ -223,7 +307,11 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface, INativeGuid
|
||||
[VtblIndex(21)]
|
||||
public HResult GetDisplaySurfaceData1(IDXGIResource* pDestination)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput4*, IDXGIResource*, int>)(lpVtbl[21]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pDestination);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput4*, IDXGIResource*, int>)(lpVtbl[21]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pDestination);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput1.DuplicateOutput" />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface, INativeGuid
|
||||
[VtblIndex(22)]
|
||||
public HResult DuplicateOutput(IUnknown* pDevice, IDXGIOutputDuplication** ppOutputDuplication)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput4*, IUnknown*, IDXGIOutputDuplication**, int>)(lpVtbl[22]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pDevice, ppOutputDuplication);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput4*, IUnknown*, IDXGIOutputDuplication**, int>)(lpVtbl[22]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pDevice, ppOutputDuplication);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput2.SupportsOverlays" />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface, INativeGuid
|
||||
[VtblIndex(23)]
|
||||
public Bool32 SupportsOverlays()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput4*, Bool32>)(lpVtbl[23]))((IDXGIOutput4*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput4*, Bool32>)(lpVtbl[23]))((IDXGIOutput4*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput3.CheckOverlaySupport" />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface, INativeGuid
|
||||
[VtblIndex(24)]
|
||||
public HResult CheckOverlaySupport(Common.Format EnumFormat, IUnknown* pConcernedDevice, uint* pFlags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput4*, Common.Format, IUnknown*, uint*, int>)(lpVtbl[24]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), EnumFormat, pConcernedDevice, pFlags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput4*, Common.Format, IUnknown*, uint*, int>)(lpVtbl[24]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), EnumFormat, pConcernedDevice, pFlags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutput4::CheckOverlayColorSpaceSupport"]/*' />
|
||||
@@ -255,7 +355,11 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface, INativeGuid
|
||||
[VtblIndex(25)]
|
||||
public HResult CheckOverlayColorSpaceSupport(Common.Format Format, Common.ColorSpaceType ColorSpace, IUnknown* pConcernedDevice, uint* pFlags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput4*, Common.Format, Common.ColorSpaceType, IUnknown*, uint*, int>)(lpVtbl[25]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), Format, ColorSpace, pConcernedDevice, pFlags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput4*, Common.Format, Common.ColorSpaceType, IUnknown*, uint*, int>)(lpVtbl[25]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), Format, ColorSpace, pConcernedDevice, pFlags);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIOutput3.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput5*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput5*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput5*, uint>)(lpVtbl[1]))((IDXGIOutput5*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput5*, uint>)(lpVtbl[1]))((IDXGIOutput5*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput5*, uint>)(lpVtbl[2]))((IDXGIOutput5*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput5*, uint>)(lpVtbl[2]))((IDXGIOutput5*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput5*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput5*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput5*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput5*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput5*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput5*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput5*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput5*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetDesc" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
|
||||
[VtblIndex(7)]
|
||||
public HResult GetDesc(OutputDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput5*, OutputDescription*, int>)(lpVtbl[7]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput5*, OutputDescription*, int>)(lpVtbl[7]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetDisplayModeList" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
|
||||
[VtblIndex(8)]
|
||||
public HResult GetDisplayModeList(Common.Format EnumFormat, EnumModesFlags Flags, uint* pNumModes, Common.ModeDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput5*, Common.Format, EnumModesFlags, uint*, Common.ModeDescription*, int>)(lpVtbl[8]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput5*, Common.Format, EnumModesFlags, uint*, Common.ModeDescription*, int>)(lpVtbl[8]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.FindClosestMatchingMode" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
|
||||
[VtblIndex(9)]
|
||||
public HResult FindClosestMatchingMode(Common.ModeDescription* pModeToMatch, Common.ModeDescription* pClosestMatch, IUnknown* pConcernedDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput5*, Common.ModeDescription*, Common.ModeDescription*, IUnknown*, int>)(lpVtbl[9]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput5*, Common.ModeDescription*, Common.ModeDescription*, IUnknown*, int>)(lpVtbl[9]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.WaitForVBlank" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
|
||||
[VtblIndex(10)]
|
||||
public HResult WaitForVBlank()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput5*, int>)(lpVtbl[10]))((IDXGIOutput5*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput5*, int>)(lpVtbl[10]))((IDXGIOutput5*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.TakeOwnership" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
|
||||
[VtblIndex(11)]
|
||||
public HResult TakeOwnership(IUnknown* pDevice, Bool32 Exclusive)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput5*, IUnknown*, Bool32, int>)(lpVtbl[11]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDevice, Exclusive);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput5*, IUnknown*, Bool32, int>)(lpVtbl[11]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDevice, Exclusive);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.ReleaseOwnership" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
|
||||
[VtblIndex(12)]
|
||||
public void ReleaseOwnership()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIOutput5*, void>)(lpVtbl[12]))((IDXGIOutput5*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIOutput5*, void>)(lpVtbl[12]))((IDXGIOutput5*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetGammaControlCapabilities" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
|
||||
[VtblIndex(13)]
|
||||
public HResult GetGammaControlCapabilities(Common.GammaControlCapabilities* pGammaCaps)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput5*, Common.GammaControlCapabilities*, int>)(lpVtbl[13]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pGammaCaps);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput5*, Common.GammaControlCapabilities*, int>)(lpVtbl[13]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pGammaCaps);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.SetGammaControl" />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
|
||||
[VtblIndex(14)]
|
||||
public HResult SetGammaControl(Common.GammaControl* pArray)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput5*, Common.GammaControl*, int>)(lpVtbl[14]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pArray);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput5*, Common.GammaControl*, int>)(lpVtbl[14]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pArray);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetGammaControl" />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
|
||||
[VtblIndex(15)]
|
||||
public HResult GetGammaControl(Common.GammaControl* pArray)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput5*, Common.GammaControl*, int>)(lpVtbl[15]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pArray);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput5*, Common.GammaControl*, int>)(lpVtbl[15]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pArray);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.SetDisplaySurface" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
|
||||
[VtblIndex(16)]
|
||||
public HResult SetDisplaySurface(IDXGISurface* pScanoutSurface)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput5*, IDXGISurface*, int>)(lpVtbl[16]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pScanoutSurface);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput5*, IDXGISurface*, int>)(lpVtbl[16]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pScanoutSurface);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetDisplaySurfaceData" />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
|
||||
[VtblIndex(17)]
|
||||
public HResult GetDisplaySurfaceData(IDXGISurface* pDestination)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput5*, IDXGISurface*, int>)(lpVtbl[17]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDestination);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput5*, IDXGISurface*, int>)(lpVtbl[17]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDestination);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetFrameStatistics" />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
|
||||
[VtblIndex(18)]
|
||||
public HResult GetFrameStatistics(FrameStatistics* pStats)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput5*, FrameStatistics*, int>)(lpVtbl[18]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pStats);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput5*, FrameStatistics*, int>)(lpVtbl[18]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pStats);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput1.GetDisplayModeList1" />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
|
||||
[VtblIndex(19)]
|
||||
public HResult GetDisplayModeList1(Common.Format EnumFormat, uint Flags, uint* pNumModes, ModeDescription1* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput5*, Common.Format, uint, uint*, ModeDescription1*, int>)(lpVtbl[19]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput5*, Common.Format, uint, uint*, ModeDescription1*, int>)(lpVtbl[19]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput1.FindClosestMatchingMode1" />
|
||||
@@ -215,7 +295,11 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
|
||||
[VtblIndex(20)]
|
||||
public HResult FindClosestMatchingMode1(ModeDescription1* pModeToMatch, ModeDescription1* pClosestMatch, IUnknown* pConcernedDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput5*, ModeDescription1*, ModeDescription1*, IUnknown*, int>)(lpVtbl[20]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput5*, ModeDescription1*, ModeDescription1*, IUnknown*, int>)(lpVtbl[20]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput1.GetDisplaySurfaceData1" />
|
||||
@@ -223,7 +307,11 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
|
||||
[VtblIndex(21)]
|
||||
public HResult GetDisplaySurfaceData1(IDXGIResource* pDestination)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput5*, IDXGIResource*, int>)(lpVtbl[21]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDestination);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput5*, IDXGIResource*, int>)(lpVtbl[21]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDestination);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput1.DuplicateOutput" />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
|
||||
[VtblIndex(22)]
|
||||
public HResult DuplicateOutput(IUnknown* pDevice, IDXGIOutputDuplication** ppOutputDuplication)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput5*, IUnknown*, IDXGIOutputDuplication**, int>)(lpVtbl[22]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDevice, ppOutputDuplication);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput5*, IUnknown*, IDXGIOutputDuplication**, int>)(lpVtbl[22]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDevice, ppOutputDuplication);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput2.SupportsOverlays" />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
|
||||
[VtblIndex(23)]
|
||||
public Bool32 SupportsOverlays()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput5*, Bool32>)(lpVtbl[23]))((IDXGIOutput5*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput5*, Bool32>)(lpVtbl[23]))((IDXGIOutput5*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput3.CheckOverlaySupport" />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
|
||||
[VtblIndex(24)]
|
||||
public HResult CheckOverlaySupport(Common.Format EnumFormat, IUnknown* pConcernedDevice, uint* pFlags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput5*, Common.Format, IUnknown*, uint*, int>)(lpVtbl[24]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), EnumFormat, pConcernedDevice, pFlags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput5*, Common.Format, IUnknown*, uint*, int>)(lpVtbl[24]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), EnumFormat, pConcernedDevice, pFlags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput4.CheckOverlayColorSpaceSupport" />
|
||||
@@ -255,7 +355,11 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
|
||||
[VtblIndex(25)]
|
||||
public HResult CheckOverlayColorSpaceSupport(Common.Format Format, Common.ColorSpaceType ColorSpace, IUnknown* pConcernedDevice, uint* pFlags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput5*, Common.Format, Common.ColorSpaceType, IUnknown*, uint*, int>)(lpVtbl[25]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), Format, ColorSpace, pConcernedDevice, pFlags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput5*, Common.Format, Common.ColorSpaceType, IUnknown*, uint*, int>)(lpVtbl[25]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), Format, ColorSpace, pConcernedDevice, pFlags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutput5::DuplicateOutput1"]/*' />
|
||||
@@ -263,7 +367,11 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
|
||||
[VtblIndex(26)]
|
||||
public HResult DuplicateOutput1(IUnknown* pDevice, uint Flags, uint SupportedFormatsCount, Common.Format* pSupportedFormats, IDXGIOutputDuplication** ppOutputDuplication)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput5*, IUnknown*, uint, uint, Common.Format*, IDXGIOutputDuplication**, int>)(lpVtbl[26]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDevice, Flags, SupportedFormatsCount, pSupportedFormats, ppOutputDuplication);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput5*, IUnknown*, uint, uint, Common.Format*, IDXGIOutputDuplication**, int>)(lpVtbl[26]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDevice, Flags, SupportedFormatsCount, pSupportedFormats, ppOutputDuplication);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIOutput4.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, uint>)(lpVtbl[1]))((IDXGIOutput6*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, uint>)(lpVtbl[1]))((IDXGIOutput6*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, uint>)(lpVtbl[2]))((IDXGIOutput6*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, uint>)(lpVtbl[2]))((IDXGIOutput6*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetDesc" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[VtblIndex(7)]
|
||||
public HResult GetDesc(OutputDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, OutputDescription*, int>)(lpVtbl[7]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, OutputDescription*, int>)(lpVtbl[7]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetDisplayModeList" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[VtblIndex(8)]
|
||||
public HResult GetDisplayModeList(Common.Format EnumFormat, EnumModesFlags Flags, uint* pNumModes, Common.ModeDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, Common.Format, EnumModesFlags, uint*, Common.ModeDescription*, int>)(lpVtbl[8]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, Common.Format, EnumModesFlags, uint*, Common.ModeDescription*, int>)(lpVtbl[8]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.FindClosestMatchingMode" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[VtblIndex(9)]
|
||||
public HResult FindClosestMatchingMode(Common.ModeDescription* pModeToMatch, Common.ModeDescription* pClosestMatch, IUnknown* pConcernedDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, Common.ModeDescription*, Common.ModeDescription*, IUnknown*, int>)(lpVtbl[9]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, Common.ModeDescription*, Common.ModeDescription*, IUnknown*, int>)(lpVtbl[9]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.WaitForVBlank" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[VtblIndex(10)]
|
||||
public HResult WaitForVBlank()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, int>)(lpVtbl[10]))((IDXGIOutput6*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, int>)(lpVtbl[10]))((IDXGIOutput6*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.TakeOwnership" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[VtblIndex(11)]
|
||||
public HResult TakeOwnership(IUnknown* pDevice, Bool32 Exclusive)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, IUnknown*, Bool32, int>)(lpVtbl[11]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDevice, Exclusive);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, IUnknown*, Bool32, int>)(lpVtbl[11]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDevice, Exclusive);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.ReleaseOwnership" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[VtblIndex(12)]
|
||||
public void ReleaseOwnership()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIOutput6*, void>)(lpVtbl[12]))((IDXGIOutput6*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIOutput6*, void>)(lpVtbl[12]))((IDXGIOutput6*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetGammaControlCapabilities" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[VtblIndex(13)]
|
||||
public HResult GetGammaControlCapabilities(Common.GammaControlCapabilities* pGammaCaps)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, Common.GammaControlCapabilities*, int>)(lpVtbl[13]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pGammaCaps);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, Common.GammaControlCapabilities*, int>)(lpVtbl[13]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pGammaCaps);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.SetGammaControl" />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[VtblIndex(14)]
|
||||
public HResult SetGammaControl(Common.GammaControl* pArray)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, Common.GammaControl*, int>)(lpVtbl[14]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pArray);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, Common.GammaControl*, int>)(lpVtbl[14]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pArray);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetGammaControl" />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[VtblIndex(15)]
|
||||
public HResult GetGammaControl(Common.GammaControl* pArray)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, Common.GammaControl*, int>)(lpVtbl[15]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pArray);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, Common.GammaControl*, int>)(lpVtbl[15]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pArray);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.SetDisplaySurface" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[VtblIndex(16)]
|
||||
public HResult SetDisplaySurface(IDXGISurface* pScanoutSurface)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, IDXGISurface*, int>)(lpVtbl[16]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pScanoutSurface);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, IDXGISurface*, int>)(lpVtbl[16]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pScanoutSurface);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetDisplaySurfaceData" />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[VtblIndex(17)]
|
||||
public HResult GetDisplaySurfaceData(IDXGISurface* pDestination)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, IDXGISurface*, int>)(lpVtbl[17]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDestination);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, IDXGISurface*, int>)(lpVtbl[17]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDestination);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput.GetFrameStatistics" />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[VtblIndex(18)]
|
||||
public HResult GetFrameStatistics(FrameStatistics* pStats)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, FrameStatistics*, int>)(lpVtbl[18]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pStats);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, FrameStatistics*, int>)(lpVtbl[18]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pStats);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput1.GetDisplayModeList1" />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[VtblIndex(19)]
|
||||
public HResult GetDisplayModeList1(Common.Format EnumFormat, uint Flags, uint* pNumModes, ModeDescription1* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, Common.Format, uint, uint*, ModeDescription1*, int>)(lpVtbl[19]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, Common.Format, uint, uint*, ModeDescription1*, int>)(lpVtbl[19]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput1.FindClosestMatchingMode1" />
|
||||
@@ -215,7 +295,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[VtblIndex(20)]
|
||||
public HResult FindClosestMatchingMode1(ModeDescription1* pModeToMatch, ModeDescription1* pClosestMatch, IUnknown* pConcernedDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, ModeDescription1*, ModeDescription1*, IUnknown*, int>)(lpVtbl[20]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, ModeDescription1*, ModeDescription1*, IUnknown*, int>)(lpVtbl[20]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput1.GetDisplaySurfaceData1" />
|
||||
@@ -223,7 +307,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[VtblIndex(21)]
|
||||
public HResult GetDisplaySurfaceData1(IDXGIResource* pDestination)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, IDXGIResource*, int>)(lpVtbl[21]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDestination);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, IDXGIResource*, int>)(lpVtbl[21]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDestination);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput1.DuplicateOutput" />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[VtblIndex(22)]
|
||||
public HResult DuplicateOutput(IUnknown* pDevice, IDXGIOutputDuplication** ppOutputDuplication)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, IUnknown*, IDXGIOutputDuplication**, int>)(lpVtbl[22]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDevice, ppOutputDuplication);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, IUnknown*, IDXGIOutputDuplication**, int>)(lpVtbl[22]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDevice, ppOutputDuplication);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput2.SupportsOverlays" />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[VtblIndex(23)]
|
||||
public Bool32 SupportsOverlays()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, Bool32>)(lpVtbl[23]))((IDXGIOutput6*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, Bool32>)(lpVtbl[23]))((IDXGIOutput6*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput3.CheckOverlaySupport" />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[VtblIndex(24)]
|
||||
public HResult CheckOverlaySupport(Common.Format EnumFormat, IUnknown* pConcernedDevice, uint* pFlags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, Common.Format, IUnknown*, uint*, int>)(lpVtbl[24]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), EnumFormat, pConcernedDevice, pFlags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, Common.Format, IUnknown*, uint*, int>)(lpVtbl[24]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), EnumFormat, pConcernedDevice, pFlags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput4.CheckOverlayColorSpaceSupport" />
|
||||
@@ -255,7 +355,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[VtblIndex(25)]
|
||||
public HResult CheckOverlayColorSpaceSupport(Common.Format Format, Common.ColorSpaceType ColorSpace, IUnknown* pConcernedDevice, uint* pFlags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, Common.Format, Common.ColorSpaceType, IUnknown*, uint*, int>)(lpVtbl[25]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), Format, ColorSpace, pConcernedDevice, pFlags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, Common.Format, Common.ColorSpaceType, IUnknown*, uint*, int>)(lpVtbl[25]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), Format, ColorSpace, pConcernedDevice, pFlags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIOutput5.DuplicateOutput1" />
|
||||
@@ -263,7 +367,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[VtblIndex(26)]
|
||||
public HResult DuplicateOutput1(IUnknown* pDevice, uint Flags, uint SupportedFormatsCount, Common.Format* pSupportedFormats, IDXGIOutputDuplication** ppOutputDuplication)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, IUnknown*, uint, uint, Common.Format*, IDXGIOutputDuplication**, int>)(lpVtbl[26]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDevice, Flags, SupportedFormatsCount, pSupportedFormats, ppOutputDuplication);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, IUnknown*, uint, uint, Common.Format*, IDXGIOutputDuplication**, int>)(lpVtbl[26]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDevice, Flags, SupportedFormatsCount, pSupportedFormats, ppOutputDuplication);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutput6::GetDesc1"]/*' />
|
||||
@@ -271,7 +379,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[VtblIndex(27)]
|
||||
public HResult GetDesc1(OutputDescription1* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, OutputDescription1*, int>)(lpVtbl[27]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, OutputDescription1*, int>)(lpVtbl[27]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutput6::CheckHardwareCompositionSupport"]/*' />
|
||||
@@ -279,7 +391,11 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
|
||||
[VtblIndex(28)]
|
||||
public HResult CheckHardwareCompositionSupport(uint* pFlags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutput6*, uint*, int>)(lpVtbl[28]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pFlags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutput6*, uint*, int>)(lpVtbl[28]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pFlags);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIOutput5.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIOutputDuplication : IDXGIOutputDuplication.Int
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutputDuplication*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutputDuplication*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIOutputDuplication : IDXGIOutputDuplication.Int
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutputDuplication*, uint>)(lpVtbl[1]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutputDuplication*, uint>)(lpVtbl[1]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIOutputDuplication : IDXGIOutputDuplication.Int
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutputDuplication*, uint>)(lpVtbl[2]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutputDuplication*, uint>)(lpVtbl[2]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ 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<IDXGIOutputDuplication*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutputDuplication*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIOutputDuplication : IDXGIOutputDuplication.Int
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutputDuplication*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutputDuplication*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ 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<IDXGIOutputDuplication*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutputDuplication*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIOutputDuplication : IDXGIOutputDuplication.Int
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutputDuplication*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutputDuplication*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutputDuplication::GetDesc"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGIOutputDuplication : IDXGIOutputDuplication.Int
|
||||
[VtblIndex(7)]
|
||||
public void GetDesc(OutduplDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGIOutputDuplication*, OutduplDescription*, void>)(lpVtbl[7]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGIOutputDuplication*, OutduplDescription*, void>)(lpVtbl[7]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutputDuplication::AcquireNextFrame"]/*' />
|
||||
@@ -119,7 +151,11 @@ 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<IDXGIOutputDuplication*, uint, OutduplFrameInfo*, IDXGIResource**, int>)(lpVtbl[8]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), TimeoutInMilliseconds, pFrameInfo, ppDesktopResource);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutputDuplication*, uint, OutduplFrameInfo*, IDXGIResource**, int>)(lpVtbl[8]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), TimeoutInMilliseconds, pFrameInfo, ppDesktopResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutputDuplication::GetFrameDirtyRects"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct IDXGIOutputDuplication : IDXGIOutputDuplication.Int
|
||||
[VtblIndex(9)]
|
||||
public HResult GetFrameDirtyRects(uint DirtyRectsBufferSize, Rect* pDirtyRectsBuffer, uint* pDirtyRectsBufferSizeRequired)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutputDuplication*, uint, Rect*, uint*, int>)(lpVtbl[9]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), DirtyRectsBufferSize, pDirtyRectsBuffer, pDirtyRectsBufferSizeRequired);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutputDuplication*, uint, Rect*, uint*, int>)(lpVtbl[9]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), DirtyRectsBufferSize, pDirtyRectsBuffer, pDirtyRectsBufferSizeRequired);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutputDuplication::GetFrameMoveRects"]/*' />
|
||||
@@ -135,7 +175,11 @@ 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<IDXGIOutputDuplication*, uint, OutduplMoveRect*, uint*, int>)(lpVtbl[10]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), MoveRectsBufferSize, pMoveRectBuffer, pMoveRectsBufferSizeRequired);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutputDuplication*, uint, OutduplMoveRect*, uint*, int>)(lpVtbl[10]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), MoveRectsBufferSize, pMoveRectBuffer, pMoveRectsBufferSizeRequired);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutputDuplication::GetFramePointerShape"]/*' />
|
||||
@@ -143,7 +187,11 @@ 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<IDXGIOutputDuplication*, uint, void*, uint*, OutduplPointerShapeInfo*, int>)(lpVtbl[11]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), PointerShapeBufferSize, pPointerShapeBuffer, pPointerShapeBufferSizeRequired, pPointerShapeInfo);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutputDuplication*, uint, void*, uint*, OutduplPointerShapeInfo*, int>)(lpVtbl[11]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), PointerShapeBufferSize, pPointerShapeBuffer, pPointerShapeBufferSizeRequired, pPointerShapeInfo);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutputDuplication::MapDesktopSurface"]/*' />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGIOutputDuplication : IDXGIOutputDuplication.Int
|
||||
[VtblIndex(12)]
|
||||
public HResult MapDesktopSurface(MappedRect* pLockedRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutputDuplication*, MappedRect*, int>)(lpVtbl[12]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), pLockedRect);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutputDuplication*, MappedRect*, int>)(lpVtbl[12]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), pLockedRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutputDuplication::UnMapDesktopSurface"]/*' />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGIOutputDuplication : IDXGIOutputDuplication.Int
|
||||
[VtblIndex(13)]
|
||||
public HResult UnMapDesktopSurface()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutputDuplication*, int>)(lpVtbl[13]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutputDuplication*, int>)(lpVtbl[13]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIOutputDuplication::ReleaseFrame"]/*' />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct IDXGIOutputDuplication : IDXGIOutputDuplication.Int
|
||||
[VtblIndex(14)]
|
||||
public HResult ReleaseFrame()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIOutputDuplication*, int>)(lpVtbl[14]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIOutputDuplication*, int>)(lpVtbl[14]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIObject.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIResource : IDXGIResource.Interface, INativeGui
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIResource*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIResource*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIResource*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIResource*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIResource : IDXGIResource.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIResource*, uint>)(lpVtbl[1]))((IDXGIResource*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIResource*, uint>)(lpVtbl[1]))((IDXGIResource*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIResource : IDXGIResource.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIResource*, uint>)(lpVtbl[2]))((IDXGIResource*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIResource*, uint>)(lpVtbl[2]))((IDXGIResource*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIResource : IDXGIResource.Interface, INativeGui
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIResource*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIResource*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIResource*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIResource*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIResource : IDXGIResource.Interface, INativeGui
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIResource*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIResource*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIResource*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIResource*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIResource : IDXGIResource.Interface, INativeGui
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIResource*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIResource*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIResource*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIResource*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIResource : IDXGIResource.Interface, INativeGui
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIResource*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIResource*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIResource*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIResource*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDeviceSubObject.GetDevice" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGIResource : IDXGIResource.Interface, INativeGui
|
||||
[VtblIndex(7)]
|
||||
public HResult GetDevice(Guid* riid, void** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIResource*, Guid*, void**, int>)(lpVtbl[7]))((IDXGIResource*)Unsafe.AsPointer(ref this), riid, ppDevice);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIResource*, Guid*, void**, int>)(lpVtbl[7]))((IDXGIResource*)Unsafe.AsPointer(ref this), riid, ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIResource::GetSharedHandle"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct IDXGIResource : IDXGIResource.Interface, INativeGui
|
||||
[VtblIndex(8)]
|
||||
public HResult GetSharedHandle(Handle* pSharedHandle)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIResource*, Handle*, int>)(lpVtbl[8]))((IDXGIResource*)Unsafe.AsPointer(ref this), pSharedHandle);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIResource*, Handle*, int>)(lpVtbl[8]))((IDXGIResource*)Unsafe.AsPointer(ref this), pSharedHandle);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIResource::GetUsage"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct IDXGIResource : IDXGIResource.Interface, INativeGui
|
||||
[VtblIndex(9)]
|
||||
public HResult GetUsage(Usage* pUsage)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIResource*, Usage*, int>)(lpVtbl[9]))((IDXGIResource*)Unsafe.AsPointer(ref this), pUsage);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIResource*, Usage*, int>)(lpVtbl[9]))((IDXGIResource*)Unsafe.AsPointer(ref this), pUsage);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIResource::SetEvictionPriority"]/*' />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGIResource : IDXGIResource.Interface, INativeGui
|
||||
[VtblIndex(10)]
|
||||
public HResult SetEvictionPriority(ResourcePriority EvictionPriority)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIResource*, ResourcePriority, int>)(lpVtbl[10]))((IDXGIResource*)Unsafe.AsPointer(ref this), EvictionPriority);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIResource*, ResourcePriority, int>)(lpVtbl[10]))((IDXGIResource*)Unsafe.AsPointer(ref this), EvictionPriority);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIResource::GetEvictionPriority"]/*' />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct IDXGIResource : IDXGIResource.Interface, INativeGui
|
||||
[VtblIndex(11)]
|
||||
public HResult GetEvictionPriority(uint* pEvictionPriority)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIResource*, uint*, int>)(lpVtbl[11]))((IDXGIResource*)Unsafe.AsPointer(ref this), pEvictionPriority);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIResource*, uint*, int>)(lpVtbl[11]))((IDXGIResource*)Unsafe.AsPointer(ref this), pEvictionPriority);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIDeviceSubObject.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface, INativeG
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIResource1*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIResource1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIResource1*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIResource1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface, INativeG
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIResource1*, uint>)(lpVtbl[1]))((IDXGIResource1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIResource1*, uint>)(lpVtbl[1]))((IDXGIResource1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface, INativeG
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIResource1*, uint>)(lpVtbl[2]))((IDXGIResource1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIResource1*, uint>)(lpVtbl[2]))((IDXGIResource1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface, INativeG
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIResource1*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIResource1*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIResource1*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGIResource1*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface, INativeG
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIResource1*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIResource1*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIResource1*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGIResource1*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface, INativeG
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIResource1*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIResource1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIResource1*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGIResource1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface, INativeG
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIResource1*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIResource1*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIResource1*, Guid*, void**, int>)(lpVtbl[6]))((IDXGIResource1*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDeviceSubObject.GetDevice" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface, INativeG
|
||||
[VtblIndex(7)]
|
||||
public HResult GetDevice(Guid* riid, void** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIResource1*, Guid*, void**, int>)(lpVtbl[7]))((IDXGIResource1*)Unsafe.AsPointer(ref this), riid, ppDevice);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIResource1*, Guid*, void**, int>)(lpVtbl[7]))((IDXGIResource1*)Unsafe.AsPointer(ref this), riid, ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIResource.GetSharedHandle" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface, INativeG
|
||||
[VtblIndex(8)]
|
||||
public HResult GetSharedHandle(Handle* pSharedHandle)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIResource1*, Handle*, int>)(lpVtbl[8]))((IDXGIResource1*)Unsafe.AsPointer(ref this), pSharedHandle);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIResource1*, Handle*, int>)(lpVtbl[8]))((IDXGIResource1*)Unsafe.AsPointer(ref this), pSharedHandle);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIResource.GetUsage" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface, INativeG
|
||||
[VtblIndex(9)]
|
||||
public HResult GetUsage(Usage* pUsage)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIResource1*, Usage*, int>)(lpVtbl[9]))((IDXGIResource1*)Unsafe.AsPointer(ref this), pUsage);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIResource1*, Usage*, int>)(lpVtbl[9]))((IDXGIResource1*)Unsafe.AsPointer(ref this), pUsage);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIResource.SetEvictionPriority" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface, INativeG
|
||||
[VtblIndex(10)]
|
||||
public HResult SetEvictionPriority(ResourcePriority EvictionPriority)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIResource1*, ResourcePriority, int>)(lpVtbl[10]))((IDXGIResource1*)Unsafe.AsPointer(ref this), EvictionPriority);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIResource1*, ResourcePriority, int>)(lpVtbl[10]))((IDXGIResource1*)Unsafe.AsPointer(ref this), EvictionPriority);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIResource.GetEvictionPriority" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface, INativeG
|
||||
[VtblIndex(11)]
|
||||
public HResult GetEvictionPriority(uint* pEvictionPriority)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIResource1*, uint*, int>)(lpVtbl[11]))((IDXGIResource1*)Unsafe.AsPointer(ref this), pEvictionPriority);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIResource1*, uint*, int>)(lpVtbl[11]))((IDXGIResource1*)Unsafe.AsPointer(ref this), pEvictionPriority);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIResource1::CreateSubresourceSurface"]/*' />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface, INativeG
|
||||
[VtblIndex(12)]
|
||||
public HResult CreateSubresourceSurface(uint index, IDXGISurface2** ppSurface)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIResource1*, uint, IDXGISurface2**, int>)(lpVtbl[12]))((IDXGIResource1*)Unsafe.AsPointer(ref this), index, ppSurface);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIResource1*, uint, IDXGISurface2**, int>)(lpVtbl[12]))((IDXGIResource1*)Unsafe.AsPointer(ref this), index, ppSurface);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIResource1::CreateSharedHandle"]/*' />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface, INativeG
|
||||
[VtblIndex(13)]
|
||||
public HResult CreateSharedHandle(Security.SECURITY_ATTRIBUTES* pAttributes, uint dwAccess, ushort* lpName, Handle* pHandle)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGIResource1*, Security.SECURITY_ATTRIBUTES*, uint, ushort*, Handle*, int>)(lpVtbl[13]))((IDXGIResource1*)Unsafe.AsPointer(ref this), pAttributes, dwAccess, lpName, pHandle);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIResource1*, Security.SECURITY_ATTRIBUTES*, uint, ushort*, Handle*, int>)(lpVtbl[13]))((IDXGIResource1*)Unsafe.AsPointer(ref this), pAttributes, dwAccess, lpName, pHandle);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIResource.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGISurface : IDXGISurface.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface*, Guid*, void**, int>)(lpVtbl[0]))((IDXGISurface*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface*, Guid*, void**, int>)(lpVtbl[0]))((IDXGISurface*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGISurface : IDXGISurface.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface*, uint>)(lpVtbl[1]))((IDXGISurface*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface*, uint>)(lpVtbl[1]))((IDXGISurface*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGISurface : IDXGISurface.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface*, uint>)(lpVtbl[2]))((IDXGISurface*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface*, uint>)(lpVtbl[2]))((IDXGISurface*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGISurface : IDXGISurface.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGISurface*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGISurface*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGISurface : IDXGISurface.Interface, INativeGuid
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGISurface*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGISurface*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGISurface : IDXGISurface.Interface, INativeGuid
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGISurface*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGISurface*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGISurface : IDXGISurface.Interface, INativeGuid
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface*, Guid*, void**, int>)(lpVtbl[6]))((IDXGISurface*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface*, Guid*, void**, int>)(lpVtbl[6]))((IDXGISurface*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDeviceSubObject.GetDevice" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGISurface : IDXGISurface.Interface, INativeGuid
|
||||
[VtblIndex(7)]
|
||||
public HResult GetDevice(Guid* riid, void** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface*, Guid*, void**, int>)(lpVtbl[7]))((IDXGISurface*)Unsafe.AsPointer(ref this), riid, ppDevice);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface*, Guid*, void**, int>)(lpVtbl[7]))((IDXGISurface*)Unsafe.AsPointer(ref this), riid, ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISurface::GetDesc"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct IDXGISurface : IDXGISurface.Interface, INativeGuid
|
||||
[VtblIndex(8)]
|
||||
public HResult GetDesc(SurfaceDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface*, SurfaceDescription*, int>)(lpVtbl[8]))((IDXGISurface*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface*, SurfaceDescription*, int>)(lpVtbl[8]))((IDXGISurface*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISurface::Map"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct IDXGISurface : IDXGISurface.Interface, INativeGuid
|
||||
[VtblIndex(9)]
|
||||
public HResult Map(MappedRect* pLockedRect, uint MapFlags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface*, MappedRect*, uint, int>)(lpVtbl[9]))((IDXGISurface*)Unsafe.AsPointer(ref this), pLockedRect, MapFlags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface*, MappedRect*, uint, int>)(lpVtbl[9]))((IDXGISurface*)Unsafe.AsPointer(ref this), pLockedRect, MapFlags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISurface::Unmap"]/*' />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGISurface : IDXGISurface.Interface, INativeGuid
|
||||
[VtblIndex(10)]
|
||||
public HResult Unmap()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface*, int>)(lpVtbl[10]))((IDXGISurface*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface*, int>)(lpVtbl[10]))((IDXGISurface*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIDeviceSubObject.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface, INativeGui
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface1*, Guid*, void**, int>)(lpVtbl[0]))((IDXGISurface1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface1*, Guid*, void**, int>)(lpVtbl[0]))((IDXGISurface1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface1*, uint>)(lpVtbl[1]))((IDXGISurface1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface1*, uint>)(lpVtbl[1]))((IDXGISurface1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface1*, uint>)(lpVtbl[2]))((IDXGISurface1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface1*, uint>)(lpVtbl[2]))((IDXGISurface1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface, INativeGui
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface1*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGISurface1*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface1*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGISurface1*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface, INativeGui
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface1*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGISurface1*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface1*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGISurface1*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface, INativeGui
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface1*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGISurface1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface1*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGISurface1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface, INativeGui
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface1*, Guid*, void**, int>)(lpVtbl[6]))((IDXGISurface1*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface1*, Guid*, void**, int>)(lpVtbl[6]))((IDXGISurface1*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDeviceSubObject.GetDevice" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface, INativeGui
|
||||
[VtblIndex(7)]
|
||||
public HResult GetDevice(Guid* riid, void** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface1*, Guid*, void**, int>)(lpVtbl[7]))((IDXGISurface1*)Unsafe.AsPointer(ref this), riid, ppDevice);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface1*, Guid*, void**, int>)(lpVtbl[7]))((IDXGISurface1*)Unsafe.AsPointer(ref this), riid, ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISurface.GetDesc" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface, INativeGui
|
||||
[VtblIndex(8)]
|
||||
public HResult GetDesc(SurfaceDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface1*, SurfaceDescription*, int>)(lpVtbl[8]))((IDXGISurface1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface1*, SurfaceDescription*, int>)(lpVtbl[8]))((IDXGISurface1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISurface.Map" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface, INativeGui
|
||||
[VtblIndex(9)]
|
||||
public HResult Map(MappedRect* pLockedRect, uint MapFlags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface1*, MappedRect*, uint, int>)(lpVtbl[9]))((IDXGISurface1*)Unsafe.AsPointer(ref this), pLockedRect, MapFlags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface1*, MappedRect*, uint, int>)(lpVtbl[9]))((IDXGISurface1*)Unsafe.AsPointer(ref this), pLockedRect, MapFlags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISurface.Unmap" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface, INativeGui
|
||||
[VtblIndex(10)]
|
||||
public HResult Unmap()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface1*, int>)(lpVtbl[10]))((IDXGISurface1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface1*, int>)(lpVtbl[10]))((IDXGISurface1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISurface1::GetDC"]/*' />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface, INativeGui
|
||||
[VtblIndex(11)]
|
||||
public HResult GetDC(Bool32 Discard, IntPtr* phdc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface1*, Bool32, IntPtr*, int>)(lpVtbl[11]))((IDXGISurface1*)Unsafe.AsPointer(ref this), Discard, phdc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface1*, Bool32, IntPtr*, int>)(lpVtbl[11]))((IDXGISurface1*)Unsafe.AsPointer(ref this), Discard, phdc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISurface1::ReleaseDC"]/*' />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface, INativeGui
|
||||
[VtblIndex(12)]
|
||||
public HResult ReleaseDC(Rect* pDirtyRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface1*, Rect*, int>)(lpVtbl[12]))((IDXGISurface1*)Unsafe.AsPointer(ref this), pDirtyRect);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface1*, Rect*, int>)(lpVtbl[12]))((IDXGISurface1*)Unsafe.AsPointer(ref this), pDirtyRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGISurface.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface, INativeGui
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface2*, Guid*, void**, int>)(lpVtbl[0]))((IDXGISurface2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface2*, Guid*, void**, int>)(lpVtbl[0]))((IDXGISurface2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface2*, uint>)(lpVtbl[1]))((IDXGISurface2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface2*, uint>)(lpVtbl[1]))((IDXGISurface2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface2*, uint>)(lpVtbl[2]))((IDXGISurface2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface2*, uint>)(lpVtbl[2]))((IDXGISurface2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface, INativeGui
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface2*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGISurface2*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface2*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGISurface2*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface, INativeGui
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface2*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGISurface2*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface2*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGISurface2*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface, INativeGui
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface2*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGISurface2*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface2*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGISurface2*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface, INativeGui
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface2*, Guid*, void**, int>)(lpVtbl[6]))((IDXGISurface2*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface2*, Guid*, void**, int>)(lpVtbl[6]))((IDXGISurface2*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDeviceSubObject.GetDevice" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface, INativeGui
|
||||
[VtblIndex(7)]
|
||||
public HResult GetDevice(Guid* riid, void** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface2*, Guid*, void**, int>)(lpVtbl[7]))((IDXGISurface2*)Unsafe.AsPointer(ref this), riid, ppDevice);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface2*, Guid*, void**, int>)(lpVtbl[7]))((IDXGISurface2*)Unsafe.AsPointer(ref this), riid, ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISurface.GetDesc" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface, INativeGui
|
||||
[VtblIndex(8)]
|
||||
public HResult GetDesc(SurfaceDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface2*, SurfaceDescription*, int>)(lpVtbl[8]))((IDXGISurface2*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface2*, SurfaceDescription*, int>)(lpVtbl[8]))((IDXGISurface2*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISurface.Map" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface, INativeGui
|
||||
[VtblIndex(9)]
|
||||
public HResult Map(MappedRect* pLockedRect, uint MapFlags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface2*, MappedRect*, uint, int>)(lpVtbl[9]))((IDXGISurface2*)Unsafe.AsPointer(ref this), pLockedRect, MapFlags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface2*, MappedRect*, uint, int>)(lpVtbl[9]))((IDXGISurface2*)Unsafe.AsPointer(ref this), pLockedRect, MapFlags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISurface.Unmap" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface, INativeGui
|
||||
[VtblIndex(10)]
|
||||
public HResult Unmap()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface2*, int>)(lpVtbl[10]))((IDXGISurface2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface2*, int>)(lpVtbl[10]))((IDXGISurface2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISurface1.GetDC" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface, INativeGui
|
||||
[VtblIndex(11)]
|
||||
public HResult GetDC(Bool32 Discard, IntPtr* phdc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface2*, Bool32, IntPtr*, int>)(lpVtbl[11]))((IDXGISurface2*)Unsafe.AsPointer(ref this), Discard, phdc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface2*, Bool32, IntPtr*, int>)(lpVtbl[11]))((IDXGISurface2*)Unsafe.AsPointer(ref this), Discard, phdc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISurface1.ReleaseDC" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface, INativeGui
|
||||
[VtblIndex(12)]
|
||||
public HResult ReleaseDC(Rect* pDirtyRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface2*, Rect*, int>)(lpVtbl[12]))((IDXGISurface2*)Unsafe.AsPointer(ref this), pDirtyRect);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface2*, Rect*, int>)(lpVtbl[12]))((IDXGISurface2*)Unsafe.AsPointer(ref this), pDirtyRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISurface2::GetResource"]/*' />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface, INativeGui
|
||||
[VtblIndex(13)]
|
||||
public HResult GetResource(Guid* riid, void** ppParentResource, uint* pSubresourceIndex)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISurface2*, Guid*, void**, uint*, int>)(lpVtbl[13]))((IDXGISurface2*)Unsafe.AsPointer(ref this), riid, ppParentResource, pSubresourceIndex);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISurface2*, Guid*, void**, uint*, int>)(lpVtbl[13]))((IDXGISurface2*)Unsafe.AsPointer(ref this), riid, ppParentResource, pSubresourceIndex);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGISurface1.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface, INativeG
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain*, Guid*, void**, int>)(lpVtbl[0]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain*, Guid*, void**, int>)(lpVtbl[0]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface, INativeG
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain*, uint>)(lpVtbl[1]))((IDXGISwapChain*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain*, uint>)(lpVtbl[1]))((IDXGISwapChain*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface, INativeG
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain*, uint>)(lpVtbl[2]))((IDXGISwapChain*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain*, uint>)(lpVtbl[2]))((IDXGISwapChain*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface, INativeG
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface, INativeG
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface, INativeG
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface, INativeG
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain*, Guid*, void**, int>)(lpVtbl[6]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain*, Guid*, void**, int>)(lpVtbl[6]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDeviceSubObject.GetDevice" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface, INativeG
|
||||
[VtblIndex(7)]
|
||||
public HResult GetDevice(Guid* riid, void** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain*, Guid*, void**, int>)(lpVtbl[7]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), riid, ppDevice);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain*, Guid*, void**, int>)(lpVtbl[7]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), riid, ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain::Present"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface, INativeG
|
||||
[VtblIndex(8)]
|
||||
public HResult Present(uint SyncInterval, PresentFlags Flags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain*, uint, PresentFlags, int>)(lpVtbl[8]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), SyncInterval, Flags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain*, uint, PresentFlags, int>)(lpVtbl[8]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), SyncInterval, Flags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain::GetBuffer"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface, INativeG
|
||||
[VtblIndex(9)]
|
||||
public HResult GetBuffer(uint Buffer, Guid* riid, void** ppSurface)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain*, uint, Guid*, void**, int>)(lpVtbl[9]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), Buffer, riid, ppSurface);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain*, uint, Guid*, void**, int>)(lpVtbl[9]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), Buffer, riid, ppSurface);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain::SetFullscreenState"]/*' />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface, INativeG
|
||||
[VtblIndex(10)]
|
||||
public HResult SetFullscreenState(Bool32 Fullscreen, IDXGIOutput* pTarget)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain*, Bool32, IDXGIOutput*, int>)(lpVtbl[10]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), Fullscreen, pTarget);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain*, Bool32, IDXGIOutput*, int>)(lpVtbl[10]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), Fullscreen, pTarget);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain::GetFullscreenState"]/*' />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface, INativeG
|
||||
[VtblIndex(11)]
|
||||
public HResult GetFullscreenState(Bool32* pFullscreen, IDXGIOutput** ppTarget)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain*, Bool32*, IDXGIOutput**, int>)(lpVtbl[11]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), pFullscreen, ppTarget);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain*, Bool32*, IDXGIOutput**, int>)(lpVtbl[11]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), pFullscreen, ppTarget);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain::GetDesc"]/*' />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface, INativeG
|
||||
[VtblIndex(12)]
|
||||
public HResult GetDesc(SwapChainDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain*, SwapChainDescription*, int>)(lpVtbl[12]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain*, SwapChainDescription*, int>)(lpVtbl[12]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain::ResizeBuffers"]/*' />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface, INativeG
|
||||
[VtblIndex(13)]
|
||||
public HResult ResizeBuffers(uint BufferCount, uint Width, uint Height, Common.Format NewFormat, SwapChainFlags SwapChainFlags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain*, uint, uint, uint, Common.Format, SwapChainFlags, int>)(lpVtbl[13]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, NewFormat, SwapChainFlags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain*, uint, uint, uint, Common.Format, SwapChainFlags, int>)(lpVtbl[13]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, NewFormat, SwapChainFlags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain::ResizeTarget"]/*' />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface, INativeG
|
||||
[VtblIndex(14)]
|
||||
public HResult ResizeTarget(Common.ModeDescription* pNewTargetParameters)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain*, Common.ModeDescription*, int>)(lpVtbl[14]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), pNewTargetParameters);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain*, Common.ModeDescription*, int>)(lpVtbl[14]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), pNewTargetParameters);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain::GetContainingOutput"]/*' />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface, INativeG
|
||||
[VtblIndex(15)]
|
||||
public HResult GetContainingOutput(IDXGIOutput** ppOutput)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain*, IDXGIOutput**, int>)(lpVtbl[15]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), ppOutput);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain*, IDXGIOutput**, int>)(lpVtbl[15]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), ppOutput);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain::GetFrameStatistics"]/*' />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface, INativeG
|
||||
[VtblIndex(16)]
|
||||
public HResult GetFrameStatistics(FrameStatistics* pStats)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain*, FrameStatistics*, int>)(lpVtbl[16]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), pStats);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain*, FrameStatistics*, int>)(lpVtbl[16]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), pStats);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain::GetLastPresentCount"]/*' />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface, INativeG
|
||||
[VtblIndex(17)]
|
||||
public HResult GetLastPresentCount(uint* pLastPresentCount)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain*, uint*, int>)(lpVtbl[17]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), pLastPresentCount);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain*, uint*, int>)(lpVtbl[17]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), pLastPresentCount);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGIDeviceSubObject.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, Guid*, void**, int>)(lpVtbl[0]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, Guid*, void**, int>)(lpVtbl[0]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, uint>)(lpVtbl[1]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, uint>)(lpVtbl[1]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, uint>)(lpVtbl[2]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, uint>)(lpVtbl[2]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, Guid*, void**, int>)(lpVtbl[6]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, Guid*, void**, int>)(lpVtbl[6]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDeviceSubObject.GetDevice" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[VtblIndex(7)]
|
||||
public HResult GetDevice(Guid* riid, void** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, Guid*, void**, int>)(lpVtbl[7]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), riid, ppDevice);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, Guid*, void**, int>)(lpVtbl[7]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), riid, ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.Present" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[VtblIndex(8)]
|
||||
public HResult Present(uint SyncInterval, PresentFlags Flags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, uint, PresentFlags, int>)(lpVtbl[8]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), SyncInterval, Flags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, uint, PresentFlags, int>)(lpVtbl[8]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), SyncInterval, Flags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.GetBuffer" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[VtblIndex(9)]
|
||||
public HResult GetBuffer(uint Buffer, Guid* riid, void** ppSurface)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, uint, Guid*, void**, int>)(lpVtbl[9]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Buffer, riid, ppSurface);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, uint, Guid*, void**, int>)(lpVtbl[9]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Buffer, riid, ppSurface);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.SetFullscreenState" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[VtblIndex(10)]
|
||||
public HResult SetFullscreenState(Bool32 Fullscreen, IDXGIOutput* pTarget)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, Bool32, IDXGIOutput*, int>)(lpVtbl[10]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Fullscreen, pTarget);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, Bool32, IDXGIOutput*, int>)(lpVtbl[10]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Fullscreen, pTarget);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.GetFullscreenState" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[VtblIndex(11)]
|
||||
public HResult GetFullscreenState(Bool32* pFullscreen, IDXGIOutput** ppTarget)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, Bool32*, IDXGIOutput**, int>)(lpVtbl[11]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pFullscreen, ppTarget);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, Bool32*, IDXGIOutput**, int>)(lpVtbl[11]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pFullscreen, ppTarget);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.GetDesc" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[VtblIndex(12)]
|
||||
public HResult GetDesc(SwapChainDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, SwapChainDescription*, int>)(lpVtbl[12]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, SwapChainDescription*, int>)(lpVtbl[12]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.ResizeBuffers" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[VtblIndex(13)]
|
||||
public HResult ResizeBuffers(uint BufferCount, uint Width, uint Height, Common.Format NewFormat, SwapChainFlags SwapChainFlags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, uint, uint, uint, Common.Format, SwapChainFlags, int>)(lpVtbl[13]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, NewFormat, SwapChainFlags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, uint, uint, uint, Common.Format, SwapChainFlags, int>)(lpVtbl[13]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, NewFormat, SwapChainFlags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.ResizeTarget" />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[VtblIndex(14)]
|
||||
public HResult ResizeTarget(Common.ModeDescription* pNewTargetParameters)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, Common.ModeDescription*, int>)(lpVtbl[14]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pNewTargetParameters);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, Common.ModeDescription*, int>)(lpVtbl[14]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pNewTargetParameters);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.GetContainingOutput" />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[VtblIndex(15)]
|
||||
public HResult GetContainingOutput(IDXGIOutput** ppOutput)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, IDXGIOutput**, int>)(lpVtbl[15]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), ppOutput);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, IDXGIOutput**, int>)(lpVtbl[15]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), ppOutput);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.GetFrameStatistics" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[VtblIndex(16)]
|
||||
public HResult GetFrameStatistics(FrameStatistics* pStats)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, FrameStatistics*, int>)(lpVtbl[16]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pStats);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, FrameStatistics*, int>)(lpVtbl[16]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pStats);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.GetLastPresentCount" />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[VtblIndex(17)]
|
||||
public HResult GetLastPresentCount(uint* pLastPresentCount)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, uint*, int>)(lpVtbl[17]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pLastPresentCount);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, uint*, int>)(lpVtbl[17]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pLastPresentCount);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain1::GetDesc1"]/*' />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[VtblIndex(18)]
|
||||
public HResult GetDesc1(SwapChainDescription1* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, SwapChainDescription1*, int>)(lpVtbl[18]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, SwapChainDescription1*, int>)(lpVtbl[18]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain1::GetFullscreenDesc"]/*' />
|
||||
@@ -207,15 +283,23 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[VtblIndex(19)]
|
||||
public HResult GetFullscreenDesc(SwapChainFullscreenDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, SwapChainFullscreenDescription*, int>)(lpVtbl[19]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, SwapChainFullscreenDescription*, int>)(lpVtbl[19]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain1::GetHwnd"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(20)]
|
||||
public HResult GetHwnd(IntPtr* pHwnd)
|
||||
public HResult GetHwnd(nint* pHwnd)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, IntPtr*, int>)(lpVtbl[20]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pHwnd);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, nint*, int>)(lpVtbl[20]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pHwnd);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, nint*, int>)(lpVtbl[20]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pHwnd);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain1::GetCoreWindow"]/*' />
|
||||
@@ -223,7 +307,11 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[VtblIndex(21)]
|
||||
public HResult GetCoreWindow(Guid* refiid, void** ppUnk)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, Guid*, void**, int>)(lpVtbl[21]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), refiid, ppUnk);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, Guid*, void**, int>)(lpVtbl[21]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), refiid, ppUnk);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain1::Present1"]/*' />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[VtblIndex(22)]
|
||||
public HResult Present1(uint SyncInterval, uint PresentFlags, PresentParameters* pPresentParameters)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, uint, uint, PresentParameters*, int>)(lpVtbl[22]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), SyncInterval, PresentFlags, pPresentParameters);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, uint, uint, PresentParameters*, int>)(lpVtbl[22]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), SyncInterval, PresentFlags, pPresentParameters);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain1::IsTemporaryMonoSupported"]/*' />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[VtblIndex(23)]
|
||||
public Bool32 IsTemporaryMonoSupported()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, Bool32>)(lpVtbl[23]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, Bool32>)(lpVtbl[23]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain1::GetRestrictToOutput"]/*' />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[VtblIndex(24)]
|
||||
public HResult GetRestrictToOutput(IDXGIOutput** ppRestrictToOutput)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, IDXGIOutput**, int>)(lpVtbl[24]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), ppRestrictToOutput);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, IDXGIOutput**, int>)(lpVtbl[24]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), ppRestrictToOutput);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain1::SetBackgroundColor"]/*' />
|
||||
@@ -255,7 +355,11 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[VtblIndex(25)]
|
||||
public HResult SetBackgroundColor(Color4* pColor)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, Color4*, int>)(lpVtbl[25]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pColor);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, Color4*, int>)(lpVtbl[25]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pColor);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain1::GetBackgroundColor"]/*' />
|
||||
@@ -263,7 +367,11 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[VtblIndex(26)]
|
||||
public HResult GetBackgroundColor(Color4** pColor)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, Color4**, int>)(lpVtbl[26]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pColor);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, Color4**, int>)(lpVtbl[26]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pColor);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain1::SetRotation"]/*' />
|
||||
@@ -271,7 +379,11 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[VtblIndex(27)]
|
||||
public HResult SetRotation(Common.ModeRotation Rotation)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, Common.ModeRotation, int>)(lpVtbl[27]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Rotation);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, Common.ModeRotation, int>)(lpVtbl[27]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Rotation);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain1::GetRotation"]/*' />
|
||||
@@ -279,7 +391,11 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
[VtblIndex(28)]
|
||||
public HResult GetRotation(Common.ModeRotation* pRotation)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain1*, Common.ModeRotation*, int>)(lpVtbl[28]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pRotation);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain1*, Common.ModeRotation*, int>)(lpVtbl[28]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pRotation);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGISwapChain.Interface
|
||||
@@ -291,7 +407,7 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativ
|
||||
HResult GetFullscreenDesc(SwapChainFullscreenDescription* pDesc);
|
||||
|
||||
[VtblIndex(20)]
|
||||
HResult GetHwnd(IntPtr* pHwnd);
|
||||
HResult GetHwnd(nint* pHwnd);
|
||||
|
||||
[VtblIndex(21)]
|
||||
HResult GetCoreWindow(Guid* refiid, void** ppUnk);
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, Guid*, void**, int>)(lpVtbl[0]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, Guid*, void**, int>)(lpVtbl[0]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, uint>)(lpVtbl[1]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, uint>)(lpVtbl[1]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, uint>)(lpVtbl[2]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, uint>)(lpVtbl[2]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, Guid*, void**, int>)(lpVtbl[6]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, Guid*, void**, int>)(lpVtbl[6]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDeviceSubObject.GetDevice" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(7)]
|
||||
public HResult GetDevice(Guid* riid, void** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, Guid*, void**, int>)(lpVtbl[7]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), riid, ppDevice);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, Guid*, void**, int>)(lpVtbl[7]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), riid, ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.Present" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(8)]
|
||||
public HResult Present(uint SyncInterval, PresentFlags Flags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, uint, PresentFlags, int>)(lpVtbl[8]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), SyncInterval, Flags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, uint, PresentFlags, int>)(lpVtbl[8]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), SyncInterval, Flags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.GetBuffer" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(9)]
|
||||
public HResult GetBuffer(uint Buffer, Guid* riid, void** ppSurface)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, uint, Guid*, void**, int>)(lpVtbl[9]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Buffer, riid, ppSurface);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, uint, Guid*, void**, int>)(lpVtbl[9]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Buffer, riid, ppSurface);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.SetFullscreenState" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(10)]
|
||||
public HResult SetFullscreenState(Bool32 Fullscreen, IDXGIOutput* pTarget)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, Bool32, IDXGIOutput*, int>)(lpVtbl[10]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Fullscreen, pTarget);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, Bool32, IDXGIOutput*, int>)(lpVtbl[10]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Fullscreen, pTarget);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.GetFullscreenState" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(11)]
|
||||
public HResult GetFullscreenState(Bool32* pFullscreen, IDXGIOutput** ppTarget)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, Bool32*, IDXGIOutput**, int>)(lpVtbl[11]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pFullscreen, ppTarget);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, Bool32*, IDXGIOutput**, int>)(lpVtbl[11]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pFullscreen, ppTarget);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.GetDesc" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(12)]
|
||||
public HResult GetDesc(SwapChainDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, SwapChainDescription*, int>)(lpVtbl[12]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, SwapChainDescription*, int>)(lpVtbl[12]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.ResizeBuffers" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(13)]
|
||||
public HResult ResizeBuffers(uint BufferCount, uint Width, uint Height, Common.Format NewFormat, SwapChainFlags SwapChainFlags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, uint, uint, uint, Common.Format, SwapChainFlags, int>)(lpVtbl[13]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, NewFormat, SwapChainFlags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, uint, uint, uint, Common.Format, SwapChainFlags, int>)(lpVtbl[13]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, NewFormat, SwapChainFlags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.ResizeTarget" />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(14)]
|
||||
public HResult ResizeTarget(Common.ModeDescription* pNewTargetParameters)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, Common.ModeDescription*, int>)(lpVtbl[14]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pNewTargetParameters);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, Common.ModeDescription*, int>)(lpVtbl[14]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pNewTargetParameters);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.GetContainingOutput" />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(15)]
|
||||
public HResult GetContainingOutput(IDXGIOutput** ppOutput)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, IDXGIOutput**, int>)(lpVtbl[15]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), ppOutput);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, IDXGIOutput**, int>)(lpVtbl[15]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), ppOutput);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.GetFrameStatistics" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(16)]
|
||||
public HResult GetFrameStatistics(FrameStatistics* pStats)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, FrameStatistics*, int>)(lpVtbl[16]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pStats);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, FrameStatistics*, int>)(lpVtbl[16]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pStats);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.GetLastPresentCount" />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(17)]
|
||||
public HResult GetLastPresentCount(uint* pLastPresentCount)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, uint*, int>)(lpVtbl[17]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pLastPresentCount);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, uint*, int>)(lpVtbl[17]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pLastPresentCount);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.GetDesc1" />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(18)]
|
||||
public HResult GetDesc1(SwapChainDescription1* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, SwapChainDescription1*, int>)(lpVtbl[18]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, SwapChainDescription1*, int>)(lpVtbl[18]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.GetFullscreenDesc" />
|
||||
@@ -207,15 +283,23 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(19)]
|
||||
public HResult GetFullscreenDesc(SwapChainFullscreenDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, SwapChainFullscreenDescription*, int>)(lpVtbl[19]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, SwapChainFullscreenDescription*, int>)(lpVtbl[19]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.GetHwnd" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(20)]
|
||||
public HResult GetHwnd(IntPtr* pHwnd)
|
||||
public HResult GetHwnd(nint* pHwnd)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, IntPtr*, int>)(lpVtbl[20]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pHwnd);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, nint*, int>)(lpVtbl[20]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pHwnd);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, nint*, int>)(lpVtbl[20]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pHwnd);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.GetCoreWindow" />
|
||||
@@ -223,7 +307,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(21)]
|
||||
public HResult GetCoreWindow(Guid* refiid, void** ppUnk)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, Guid*, void**, int>)(lpVtbl[21]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), refiid, ppUnk);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, Guid*, void**, int>)(lpVtbl[21]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), refiid, ppUnk);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.Present1" />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(22)]
|
||||
public HResult Present1(uint SyncInterval, uint PresentFlags, PresentParameters* pPresentParameters)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, uint, uint, PresentParameters*, int>)(lpVtbl[22]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), SyncInterval, PresentFlags, pPresentParameters);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, uint, uint, PresentParameters*, int>)(lpVtbl[22]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), SyncInterval, PresentFlags, pPresentParameters);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.IsTemporaryMonoSupported" />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(23)]
|
||||
public Bool32 IsTemporaryMonoSupported()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, Bool32>)(lpVtbl[23]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, Bool32>)(lpVtbl[23]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.GetRestrictToOutput" />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(24)]
|
||||
public HResult GetRestrictToOutput(IDXGIOutput** ppRestrictToOutput)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, IDXGIOutput**, int>)(lpVtbl[24]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), ppRestrictToOutput);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, IDXGIOutput**, int>)(lpVtbl[24]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), ppRestrictToOutput);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.SetBackgroundColor" />
|
||||
@@ -255,7 +355,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(25)]
|
||||
public HResult SetBackgroundColor(Color4* pColor)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, Color4*, int>)(lpVtbl[25]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pColor);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, Color4*, int>)(lpVtbl[25]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pColor);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.GetBackgroundColor" />
|
||||
@@ -263,7 +367,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(26)]
|
||||
public HResult GetBackgroundColor(Color4** pColor)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, Color4**, int>)(lpVtbl[26]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pColor);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, Color4**, int>)(lpVtbl[26]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pColor);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.SetRotation" />
|
||||
@@ -271,7 +379,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(27)]
|
||||
public HResult SetRotation(Common.ModeRotation Rotation)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, Common.ModeRotation, int>)(lpVtbl[27]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Rotation);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, Common.ModeRotation, int>)(lpVtbl[27]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Rotation);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.GetRotation" />
|
||||
@@ -279,7 +391,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(28)]
|
||||
public HResult GetRotation(Common.ModeRotation* pRotation)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, Common.ModeRotation*, int>)(lpVtbl[28]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pRotation);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, Common.ModeRotation*, int>)(lpVtbl[28]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pRotation);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain2::SetSourceSize"]/*' />
|
||||
@@ -287,7 +403,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(29)]
|
||||
public HResult SetSourceSize(uint Width, uint Height)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, uint, uint, int>)(lpVtbl[29]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Width, Height);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, uint, uint, int>)(lpVtbl[29]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Width, Height);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain2::GetSourceSize"]/*' />
|
||||
@@ -295,7 +415,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(30)]
|
||||
public HResult GetSourceSize(uint* pWidth, uint* pHeight)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, uint*, uint*, int>)(lpVtbl[30]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pWidth, pHeight);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, uint*, uint*, int>)(lpVtbl[30]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pWidth, pHeight);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain2::SetMaximumFrameLatency"]/*' />
|
||||
@@ -303,7 +427,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(31)]
|
||||
public HResult SetMaximumFrameLatency(uint MaxLatency)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, uint, int>)(lpVtbl[31]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), MaxLatency);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, uint, int>)(lpVtbl[31]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), MaxLatency);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain2::GetMaximumFrameLatency"]/*' />
|
||||
@@ -311,7 +439,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(32)]
|
||||
public HResult GetMaximumFrameLatency(uint* pMaxLatency)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, uint*, int>)(lpVtbl[32]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pMaxLatency);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, uint*, int>)(lpVtbl[32]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pMaxLatency);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain2::GetFrameLatencyWaitableObject"]/*' />
|
||||
@@ -319,7 +451,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(33)]
|
||||
public Handle GetFrameLatencyWaitableObject()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, Handle>)(lpVtbl[33]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, Handle>)(lpVtbl[33]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain2::SetMatrixTransform"]/*' />
|
||||
@@ -327,7 +463,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(34)]
|
||||
public HResult SetMatrixTransform(Matrix3x2* pMatrix)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, Matrix3x2*, int>)(lpVtbl[34]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pMatrix);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, Matrix3x2*, int>)(lpVtbl[34]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pMatrix);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain2::GetMatrixTransform"]/*' />
|
||||
@@ -335,7 +475,11 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativ
|
||||
[VtblIndex(35)]
|
||||
public HResult GetMatrixTransform(Matrix3x2* pMatrix)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain2*, Matrix3x2*, int>)(lpVtbl[35]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pMatrix);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain2*, Matrix3x2*, int>)(lpVtbl[35]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pMatrix);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGISwapChain1.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, Guid*, void**, int>)(lpVtbl[0]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, Guid*, void**, int>)(lpVtbl[0]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, uint>)(lpVtbl[1]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, uint>)(lpVtbl[1]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, uint>)(lpVtbl[2]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, uint>)(lpVtbl[2]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, Guid*, void**, int>)(lpVtbl[6]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, Guid*, void**, int>)(lpVtbl[6]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDeviceSubObject.GetDevice" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(7)]
|
||||
public HResult GetDevice(Guid* riid, void** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, Guid*, void**, int>)(lpVtbl[7]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), riid, ppDevice);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, Guid*, void**, int>)(lpVtbl[7]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), riid, ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.Present" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(8)]
|
||||
public HResult Present(uint SyncInterval, PresentFlags Flags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, uint, PresentFlags, int>)(lpVtbl[8]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), SyncInterval, Flags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, uint, PresentFlags, int>)(lpVtbl[8]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), SyncInterval, Flags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.GetBuffer" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(9)]
|
||||
public HResult GetBuffer(uint Buffer, Guid* riid, void** ppSurface)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, uint, Guid*, void**, int>)(lpVtbl[9]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Buffer, riid, ppSurface);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, uint, Guid*, void**, int>)(lpVtbl[9]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Buffer, riid, ppSurface);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.SetFullscreenState" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(10)]
|
||||
public HResult SetFullscreenState(Bool32 Fullscreen, IDXGIOutput* pTarget)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, Bool32, IDXGIOutput*, int>)(lpVtbl[10]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Fullscreen, pTarget);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, Bool32, IDXGIOutput*, int>)(lpVtbl[10]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Fullscreen, pTarget);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.GetFullscreenState" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(11)]
|
||||
public HResult GetFullscreenState(Bool32* pFullscreen, IDXGIOutput** ppTarget)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, Bool32*, IDXGIOutput**, int>)(lpVtbl[11]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pFullscreen, ppTarget);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, Bool32*, IDXGIOutput**, int>)(lpVtbl[11]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pFullscreen, ppTarget);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.GetDesc" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(12)]
|
||||
public HResult GetDesc(SwapChainDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, SwapChainDescription*, int>)(lpVtbl[12]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, SwapChainDescription*, int>)(lpVtbl[12]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.ResizeBuffers" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(13)]
|
||||
public HResult ResizeBuffers(uint BufferCount, uint Width, uint Height, Common.Format NewFormat, SwapChainFlags SwapChainFlags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, uint, uint, uint, Common.Format, SwapChainFlags, int>)(lpVtbl[13]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, NewFormat, SwapChainFlags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, uint, uint, uint, Common.Format, SwapChainFlags, int>)(lpVtbl[13]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, NewFormat, SwapChainFlags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.ResizeTarget" />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(14)]
|
||||
public HResult ResizeTarget(Common.ModeDescription* pNewTargetParameters)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, Common.ModeDescription*, int>)(lpVtbl[14]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pNewTargetParameters);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, Common.ModeDescription*, int>)(lpVtbl[14]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pNewTargetParameters);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.GetContainingOutput" />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(15)]
|
||||
public HResult GetContainingOutput(IDXGIOutput** ppOutput)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, IDXGIOutput**, int>)(lpVtbl[15]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), ppOutput);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, IDXGIOutput**, int>)(lpVtbl[15]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), ppOutput);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.GetFrameStatistics" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(16)]
|
||||
public HResult GetFrameStatistics(FrameStatistics* pStats)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, FrameStatistics*, int>)(lpVtbl[16]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pStats);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, FrameStatistics*, int>)(lpVtbl[16]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pStats);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.GetLastPresentCount" />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(17)]
|
||||
public HResult GetLastPresentCount(uint* pLastPresentCount)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, uint*, int>)(lpVtbl[17]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pLastPresentCount);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, uint*, int>)(lpVtbl[17]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pLastPresentCount);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.GetDesc1" />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(18)]
|
||||
public HResult GetDesc1(SwapChainDescription1* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, SwapChainDescription1*, int>)(lpVtbl[18]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, SwapChainDescription1*, int>)(lpVtbl[18]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.GetFullscreenDesc" />
|
||||
@@ -207,15 +283,23 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(19)]
|
||||
public HResult GetFullscreenDesc(SwapChainFullscreenDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, SwapChainFullscreenDescription*, int>)(lpVtbl[19]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, SwapChainFullscreenDescription*, int>)(lpVtbl[19]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.GetHwnd" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(20)]
|
||||
public HResult GetHwnd(IntPtr* pHwnd)
|
||||
public HResult GetHwnd(nint* pHwnd)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, IntPtr*, int>)(lpVtbl[20]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pHwnd);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, nint*, int>)(lpVtbl[20]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pHwnd);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, nint*, int>)(lpVtbl[20]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pHwnd);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.GetCoreWindow" />
|
||||
@@ -223,7 +307,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(21)]
|
||||
public HResult GetCoreWindow(Guid* refiid, void** ppUnk)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, Guid*, void**, int>)(lpVtbl[21]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), refiid, ppUnk);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, Guid*, void**, int>)(lpVtbl[21]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), refiid, ppUnk);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.Present1" />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(22)]
|
||||
public HResult Present1(uint SyncInterval, uint PresentFlags, PresentParameters* pPresentParameters)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, uint, uint, PresentParameters*, int>)(lpVtbl[22]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), SyncInterval, PresentFlags, pPresentParameters);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, uint, uint, PresentParameters*, int>)(lpVtbl[22]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), SyncInterval, PresentFlags, pPresentParameters);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.IsTemporaryMonoSupported" />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(23)]
|
||||
public Bool32 IsTemporaryMonoSupported()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, Bool32>)(lpVtbl[23]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, Bool32>)(lpVtbl[23]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.GetRestrictToOutput" />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(24)]
|
||||
public HResult GetRestrictToOutput(IDXGIOutput** ppRestrictToOutput)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, IDXGIOutput**, int>)(lpVtbl[24]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), ppRestrictToOutput);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, IDXGIOutput**, int>)(lpVtbl[24]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), ppRestrictToOutput);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.SetBackgroundColor" />
|
||||
@@ -255,7 +355,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(25)]
|
||||
public HResult SetBackgroundColor(Color4* pColor)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, Color4*, int>)(lpVtbl[25]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pColor);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, Color4*, int>)(lpVtbl[25]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pColor);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.GetBackgroundColor" />
|
||||
@@ -263,7 +367,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(26)]
|
||||
public HResult GetBackgroundColor(Color4** pColor)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, Color4**, int>)(lpVtbl[26]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pColor);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, Color4**, int>)(lpVtbl[26]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pColor);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.SetRotation" />
|
||||
@@ -271,7 +379,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(27)]
|
||||
public HResult SetRotation(Common.ModeRotation Rotation)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, Common.ModeRotation, int>)(lpVtbl[27]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Rotation);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, Common.ModeRotation, int>)(lpVtbl[27]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Rotation);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.GetRotation" />
|
||||
@@ -279,7 +391,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(28)]
|
||||
public HResult GetRotation(Common.ModeRotation* pRotation)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, Common.ModeRotation*, int>)(lpVtbl[28]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pRotation);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, Common.ModeRotation*, int>)(lpVtbl[28]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pRotation);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain2.SetSourceSize" />
|
||||
@@ -287,7 +403,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(29)]
|
||||
public HResult SetSourceSize(uint Width, uint Height)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, uint, uint, int>)(lpVtbl[29]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Width, Height);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, uint, uint, int>)(lpVtbl[29]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Width, Height);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain2.GetSourceSize" />
|
||||
@@ -295,7 +415,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(30)]
|
||||
public HResult GetSourceSize(uint* pWidth, uint* pHeight)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, uint*, uint*, int>)(lpVtbl[30]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pWidth, pHeight);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, uint*, uint*, int>)(lpVtbl[30]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pWidth, pHeight);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain2.SetMaximumFrameLatency" />
|
||||
@@ -303,7 +427,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(31)]
|
||||
public HResult SetMaximumFrameLatency(uint MaxLatency)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, uint, int>)(lpVtbl[31]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), MaxLatency);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, uint, int>)(lpVtbl[31]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), MaxLatency);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain2.GetMaximumFrameLatency" />
|
||||
@@ -311,7 +439,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(32)]
|
||||
public HResult GetMaximumFrameLatency(uint* pMaxLatency)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, uint*, int>)(lpVtbl[32]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pMaxLatency);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, uint*, int>)(lpVtbl[32]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pMaxLatency);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain2.GetFrameLatencyWaitableObject" />
|
||||
@@ -319,7 +451,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(33)]
|
||||
public Handle GetFrameLatencyWaitableObject()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, Handle>)(lpVtbl[33]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, Handle>)(lpVtbl[33]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain2.SetMatrixTransform" />
|
||||
@@ -327,7 +463,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(34)]
|
||||
public HResult SetMatrixTransform(Matrix3x2* pMatrix)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, Matrix3x2*, int>)(lpVtbl[34]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pMatrix);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, Matrix3x2*, int>)(lpVtbl[34]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pMatrix);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain2.GetMatrixTransform" />
|
||||
@@ -335,7 +475,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(35)]
|
||||
public HResult GetMatrixTransform(Matrix3x2* pMatrix)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, Matrix3x2*, int>)(lpVtbl[35]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pMatrix);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, Matrix3x2*, int>)(lpVtbl[35]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pMatrix);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain3::GetCurrentBackBufferIndex"]/*' />
|
||||
@@ -343,7 +487,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(36)]
|
||||
public uint GetCurrentBackBufferIndex()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, uint>)(lpVtbl[36]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, uint>)(lpVtbl[36]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain3::CheckColorSpaceSupport"]/*' />
|
||||
@@ -351,7 +499,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(37)]
|
||||
public HResult CheckColorSpaceSupport(Common.ColorSpaceType ColorSpace, uint* pColorSpaceSupport)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, Common.ColorSpaceType, uint*, int>)(lpVtbl[37]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), ColorSpace, pColorSpaceSupport);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, Common.ColorSpaceType, uint*, int>)(lpVtbl[37]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), ColorSpace, pColorSpaceSupport);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain3::SetColorSpace1"]/*' />
|
||||
@@ -359,7 +511,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[VtblIndex(38)]
|
||||
public HResult SetColorSpace1(Common.ColorSpaceType ColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain3*, Common.ColorSpaceType, int>)(lpVtbl[38]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), ColorSpace);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, Common.ColorSpaceType, int>)(lpVtbl[38]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), ColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain3::ResizeBuffers1"]/*' />
|
||||
@@ -367,7 +523,11 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativ
|
||||
[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<IDXGISwapChain3*, uint, uint, uint, Common.Format, uint, uint*, IUnknown**, int>)(lpVtbl[39]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, Format, SwapChainFlags, pCreationNodeMask, ppPresentQueue);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain3*, uint, uint, uint, Common.Format, uint, uint*, IUnknown**, int>)(lpVtbl[39]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, Format, SwapChainFlags, pCreationNodeMask, ppPresentQueue);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGISwapChain2.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, Guid*, void**, int>)(lpVtbl[0]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, Guid*, void**, int>)(lpVtbl[0]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, uint>)(lpVtbl[1]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, uint>)(lpVtbl[1]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, uint>)(lpVtbl[2]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, uint>)(lpVtbl[2]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateData" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(3)]
|
||||
public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, Guid*, uint, void*, int>)(lpVtbl[3]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Name, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.SetPrivateDataInterface" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, Guid*, IUnknown*, int>)(lpVtbl[4]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Name, pUnknown);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(5)]
|
||||
public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, Guid*, uint*, void*, int>)(lpVtbl[5]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Name, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIObject.GetParent" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(6)]
|
||||
public HResult GetParent(Guid* riid, void** ppParent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, Guid*, void**, int>)(lpVtbl[6]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, Guid*, void**, int>)(lpVtbl[6]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), riid, ppParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIDeviceSubObject.GetDevice" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(7)]
|
||||
public HResult GetDevice(Guid* riid, void** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, Guid*, void**, int>)(lpVtbl[7]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), riid, ppDevice);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, Guid*, void**, int>)(lpVtbl[7]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), riid, ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.Present" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(8)]
|
||||
public HResult Present(uint SyncInterval, PresentFlags Flags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, uint, PresentFlags, int>)(lpVtbl[8]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), SyncInterval, Flags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, uint, PresentFlags, int>)(lpVtbl[8]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), SyncInterval, Flags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.GetBuffer" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(9)]
|
||||
public HResult GetBuffer(uint Buffer, Guid* riid, void** ppSurface)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, uint, Guid*, void**, int>)(lpVtbl[9]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Buffer, riid, ppSurface);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, uint, Guid*, void**, int>)(lpVtbl[9]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Buffer, riid, ppSurface);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.SetFullscreenState" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(10)]
|
||||
public HResult SetFullscreenState(Bool32 Fullscreen, IDXGIOutput* pTarget)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, Bool32, IDXGIOutput*, int>)(lpVtbl[10]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Fullscreen, pTarget);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, Bool32, IDXGIOutput*, int>)(lpVtbl[10]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Fullscreen, pTarget);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.GetFullscreenState" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(11)]
|
||||
public HResult GetFullscreenState(Bool32* pFullscreen, IDXGIOutput** ppTarget)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, Bool32*, IDXGIOutput**, int>)(lpVtbl[11]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pFullscreen, ppTarget);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, Bool32*, IDXGIOutput**, int>)(lpVtbl[11]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pFullscreen, ppTarget);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.GetDesc" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(12)]
|
||||
public HResult GetDesc(SwapChainDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, SwapChainDescription*, int>)(lpVtbl[12]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, SwapChainDescription*, int>)(lpVtbl[12]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.ResizeBuffers" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(13)]
|
||||
public HResult ResizeBuffers(uint BufferCount, uint Width, uint Height, Common.Format NewFormat, SwapChainFlags SwapChainFlags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, uint, uint, uint, Common.Format, SwapChainFlags, int>)(lpVtbl[13]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, NewFormat, SwapChainFlags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, uint, uint, uint, Common.Format, SwapChainFlags, int>)(lpVtbl[13]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, NewFormat, SwapChainFlags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.ResizeTarget" />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(14)]
|
||||
public HResult ResizeTarget(Common.ModeDescription* pNewTargetParameters)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, Common.ModeDescription*, int>)(lpVtbl[14]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pNewTargetParameters);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, Common.ModeDescription*, int>)(lpVtbl[14]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pNewTargetParameters);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.GetContainingOutput" />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(15)]
|
||||
public HResult GetContainingOutput(IDXGIOutput** ppOutput)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, IDXGIOutput**, int>)(lpVtbl[15]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), ppOutput);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, IDXGIOutput**, int>)(lpVtbl[15]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), ppOutput);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.GetFrameStatistics" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(16)]
|
||||
public HResult GetFrameStatistics(FrameStatistics* pStats)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, FrameStatistics*, int>)(lpVtbl[16]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pStats);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, FrameStatistics*, int>)(lpVtbl[16]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pStats);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain.GetLastPresentCount" />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(17)]
|
||||
public HResult GetLastPresentCount(uint* pLastPresentCount)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, uint*, int>)(lpVtbl[17]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pLastPresentCount);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, uint*, int>)(lpVtbl[17]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pLastPresentCount);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.GetDesc1" />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(18)]
|
||||
public HResult GetDesc1(SwapChainDescription1* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, SwapChainDescription1*, int>)(lpVtbl[18]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, SwapChainDescription1*, int>)(lpVtbl[18]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.GetFullscreenDesc" />
|
||||
@@ -207,15 +283,23 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(19)]
|
||||
public HResult GetFullscreenDesc(SwapChainFullscreenDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, SwapChainFullscreenDescription*, int>)(lpVtbl[19]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, SwapChainFullscreenDescription*, int>)(lpVtbl[19]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.GetHwnd" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(20)]
|
||||
public HResult GetHwnd(IntPtr* pHwnd)
|
||||
public HResult GetHwnd(nint* pHwnd)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, IntPtr*, int>)(lpVtbl[20]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pHwnd);
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, nint*, int>)(lpVtbl[20]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pHwnd);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, nint*, int>)(lpVtbl[20]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pHwnd);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.GetCoreWindow" />
|
||||
@@ -223,7 +307,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(21)]
|
||||
public HResult GetCoreWindow(Guid* refiid, void** ppUnk)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, Guid*, void**, int>)(lpVtbl[21]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), refiid, ppUnk);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, Guid*, void**, int>)(lpVtbl[21]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), refiid, ppUnk);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.Present1" />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(22)]
|
||||
public HResult Present1(uint SyncInterval, uint PresentFlags, PresentParameters* pPresentParameters)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, uint, uint, PresentParameters*, int>)(lpVtbl[22]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), SyncInterval, PresentFlags, pPresentParameters);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, uint, uint, PresentParameters*, int>)(lpVtbl[22]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), SyncInterval, PresentFlags, pPresentParameters);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.IsTemporaryMonoSupported" />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(23)]
|
||||
public Bool32 IsTemporaryMonoSupported()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, Bool32>)(lpVtbl[23]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, Bool32>)(lpVtbl[23]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.GetRestrictToOutput" />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(24)]
|
||||
public HResult GetRestrictToOutput(IDXGIOutput** ppRestrictToOutput)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, IDXGIOutput**, int>)(lpVtbl[24]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), ppRestrictToOutput);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, IDXGIOutput**, int>)(lpVtbl[24]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), ppRestrictToOutput);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.SetBackgroundColor" />
|
||||
@@ -255,7 +355,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(25)]
|
||||
public HResult SetBackgroundColor(Color4* pColor)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, Color4*, int>)(lpVtbl[25]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pColor);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, Color4*, int>)(lpVtbl[25]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pColor);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.GetBackgroundColor" />
|
||||
@@ -263,7 +367,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(26)]
|
||||
public HResult GetBackgroundColor(Color4** pColor)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, Color4**, int>)(lpVtbl[26]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pColor);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, Color4**, int>)(lpVtbl[26]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pColor);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.SetRotation" />
|
||||
@@ -271,7 +379,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(27)]
|
||||
public HResult SetRotation(Common.ModeRotation Rotation)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, Common.ModeRotation, int>)(lpVtbl[27]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Rotation);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, Common.ModeRotation, int>)(lpVtbl[27]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Rotation);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain1.GetRotation" />
|
||||
@@ -279,7 +391,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(28)]
|
||||
public HResult GetRotation(Common.ModeRotation* pRotation)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, Common.ModeRotation*, int>)(lpVtbl[28]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pRotation);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, Common.ModeRotation*, int>)(lpVtbl[28]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pRotation);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain2.SetSourceSize" />
|
||||
@@ -287,7 +403,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(29)]
|
||||
public HResult SetSourceSize(uint Width, uint Height)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, uint, uint, int>)(lpVtbl[29]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Width, Height);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, uint, uint, int>)(lpVtbl[29]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Width, Height);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain2.GetSourceSize" />
|
||||
@@ -295,7 +415,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(30)]
|
||||
public HResult GetSourceSize(uint* pWidth, uint* pHeight)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, uint*, uint*, int>)(lpVtbl[30]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pWidth, pHeight);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, uint*, uint*, int>)(lpVtbl[30]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pWidth, pHeight);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain2.SetMaximumFrameLatency" />
|
||||
@@ -303,7 +427,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(31)]
|
||||
public HResult SetMaximumFrameLatency(uint MaxLatency)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, uint, int>)(lpVtbl[31]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), MaxLatency);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, uint, int>)(lpVtbl[31]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), MaxLatency);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain2.GetMaximumFrameLatency" />
|
||||
@@ -311,7 +439,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(32)]
|
||||
public HResult GetMaximumFrameLatency(uint* pMaxLatency)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, uint*, int>)(lpVtbl[32]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pMaxLatency);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, uint*, int>)(lpVtbl[32]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pMaxLatency);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain2.GetFrameLatencyWaitableObject" />
|
||||
@@ -319,7 +451,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(33)]
|
||||
public Handle GetFrameLatencyWaitableObject()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, Handle>)(lpVtbl[33]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, Handle>)(lpVtbl[33]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain2.SetMatrixTransform" />
|
||||
@@ -327,7 +463,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(34)]
|
||||
public HResult SetMatrixTransform(Matrix3x2* pMatrix)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, Matrix3x2*, int>)(lpVtbl[34]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pMatrix);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, Matrix3x2*, int>)(lpVtbl[34]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pMatrix);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain2.GetMatrixTransform" />
|
||||
@@ -335,7 +475,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(35)]
|
||||
public HResult GetMatrixTransform(Matrix3x2* pMatrix)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, Matrix3x2*, int>)(lpVtbl[35]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pMatrix);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, Matrix3x2*, int>)(lpVtbl[35]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), pMatrix);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain3.GetCurrentBackBufferIndex" />
|
||||
@@ -343,7 +487,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(36)]
|
||||
public uint GetCurrentBackBufferIndex()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, uint>)(lpVtbl[36]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, uint>)(lpVtbl[36]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain3.CheckColorSpaceSupport" />
|
||||
@@ -351,7 +499,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(37)]
|
||||
public HResult CheckColorSpaceSupport(Common.ColorSpaceType ColorSpace, uint* pColorSpaceSupport)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, Common.ColorSpaceType, uint*, int>)(lpVtbl[37]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), ColorSpace, pColorSpaceSupport);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, Common.ColorSpaceType, uint*, int>)(lpVtbl[37]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), ColorSpace, pColorSpaceSupport);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain3.SetColorSpace1" />
|
||||
@@ -359,7 +511,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(38)]
|
||||
public HResult SetColorSpace1(Common.ColorSpaceType ColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, Common.ColorSpaceType, int>)(lpVtbl[38]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), ColorSpace);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, Common.ColorSpaceType, int>)(lpVtbl[38]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), ColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGISwapChain3.ResizeBuffers1" />
|
||||
@@ -367,7 +523,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[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<IDXGISwapChain4*, uint, uint, uint, Common.Format, uint, uint*, IUnknown**, int>)(lpVtbl[39]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, Format, SwapChainFlags, pCreationNodeMask, ppPresentQueue);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, uint, uint, uint, Common.Format, uint, uint*, IUnknown**, int>)(lpVtbl[39]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, Format, SwapChainFlags, pCreationNodeMask, ppPresentQueue);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChain4::SetHDRMetaData"]/*' />
|
||||
@@ -375,7 +535,11 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativ
|
||||
[VtblIndex(40)]
|
||||
public HResult SetHDRMetaData(HDRMetadataType Type, uint Size, void* pMetaData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChain4*, HDRMetadataType, uint, void*, int>)(lpVtbl[40]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Type, Size, pMetaData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChain4*, HDRMetadataType, uint, void*, int>)(lpVtbl[40]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Type, Size, pMetaData);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDXGISwapChain3.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGISwapChainMedia : IDXGISwapChainMedia.Interface
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChainMedia*, Guid*, void**, int>)(lpVtbl[0]))((IDXGISwapChainMedia*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChainMedia*, Guid*, void**, int>)(lpVtbl[0]))((IDXGISwapChainMedia*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGISwapChainMedia : IDXGISwapChainMedia.Interface
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChainMedia*, uint>)(lpVtbl[1]))((IDXGISwapChainMedia*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChainMedia*, uint>)(lpVtbl[1]))((IDXGISwapChainMedia*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGISwapChainMedia : IDXGISwapChainMedia.Interface
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChainMedia*, uint>)(lpVtbl[2]))((IDXGISwapChainMedia*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChainMedia*, uint>)(lpVtbl[2]))((IDXGISwapChainMedia*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChainMedia::GetFrameStatisticsMedia"]/*' />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGISwapChainMedia : IDXGISwapChainMedia.Interface
|
||||
[VtblIndex(3)]
|
||||
public HResult GetFrameStatisticsMedia(FrameStatisticsMedia* pStats)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChainMedia*, FrameStatisticsMedia*, int>)(lpVtbl[3]))((IDXGISwapChainMedia*)Unsafe.AsPointer(ref this), pStats);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChainMedia*, FrameStatisticsMedia*, int>)(lpVtbl[3]))((IDXGISwapChainMedia*)Unsafe.AsPointer(ref this), pStats);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChainMedia::SetPresentDuration"]/*' />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGISwapChainMedia : IDXGISwapChainMedia.Interface
|
||||
[VtblIndex(4)]
|
||||
public HResult SetPresentDuration(uint Duration)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGISwapChainMedia*, uint, int>)(lpVtbl[4]))((IDXGISwapChainMedia*)Unsafe.AsPointer(ref this), Duration);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChainMedia*, uint, int>)(lpVtbl[4]))((IDXGISwapChainMedia*)Unsafe.AsPointer(ref this), Duration);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGISwapChainMedia::CheckPresentDurationSupport"]/*' />
|
||||
@@ -95,7 +115,11 @@ 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<IDXGISwapChainMedia*, uint, uint*, uint*, int>)(lpVtbl[5]))((IDXGISwapChainMedia*)Unsafe.AsPointer(ref this), DesiredPresentDuration, pClosestSmallerPresentDuration, pClosestLargerPresentDuration);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGISwapChainMedia*, uint, uint*, uint*, int>)(lpVtbl[5]))((IDXGISwapChainMedia*)Unsafe.AsPointer(ref this), DesiredPresentDuration, pClosestSmallerPresentDuration, pClosestLargerPresentDuration);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct IDXGraphicsAnalysis : IDXGraphicsAnalysis.Interface
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGraphicsAnalysis*, Guid*, void**, int>)(lpVtbl[0]))((IDXGraphicsAnalysis*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGraphicsAnalysis*, Guid*, void**, int>)(lpVtbl[0]))((IDXGraphicsAnalysis*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGraphicsAnalysis : IDXGraphicsAnalysis.Interface
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGraphicsAnalysis*, uint>)(lpVtbl[1]))((IDXGraphicsAnalysis*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGraphicsAnalysis*, uint>)(lpVtbl[1]))((IDXGraphicsAnalysis*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGraphicsAnalysis : IDXGraphicsAnalysis.Interface
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDXGraphicsAnalysis*, uint>)(lpVtbl[2]))((IDXGraphicsAnalysis*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGraphicsAnalysis*, uint>)(lpVtbl[2]))((IDXGraphicsAnalysis*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGraphicsAnalysis::BeginCapture"]/*' />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGraphicsAnalysis : IDXGraphicsAnalysis.Interface
|
||||
[VtblIndex(3)]
|
||||
public void BeginCapture()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGraphicsAnalysis*, void>)(lpVtbl[3]))((IDXGraphicsAnalysis*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGraphicsAnalysis*, void>)(lpVtbl[3]))((IDXGraphicsAnalysis*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGraphicsAnalysis::EndCapture"]/*' />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDXGraphicsAnalysis : IDXGraphicsAnalysis.Interface
|
||||
[VtblIndex(4)]
|
||||
public void EndCapture()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<IDXGraphicsAnalysis*, void>)(lpVtbl[4]))((IDXGraphicsAnalysis*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<IDXGraphicsAnalysis*, void>)(lpVtbl[4]))((IDXGraphicsAnalysis*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
Reference in New Issue
Block a user