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:
@@ -13,9 +13,9 @@ public static unsafe partial class Apis
|
||||
{
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="D3D11CreateDevice"]/*' />
|
||||
[DllImport("d3d11.dll", ExactSpelling = true)]
|
||||
public static extern HResult D3D11CreateDevice(Graphics.Dxgi.IDXGIAdapter* pAdapter, Graphics.Direct3D.DriverType DriverType, IntPtr Software, CreateDeviceFlags Flags, Graphics.Direct3D.FeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Graphics.Direct3D.FeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext);
|
||||
public static extern HResult D3D11CreateDevice(Graphics.Dxgi.IDXGIAdapter* pAdapter, Graphics.Direct3D.DriverType DriverType, nint Software, CreateDeviceFlags Flags, Graphics.Direct3D.FeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Graphics.Direct3D.FeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext);
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="D3D11CreateDeviceAndSwapChain"]/*' />
|
||||
[DllImport("d3d11.dll", ExactSpelling = true)]
|
||||
public static extern HResult D3D11CreateDeviceAndSwapChain(Graphics.Dxgi.IDXGIAdapter* pAdapter, Graphics.Direct3D.DriverType DriverType, IntPtr Software, CreateDeviceFlags Flags, Graphics.Direct3D.FeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Graphics.Dxgi.SwapChainDescription* pSwapChainDesc, Graphics.Dxgi.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Graphics.Direct3D.FeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext);
|
||||
public static extern HResult D3D11CreateDeviceAndSwapChain(Graphics.Dxgi.IDXGIAdapter* pAdapter, Graphics.Direct3D.DriverType DriverType, nint Software, CreateDeviceFlags Flags, Graphics.Direct3D.FeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Graphics.Dxgi.SwapChainDescription* pSwapChainDesc, Graphics.Dxgi.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Graphics.Direct3D.FeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext);
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -448,26 +448,6 @@ public partial struct BufferSrv
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="D3D11_BUFFER_SRV::Anonymous2"]/*' />
|
||||
public _Anonymous2_e__Union Anonymous2;
|
||||
|
||||
[UnscopedRef]
|
||||
public ref uint FirstElement
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
get
|
||||
{
|
||||
return ref Anonymous1.FirstElement;
|
||||
}
|
||||
}
|
||||
|
||||
[UnscopedRef]
|
||||
public ref uint ElementOffset
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
get
|
||||
{
|
||||
return ref Anonymous1.ElementOffset;
|
||||
}
|
||||
}
|
||||
|
||||
[UnscopedRef]
|
||||
public ref uint NumElements
|
||||
{
|
||||
@@ -488,17 +468,26 @@ public partial struct BufferSrv
|
||||
}
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Explicit)]
|
||||
public partial struct _Anonymous1_e__Union
|
||||
[UnscopedRef]
|
||||
public ref uint FirstElement
|
||||
{
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="_Anonymous1_e__Union::FirstElement"]/*' />
|
||||
[FieldOffset(0)]
|
||||
public uint FirstElement;
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="_Anonymous1_e__Union::ElementOffset"]/*' />
|
||||
[FieldOffset(0)]
|
||||
public uint ElementOffset;
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
get
|
||||
{
|
||||
return ref Anonymous1.FirstElement;
|
||||
}
|
||||
}
|
||||
|
||||
[UnscopedRef]
|
||||
public ref uint ElementOffset
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
get
|
||||
{
|
||||
return ref Anonymous1.ElementOffset;
|
||||
}
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Explicit)]
|
||||
public partial struct _Anonymous2_e__Union
|
||||
{
|
||||
@@ -510,6 +499,17 @@ public partial struct BufferSrv
|
||||
[FieldOffset(0)]
|
||||
public uint ElementWidth;
|
||||
}
|
||||
[StructLayout(LayoutKind.Explicit)]
|
||||
public partial struct _Anonymous1_e__Union
|
||||
{
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="_Anonymous1_e__Union::FirstElement"]/*' />
|
||||
[FieldOffset(0)]
|
||||
public uint FirstElement;
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="_Anonymous1_e__Union::ElementOffset"]/*' />
|
||||
[FieldOffset(0)]
|
||||
public uint ElementOffset;
|
||||
}
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="D3D11_BUFFEREX_SRV"]/*' />
|
||||
@@ -822,26 +822,6 @@ public partial struct BufferRtv
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="D3D11_BUFFER_RTV::Anonymous2"]/*' />
|
||||
public _Anonymous2_e__Union Anonymous2;
|
||||
|
||||
[UnscopedRef]
|
||||
public ref uint NumElements
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
get
|
||||
{
|
||||
return ref Anonymous2.NumElements;
|
||||
}
|
||||
}
|
||||
|
||||
[UnscopedRef]
|
||||
public ref uint ElementWidth
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
get
|
||||
{
|
||||
return ref Anonymous2.ElementWidth;
|
||||
}
|
||||
}
|
||||
|
||||
[UnscopedRef]
|
||||
public ref uint FirstElement
|
||||
{
|
||||
@@ -862,17 +842,26 @@ public partial struct BufferRtv
|
||||
}
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Explicit)]
|
||||
public partial struct _Anonymous2_e__Union
|
||||
[UnscopedRef]
|
||||
public ref uint NumElements
|
||||
{
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="_Anonymous2_e__Union::NumElements"]/*' />
|
||||
[FieldOffset(0)]
|
||||
public uint NumElements;
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="_Anonymous2_e__Union::ElementWidth"]/*' />
|
||||
[FieldOffset(0)]
|
||||
public uint ElementWidth;
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
get
|
||||
{
|
||||
return ref Anonymous2.NumElements;
|
||||
}
|
||||
}
|
||||
|
||||
[UnscopedRef]
|
||||
public ref uint ElementWidth
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
get
|
||||
{
|
||||
return ref Anonymous2.ElementWidth;
|
||||
}
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Explicit)]
|
||||
public partial struct _Anonymous1_e__Union
|
||||
{
|
||||
@@ -884,6 +873,17 @@ public partial struct BufferRtv
|
||||
[FieldOffset(0)]
|
||||
public uint ElementOffset;
|
||||
}
|
||||
[StructLayout(LayoutKind.Explicit)]
|
||||
public partial struct _Anonymous2_e__Union
|
||||
{
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="_Anonymous2_e__Union::NumElements"]/*' />
|
||||
[FieldOffset(0)]
|
||||
public uint NumElements;
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="_Anonymous2_e__Union::ElementWidth"]/*' />
|
||||
[FieldOffset(0)]
|
||||
public uint ElementWidth;
|
||||
}
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="D3D11_TEX1D_RTV"]/*' />
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11Asynchronous : ID3D11Asynchronous.Interface,
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Asynchronous*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Asynchronous*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Asynchronous*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Asynchronous*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11Asynchronous : ID3D11Asynchronous.Interface,
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Asynchronous*, uint>)(lpVtbl[1]))((ID3D11Asynchronous*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Asynchronous*, uint>)(lpVtbl[1]))((ID3D11Asynchronous*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11Asynchronous : ID3D11Asynchronous.Interface,
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Asynchronous*, uint>)(lpVtbl[2]))((ID3D11Asynchronous*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Asynchronous*, uint>)(lpVtbl[2]))((ID3D11Asynchronous*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11Asynchronous : ID3D11Asynchronous.Interface,
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Asynchronous*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11Asynchronous*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Asynchronous*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11Asynchronous*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11Asynchronous : ID3D11Asynchronous.Interface,
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Asynchronous*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11Asynchronous*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Asynchronous*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11Asynchronous*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11Asynchronous : ID3D11Asynchronous.Interface,
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Asynchronous*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11Asynchronous*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Asynchronous*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11Asynchronous*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11Asynchronous : ID3D11Asynchronous.Interface,
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Asynchronous*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11Asynchronous*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Asynchronous*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11Asynchronous*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Asynchronous::GetDataSize"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11Asynchronous : ID3D11Asynchronous.Interface,
|
||||
[VtblIndex(7)]
|
||||
public uint GetDataSize()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Asynchronous*, uint>)(lpVtbl[7]))((ID3D11Asynchronous*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Asynchronous*, uint>)(lpVtbl[7]))((ID3D11Asynchronous*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11DeviceChild.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11AuthenticatedChannel : ID3D11AuthenticatedCha
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11AuthenticatedChannel*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11AuthenticatedChannel*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11AuthenticatedChannel : ID3D11AuthenticatedCha
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11AuthenticatedChannel*, uint>)(lpVtbl[1]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11AuthenticatedChannel*, uint>)(lpVtbl[1]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11AuthenticatedChannel : ID3D11AuthenticatedCha
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11AuthenticatedChannel*, uint>)(lpVtbl[2]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11AuthenticatedChannel*, uint>)(lpVtbl[2]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11AuthenticatedChannel : ID3D11AuthenticatedCha
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11AuthenticatedChannel*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11AuthenticatedChannel*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11AuthenticatedChannel : ID3D11AuthenticatedCha
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11AuthenticatedChannel*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11AuthenticatedChannel*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11AuthenticatedChannel : ID3D11AuthenticatedCha
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11AuthenticatedChannel*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11AuthenticatedChannel*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11AuthenticatedChannel : ID3D11AuthenticatedCha
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11AuthenticatedChannel*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11AuthenticatedChannel*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11AuthenticatedChannel::GetCertificateSize"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11AuthenticatedChannel : ID3D11AuthenticatedCha
|
||||
[VtblIndex(7)]
|
||||
public HResult GetCertificateSize(uint* pCertificateSize)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11AuthenticatedChannel*, uint*, int>)(lpVtbl[7]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), pCertificateSize);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11AuthenticatedChannel*, uint*, int>)(lpVtbl[7]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), pCertificateSize);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11AuthenticatedChannel::GetCertificate"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11AuthenticatedChannel : ID3D11AuthenticatedCha
|
||||
[VtblIndex(8)]
|
||||
public HResult GetCertificate(uint CertificateSize, byte* pCertificate)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11AuthenticatedChannel*, uint, byte*, int>)(lpVtbl[8]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), CertificateSize, pCertificate);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11AuthenticatedChannel*, uint, byte*, int>)(lpVtbl[8]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), CertificateSize, pCertificate);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11AuthenticatedChannel::GetChannelHandle"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11AuthenticatedChannel : ID3D11AuthenticatedCha
|
||||
[VtblIndex(9)]
|
||||
public void GetChannelHandle(Handle* pChannelHandle)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11AuthenticatedChannel*, Handle*, void>)(lpVtbl[9]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), pChannelHandle);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11AuthenticatedChannel*, Handle*, void>)(lpVtbl[9]))((ID3D11AuthenticatedChannel*)Unsafe.AsPointer(ref this), pChannelHandle);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11DeviceChild.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11BlendState : ID3D11BlendState.Interface, INat
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11BlendState*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11BlendState*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11BlendState*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11BlendState*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11BlendState : ID3D11BlendState.Interface, INat
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11BlendState*, uint>)(lpVtbl[1]))((ID3D11BlendState*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11BlendState*, uint>)(lpVtbl[1]))((ID3D11BlendState*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11BlendState : ID3D11BlendState.Interface, INat
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11BlendState*, uint>)(lpVtbl[2]))((ID3D11BlendState*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11BlendState*, uint>)(lpVtbl[2]))((ID3D11BlendState*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11BlendState : ID3D11BlendState.Interface, INat
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11BlendState*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11BlendState*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11BlendState*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11BlendState*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11BlendState : ID3D11BlendState.Interface, INat
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11BlendState*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11BlendState*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11BlendState*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11BlendState*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11BlendState : ID3D11BlendState.Interface, INat
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11BlendState*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11BlendState*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11BlendState*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11BlendState*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11BlendState : ID3D11BlendState.Interface, INat
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11BlendState*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11BlendState*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11BlendState*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11BlendState*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11BlendState::GetDesc"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11BlendState : ID3D11BlendState.Interface, INat
|
||||
[VtblIndex(7)]
|
||||
public void GetDesc(BlendDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11BlendState*, BlendDescription*, void>)(lpVtbl[7]))((ID3D11BlendState*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11BlendState*, BlendDescription*, void>)(lpVtbl[7]))((ID3D11BlendState*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11DeviceChild.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11BlendState1 : ID3D11BlendState1.Interface, IN
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11BlendState1*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11BlendState1*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11BlendState1 : ID3D11BlendState1.Interface, IN
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11BlendState1*, uint>)(lpVtbl[1]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11BlendState1*, uint>)(lpVtbl[1]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11BlendState1 : ID3D11BlendState1.Interface, IN
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11BlendState1*, uint>)(lpVtbl[2]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11BlendState1*, uint>)(lpVtbl[2]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11BlendState1 : ID3D11BlendState1.Interface, IN
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11BlendState1*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11BlendState1*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11BlendState1 : ID3D11BlendState1.Interface, IN
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11BlendState1*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11BlendState1*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11BlendState1 : ID3D11BlendState1.Interface, IN
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11BlendState1*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11BlendState1*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11BlendState1 : ID3D11BlendState1.Interface, IN
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11BlendState1*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11BlendState1*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11BlendState.GetDesc" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11BlendState1 : ID3D11BlendState1.Interface, IN
|
||||
[VtblIndex(7)]
|
||||
public void GetDesc(BlendDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11BlendState1*, BlendDescription*, void>)(lpVtbl[7]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11BlendState1*, BlendDescription*, void>)(lpVtbl[7]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11BlendState1::GetDesc1"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11BlendState1 : ID3D11BlendState1.Interface, IN
|
||||
[VtblIndex(8)]
|
||||
public void GetDesc1(BlendDescription1* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11BlendState1*, BlendDescription1*, void>)(lpVtbl[8]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11BlendState1*, BlendDescription1*, void>)(lpVtbl[8]))((ID3D11BlendState1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11BlendState.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11Buffer : ID3D11Buffer.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Buffer*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Buffer*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11Buffer : ID3D11Buffer.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Buffer*, uint>)(lpVtbl[1]))((ID3D11Buffer*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Buffer*, uint>)(lpVtbl[1]))((ID3D11Buffer*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11Buffer : ID3D11Buffer.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Buffer*, uint>)(lpVtbl[2]))((ID3D11Buffer*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Buffer*, uint>)(lpVtbl[2]))((ID3D11Buffer*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11Buffer : ID3D11Buffer.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Buffer*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Buffer*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11Buffer : ID3D11Buffer.Interface, INativeGuid
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Buffer*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Buffer*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11Buffer : ID3D11Buffer.Interface, INativeGuid
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Buffer*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Buffer*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11Buffer : ID3D11Buffer.Interface, INativeGuid
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Buffer*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Buffer*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Resource.GetType" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11Buffer : ID3D11Buffer.Interface, INativeGuid
|
||||
[VtblIndex(7)]
|
||||
public void GetType(ResourceDimension* pResourceDimension)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Buffer*, ResourceDimension*, void>)(lpVtbl[7]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), pResourceDimension);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Buffer*, ResourceDimension*, void>)(lpVtbl[7]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), pResourceDimension);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Resource.SetEvictionPriority" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11Buffer : ID3D11Buffer.Interface, INativeGuid
|
||||
[VtblIndex(8)]
|
||||
public void SetEvictionPriority(uint EvictionPriority)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Buffer*, uint, void>)(lpVtbl[8]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), EvictionPriority);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Buffer*, uint, void>)(lpVtbl[8]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), EvictionPriority);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Resource.GetEvictionPriority" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11Buffer : ID3D11Buffer.Interface, INativeGuid
|
||||
[VtblIndex(9)]
|
||||
public uint GetEvictionPriority()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Buffer*, uint>)(lpVtbl[9]))((ID3D11Buffer*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Buffer*, uint>)(lpVtbl[9]))((ID3D11Buffer*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Buffer::GetDesc"]/*' />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11Buffer : ID3D11Buffer.Interface, INativeGuid
|
||||
[VtblIndex(10)]
|
||||
public void GetDesc(BufferDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Buffer*, BufferDescription*, void>)(lpVtbl[10]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Buffer*, BufferDescription*, void>)(lpVtbl[10]))((ID3D11Buffer*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11Resource.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11ClassInstance : ID3D11ClassInstance.Interface
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ClassInstance*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ClassInstance*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11ClassInstance : ID3D11ClassInstance.Interface
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ClassInstance*, uint>)(lpVtbl[1]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ClassInstance*, uint>)(lpVtbl[1]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11ClassInstance : ID3D11ClassInstance.Interface
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ClassInstance*, uint>)(lpVtbl[2]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ClassInstance*, uint>)(lpVtbl[2]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11ClassInstance : ID3D11ClassInstance.Interface
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11ClassInstance*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11ClassInstance*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11ClassInstance : ID3D11ClassInstance.Interface
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ClassInstance*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ClassInstance*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11ClassInstance : ID3D11ClassInstance.Interface
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ClassInstance*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ClassInstance*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11ClassInstance : ID3D11ClassInstance.Interface
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ClassInstance*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ClassInstance*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ClassInstance::GetClassLinkage"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11ClassInstance : ID3D11ClassInstance.Interface
|
||||
[VtblIndex(7)]
|
||||
public void GetClassLinkage(ID3D11ClassLinkage** ppLinkage)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11ClassInstance*, ID3D11ClassLinkage**, void>)(lpVtbl[7]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), ppLinkage);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11ClassInstance*, ID3D11ClassLinkage**, void>)(lpVtbl[7]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), ppLinkage);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ClassInstance::GetDesc"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11ClassInstance : ID3D11ClassInstance.Interface
|
||||
[VtblIndex(8)]
|
||||
public void GetDesc(ClassInstanceDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11ClassInstance*, ClassInstanceDescription*, void>)(lpVtbl[8]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11ClassInstance*, ClassInstanceDescription*, void>)(lpVtbl[8]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ClassInstance::GetInstanceName"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11ClassInstance : ID3D11ClassInstance.Interface
|
||||
[VtblIndex(9)]
|
||||
public void GetInstanceName(byte* pInstanceName, nuint* pBufferLength)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11ClassInstance*, byte*, nuint*, void>)(lpVtbl[9]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), pInstanceName, pBufferLength);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11ClassInstance*, byte*, nuint*, void>)(lpVtbl[9]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), pInstanceName, pBufferLength);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ClassInstance::GetTypeName"]/*' />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11ClassInstance : ID3D11ClassInstance.Interface
|
||||
[VtblIndex(10)]
|
||||
public void GetTypeName(byte* pTypeName, nuint* pBufferLength)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11ClassInstance*, byte*, nuint*, void>)(lpVtbl[10]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), pTypeName, pBufferLength);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11ClassInstance*, byte*, nuint*, void>)(lpVtbl[10]))((ID3D11ClassInstance*)Unsafe.AsPointer(ref this), pTypeName, pBufferLength);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11DeviceChild.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11ClassLinkage : ID3D11ClassLinkage.Interface,
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ClassLinkage*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ClassLinkage*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11ClassLinkage : ID3D11ClassLinkage.Interface,
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ClassLinkage*, uint>)(lpVtbl[1]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ClassLinkage*, uint>)(lpVtbl[1]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11ClassLinkage : ID3D11ClassLinkage.Interface,
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ClassLinkage*, uint>)(lpVtbl[2]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ClassLinkage*, uint>)(lpVtbl[2]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11ClassLinkage : ID3D11ClassLinkage.Interface,
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11ClassLinkage*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11ClassLinkage*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11ClassLinkage : ID3D11ClassLinkage.Interface,
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ClassLinkage*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ClassLinkage*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11ClassLinkage : ID3D11ClassLinkage.Interface,
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ClassLinkage*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ClassLinkage*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11ClassLinkage : ID3D11ClassLinkage.Interface,
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ClassLinkage*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ClassLinkage*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ClassLinkage::GetClassInstance"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11ClassLinkage : ID3D11ClassLinkage.Interface,
|
||||
[VtblIndex(7)]
|
||||
public HResult GetClassInstance(sbyte* pClassInstanceName, uint InstanceIndex, ID3D11ClassInstance** ppInstance)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ClassLinkage*, sbyte*, uint, ID3D11ClassInstance**, int>)(lpVtbl[7]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), pClassInstanceName, InstanceIndex, ppInstance);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ClassLinkage*, sbyte*, uint, ID3D11ClassInstance**, int>)(lpVtbl[7]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), pClassInstanceName, InstanceIndex, ppInstance);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ClassLinkage::CreateClassInstance"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11ClassLinkage : ID3D11ClassLinkage.Interface,
|
||||
[VtblIndex(8)]
|
||||
public HResult CreateClassInstance(sbyte* pClassTypeName, uint ConstantBufferOffset, uint ConstantVectorOffset, uint TextureOffset, uint SamplerOffset, ID3D11ClassInstance** ppInstance)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ClassLinkage*, sbyte*, uint, uint, uint, uint, ID3D11ClassInstance**, int>)(lpVtbl[8]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), pClassTypeName, ConstantBufferOffset, ConstantVectorOffset, TextureOffset, SamplerOffset, ppInstance);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ClassLinkage*, sbyte*, uint, uint, uint, uint, ID3D11ClassInstance**, int>)(lpVtbl[8]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), pClassTypeName, ConstantBufferOffset, ConstantVectorOffset, TextureOffset, SamplerOffset, ppInstance);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11DeviceChild.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11CommandList : ID3D11CommandList.Interface, IN
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11CommandList*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11CommandList*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11CommandList*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11CommandList*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11CommandList : ID3D11CommandList.Interface, IN
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11CommandList*, uint>)(lpVtbl[1]))((ID3D11CommandList*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11CommandList*, uint>)(lpVtbl[1]))((ID3D11CommandList*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11CommandList : ID3D11CommandList.Interface, IN
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11CommandList*, uint>)(lpVtbl[2]))((ID3D11CommandList*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11CommandList*, uint>)(lpVtbl[2]))((ID3D11CommandList*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11CommandList : ID3D11CommandList.Interface, IN
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11CommandList*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11CommandList*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11CommandList*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11CommandList*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11CommandList : ID3D11CommandList.Interface, IN
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11CommandList*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11CommandList*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11CommandList*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11CommandList*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11CommandList : ID3D11CommandList.Interface, IN
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11CommandList*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11CommandList*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11CommandList*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11CommandList*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11CommandList : ID3D11CommandList.Interface, IN
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11CommandList*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11CommandList*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11CommandList*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11CommandList*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11CommandList::GetContextFlags"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11CommandList : ID3D11CommandList.Interface, IN
|
||||
[VtblIndex(7)]
|
||||
public uint GetContextFlags()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11CommandList*, uint>)(lpVtbl[7]))((ID3D11CommandList*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11CommandList*, uint>)(lpVtbl[7]))((ID3D11CommandList*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11DeviceChild.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11ComputeShader : ID3D11ComputeShader.Interface
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ComputeShader*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11ComputeShader*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ComputeShader*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11ComputeShader*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11ComputeShader : ID3D11ComputeShader.Interface
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ComputeShader*, uint>)(lpVtbl[1]))((ID3D11ComputeShader*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ComputeShader*, uint>)(lpVtbl[1]))((ID3D11ComputeShader*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11ComputeShader : ID3D11ComputeShader.Interface
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ComputeShader*, uint>)(lpVtbl[2]))((ID3D11ComputeShader*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ComputeShader*, uint>)(lpVtbl[2]))((ID3D11ComputeShader*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11ComputeShader : ID3D11ComputeShader.Interface
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11ComputeShader*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11ComputeShader*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11ComputeShader*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11ComputeShader*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11ComputeShader : ID3D11ComputeShader.Interface
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ComputeShader*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11ComputeShader*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ComputeShader*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11ComputeShader*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11ComputeShader : ID3D11ComputeShader.Interface
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ComputeShader*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11ComputeShader*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ComputeShader*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11ComputeShader*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11ComputeShader : ID3D11ComputeShader.Interface
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ComputeShader*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11ComputeShader*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ComputeShader*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11ComputeShader*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11DeviceChild.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11Counter : ID3D11Counter.Interface, INativeGui
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Counter*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Counter*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Counter*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Counter*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11Counter : ID3D11Counter.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Counter*, uint>)(lpVtbl[1]))((ID3D11Counter*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Counter*, uint>)(lpVtbl[1]))((ID3D11Counter*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11Counter : ID3D11Counter.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Counter*, uint>)(lpVtbl[2]))((ID3D11Counter*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Counter*, uint>)(lpVtbl[2]))((ID3D11Counter*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11Counter : ID3D11Counter.Interface, INativeGui
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Counter*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11Counter*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Counter*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11Counter*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11Counter : ID3D11Counter.Interface, INativeGui
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Counter*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11Counter*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Counter*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11Counter*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11Counter : ID3D11Counter.Interface, INativeGui
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Counter*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11Counter*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Counter*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11Counter*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11Counter : ID3D11Counter.Interface, INativeGui
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Counter*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11Counter*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Counter*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11Counter*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Asynchronous.GetDataSize" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11Counter : ID3D11Counter.Interface, INativeGui
|
||||
[VtblIndex(7)]
|
||||
public uint GetDataSize()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Counter*, uint>)(lpVtbl[7]))((ID3D11Counter*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Counter*, uint>)(lpVtbl[7]))((ID3D11Counter*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Counter::GetDesc"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11Counter : ID3D11Counter.Interface, INativeGui
|
||||
[VtblIndex(8)]
|
||||
public void GetDesc(CounterDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Counter*, CounterDescription*, void>)(lpVtbl[8]))((ID3D11Counter*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Counter*, CounterDescription*, void>)(lpVtbl[8]))((ID3D11Counter*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11Asynchronous.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11CryptoSession : ID3D11CryptoSession.Interface
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11CryptoSession*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11CryptoSession*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11CryptoSession : ID3D11CryptoSession.Interface
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11CryptoSession*, uint>)(lpVtbl[1]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11CryptoSession*, uint>)(lpVtbl[1]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11CryptoSession : ID3D11CryptoSession.Interface
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11CryptoSession*, uint>)(lpVtbl[2]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11CryptoSession*, uint>)(lpVtbl[2]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11CryptoSession : ID3D11CryptoSession.Interface
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11CryptoSession*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11CryptoSession*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11CryptoSession : ID3D11CryptoSession.Interface
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11CryptoSession*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11CryptoSession*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11CryptoSession : ID3D11CryptoSession.Interface
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11CryptoSession*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11CryptoSession*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11CryptoSession : ID3D11CryptoSession.Interface
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11CryptoSession*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11CryptoSession*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11CryptoSession::GetCryptoType"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11CryptoSession : ID3D11CryptoSession.Interface
|
||||
[VtblIndex(7)]
|
||||
public void GetCryptoType(Guid* pCryptoType)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11CryptoSession*, Guid*, void>)(lpVtbl[7]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), pCryptoType);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11CryptoSession*, Guid*, void>)(lpVtbl[7]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), pCryptoType);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11CryptoSession::GetDecoderProfile"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11CryptoSession : ID3D11CryptoSession.Interface
|
||||
[VtblIndex(8)]
|
||||
public void GetDecoderProfile(Guid* pDecoderProfile)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11CryptoSession*, Guid*, void>)(lpVtbl[8]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), pDecoderProfile);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11CryptoSession*, Guid*, void>)(lpVtbl[8]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), pDecoderProfile);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11CryptoSession::GetCertificateSize"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11CryptoSession : ID3D11CryptoSession.Interface
|
||||
[VtblIndex(9)]
|
||||
public HResult GetCertificateSize(uint* pCertificateSize)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11CryptoSession*, uint*, int>)(lpVtbl[9]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), pCertificateSize);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11CryptoSession*, uint*, int>)(lpVtbl[9]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), pCertificateSize);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11CryptoSession::GetCertificate"]/*' />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11CryptoSession : ID3D11CryptoSession.Interface
|
||||
[VtblIndex(10)]
|
||||
public HResult GetCertificate(uint CertificateSize, byte* pCertificate)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11CryptoSession*, uint, byte*, int>)(lpVtbl[10]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), CertificateSize, pCertificate);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11CryptoSession*, uint, byte*, int>)(lpVtbl[10]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), CertificateSize, pCertificate);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11CryptoSession::GetCryptoSessionHandle"]/*' />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct ID3D11CryptoSession : ID3D11CryptoSession.Interface
|
||||
[VtblIndex(11)]
|
||||
public void GetCryptoSessionHandle(Handle* pCryptoSessionHandle)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11CryptoSession*, Handle*, void>)(lpVtbl[11]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), pCryptoSessionHandle);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11CryptoSession*, Handle*, void>)(lpVtbl[11]))((ID3D11CryptoSession*)Unsafe.AsPointer(ref this), pCryptoSessionHandle);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11DeviceChild.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11Debug : ID3D11Debug.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Debug*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Debug*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Debug*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Debug*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11Debug : ID3D11Debug.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Debug*, uint>)(lpVtbl[1]))((ID3D11Debug*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Debug*, uint>)(lpVtbl[1]))((ID3D11Debug*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11Debug : ID3D11Debug.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Debug*, uint>)(lpVtbl[2]))((ID3D11Debug*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Debug*, uint>)(lpVtbl[2]))((ID3D11Debug*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Debug::SetFeatureMask"]/*' />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11Debug : ID3D11Debug.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public HResult SetFeatureMask(uint Mask)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Debug*, uint, int>)(lpVtbl[3]))((ID3D11Debug*)Unsafe.AsPointer(ref this), Mask);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Debug*, uint, int>)(lpVtbl[3]))((ID3D11Debug*)Unsafe.AsPointer(ref this), Mask);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Debug::GetFeatureMask"]/*' />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11Debug : ID3D11Debug.Interface, INativeGuid
|
||||
[VtblIndex(4)]
|
||||
public uint GetFeatureMask()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Debug*, uint>)(lpVtbl[4]))((ID3D11Debug*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Debug*, uint>)(lpVtbl[4]))((ID3D11Debug*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Debug::SetPresentPerRenderOpDelay"]/*' />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11Debug : ID3D11Debug.Interface, INativeGuid
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPresentPerRenderOpDelay(uint Milliseconds)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Debug*, uint, int>)(lpVtbl[5]))((ID3D11Debug*)Unsafe.AsPointer(ref this), Milliseconds);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Debug*, uint, int>)(lpVtbl[5]))((ID3D11Debug*)Unsafe.AsPointer(ref this), Milliseconds);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Debug::GetPresentPerRenderOpDelay"]/*' />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11Debug : ID3D11Debug.Interface, INativeGuid
|
||||
[VtblIndex(6)]
|
||||
public uint GetPresentPerRenderOpDelay()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Debug*, uint>)(lpVtbl[6]))((ID3D11Debug*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Debug*, uint>)(lpVtbl[6]))((ID3D11Debug*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Debug::SetSwapChain"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11Debug : ID3D11Debug.Interface, INativeGuid
|
||||
[VtblIndex(7)]
|
||||
public HResult SetSwapChain(Graphics.Dxgi.IDXGISwapChain* pSwapChain)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Debug*, Graphics.Dxgi.IDXGISwapChain*, int>)(lpVtbl[7]))((ID3D11Debug*)Unsafe.AsPointer(ref this), pSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Debug*, Graphics.Dxgi.IDXGISwapChain*, int>)(lpVtbl[7]))((ID3D11Debug*)Unsafe.AsPointer(ref this), pSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Debug::GetSwapChain"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11Debug : ID3D11Debug.Interface, INativeGuid
|
||||
[VtblIndex(8)]
|
||||
public HResult GetSwapChain(Graphics.Dxgi.IDXGISwapChain** ppSwapChain)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Debug*, Graphics.Dxgi.IDXGISwapChain**, int>)(lpVtbl[8]))((ID3D11Debug*)Unsafe.AsPointer(ref this), ppSwapChain);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Debug*, Graphics.Dxgi.IDXGISwapChain**, int>)(lpVtbl[8]))((ID3D11Debug*)Unsafe.AsPointer(ref this), ppSwapChain);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Debug::ValidateContext"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11Debug : ID3D11Debug.Interface, INativeGuid
|
||||
[VtblIndex(9)]
|
||||
public HResult ValidateContext(ID3D11DeviceContext* pContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Debug*, ID3D11DeviceContext*, int>)(lpVtbl[9]))((ID3D11Debug*)Unsafe.AsPointer(ref this), pContext);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Debug*, ID3D11DeviceContext*, int>)(lpVtbl[9]))((ID3D11Debug*)Unsafe.AsPointer(ref this), pContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Debug::ReportLiveDeviceObjects"]/*' />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11Debug : ID3D11Debug.Interface, INativeGuid
|
||||
[VtblIndex(10)]
|
||||
public HResult ReportLiveDeviceObjects(ReportLiveDeviceObjectFlags Flags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Debug*, ReportLiveDeviceObjectFlags, int>)(lpVtbl[10]))((ID3D11Debug*)Unsafe.AsPointer(ref this), Flags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Debug*, ReportLiveDeviceObjectFlags, int>)(lpVtbl[10]))((ID3D11Debug*)Unsafe.AsPointer(ref this), Flags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Debug::ValidateContextForDispatch"]/*' />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct ID3D11Debug : ID3D11Debug.Interface, INativeGuid
|
||||
[VtblIndex(11)]
|
||||
public HResult ValidateContextForDispatch(ID3D11DeviceContext* pContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Debug*, ID3D11DeviceContext*, int>)(lpVtbl[11]))((ID3D11Debug*)Unsafe.AsPointer(ref this), pContext);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Debug*, ID3D11DeviceContext*, int>)(lpVtbl[11]))((ID3D11Debug*)Unsafe.AsPointer(ref this), pContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11DepthStencilState : ID3D11DepthStencilState.I
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11DepthStencilState*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11DepthStencilState*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11DepthStencilState*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11DepthStencilState*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11DepthStencilState : ID3D11DepthStencilState.I
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11DepthStencilState*, uint>)(lpVtbl[1]))((ID3D11DepthStencilState*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11DepthStencilState*, uint>)(lpVtbl[1]))((ID3D11DepthStencilState*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11DepthStencilState : ID3D11DepthStencilState.I
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11DepthStencilState*, uint>)(lpVtbl[2]))((ID3D11DepthStencilState*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11DepthStencilState*, uint>)(lpVtbl[2]))((ID3D11DepthStencilState*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11DepthStencilState : ID3D11DepthStencilState.I
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11DepthStencilState*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11DepthStencilState*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DepthStencilState*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11DepthStencilState*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11DepthStencilState : ID3D11DepthStencilState.I
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11DepthStencilState*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11DepthStencilState*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11DepthStencilState*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11DepthStencilState*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11DepthStencilState : ID3D11DepthStencilState.I
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11DepthStencilState*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11DepthStencilState*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11DepthStencilState*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11DepthStencilState*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11DepthStencilState : ID3D11DepthStencilState.I
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11DepthStencilState*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11DepthStencilState*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11DepthStencilState*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11DepthStencilState*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11DepthStencilState::GetDesc"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11DepthStencilState : ID3D11DepthStencilState.I
|
||||
[VtblIndex(7)]
|
||||
public void GetDesc(DepthStencilDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11DepthStencilState*, DepthStencilDescription*, void>)(lpVtbl[7]))((ID3D11DepthStencilState*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DepthStencilState*, DepthStencilDescription*, void>)(lpVtbl[7]))((ID3D11DepthStencilState*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11DeviceChild.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11DepthStencilView : ID3D11DepthStencilView.Int
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11DepthStencilView*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11DepthStencilView*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11DepthStencilView : ID3D11DepthStencilView.Int
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11DepthStencilView*, uint>)(lpVtbl[1]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11DepthStencilView*, uint>)(lpVtbl[1]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11DepthStencilView : ID3D11DepthStencilView.Int
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11DepthStencilView*, uint>)(lpVtbl[2]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11DepthStencilView*, uint>)(lpVtbl[2]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11DepthStencilView : ID3D11DepthStencilView.Int
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11DepthStencilView*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DepthStencilView*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11DepthStencilView : ID3D11DepthStencilView.Int
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11DepthStencilView*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11DepthStencilView*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11DepthStencilView : ID3D11DepthStencilView.Int
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11DepthStencilView*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11DepthStencilView*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11DepthStencilView : ID3D11DepthStencilView.Int
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11DepthStencilView*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11DepthStencilView*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11View.GetResource" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11DepthStencilView : ID3D11DepthStencilView.Int
|
||||
[VtblIndex(7)]
|
||||
public void GetResource(ID3D11Resource** ppResource)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11DepthStencilView*, ID3D11Resource**, void>)(lpVtbl[7]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this), ppResource);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DepthStencilView*, ID3D11Resource**, void>)(lpVtbl[7]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this), ppResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11DepthStencilView::GetDesc"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11DepthStencilView : ID3D11DepthStencilView.Int
|
||||
[VtblIndex(8)]
|
||||
public void GetDesc(DepthStencilViewDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11DepthStencilView*, DepthStencilViewDescription*, void>)(lpVtbl[8]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DepthStencilView*, DepthStencilViewDescription*, void>)(lpVtbl[8]))((ID3D11DepthStencilView*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11View.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Device*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Device*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, uint>)(lpVtbl[1]))((ID3D11Device*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, uint>)(lpVtbl[1]))((ID3D11Device*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, uint>)(lpVtbl[2]))((ID3D11Device*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, uint>)(lpVtbl[2]))((ID3D11Device*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CreateBuffer"]/*' />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public HResult CreateBuffer(BufferDescription* pDesc, SubresourceData* pInitialData, ID3D11Buffer** ppBuffer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, BufferDescription*, SubresourceData*, ID3D11Buffer**, int>)(lpVtbl[3]))((ID3D11Device*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppBuffer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, BufferDescription*, SubresourceData*, ID3D11Buffer**, int>)(lpVtbl[3]))((ID3D11Device*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppBuffer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CreateTexture1D"]/*' />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(4)]
|
||||
public HResult CreateTexture1D(Texture1DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture1D** ppTexture1D)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, Texture1DDescription*, SubresourceData*, ID3D11Texture1D**, int>)(lpVtbl[4]))((ID3D11Device*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture1D);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, Texture1DDescription*, SubresourceData*, ID3D11Texture1D**, int>)(lpVtbl[4]))((ID3D11Device*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture1D);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CreateTexture2D"]/*' />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(5)]
|
||||
public HResult CreateTexture2D(Texture2DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture2D** ppTexture2D)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, Texture2DDescription*, SubresourceData*, ID3D11Texture2D**, int>)(lpVtbl[5]))((ID3D11Device*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture2D);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, Texture2DDescription*, SubresourceData*, ID3D11Texture2D**, int>)(lpVtbl[5]))((ID3D11Device*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture2D);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CreateTexture3D"]/*' />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(6)]
|
||||
public HResult CreateTexture3D(Texture3DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture3D** ppTexture3D)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, Texture3DDescription*, SubresourceData*, ID3D11Texture3D**, int>)(lpVtbl[6]))((ID3D11Device*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture3D);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, Texture3DDescription*, SubresourceData*, ID3D11Texture3D**, int>)(lpVtbl[6]))((ID3D11Device*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture3D);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CreateShaderResourceView"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(7)]
|
||||
public HResult CreateShaderResourceView(ID3D11Resource* pResource, ShaderResourceViewDescription* pDesc, ID3D11ShaderResourceView** ppSRView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, ID3D11Resource*, ShaderResourceViewDescription*, ID3D11ShaderResourceView**, int>)(lpVtbl[7]))((ID3D11Device*)Unsafe.AsPointer(ref this), pResource, pDesc, ppSRView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, ID3D11Resource*, ShaderResourceViewDescription*, ID3D11ShaderResourceView**, int>)(lpVtbl[7]))((ID3D11Device*)Unsafe.AsPointer(ref this), pResource, pDesc, ppSRView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CreateUnorderedAccessView"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(8)]
|
||||
public HResult CreateUnorderedAccessView(ID3D11Resource* pResource, UnorderedAccessViewDescription* pDesc, ID3D11UnorderedAccessView** ppUAView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, ID3D11Resource*, UnorderedAccessViewDescription*, ID3D11UnorderedAccessView**, int>)(lpVtbl[8]))((ID3D11Device*)Unsafe.AsPointer(ref this), pResource, pDesc, ppUAView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, ID3D11Resource*, UnorderedAccessViewDescription*, ID3D11UnorderedAccessView**, int>)(lpVtbl[8]))((ID3D11Device*)Unsafe.AsPointer(ref this), pResource, pDesc, ppUAView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CreateRenderTargetView"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(9)]
|
||||
public HResult CreateRenderTargetView(ID3D11Resource* pResource, RenderTargetViewDescription* pDesc, ID3D11RenderTargetView** ppRTView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, ID3D11Resource*, RenderTargetViewDescription*, ID3D11RenderTargetView**, int>)(lpVtbl[9]))((ID3D11Device*)Unsafe.AsPointer(ref this), pResource, pDesc, ppRTView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, ID3D11Resource*, RenderTargetViewDescription*, ID3D11RenderTargetView**, int>)(lpVtbl[9]))((ID3D11Device*)Unsafe.AsPointer(ref this), pResource, pDesc, ppRTView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CreateDepthStencilView"]/*' />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(10)]
|
||||
public HResult CreateDepthStencilView(ID3D11Resource* pResource, DepthStencilViewDescription* pDesc, ID3D11DepthStencilView** ppDepthStencilView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, ID3D11Resource*, DepthStencilViewDescription*, ID3D11DepthStencilView**, int>)(lpVtbl[10]))((ID3D11Device*)Unsafe.AsPointer(ref this), pResource, pDesc, ppDepthStencilView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, ID3D11Resource*, DepthStencilViewDescription*, ID3D11DepthStencilView**, int>)(lpVtbl[10]))((ID3D11Device*)Unsafe.AsPointer(ref this), pResource, pDesc, ppDepthStencilView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CreateInputLayout"]/*' />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(11)]
|
||||
public HResult CreateInputLayout(InputElementDescription* pInputElementDescs, uint NumElements, void* pShaderBytecodeWithInputSignature, nuint BytecodeLength, ID3D11InputLayout** ppInputLayout)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, InputElementDescription*, uint, void*, nuint, ID3D11InputLayout**, int>)(lpVtbl[11]))((ID3D11Device*)Unsafe.AsPointer(ref this), pInputElementDescs, NumElements, pShaderBytecodeWithInputSignature, BytecodeLength, ppInputLayout);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, InputElementDescription*, uint, void*, nuint, ID3D11InputLayout**, int>)(lpVtbl[11]))((ID3D11Device*)Unsafe.AsPointer(ref this), pInputElementDescs, NumElements, pShaderBytecodeWithInputSignature, BytecodeLength, ppInputLayout);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CreateVertexShader"]/*' />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(12)]
|
||||
public HResult CreateVertexShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11VertexShader** ppVertexShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, void*, nuint, ID3D11ClassLinkage*, ID3D11VertexShader**, int>)(lpVtbl[12]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppVertexShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, void*, nuint, ID3D11ClassLinkage*, ID3D11VertexShader**, int>)(lpVtbl[12]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppVertexShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CreateGeometryShader"]/*' />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(13)]
|
||||
public HResult CreateGeometryShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, void*, nuint, ID3D11ClassLinkage*, ID3D11GeometryShader**, int>)(lpVtbl[13]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppGeometryShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, void*, nuint, ID3D11ClassLinkage*, ID3D11GeometryShader**, int>)(lpVtbl[13]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppGeometryShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CreateGeometryShaderWithStreamOutput"]/*' />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(14)]
|
||||
public HResult CreateGeometryShaderWithStreamOutput(void* pShaderBytecode, nuint BytecodeLength, SODeclarationEntry* pSODeclaration, uint NumEntries, uint* pBufferStrides, uint NumStrides, uint RasterizedStream, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, void*, nuint, SODeclarationEntry*, uint, uint*, uint, uint, ID3D11ClassLinkage*, ID3D11GeometryShader**, int>)(lpVtbl[14]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, void*, nuint, SODeclarationEntry*, uint, uint*, uint, uint, ID3D11ClassLinkage*, ID3D11GeometryShader**, int>)(lpVtbl[14]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CreatePixelShader"]/*' />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(15)]
|
||||
public HResult CreatePixelShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11PixelShader** ppPixelShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, void*, nuint, ID3D11ClassLinkage*, ID3D11PixelShader**, int>)(lpVtbl[15]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppPixelShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, void*, nuint, ID3D11ClassLinkage*, ID3D11PixelShader**, int>)(lpVtbl[15]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppPixelShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CreateHullShader"]/*' />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(16)]
|
||||
public HResult CreateHullShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11HullShader** ppHullShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, void*, nuint, ID3D11ClassLinkage*, ID3D11HullShader**, int>)(lpVtbl[16]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppHullShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, void*, nuint, ID3D11ClassLinkage*, ID3D11HullShader**, int>)(lpVtbl[16]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppHullShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CreateDomainShader"]/*' />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(17)]
|
||||
public HResult CreateDomainShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11DomainShader** ppDomainShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, void*, nuint, ID3D11ClassLinkage*, ID3D11DomainShader**, int>)(lpVtbl[17]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppDomainShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, void*, nuint, ID3D11ClassLinkage*, ID3D11DomainShader**, int>)(lpVtbl[17]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppDomainShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CreateComputeShader"]/*' />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(18)]
|
||||
public HResult CreateComputeShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11ComputeShader** ppComputeShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, void*, nuint, ID3D11ClassLinkage*, ID3D11ComputeShader**, int>)(lpVtbl[18]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppComputeShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, void*, nuint, ID3D11ClassLinkage*, ID3D11ComputeShader**, int>)(lpVtbl[18]))((ID3D11Device*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppComputeShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CreateClassLinkage"]/*' />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(19)]
|
||||
public HResult CreateClassLinkage(ID3D11ClassLinkage** ppLinkage)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, ID3D11ClassLinkage**, int>)(lpVtbl[19]))((ID3D11Device*)Unsafe.AsPointer(ref this), ppLinkage);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, ID3D11ClassLinkage**, int>)(lpVtbl[19]))((ID3D11Device*)Unsafe.AsPointer(ref this), ppLinkage);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CreateBlendState"]/*' />
|
||||
@@ -215,7 +295,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(20)]
|
||||
public HResult CreateBlendState(BlendDescription* pBlendStateDesc, ID3D11BlendState** ppBlendState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, BlendDescription*, ID3D11BlendState**, int>)(lpVtbl[20]))((ID3D11Device*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, BlendDescription*, ID3D11BlendState**, int>)(lpVtbl[20]))((ID3D11Device*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CreateDepthStencilState"]/*' />
|
||||
@@ -223,7 +307,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(21)]
|
||||
public HResult CreateDepthStencilState(DepthStencilDescription* pDepthStencilDesc, ID3D11DepthStencilState** ppDepthStencilState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, DepthStencilDescription*, ID3D11DepthStencilState**, int>)(lpVtbl[21]))((ID3D11Device*)Unsafe.AsPointer(ref this), pDepthStencilDesc, ppDepthStencilState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, DepthStencilDescription*, ID3D11DepthStencilState**, int>)(lpVtbl[21]))((ID3D11Device*)Unsafe.AsPointer(ref this), pDepthStencilDesc, ppDepthStencilState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CreateRasterizerState"]/*' />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(22)]
|
||||
public HResult CreateRasterizerState(RasterizerDescription* pRasterizerDesc, ID3D11RasterizerState** ppRasterizerState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, RasterizerDescription*, ID3D11RasterizerState**, int>)(lpVtbl[22]))((ID3D11Device*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, RasterizerDescription*, ID3D11RasterizerState**, int>)(lpVtbl[22]))((ID3D11Device*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CreateSamplerState"]/*' />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(23)]
|
||||
public HResult CreateSamplerState(SamplerDescription* pSamplerDesc, ID3D11SamplerState** ppSamplerState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, SamplerDescription*, ID3D11SamplerState**, int>)(lpVtbl[23]))((ID3D11Device*)Unsafe.AsPointer(ref this), pSamplerDesc, ppSamplerState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, SamplerDescription*, ID3D11SamplerState**, int>)(lpVtbl[23]))((ID3D11Device*)Unsafe.AsPointer(ref this), pSamplerDesc, ppSamplerState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CreateQuery"]/*' />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(24)]
|
||||
public HResult CreateQuery(QueryDescription* pQueryDesc, ID3D11Query** ppQuery)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, QueryDescription*, ID3D11Query**, int>)(lpVtbl[24]))((ID3D11Device*)Unsafe.AsPointer(ref this), pQueryDesc, ppQuery);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, QueryDescription*, ID3D11Query**, int>)(lpVtbl[24]))((ID3D11Device*)Unsafe.AsPointer(ref this), pQueryDesc, ppQuery);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CreatePredicate"]/*' />
|
||||
@@ -255,7 +355,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(25)]
|
||||
public HResult CreatePredicate(QueryDescription* pPredicateDesc, ID3D11Predicate** ppPredicate)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, QueryDescription*, ID3D11Predicate**, int>)(lpVtbl[25]))((ID3D11Device*)Unsafe.AsPointer(ref this), pPredicateDesc, ppPredicate);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, QueryDescription*, ID3D11Predicate**, int>)(lpVtbl[25]))((ID3D11Device*)Unsafe.AsPointer(ref this), pPredicateDesc, ppPredicate);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CreateCounter"]/*' />
|
||||
@@ -263,7 +367,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(26)]
|
||||
public HResult CreateCounter(CounterDescription* pCounterDesc, ID3D11Counter** ppCounter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, CounterDescription*, ID3D11Counter**, int>)(lpVtbl[26]))((ID3D11Device*)Unsafe.AsPointer(ref this), pCounterDesc, ppCounter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, CounterDescription*, ID3D11Counter**, int>)(lpVtbl[26]))((ID3D11Device*)Unsafe.AsPointer(ref this), pCounterDesc, ppCounter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CreateDeferredContext"]/*' />
|
||||
@@ -271,7 +379,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(27)]
|
||||
public HResult CreateDeferredContext(uint ContextFlags, ID3D11DeviceContext** ppDeferredContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, uint, ID3D11DeviceContext**, int>)(lpVtbl[27]))((ID3D11Device*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, uint, ID3D11DeviceContext**, int>)(lpVtbl[27]))((ID3D11Device*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::OpenSharedResource"]/*' />
|
||||
@@ -279,7 +391,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(28)]
|
||||
public HResult OpenSharedResource(Handle hResource, Guid* ReturnedInterface, void** ppResource)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, Handle, Guid*, void**, int>)(lpVtbl[28]))((ID3D11Device*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, Handle, Guid*, void**, int>)(lpVtbl[28]))((ID3D11Device*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CheckFormatSupport"]/*' />
|
||||
@@ -287,7 +403,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(29)]
|
||||
public HResult CheckFormatSupport(Graphics.Dxgi.Common.Format Format, uint* pFormatSupport)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, Graphics.Dxgi.Common.Format, uint*, int>)(lpVtbl[29]))((ID3D11Device*)Unsafe.AsPointer(ref this), Format, pFormatSupport);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, Graphics.Dxgi.Common.Format, uint*, int>)(lpVtbl[29]))((ID3D11Device*)Unsafe.AsPointer(ref this), Format, pFormatSupport);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CheckMultisampleQualityLevels"]/*' />
|
||||
@@ -295,7 +415,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(30)]
|
||||
public HResult CheckMultisampleQualityLevels(Graphics.Dxgi.Common.Format Format, uint SampleCount, uint* pNumQualityLevels)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, Graphics.Dxgi.Common.Format, uint, uint*, int>)(lpVtbl[30]))((ID3D11Device*)Unsafe.AsPointer(ref this), Format, SampleCount, pNumQualityLevels);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, Graphics.Dxgi.Common.Format, uint, uint*, int>)(lpVtbl[30]))((ID3D11Device*)Unsafe.AsPointer(ref this), Format, SampleCount, pNumQualityLevels);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CheckCounterInfo"]/*' />
|
||||
@@ -303,7 +427,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(31)]
|
||||
public void CheckCounterInfo(CounterInfo* pCounterInfo)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device*, CounterInfo*, void>)(lpVtbl[31]))((ID3D11Device*)Unsafe.AsPointer(ref this), pCounterInfo);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device*, CounterInfo*, void>)(lpVtbl[31]))((ID3D11Device*)Unsafe.AsPointer(ref this), pCounterInfo);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CheckCounter"]/*' />
|
||||
@@ -311,7 +439,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(32)]
|
||||
public HResult CheckCounter(CounterDescription* pDesc, CounterType* pType, uint* pActiveCounters, byte* szName, uint* pNameLength, byte* szUnits, uint* pUnitsLength, byte* szDescription, uint* pDescriptionLength)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, CounterDescription*, CounterType*, uint*, byte*, uint*, byte*, uint*, byte*, uint*, int>)(lpVtbl[32]))((ID3D11Device*)Unsafe.AsPointer(ref this), pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, CounterDescription*, CounterType*, uint*, byte*, uint*, byte*, uint*, byte*, uint*, int>)(lpVtbl[32]))((ID3D11Device*)Unsafe.AsPointer(ref this), pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::CheckFeatureSupport"]/*' />
|
||||
@@ -319,7 +451,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(33)]
|
||||
public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, int FeatureSupportDataSize)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, Feature, void*, int, int>)(lpVtbl[33]))((ID3D11Device*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, Feature, void*, int, int>)(lpVtbl[33]))((ID3D11Device*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::GetPrivateData"]/*' />
|
||||
@@ -327,7 +463,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(34)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, Guid*, uint*, void*, int>)(lpVtbl[34]))((ID3D11Device*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, Guid*, uint*, void*, int>)(lpVtbl[34]))((ID3D11Device*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::SetPrivateData"]/*' />
|
||||
@@ -335,7 +475,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(35)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, Guid*, uint, void*, int>)(lpVtbl[35]))((ID3D11Device*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, Guid*, uint, void*, int>)(lpVtbl[35]))((ID3D11Device*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::SetPrivateDataInterface"]/*' />
|
||||
@@ -343,7 +487,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(36)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, Guid*, IUnknown*, int>)(lpVtbl[36]))((ID3D11Device*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, Guid*, IUnknown*, int>)(lpVtbl[36]))((ID3D11Device*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::GetFeatureLevel"]/*' />
|
||||
@@ -351,7 +499,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(37)]
|
||||
public Graphics.Direct3D.FeatureLevel GetFeatureLevel()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, Graphics.Direct3D.FeatureLevel>)(lpVtbl[37]))((ID3D11Device*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, Graphics.Direct3D.FeatureLevel>)(lpVtbl[37]))((ID3D11Device*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::GetCreationFlags"]/*' />
|
||||
@@ -359,7 +511,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(38)]
|
||||
public uint GetCreationFlags()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, uint>)(lpVtbl[38]))((ID3D11Device*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, uint>)(lpVtbl[38]))((ID3D11Device*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::GetDeviceRemovedReason"]/*' />
|
||||
@@ -367,7 +523,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(39)]
|
||||
public HResult GetDeviceRemovedReason()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, int>)(lpVtbl[39]))((ID3D11Device*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, int>)(lpVtbl[39]))((ID3D11Device*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::GetImmediateContext"]/*' />
|
||||
@@ -375,7 +535,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(40)]
|
||||
public void GetImmediateContext(ID3D11DeviceContext** ppImmediateContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device*, ID3D11DeviceContext**, void>)(lpVtbl[40]))((ID3D11Device*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device*, ID3D11DeviceContext**, void>)(lpVtbl[40]))((ID3D11Device*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::SetExceptionMode"]/*' />
|
||||
@@ -383,7 +547,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(41)]
|
||||
public HResult SetExceptionMode(uint RaiseFlags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, uint, int>)(lpVtbl[41]))((ID3D11Device*)Unsafe.AsPointer(ref this), RaiseFlags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, uint, int>)(lpVtbl[41]))((ID3D11Device*)Unsafe.AsPointer(ref this), RaiseFlags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device::GetExceptionMode"]/*' />
|
||||
@@ -391,7 +559,11 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
|
||||
[VtblIndex(42)]
|
||||
public uint GetExceptionMode()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device*, uint>)(lpVtbl[42]))((ID3D11Device*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device*, uint>)(lpVtbl[42]))((ID3D11Device*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Device1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Device1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, uint>)(lpVtbl[1]))((ID3D11Device1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, uint>)(lpVtbl[1]))((ID3D11Device1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, uint>)(lpVtbl[2]))((ID3D11Device1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, uint>)(lpVtbl[2]))((ID3D11Device1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateBuffer" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(3)]
|
||||
public HResult CreateBuffer(BufferDescription* pDesc, SubresourceData* pInitialData, ID3D11Buffer** ppBuffer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, BufferDescription*, SubresourceData*, ID3D11Buffer**, int>)(lpVtbl[3]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppBuffer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, BufferDescription*, SubresourceData*, ID3D11Buffer**, int>)(lpVtbl[3]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppBuffer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateTexture1D" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(4)]
|
||||
public HResult CreateTexture1D(Texture1DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture1D** ppTexture1D)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, Texture1DDescription*, SubresourceData*, ID3D11Texture1D**, int>)(lpVtbl[4]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture1D);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, Texture1DDescription*, SubresourceData*, ID3D11Texture1D**, int>)(lpVtbl[4]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture1D);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateTexture2D" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(5)]
|
||||
public HResult CreateTexture2D(Texture2DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture2D** ppTexture2D)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, Texture2DDescription*, SubresourceData*, ID3D11Texture2D**, int>)(lpVtbl[5]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture2D);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, Texture2DDescription*, SubresourceData*, ID3D11Texture2D**, int>)(lpVtbl[5]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture2D);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateTexture3D" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(6)]
|
||||
public HResult CreateTexture3D(Texture3DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture3D** ppTexture3D)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, Texture3DDescription*, SubresourceData*, ID3D11Texture3D**, int>)(lpVtbl[6]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture3D);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, Texture3DDescription*, SubresourceData*, ID3D11Texture3D**, int>)(lpVtbl[6]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture3D);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateShaderResourceView" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(7)]
|
||||
public HResult CreateShaderResourceView(ID3D11Resource* pResource, ShaderResourceViewDescription* pDesc, ID3D11ShaderResourceView** ppSRView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, ID3D11Resource*, ShaderResourceViewDescription*, ID3D11ShaderResourceView**, int>)(lpVtbl[7]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pResource, pDesc, ppSRView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, ID3D11Resource*, ShaderResourceViewDescription*, ID3D11ShaderResourceView**, int>)(lpVtbl[7]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pResource, pDesc, ppSRView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateUnorderedAccessView" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(8)]
|
||||
public HResult CreateUnorderedAccessView(ID3D11Resource* pResource, UnorderedAccessViewDescription* pDesc, ID3D11UnorderedAccessView** ppUAView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, ID3D11Resource*, UnorderedAccessViewDescription*, ID3D11UnorderedAccessView**, int>)(lpVtbl[8]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pResource, pDesc, ppUAView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, ID3D11Resource*, UnorderedAccessViewDescription*, ID3D11UnorderedAccessView**, int>)(lpVtbl[8]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pResource, pDesc, ppUAView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateRenderTargetView" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(9)]
|
||||
public HResult CreateRenderTargetView(ID3D11Resource* pResource, RenderTargetViewDescription* pDesc, ID3D11RenderTargetView** ppRTView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, ID3D11Resource*, RenderTargetViewDescription*, ID3D11RenderTargetView**, int>)(lpVtbl[9]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pResource, pDesc, ppRTView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, ID3D11Resource*, RenderTargetViewDescription*, ID3D11RenderTargetView**, int>)(lpVtbl[9]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pResource, pDesc, ppRTView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateDepthStencilView" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(10)]
|
||||
public HResult CreateDepthStencilView(ID3D11Resource* pResource, DepthStencilViewDescription* pDesc, ID3D11DepthStencilView** ppDepthStencilView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, ID3D11Resource*, DepthStencilViewDescription*, ID3D11DepthStencilView**, int>)(lpVtbl[10]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pResource, pDesc, ppDepthStencilView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, ID3D11Resource*, DepthStencilViewDescription*, ID3D11DepthStencilView**, int>)(lpVtbl[10]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pResource, pDesc, ppDepthStencilView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateInputLayout" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(11)]
|
||||
public HResult CreateInputLayout(InputElementDescription* pInputElementDescs, uint NumElements, void* pShaderBytecodeWithInputSignature, nuint BytecodeLength, ID3D11InputLayout** ppInputLayout)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, InputElementDescription*, uint, void*, nuint, ID3D11InputLayout**, int>)(lpVtbl[11]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pInputElementDescs, NumElements, pShaderBytecodeWithInputSignature, BytecodeLength, ppInputLayout);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, InputElementDescription*, uint, void*, nuint, ID3D11InputLayout**, int>)(lpVtbl[11]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pInputElementDescs, NumElements, pShaderBytecodeWithInputSignature, BytecodeLength, ppInputLayout);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateVertexShader" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(12)]
|
||||
public HResult CreateVertexShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11VertexShader** ppVertexShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, void*, nuint, ID3D11ClassLinkage*, ID3D11VertexShader**, int>)(lpVtbl[12]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppVertexShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, void*, nuint, ID3D11ClassLinkage*, ID3D11VertexShader**, int>)(lpVtbl[12]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppVertexShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateGeometryShader" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(13)]
|
||||
public HResult CreateGeometryShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, void*, nuint, ID3D11ClassLinkage*, ID3D11GeometryShader**, int>)(lpVtbl[13]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppGeometryShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, void*, nuint, ID3D11ClassLinkage*, ID3D11GeometryShader**, int>)(lpVtbl[13]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppGeometryShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateGeometryShaderWithStreamOutput" />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(14)]
|
||||
public HResult CreateGeometryShaderWithStreamOutput(void* pShaderBytecode, nuint BytecodeLength, SODeclarationEntry* pSODeclaration, uint NumEntries, uint* pBufferStrides, uint NumStrides, uint RasterizedStream, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, void*, nuint, SODeclarationEntry*, uint, uint*, uint, uint, ID3D11ClassLinkage*, ID3D11GeometryShader**, int>)(lpVtbl[14]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, void*, nuint, SODeclarationEntry*, uint, uint*, uint, uint, ID3D11ClassLinkage*, ID3D11GeometryShader**, int>)(lpVtbl[14]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreatePixelShader" />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(15)]
|
||||
public HResult CreatePixelShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11PixelShader** ppPixelShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, void*, nuint, ID3D11ClassLinkage*, ID3D11PixelShader**, int>)(lpVtbl[15]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppPixelShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, void*, nuint, ID3D11ClassLinkage*, ID3D11PixelShader**, int>)(lpVtbl[15]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppPixelShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateHullShader" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(16)]
|
||||
public HResult CreateHullShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11HullShader** ppHullShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, void*, nuint, ID3D11ClassLinkage*, ID3D11HullShader**, int>)(lpVtbl[16]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppHullShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, void*, nuint, ID3D11ClassLinkage*, ID3D11HullShader**, int>)(lpVtbl[16]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppHullShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateDomainShader" />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(17)]
|
||||
public HResult CreateDomainShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11DomainShader** ppDomainShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, void*, nuint, ID3D11ClassLinkage*, ID3D11DomainShader**, int>)(lpVtbl[17]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppDomainShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, void*, nuint, ID3D11ClassLinkage*, ID3D11DomainShader**, int>)(lpVtbl[17]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppDomainShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateComputeShader" />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(18)]
|
||||
public HResult CreateComputeShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11ComputeShader** ppComputeShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, void*, nuint, ID3D11ClassLinkage*, ID3D11ComputeShader**, int>)(lpVtbl[18]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppComputeShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, void*, nuint, ID3D11ClassLinkage*, ID3D11ComputeShader**, int>)(lpVtbl[18]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppComputeShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateClassLinkage" />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(19)]
|
||||
public HResult CreateClassLinkage(ID3D11ClassLinkage** ppLinkage)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, ID3D11ClassLinkage**, int>)(lpVtbl[19]))((ID3D11Device1*)Unsafe.AsPointer(ref this), ppLinkage);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, ID3D11ClassLinkage**, int>)(lpVtbl[19]))((ID3D11Device1*)Unsafe.AsPointer(ref this), ppLinkage);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateBlendState" />
|
||||
@@ -215,7 +295,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(20)]
|
||||
public HResult CreateBlendState(BlendDescription* pBlendStateDesc, ID3D11BlendState** ppBlendState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, BlendDescription*, ID3D11BlendState**, int>)(lpVtbl[20]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, BlendDescription*, ID3D11BlendState**, int>)(lpVtbl[20]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateDepthStencilState" />
|
||||
@@ -223,7 +307,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(21)]
|
||||
public HResult CreateDepthStencilState(DepthStencilDescription* pDepthStencilDesc, ID3D11DepthStencilState** ppDepthStencilState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, DepthStencilDescription*, ID3D11DepthStencilState**, int>)(lpVtbl[21]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pDepthStencilDesc, ppDepthStencilState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, DepthStencilDescription*, ID3D11DepthStencilState**, int>)(lpVtbl[21]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pDepthStencilDesc, ppDepthStencilState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateRasterizerState" />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(22)]
|
||||
public HResult CreateRasterizerState(RasterizerDescription* pRasterizerDesc, ID3D11RasterizerState** ppRasterizerState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, RasterizerDescription*, ID3D11RasterizerState**, int>)(lpVtbl[22]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, RasterizerDescription*, ID3D11RasterizerState**, int>)(lpVtbl[22]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateSamplerState" />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(23)]
|
||||
public HResult CreateSamplerState(SamplerDescription* pSamplerDesc, ID3D11SamplerState** ppSamplerState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, SamplerDescription*, ID3D11SamplerState**, int>)(lpVtbl[23]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pSamplerDesc, ppSamplerState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, SamplerDescription*, ID3D11SamplerState**, int>)(lpVtbl[23]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pSamplerDesc, ppSamplerState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateQuery" />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(24)]
|
||||
public HResult CreateQuery(QueryDescription* pQueryDesc, ID3D11Query** ppQuery)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, QueryDescription*, ID3D11Query**, int>)(lpVtbl[24]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pQueryDesc, ppQuery);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, QueryDescription*, ID3D11Query**, int>)(lpVtbl[24]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pQueryDesc, ppQuery);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreatePredicate" />
|
||||
@@ -255,7 +355,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(25)]
|
||||
public HResult CreatePredicate(QueryDescription* pPredicateDesc, ID3D11Predicate** ppPredicate)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, QueryDescription*, ID3D11Predicate**, int>)(lpVtbl[25]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pPredicateDesc, ppPredicate);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, QueryDescription*, ID3D11Predicate**, int>)(lpVtbl[25]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pPredicateDesc, ppPredicate);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateCounter" />
|
||||
@@ -263,7 +367,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(26)]
|
||||
public HResult CreateCounter(CounterDescription* pCounterDesc, ID3D11Counter** ppCounter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, CounterDescription*, ID3D11Counter**, int>)(lpVtbl[26]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pCounterDesc, ppCounter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, CounterDescription*, ID3D11Counter**, int>)(lpVtbl[26]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pCounterDesc, ppCounter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateDeferredContext" />
|
||||
@@ -271,7 +379,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(27)]
|
||||
public HResult CreateDeferredContext(uint ContextFlags, ID3D11DeviceContext** ppDeferredContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, uint, ID3D11DeviceContext**, int>)(lpVtbl[27]))((ID3D11Device1*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, uint, ID3D11DeviceContext**, int>)(lpVtbl[27]))((ID3D11Device1*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.OpenSharedResource" />
|
||||
@@ -279,7 +391,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(28)]
|
||||
public HResult OpenSharedResource(Handle hResource, Guid* ReturnedInterface, void** ppResource)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, Handle, Guid*, void**, int>)(lpVtbl[28]))((ID3D11Device1*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, Handle, Guid*, void**, int>)(lpVtbl[28]))((ID3D11Device1*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CheckFormatSupport" />
|
||||
@@ -287,7 +403,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(29)]
|
||||
public HResult CheckFormatSupport(Graphics.Dxgi.Common.Format Format, uint* pFormatSupport)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, Graphics.Dxgi.Common.Format, uint*, int>)(lpVtbl[29]))((ID3D11Device1*)Unsafe.AsPointer(ref this), Format, pFormatSupport);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, Graphics.Dxgi.Common.Format, uint*, int>)(lpVtbl[29]))((ID3D11Device1*)Unsafe.AsPointer(ref this), Format, pFormatSupport);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CheckMultisampleQualityLevels" />
|
||||
@@ -295,7 +415,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(30)]
|
||||
public HResult CheckMultisampleQualityLevels(Graphics.Dxgi.Common.Format Format, uint SampleCount, uint* pNumQualityLevels)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, Graphics.Dxgi.Common.Format, uint, uint*, int>)(lpVtbl[30]))((ID3D11Device1*)Unsafe.AsPointer(ref this), Format, SampleCount, pNumQualityLevels);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, Graphics.Dxgi.Common.Format, uint, uint*, int>)(lpVtbl[30]))((ID3D11Device1*)Unsafe.AsPointer(ref this), Format, SampleCount, pNumQualityLevels);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CheckCounterInfo" />
|
||||
@@ -303,7 +427,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(31)]
|
||||
public void CheckCounterInfo(CounterInfo* pCounterInfo)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device1*, CounterInfo*, void>)(lpVtbl[31]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pCounterInfo);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device1*, CounterInfo*, void>)(lpVtbl[31]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pCounterInfo);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CheckCounter" />
|
||||
@@ -311,7 +439,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(32)]
|
||||
public HResult CheckCounter(CounterDescription* pDesc, CounterType* pType, uint* pActiveCounters, byte* szName, uint* pNameLength, byte* szUnits, uint* pUnitsLength, byte* szDescription, uint* pDescriptionLength)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, CounterDescription*, CounterType*, uint*, byte*, uint*, byte*, uint*, byte*, uint*, int>)(lpVtbl[32]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, CounterDescription*, CounterType*, uint*, byte*, uint*, byte*, uint*, byte*, uint*, int>)(lpVtbl[32]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CheckFeatureSupport" />
|
||||
@@ -319,7 +451,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(33)]
|
||||
public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, int FeatureSupportDataSize)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, Feature, void*, int, int>)(lpVtbl[33]))((ID3D11Device1*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, Feature, void*, int, int>)(lpVtbl[33]))((ID3D11Device1*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetPrivateData" />
|
||||
@@ -327,7 +463,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(34)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, Guid*, uint*, void*, int>)(lpVtbl[34]))((ID3D11Device1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, Guid*, uint*, void*, int>)(lpVtbl[34]))((ID3D11Device1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.SetPrivateData" />
|
||||
@@ -335,7 +475,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(35)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, Guid*, uint, void*, int>)(lpVtbl[35]))((ID3D11Device1*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, Guid*, uint, void*, int>)(lpVtbl[35]))((ID3D11Device1*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.SetPrivateDataInterface" />
|
||||
@@ -343,7 +487,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(36)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, Guid*, IUnknown*, int>)(lpVtbl[36]))((ID3D11Device1*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, Guid*, IUnknown*, int>)(lpVtbl[36]))((ID3D11Device1*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetFeatureLevel" />
|
||||
@@ -351,7 +499,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(37)]
|
||||
public Graphics.Direct3D.FeatureLevel GetFeatureLevel()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, Graphics.Direct3D.FeatureLevel>)(lpVtbl[37]))((ID3D11Device1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, Graphics.Direct3D.FeatureLevel>)(lpVtbl[37]))((ID3D11Device1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetCreationFlags" />
|
||||
@@ -359,7 +511,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(38)]
|
||||
public uint GetCreationFlags()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, uint>)(lpVtbl[38]))((ID3D11Device1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, uint>)(lpVtbl[38]))((ID3D11Device1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetDeviceRemovedReason" />
|
||||
@@ -367,7 +523,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(39)]
|
||||
public HResult GetDeviceRemovedReason()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, int>)(lpVtbl[39]))((ID3D11Device1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, int>)(lpVtbl[39]))((ID3D11Device1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetImmediateContext" />
|
||||
@@ -375,7 +535,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(40)]
|
||||
public void GetImmediateContext(ID3D11DeviceContext** ppImmediateContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device1*, ID3D11DeviceContext**, void>)(lpVtbl[40]))((ID3D11Device1*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device1*, ID3D11DeviceContext**, void>)(lpVtbl[40]))((ID3D11Device1*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.SetExceptionMode" />
|
||||
@@ -383,7 +547,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(41)]
|
||||
public HResult SetExceptionMode(uint RaiseFlags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, uint, int>)(lpVtbl[41]))((ID3D11Device1*)Unsafe.AsPointer(ref this), RaiseFlags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, uint, int>)(lpVtbl[41]))((ID3D11Device1*)Unsafe.AsPointer(ref this), RaiseFlags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetExceptionMode" />
|
||||
@@ -391,7 +559,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(42)]
|
||||
public uint GetExceptionMode()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, uint>)(lpVtbl[42]))((ID3D11Device1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, uint>)(lpVtbl[42]))((ID3D11Device1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device1::GetImmediateContext1"]/*' />
|
||||
@@ -399,7 +571,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(43)]
|
||||
public void GetImmediateContext1(ID3D11DeviceContext1** ppImmediateContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device1*, ID3D11DeviceContext1**, void>)(lpVtbl[43]))((ID3D11Device1*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device1*, ID3D11DeviceContext1**, void>)(lpVtbl[43]))((ID3D11Device1*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device1::CreateDeferredContext1"]/*' />
|
||||
@@ -407,7 +583,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(44)]
|
||||
public HResult CreateDeferredContext1(uint ContextFlags, ID3D11DeviceContext1** ppDeferredContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, uint, ID3D11DeviceContext1**, int>)(lpVtbl[44]))((ID3D11Device1*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, uint, ID3D11DeviceContext1**, int>)(lpVtbl[44]))((ID3D11Device1*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device1::CreateBlendState1"]/*' />
|
||||
@@ -415,7 +595,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(45)]
|
||||
public HResult CreateBlendState1(BlendDescription1* pBlendStateDesc, ID3D11BlendState1** ppBlendState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, BlendDescription1*, ID3D11BlendState1**, int>)(lpVtbl[45]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, BlendDescription1*, ID3D11BlendState1**, int>)(lpVtbl[45]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device1::CreateRasterizerState1"]/*' />
|
||||
@@ -423,7 +607,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(46)]
|
||||
public HResult CreateRasterizerState1(RasterizerDescription1* pRasterizerDesc, ID3D11RasterizerState1** ppRasterizerState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, RasterizerDescription1*, ID3D11RasterizerState1**, int>)(lpVtbl[46]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, RasterizerDescription1*, ID3D11RasterizerState1**, int>)(lpVtbl[46]))((ID3D11Device1*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device1::CreateDeviceContextState"]/*' />
|
||||
@@ -431,7 +619,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(47)]
|
||||
public HResult CreateDeviceContextState(uint Flags, Graphics.Direct3D.FeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Guid* EmulatedInterface, Graphics.Direct3D.FeatureLevel* pChosenFeatureLevel, ID3DDeviceContextState** ppContextState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, uint, Graphics.Direct3D.FeatureLevel*, uint, uint, Guid*, Graphics.Direct3D.FeatureLevel*, ID3DDeviceContextState**, int>)(lpVtbl[47]))((ID3D11Device1*)Unsafe.AsPointer(ref this), Flags, pFeatureLevels, FeatureLevels, SDKVersion, EmulatedInterface, pChosenFeatureLevel, ppContextState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, uint, Graphics.Direct3D.FeatureLevel*, uint, uint, Guid*, Graphics.Direct3D.FeatureLevel*, ID3DDeviceContextState**, int>)(lpVtbl[47]))((ID3D11Device1*)Unsafe.AsPointer(ref this), Flags, pFeatureLevels, FeatureLevels, SDKVersion, EmulatedInterface, pChosenFeatureLevel, ppContextState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device1::OpenSharedResource1"]/*' />
|
||||
@@ -439,7 +631,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(48)]
|
||||
public HResult OpenSharedResource1(Handle hResource, Guid* returnedInterface, void** ppResource)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, Handle, Guid*, void**, int>)(lpVtbl[48]))((ID3D11Device1*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, Handle, Guid*, void**, int>)(lpVtbl[48]))((ID3D11Device1*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device1::OpenSharedResourceByName"]/*' />
|
||||
@@ -447,7 +643,11 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGui
|
||||
[VtblIndex(49)]
|
||||
public HResult OpenSharedResourceByName(ushort* lpName, uint dwDesiredAccess, Guid* returnedInterface, void** ppResource)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device1*, ushort*, uint, Guid*, void**, int>)(lpVtbl[49]))((ID3D11Device1*)Unsafe.AsPointer(ref this), lpName, dwDesiredAccess, returnedInterface, ppResource);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device1*, ushort*, uint, Guid*, void**, int>)(lpVtbl[49]))((ID3D11Device1*)Unsafe.AsPointer(ref this), lpName, dwDesiredAccess, returnedInterface, ppResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11Device.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Device2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Device2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, uint>)(lpVtbl[1]))((ID3D11Device2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, uint>)(lpVtbl[1]))((ID3D11Device2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, uint>)(lpVtbl[2]))((ID3D11Device2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, uint>)(lpVtbl[2]))((ID3D11Device2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateBuffer" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(3)]
|
||||
public HResult CreateBuffer(BufferDescription* pDesc, SubresourceData* pInitialData, ID3D11Buffer** ppBuffer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, BufferDescription*, SubresourceData*, ID3D11Buffer**, int>)(lpVtbl[3]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppBuffer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, BufferDescription*, SubresourceData*, ID3D11Buffer**, int>)(lpVtbl[3]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppBuffer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateTexture1D" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(4)]
|
||||
public HResult CreateTexture1D(Texture1DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture1D** ppTexture1D)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, Texture1DDescription*, SubresourceData*, ID3D11Texture1D**, int>)(lpVtbl[4]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture1D);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, Texture1DDescription*, SubresourceData*, ID3D11Texture1D**, int>)(lpVtbl[4]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture1D);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateTexture2D" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(5)]
|
||||
public HResult CreateTexture2D(Texture2DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture2D** ppTexture2D)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, Texture2DDescription*, SubresourceData*, ID3D11Texture2D**, int>)(lpVtbl[5]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture2D);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, Texture2DDescription*, SubresourceData*, ID3D11Texture2D**, int>)(lpVtbl[5]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture2D);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateTexture3D" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(6)]
|
||||
public HResult CreateTexture3D(Texture3DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture3D** ppTexture3D)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, Texture3DDescription*, SubresourceData*, ID3D11Texture3D**, int>)(lpVtbl[6]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture3D);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, Texture3DDescription*, SubresourceData*, ID3D11Texture3D**, int>)(lpVtbl[6]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture3D);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateShaderResourceView" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(7)]
|
||||
public HResult CreateShaderResourceView(ID3D11Resource* pResource, ShaderResourceViewDescription* pDesc, ID3D11ShaderResourceView** ppSRView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, ID3D11Resource*, ShaderResourceViewDescription*, ID3D11ShaderResourceView**, int>)(lpVtbl[7]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pResource, pDesc, ppSRView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, ID3D11Resource*, ShaderResourceViewDescription*, ID3D11ShaderResourceView**, int>)(lpVtbl[7]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pResource, pDesc, ppSRView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateUnorderedAccessView" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(8)]
|
||||
public HResult CreateUnorderedAccessView(ID3D11Resource* pResource, UnorderedAccessViewDescription* pDesc, ID3D11UnorderedAccessView** ppUAView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, ID3D11Resource*, UnorderedAccessViewDescription*, ID3D11UnorderedAccessView**, int>)(lpVtbl[8]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pResource, pDesc, ppUAView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, ID3D11Resource*, UnorderedAccessViewDescription*, ID3D11UnorderedAccessView**, int>)(lpVtbl[8]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pResource, pDesc, ppUAView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateRenderTargetView" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(9)]
|
||||
public HResult CreateRenderTargetView(ID3D11Resource* pResource, RenderTargetViewDescription* pDesc, ID3D11RenderTargetView** ppRTView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, ID3D11Resource*, RenderTargetViewDescription*, ID3D11RenderTargetView**, int>)(lpVtbl[9]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pResource, pDesc, ppRTView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, ID3D11Resource*, RenderTargetViewDescription*, ID3D11RenderTargetView**, int>)(lpVtbl[9]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pResource, pDesc, ppRTView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateDepthStencilView" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(10)]
|
||||
public HResult CreateDepthStencilView(ID3D11Resource* pResource, DepthStencilViewDescription* pDesc, ID3D11DepthStencilView** ppDepthStencilView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, ID3D11Resource*, DepthStencilViewDescription*, ID3D11DepthStencilView**, int>)(lpVtbl[10]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pResource, pDesc, ppDepthStencilView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, ID3D11Resource*, DepthStencilViewDescription*, ID3D11DepthStencilView**, int>)(lpVtbl[10]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pResource, pDesc, ppDepthStencilView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateInputLayout" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(11)]
|
||||
public HResult CreateInputLayout(InputElementDescription* pInputElementDescs, uint NumElements, void* pShaderBytecodeWithInputSignature, nuint BytecodeLength, ID3D11InputLayout** ppInputLayout)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, InputElementDescription*, uint, void*, nuint, ID3D11InputLayout**, int>)(lpVtbl[11]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pInputElementDescs, NumElements, pShaderBytecodeWithInputSignature, BytecodeLength, ppInputLayout);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, InputElementDescription*, uint, void*, nuint, ID3D11InputLayout**, int>)(lpVtbl[11]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pInputElementDescs, NumElements, pShaderBytecodeWithInputSignature, BytecodeLength, ppInputLayout);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateVertexShader" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(12)]
|
||||
public HResult CreateVertexShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11VertexShader** ppVertexShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, void*, nuint, ID3D11ClassLinkage*, ID3D11VertexShader**, int>)(lpVtbl[12]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppVertexShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, void*, nuint, ID3D11ClassLinkage*, ID3D11VertexShader**, int>)(lpVtbl[12]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppVertexShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateGeometryShader" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(13)]
|
||||
public HResult CreateGeometryShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, void*, nuint, ID3D11ClassLinkage*, ID3D11GeometryShader**, int>)(lpVtbl[13]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppGeometryShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, void*, nuint, ID3D11ClassLinkage*, ID3D11GeometryShader**, int>)(lpVtbl[13]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppGeometryShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateGeometryShaderWithStreamOutput" />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(14)]
|
||||
public HResult CreateGeometryShaderWithStreamOutput(void* pShaderBytecode, nuint BytecodeLength, SODeclarationEntry* pSODeclaration, uint NumEntries, uint* pBufferStrides, uint NumStrides, uint RasterizedStream, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, void*, nuint, SODeclarationEntry*, uint, uint*, uint, uint, ID3D11ClassLinkage*, ID3D11GeometryShader**, int>)(lpVtbl[14]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, void*, nuint, SODeclarationEntry*, uint, uint*, uint, uint, ID3D11ClassLinkage*, ID3D11GeometryShader**, int>)(lpVtbl[14]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreatePixelShader" />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(15)]
|
||||
public HResult CreatePixelShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11PixelShader** ppPixelShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, void*, nuint, ID3D11ClassLinkage*, ID3D11PixelShader**, int>)(lpVtbl[15]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppPixelShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, void*, nuint, ID3D11ClassLinkage*, ID3D11PixelShader**, int>)(lpVtbl[15]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppPixelShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateHullShader" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(16)]
|
||||
public HResult CreateHullShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11HullShader** ppHullShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, void*, nuint, ID3D11ClassLinkage*, ID3D11HullShader**, int>)(lpVtbl[16]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppHullShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, void*, nuint, ID3D11ClassLinkage*, ID3D11HullShader**, int>)(lpVtbl[16]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppHullShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateDomainShader" />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(17)]
|
||||
public HResult CreateDomainShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11DomainShader** ppDomainShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, void*, nuint, ID3D11ClassLinkage*, ID3D11DomainShader**, int>)(lpVtbl[17]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppDomainShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, void*, nuint, ID3D11ClassLinkage*, ID3D11DomainShader**, int>)(lpVtbl[17]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppDomainShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateComputeShader" />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(18)]
|
||||
public HResult CreateComputeShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11ComputeShader** ppComputeShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, void*, nuint, ID3D11ClassLinkage*, ID3D11ComputeShader**, int>)(lpVtbl[18]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppComputeShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, void*, nuint, ID3D11ClassLinkage*, ID3D11ComputeShader**, int>)(lpVtbl[18]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppComputeShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateClassLinkage" />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(19)]
|
||||
public HResult CreateClassLinkage(ID3D11ClassLinkage** ppLinkage)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, ID3D11ClassLinkage**, int>)(lpVtbl[19]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ppLinkage);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, ID3D11ClassLinkage**, int>)(lpVtbl[19]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ppLinkage);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateBlendState" />
|
||||
@@ -215,7 +295,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(20)]
|
||||
public HResult CreateBlendState(BlendDescription* pBlendStateDesc, ID3D11BlendState** ppBlendState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, BlendDescription*, ID3D11BlendState**, int>)(lpVtbl[20]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, BlendDescription*, ID3D11BlendState**, int>)(lpVtbl[20]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateDepthStencilState" />
|
||||
@@ -223,7 +307,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(21)]
|
||||
public HResult CreateDepthStencilState(DepthStencilDescription* pDepthStencilDesc, ID3D11DepthStencilState** ppDepthStencilState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, DepthStencilDescription*, ID3D11DepthStencilState**, int>)(lpVtbl[21]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pDepthStencilDesc, ppDepthStencilState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, DepthStencilDescription*, ID3D11DepthStencilState**, int>)(lpVtbl[21]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pDepthStencilDesc, ppDepthStencilState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateRasterizerState" />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(22)]
|
||||
public HResult CreateRasterizerState(RasterizerDescription* pRasterizerDesc, ID3D11RasterizerState** ppRasterizerState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, RasterizerDescription*, ID3D11RasterizerState**, int>)(lpVtbl[22]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, RasterizerDescription*, ID3D11RasterizerState**, int>)(lpVtbl[22]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateSamplerState" />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(23)]
|
||||
public HResult CreateSamplerState(SamplerDescription* pSamplerDesc, ID3D11SamplerState** ppSamplerState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, SamplerDescription*, ID3D11SamplerState**, int>)(lpVtbl[23]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pSamplerDesc, ppSamplerState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, SamplerDescription*, ID3D11SamplerState**, int>)(lpVtbl[23]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pSamplerDesc, ppSamplerState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateQuery" />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(24)]
|
||||
public HResult CreateQuery(QueryDescription* pQueryDesc, ID3D11Query** ppQuery)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, QueryDescription*, ID3D11Query**, int>)(lpVtbl[24]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pQueryDesc, ppQuery);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, QueryDescription*, ID3D11Query**, int>)(lpVtbl[24]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pQueryDesc, ppQuery);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreatePredicate" />
|
||||
@@ -255,7 +355,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(25)]
|
||||
public HResult CreatePredicate(QueryDescription* pPredicateDesc, ID3D11Predicate** ppPredicate)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, QueryDescription*, ID3D11Predicate**, int>)(lpVtbl[25]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pPredicateDesc, ppPredicate);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, QueryDescription*, ID3D11Predicate**, int>)(lpVtbl[25]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pPredicateDesc, ppPredicate);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateCounter" />
|
||||
@@ -263,7 +367,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(26)]
|
||||
public HResult CreateCounter(CounterDescription* pCounterDesc, ID3D11Counter** ppCounter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, CounterDescription*, ID3D11Counter**, int>)(lpVtbl[26]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pCounterDesc, ppCounter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, CounterDescription*, ID3D11Counter**, int>)(lpVtbl[26]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pCounterDesc, ppCounter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateDeferredContext" />
|
||||
@@ -271,7 +379,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(27)]
|
||||
public HResult CreateDeferredContext(uint ContextFlags, ID3D11DeviceContext** ppDeferredContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, uint, ID3D11DeviceContext**, int>)(lpVtbl[27]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, uint, ID3D11DeviceContext**, int>)(lpVtbl[27]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.OpenSharedResource" />
|
||||
@@ -279,7 +391,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(28)]
|
||||
public HResult OpenSharedResource(Handle hResource, Guid* ReturnedInterface, void** ppResource)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, Handle, Guid*, void**, int>)(lpVtbl[28]))((ID3D11Device2*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, Handle, Guid*, void**, int>)(lpVtbl[28]))((ID3D11Device2*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CheckFormatSupport" />
|
||||
@@ -287,7 +403,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(29)]
|
||||
public HResult CheckFormatSupport(Graphics.Dxgi.Common.Format Format, uint* pFormatSupport)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, Graphics.Dxgi.Common.Format, uint*, int>)(lpVtbl[29]))((ID3D11Device2*)Unsafe.AsPointer(ref this), Format, pFormatSupport);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, Graphics.Dxgi.Common.Format, uint*, int>)(lpVtbl[29]))((ID3D11Device2*)Unsafe.AsPointer(ref this), Format, pFormatSupport);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CheckMultisampleQualityLevels" />
|
||||
@@ -295,7 +415,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(30)]
|
||||
public HResult CheckMultisampleQualityLevels(Graphics.Dxgi.Common.Format Format, uint SampleCount, uint* pNumQualityLevels)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, Graphics.Dxgi.Common.Format, uint, uint*, int>)(lpVtbl[30]))((ID3D11Device2*)Unsafe.AsPointer(ref this), Format, SampleCount, pNumQualityLevels);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, Graphics.Dxgi.Common.Format, uint, uint*, int>)(lpVtbl[30]))((ID3D11Device2*)Unsafe.AsPointer(ref this), Format, SampleCount, pNumQualityLevels);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CheckCounterInfo" />
|
||||
@@ -303,7 +427,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(31)]
|
||||
public void CheckCounterInfo(CounterInfo* pCounterInfo)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device2*, CounterInfo*, void>)(lpVtbl[31]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pCounterInfo);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device2*, CounterInfo*, void>)(lpVtbl[31]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pCounterInfo);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CheckCounter" />
|
||||
@@ -311,7 +439,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(32)]
|
||||
public HResult CheckCounter(CounterDescription* pDesc, CounterType* pType, uint* pActiveCounters, byte* szName, uint* pNameLength, byte* szUnits, uint* pUnitsLength, byte* szDescription, uint* pDescriptionLength)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, CounterDescription*, CounterType*, uint*, byte*, uint*, byte*, uint*, byte*, uint*, int>)(lpVtbl[32]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, CounterDescription*, CounterType*, uint*, byte*, uint*, byte*, uint*, byte*, uint*, int>)(lpVtbl[32]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CheckFeatureSupport" />
|
||||
@@ -319,7 +451,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(33)]
|
||||
public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, int FeatureSupportDataSize)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, Feature, void*, int, int>)(lpVtbl[33]))((ID3D11Device2*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, Feature, void*, int, int>)(lpVtbl[33]))((ID3D11Device2*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetPrivateData" />
|
||||
@@ -327,7 +463,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(34)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, Guid*, uint*, void*, int>)(lpVtbl[34]))((ID3D11Device2*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, Guid*, uint*, void*, int>)(lpVtbl[34]))((ID3D11Device2*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.SetPrivateData" />
|
||||
@@ -335,7 +475,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(35)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, Guid*, uint, void*, int>)(lpVtbl[35]))((ID3D11Device2*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, Guid*, uint, void*, int>)(lpVtbl[35]))((ID3D11Device2*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.SetPrivateDataInterface" />
|
||||
@@ -343,7 +487,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(36)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, Guid*, IUnknown*, int>)(lpVtbl[36]))((ID3D11Device2*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, Guid*, IUnknown*, int>)(lpVtbl[36]))((ID3D11Device2*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetFeatureLevel" />
|
||||
@@ -351,7 +499,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(37)]
|
||||
public Graphics.Direct3D.FeatureLevel GetFeatureLevel()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, Graphics.Direct3D.FeatureLevel>)(lpVtbl[37]))((ID3D11Device2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, Graphics.Direct3D.FeatureLevel>)(lpVtbl[37]))((ID3D11Device2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetCreationFlags" />
|
||||
@@ -359,7 +511,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(38)]
|
||||
public uint GetCreationFlags()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, uint>)(lpVtbl[38]))((ID3D11Device2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, uint>)(lpVtbl[38]))((ID3D11Device2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetDeviceRemovedReason" />
|
||||
@@ -367,7 +523,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(39)]
|
||||
public HResult GetDeviceRemovedReason()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, int>)(lpVtbl[39]))((ID3D11Device2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, int>)(lpVtbl[39]))((ID3D11Device2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetImmediateContext" />
|
||||
@@ -375,7 +535,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(40)]
|
||||
public void GetImmediateContext(ID3D11DeviceContext** ppImmediateContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device2*, ID3D11DeviceContext**, void>)(lpVtbl[40]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device2*, ID3D11DeviceContext**, void>)(lpVtbl[40]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.SetExceptionMode" />
|
||||
@@ -383,7 +547,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(41)]
|
||||
public HResult SetExceptionMode(uint RaiseFlags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, uint, int>)(lpVtbl[41]))((ID3D11Device2*)Unsafe.AsPointer(ref this), RaiseFlags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, uint, int>)(lpVtbl[41]))((ID3D11Device2*)Unsafe.AsPointer(ref this), RaiseFlags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetExceptionMode" />
|
||||
@@ -391,7 +559,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(42)]
|
||||
public uint GetExceptionMode()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, uint>)(lpVtbl[42]))((ID3D11Device2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, uint>)(lpVtbl[42]))((ID3D11Device2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.GetImmediateContext1" />
|
||||
@@ -399,7 +571,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(43)]
|
||||
public void GetImmediateContext1(ID3D11DeviceContext1** ppImmediateContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device2*, ID3D11DeviceContext1**, void>)(lpVtbl[43]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device2*, ID3D11DeviceContext1**, void>)(lpVtbl[43]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.CreateDeferredContext1" />
|
||||
@@ -407,7 +583,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(44)]
|
||||
public HResult CreateDeferredContext1(uint ContextFlags, ID3D11DeviceContext1** ppDeferredContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, uint, ID3D11DeviceContext1**, int>)(lpVtbl[44]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, uint, ID3D11DeviceContext1**, int>)(lpVtbl[44]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.CreateBlendState1" />
|
||||
@@ -415,7 +595,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(45)]
|
||||
public HResult CreateBlendState1(BlendDescription1* pBlendStateDesc, ID3D11BlendState1** ppBlendState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, BlendDescription1*, ID3D11BlendState1**, int>)(lpVtbl[45]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, BlendDescription1*, ID3D11BlendState1**, int>)(lpVtbl[45]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.CreateRasterizerState1" />
|
||||
@@ -423,7 +607,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(46)]
|
||||
public HResult CreateRasterizerState1(RasterizerDescription1* pRasterizerDesc, ID3D11RasterizerState1** ppRasterizerState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, RasterizerDescription1*, ID3D11RasterizerState1**, int>)(lpVtbl[46]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, RasterizerDescription1*, ID3D11RasterizerState1**, int>)(lpVtbl[46]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.CreateDeviceContextState" />
|
||||
@@ -431,7 +619,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(47)]
|
||||
public HResult CreateDeviceContextState(uint Flags, Graphics.Direct3D.FeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Guid* EmulatedInterface, Graphics.Direct3D.FeatureLevel* pChosenFeatureLevel, ID3DDeviceContextState** ppContextState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, uint, Graphics.Direct3D.FeatureLevel*, uint, uint, Guid*, Graphics.Direct3D.FeatureLevel*, ID3DDeviceContextState**, int>)(lpVtbl[47]))((ID3D11Device2*)Unsafe.AsPointer(ref this), Flags, pFeatureLevels, FeatureLevels, SDKVersion, EmulatedInterface, pChosenFeatureLevel, ppContextState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, uint, Graphics.Direct3D.FeatureLevel*, uint, uint, Guid*, Graphics.Direct3D.FeatureLevel*, ID3DDeviceContextState**, int>)(lpVtbl[47]))((ID3D11Device2*)Unsafe.AsPointer(ref this), Flags, pFeatureLevels, FeatureLevels, SDKVersion, EmulatedInterface, pChosenFeatureLevel, ppContextState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.OpenSharedResource1" />
|
||||
@@ -439,7 +631,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(48)]
|
||||
public HResult OpenSharedResource1(Handle hResource, Guid* returnedInterface, void** ppResource)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, Handle, Guid*, void**, int>)(lpVtbl[48]))((ID3D11Device2*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, Handle, Guid*, void**, int>)(lpVtbl[48]))((ID3D11Device2*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.OpenSharedResourceByName" />
|
||||
@@ -447,7 +643,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(49)]
|
||||
public HResult OpenSharedResourceByName(ushort* lpName, uint dwDesiredAccess, Guid* returnedInterface, void** ppResource)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, ushort*, uint, Guid*, void**, int>)(lpVtbl[49]))((ID3D11Device2*)Unsafe.AsPointer(ref this), lpName, dwDesiredAccess, returnedInterface, ppResource);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, ushort*, uint, Guid*, void**, int>)(lpVtbl[49]))((ID3D11Device2*)Unsafe.AsPointer(ref this), lpName, dwDesiredAccess, returnedInterface, ppResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device2::GetImmediateContext2"]/*' />
|
||||
@@ -455,7 +655,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(50)]
|
||||
public void GetImmediateContext2(ID3D11DeviceContext2** ppImmediateContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device2*, ID3D11DeviceContext2**, void>)(lpVtbl[50]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device2*, ID3D11DeviceContext2**, void>)(lpVtbl[50]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device2::CreateDeferredContext2"]/*' />
|
||||
@@ -463,7 +667,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(51)]
|
||||
public HResult CreateDeferredContext2(uint ContextFlags, ID3D11DeviceContext2** ppDeferredContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, uint, ID3D11DeviceContext2**, int>)(lpVtbl[51]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, uint, ID3D11DeviceContext2**, int>)(lpVtbl[51]))((ID3D11Device2*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device2::GetResourceTiling"]/*' />
|
||||
@@ -471,7 +679,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(52)]
|
||||
public void GetResourceTiling(ID3D11Resource* pTiledResource, uint* pNumTilesForEntireResource, PackedMipDescription* pPackedMipDesc, TileShape* pStandardTileShapeForNonPackedMips, uint* pNumSubresourceTilings, uint FirstSubresourceTilingToGet, SubresourceTiling* pSubresourceTilingsForNonPackedMips)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device2*, ID3D11Resource*, uint*, PackedMipDescription*, TileShape*, uint*, uint, SubresourceTiling*, void>)(lpVtbl[52]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device2*, ID3D11Resource*, uint*, PackedMipDescription*, TileShape*, uint*, uint, SubresourceTiling*, void>)(lpVtbl[52]))((ID3D11Device2*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device2::CheckMultisampleQualityLevels1"]/*' />
|
||||
@@ -479,7 +691,11 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGui
|
||||
[VtblIndex(53)]
|
||||
public HResult CheckMultisampleQualityLevels1(Graphics.Dxgi.Common.Format Format, uint SampleCount, uint Flags, uint* pNumQualityLevels)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device2*, Graphics.Dxgi.Common.Format, uint, uint, uint*, int>)(lpVtbl[53]))((ID3D11Device2*)Unsafe.AsPointer(ref this), Format, SampleCount, Flags, pNumQualityLevels);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device2*, Graphics.Dxgi.Common.Format, uint, uint, uint*, int>)(lpVtbl[53]))((ID3D11Device2*)Unsafe.AsPointer(ref this), Format, SampleCount, Flags, pNumQualityLevels);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11Device1.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Device3*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Device3*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, uint>)(lpVtbl[1]))((ID3D11Device3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, uint>)(lpVtbl[1]))((ID3D11Device3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, uint>)(lpVtbl[2]))((ID3D11Device3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, uint>)(lpVtbl[2]))((ID3D11Device3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateBuffer" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(3)]
|
||||
public HResult CreateBuffer(BufferDescription* pDesc, SubresourceData* pInitialData, ID3D11Buffer** ppBuffer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, BufferDescription*, SubresourceData*, ID3D11Buffer**, int>)(lpVtbl[3]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppBuffer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, BufferDescription*, SubresourceData*, ID3D11Buffer**, int>)(lpVtbl[3]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppBuffer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateTexture1D" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(4)]
|
||||
public HResult CreateTexture1D(Texture1DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture1D** ppTexture1D)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, Texture1DDescription*, SubresourceData*, ID3D11Texture1D**, int>)(lpVtbl[4]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture1D);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, Texture1DDescription*, SubresourceData*, ID3D11Texture1D**, int>)(lpVtbl[4]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture1D);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateTexture2D" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(5)]
|
||||
public HResult CreateTexture2D(Texture2DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture2D** ppTexture2D)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, Texture2DDescription*, SubresourceData*, ID3D11Texture2D**, int>)(lpVtbl[5]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture2D);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, Texture2DDescription*, SubresourceData*, ID3D11Texture2D**, int>)(lpVtbl[5]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture2D);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateTexture3D" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(6)]
|
||||
public HResult CreateTexture3D(Texture3DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture3D** ppTexture3D)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, Texture3DDescription*, SubresourceData*, ID3D11Texture3D**, int>)(lpVtbl[6]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture3D);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, Texture3DDescription*, SubresourceData*, ID3D11Texture3D**, int>)(lpVtbl[6]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture3D);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateShaderResourceView" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(7)]
|
||||
public HResult CreateShaderResourceView(ID3D11Resource* pResource, ShaderResourceViewDescription* pDesc, ID3D11ShaderResourceView** ppSRView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, ID3D11Resource*, ShaderResourceViewDescription*, ID3D11ShaderResourceView**, int>)(lpVtbl[7]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc, ppSRView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, ID3D11Resource*, ShaderResourceViewDescription*, ID3D11ShaderResourceView**, int>)(lpVtbl[7]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc, ppSRView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateUnorderedAccessView" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(8)]
|
||||
public HResult CreateUnorderedAccessView(ID3D11Resource* pResource, UnorderedAccessViewDescription* pDesc, ID3D11UnorderedAccessView** ppUAView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, ID3D11Resource*, UnorderedAccessViewDescription*, ID3D11UnorderedAccessView**, int>)(lpVtbl[8]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc, ppUAView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, ID3D11Resource*, UnorderedAccessViewDescription*, ID3D11UnorderedAccessView**, int>)(lpVtbl[8]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc, ppUAView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateRenderTargetView" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(9)]
|
||||
public HResult CreateRenderTargetView(ID3D11Resource* pResource, RenderTargetViewDescription* pDesc, ID3D11RenderTargetView** ppRTView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, ID3D11Resource*, RenderTargetViewDescription*, ID3D11RenderTargetView**, int>)(lpVtbl[9]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc, ppRTView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, ID3D11Resource*, RenderTargetViewDescription*, ID3D11RenderTargetView**, int>)(lpVtbl[9]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc, ppRTView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateDepthStencilView" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(10)]
|
||||
public HResult CreateDepthStencilView(ID3D11Resource* pResource, DepthStencilViewDescription* pDesc, ID3D11DepthStencilView** ppDepthStencilView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, ID3D11Resource*, DepthStencilViewDescription*, ID3D11DepthStencilView**, int>)(lpVtbl[10]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc, ppDepthStencilView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, ID3D11Resource*, DepthStencilViewDescription*, ID3D11DepthStencilView**, int>)(lpVtbl[10]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc, ppDepthStencilView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateInputLayout" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(11)]
|
||||
public HResult CreateInputLayout(InputElementDescription* pInputElementDescs, uint NumElements, void* pShaderBytecodeWithInputSignature, nuint BytecodeLength, ID3D11InputLayout** ppInputLayout)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, InputElementDescription*, uint, void*, nuint, ID3D11InputLayout**, int>)(lpVtbl[11]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pInputElementDescs, NumElements, pShaderBytecodeWithInputSignature, BytecodeLength, ppInputLayout);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, InputElementDescription*, uint, void*, nuint, ID3D11InputLayout**, int>)(lpVtbl[11]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pInputElementDescs, NumElements, pShaderBytecodeWithInputSignature, BytecodeLength, ppInputLayout);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateVertexShader" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(12)]
|
||||
public HResult CreateVertexShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11VertexShader** ppVertexShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, void*, nuint, ID3D11ClassLinkage*, ID3D11VertexShader**, int>)(lpVtbl[12]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppVertexShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, void*, nuint, ID3D11ClassLinkage*, ID3D11VertexShader**, int>)(lpVtbl[12]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppVertexShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateGeometryShader" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(13)]
|
||||
public HResult CreateGeometryShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, void*, nuint, ID3D11ClassLinkage*, ID3D11GeometryShader**, int>)(lpVtbl[13]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppGeometryShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, void*, nuint, ID3D11ClassLinkage*, ID3D11GeometryShader**, int>)(lpVtbl[13]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppGeometryShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateGeometryShaderWithStreamOutput" />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(14)]
|
||||
public HResult CreateGeometryShaderWithStreamOutput(void* pShaderBytecode, nuint BytecodeLength, SODeclarationEntry* pSODeclaration, uint NumEntries, uint* pBufferStrides, uint NumStrides, uint RasterizedStream, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, void*, nuint, SODeclarationEntry*, uint, uint*, uint, uint, ID3D11ClassLinkage*, ID3D11GeometryShader**, int>)(lpVtbl[14]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, void*, nuint, SODeclarationEntry*, uint, uint*, uint, uint, ID3D11ClassLinkage*, ID3D11GeometryShader**, int>)(lpVtbl[14]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreatePixelShader" />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(15)]
|
||||
public HResult CreatePixelShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11PixelShader** ppPixelShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, void*, nuint, ID3D11ClassLinkage*, ID3D11PixelShader**, int>)(lpVtbl[15]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppPixelShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, void*, nuint, ID3D11ClassLinkage*, ID3D11PixelShader**, int>)(lpVtbl[15]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppPixelShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateHullShader" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(16)]
|
||||
public HResult CreateHullShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11HullShader** ppHullShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, void*, nuint, ID3D11ClassLinkage*, ID3D11HullShader**, int>)(lpVtbl[16]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppHullShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, void*, nuint, ID3D11ClassLinkage*, ID3D11HullShader**, int>)(lpVtbl[16]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppHullShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateDomainShader" />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(17)]
|
||||
public HResult CreateDomainShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11DomainShader** ppDomainShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, void*, nuint, ID3D11ClassLinkage*, ID3D11DomainShader**, int>)(lpVtbl[17]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppDomainShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, void*, nuint, ID3D11ClassLinkage*, ID3D11DomainShader**, int>)(lpVtbl[17]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppDomainShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateComputeShader" />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(18)]
|
||||
public HResult CreateComputeShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11ComputeShader** ppComputeShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, void*, nuint, ID3D11ClassLinkage*, ID3D11ComputeShader**, int>)(lpVtbl[18]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppComputeShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, void*, nuint, ID3D11ClassLinkage*, ID3D11ComputeShader**, int>)(lpVtbl[18]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppComputeShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateClassLinkage" />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(19)]
|
||||
public HResult CreateClassLinkage(ID3D11ClassLinkage** ppLinkage)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, ID3D11ClassLinkage**, int>)(lpVtbl[19]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ppLinkage);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, ID3D11ClassLinkage**, int>)(lpVtbl[19]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ppLinkage);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateBlendState" />
|
||||
@@ -215,7 +295,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(20)]
|
||||
public HResult CreateBlendState(BlendDescription* pBlendStateDesc, ID3D11BlendState** ppBlendState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, BlendDescription*, ID3D11BlendState**, int>)(lpVtbl[20]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, BlendDescription*, ID3D11BlendState**, int>)(lpVtbl[20]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateDepthStencilState" />
|
||||
@@ -223,7 +307,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(21)]
|
||||
public HResult CreateDepthStencilState(DepthStencilDescription* pDepthStencilDesc, ID3D11DepthStencilState** ppDepthStencilState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, DepthStencilDescription*, ID3D11DepthStencilState**, int>)(lpVtbl[21]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDepthStencilDesc, ppDepthStencilState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, DepthStencilDescription*, ID3D11DepthStencilState**, int>)(lpVtbl[21]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDepthStencilDesc, ppDepthStencilState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateRasterizerState" />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(22)]
|
||||
public HResult CreateRasterizerState(RasterizerDescription* pRasterizerDesc, ID3D11RasterizerState** ppRasterizerState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, RasterizerDescription*, ID3D11RasterizerState**, int>)(lpVtbl[22]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, RasterizerDescription*, ID3D11RasterizerState**, int>)(lpVtbl[22]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateSamplerState" />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(23)]
|
||||
public HResult CreateSamplerState(SamplerDescription* pSamplerDesc, ID3D11SamplerState** ppSamplerState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, SamplerDescription*, ID3D11SamplerState**, int>)(lpVtbl[23]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pSamplerDesc, ppSamplerState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, SamplerDescription*, ID3D11SamplerState**, int>)(lpVtbl[23]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pSamplerDesc, ppSamplerState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateQuery" />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(24)]
|
||||
public HResult CreateQuery(QueryDescription* pQueryDesc, ID3D11Query** ppQuery)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, QueryDescription*, ID3D11Query**, int>)(lpVtbl[24]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pQueryDesc, ppQuery);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, QueryDescription*, ID3D11Query**, int>)(lpVtbl[24]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pQueryDesc, ppQuery);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreatePredicate" />
|
||||
@@ -255,7 +355,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(25)]
|
||||
public HResult CreatePredicate(QueryDescription* pPredicateDesc, ID3D11Predicate** ppPredicate)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, QueryDescription*, ID3D11Predicate**, int>)(lpVtbl[25]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pPredicateDesc, ppPredicate);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, QueryDescription*, ID3D11Predicate**, int>)(lpVtbl[25]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pPredicateDesc, ppPredicate);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateCounter" />
|
||||
@@ -263,7 +367,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(26)]
|
||||
public HResult CreateCounter(CounterDescription* pCounterDesc, ID3D11Counter** ppCounter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, CounterDescription*, ID3D11Counter**, int>)(lpVtbl[26]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pCounterDesc, ppCounter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, CounterDescription*, ID3D11Counter**, int>)(lpVtbl[26]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pCounterDesc, ppCounter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateDeferredContext" />
|
||||
@@ -271,7 +379,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(27)]
|
||||
public HResult CreateDeferredContext(uint ContextFlags, ID3D11DeviceContext** ppDeferredContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, uint, ID3D11DeviceContext**, int>)(lpVtbl[27]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, uint, ID3D11DeviceContext**, int>)(lpVtbl[27]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.OpenSharedResource" />
|
||||
@@ -279,7 +391,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(28)]
|
||||
public HResult OpenSharedResource(Handle hResource, Guid* ReturnedInterface, void** ppResource)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, Handle, Guid*, void**, int>)(lpVtbl[28]))((ID3D11Device3*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, Handle, Guid*, void**, int>)(lpVtbl[28]))((ID3D11Device3*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CheckFormatSupport" />
|
||||
@@ -287,7 +403,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(29)]
|
||||
public HResult CheckFormatSupport(Graphics.Dxgi.Common.Format Format, uint* pFormatSupport)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, Graphics.Dxgi.Common.Format, uint*, int>)(lpVtbl[29]))((ID3D11Device3*)Unsafe.AsPointer(ref this), Format, pFormatSupport);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, Graphics.Dxgi.Common.Format, uint*, int>)(lpVtbl[29]))((ID3D11Device3*)Unsafe.AsPointer(ref this), Format, pFormatSupport);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CheckMultisampleQualityLevels" />
|
||||
@@ -295,7 +415,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(30)]
|
||||
public HResult CheckMultisampleQualityLevels(Graphics.Dxgi.Common.Format Format, uint SampleCount, uint* pNumQualityLevels)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, Graphics.Dxgi.Common.Format, uint, uint*, int>)(lpVtbl[30]))((ID3D11Device3*)Unsafe.AsPointer(ref this), Format, SampleCount, pNumQualityLevels);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, Graphics.Dxgi.Common.Format, uint, uint*, int>)(lpVtbl[30]))((ID3D11Device3*)Unsafe.AsPointer(ref this), Format, SampleCount, pNumQualityLevels);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CheckCounterInfo" />
|
||||
@@ -303,7 +427,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(31)]
|
||||
public void CheckCounterInfo(CounterInfo* pCounterInfo)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device3*, CounterInfo*, void>)(lpVtbl[31]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pCounterInfo);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device3*, CounterInfo*, void>)(lpVtbl[31]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pCounterInfo);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CheckCounter" />
|
||||
@@ -311,7 +439,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(32)]
|
||||
public HResult CheckCounter(CounterDescription* pDesc, CounterType* pType, uint* pActiveCounters, byte* szName, uint* pNameLength, byte* szUnits, uint* pUnitsLength, byte* szDescription, uint* pDescriptionLength)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, CounterDescription*, CounterType*, uint*, byte*, uint*, byte*, uint*, byte*, uint*, int>)(lpVtbl[32]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, CounterDescription*, CounterType*, uint*, byte*, uint*, byte*, uint*, byte*, uint*, int>)(lpVtbl[32]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CheckFeatureSupport" />
|
||||
@@ -319,7 +451,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(33)]
|
||||
public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, int FeatureSupportDataSize)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, Feature, void*, int, int>)(lpVtbl[33]))((ID3D11Device3*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, Feature, void*, int, int>)(lpVtbl[33]))((ID3D11Device3*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetPrivateData" />
|
||||
@@ -327,7 +463,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(34)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, Guid*, uint*, void*, int>)(lpVtbl[34]))((ID3D11Device3*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, Guid*, uint*, void*, int>)(lpVtbl[34]))((ID3D11Device3*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.SetPrivateData" />
|
||||
@@ -335,7 +475,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(35)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, Guid*, uint, void*, int>)(lpVtbl[35]))((ID3D11Device3*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, Guid*, uint, void*, int>)(lpVtbl[35]))((ID3D11Device3*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.SetPrivateDataInterface" />
|
||||
@@ -343,7 +487,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(36)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, Guid*, IUnknown*, int>)(lpVtbl[36]))((ID3D11Device3*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, Guid*, IUnknown*, int>)(lpVtbl[36]))((ID3D11Device3*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetFeatureLevel" />
|
||||
@@ -351,7 +499,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(37)]
|
||||
public Graphics.Direct3D.FeatureLevel GetFeatureLevel()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, Graphics.Direct3D.FeatureLevel>)(lpVtbl[37]))((ID3D11Device3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, Graphics.Direct3D.FeatureLevel>)(lpVtbl[37]))((ID3D11Device3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetCreationFlags" />
|
||||
@@ -359,7 +511,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(38)]
|
||||
public uint GetCreationFlags()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, uint>)(lpVtbl[38]))((ID3D11Device3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, uint>)(lpVtbl[38]))((ID3D11Device3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetDeviceRemovedReason" />
|
||||
@@ -367,7 +523,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(39)]
|
||||
public HResult GetDeviceRemovedReason()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, int>)(lpVtbl[39]))((ID3D11Device3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, int>)(lpVtbl[39]))((ID3D11Device3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetImmediateContext" />
|
||||
@@ -375,7 +535,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(40)]
|
||||
public void GetImmediateContext(ID3D11DeviceContext** ppImmediateContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device3*, ID3D11DeviceContext**, void>)(lpVtbl[40]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device3*, ID3D11DeviceContext**, void>)(lpVtbl[40]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.SetExceptionMode" />
|
||||
@@ -383,7 +547,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(41)]
|
||||
public HResult SetExceptionMode(uint RaiseFlags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, uint, int>)(lpVtbl[41]))((ID3D11Device3*)Unsafe.AsPointer(ref this), RaiseFlags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, uint, int>)(lpVtbl[41]))((ID3D11Device3*)Unsafe.AsPointer(ref this), RaiseFlags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetExceptionMode" />
|
||||
@@ -391,7 +559,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(42)]
|
||||
public uint GetExceptionMode()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, uint>)(lpVtbl[42]))((ID3D11Device3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, uint>)(lpVtbl[42]))((ID3D11Device3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.GetImmediateContext1" />
|
||||
@@ -399,7 +571,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(43)]
|
||||
public void GetImmediateContext1(ID3D11DeviceContext1** ppImmediateContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device3*, ID3D11DeviceContext1**, void>)(lpVtbl[43]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device3*, ID3D11DeviceContext1**, void>)(lpVtbl[43]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.CreateDeferredContext1" />
|
||||
@@ -407,7 +583,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(44)]
|
||||
public HResult CreateDeferredContext1(uint ContextFlags, ID3D11DeviceContext1** ppDeferredContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, uint, ID3D11DeviceContext1**, int>)(lpVtbl[44]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, uint, ID3D11DeviceContext1**, int>)(lpVtbl[44]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.CreateBlendState1" />
|
||||
@@ -415,7 +595,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(45)]
|
||||
public HResult CreateBlendState1(BlendDescription1* pBlendStateDesc, ID3D11BlendState1** ppBlendState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, BlendDescription1*, ID3D11BlendState1**, int>)(lpVtbl[45]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, BlendDescription1*, ID3D11BlendState1**, int>)(lpVtbl[45]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.CreateRasterizerState1" />
|
||||
@@ -423,7 +607,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(46)]
|
||||
public HResult CreateRasterizerState1(RasterizerDescription1* pRasterizerDesc, ID3D11RasterizerState1** ppRasterizerState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, RasterizerDescription1*, ID3D11RasterizerState1**, int>)(lpVtbl[46]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, RasterizerDescription1*, ID3D11RasterizerState1**, int>)(lpVtbl[46]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.CreateDeviceContextState" />
|
||||
@@ -431,7 +619,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(47)]
|
||||
public HResult CreateDeviceContextState(uint Flags, Graphics.Direct3D.FeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Guid* EmulatedInterface, Graphics.Direct3D.FeatureLevel* pChosenFeatureLevel, ID3DDeviceContextState** ppContextState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, uint, Graphics.Direct3D.FeatureLevel*, uint, uint, Guid*, Graphics.Direct3D.FeatureLevel*, ID3DDeviceContextState**, int>)(lpVtbl[47]))((ID3D11Device3*)Unsafe.AsPointer(ref this), Flags, pFeatureLevels, FeatureLevels, SDKVersion, EmulatedInterface, pChosenFeatureLevel, ppContextState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, uint, Graphics.Direct3D.FeatureLevel*, uint, uint, Guid*, Graphics.Direct3D.FeatureLevel*, ID3DDeviceContextState**, int>)(lpVtbl[47]))((ID3D11Device3*)Unsafe.AsPointer(ref this), Flags, pFeatureLevels, FeatureLevels, SDKVersion, EmulatedInterface, pChosenFeatureLevel, ppContextState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.OpenSharedResource1" />
|
||||
@@ -439,7 +631,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(48)]
|
||||
public HResult OpenSharedResource1(Handle hResource, Guid* returnedInterface, void** ppResource)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, Handle, Guid*, void**, int>)(lpVtbl[48]))((ID3D11Device3*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, Handle, Guid*, void**, int>)(lpVtbl[48]))((ID3D11Device3*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.OpenSharedResourceByName" />
|
||||
@@ -447,7 +643,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(49)]
|
||||
public HResult OpenSharedResourceByName(ushort* lpName, uint dwDesiredAccess, Guid* returnedInterface, void** ppResource)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, ushort*, uint, Guid*, void**, int>)(lpVtbl[49]))((ID3D11Device3*)Unsafe.AsPointer(ref this), lpName, dwDesiredAccess, returnedInterface, ppResource);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, ushort*, uint, Guid*, void**, int>)(lpVtbl[49]))((ID3D11Device3*)Unsafe.AsPointer(ref this), lpName, dwDesiredAccess, returnedInterface, ppResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device2.GetImmediateContext2" />
|
||||
@@ -455,7 +655,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(50)]
|
||||
public void GetImmediateContext2(ID3D11DeviceContext2** ppImmediateContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device3*, ID3D11DeviceContext2**, void>)(lpVtbl[50]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device3*, ID3D11DeviceContext2**, void>)(lpVtbl[50]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device2.CreateDeferredContext2" />
|
||||
@@ -463,7 +667,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(51)]
|
||||
public HResult CreateDeferredContext2(uint ContextFlags, ID3D11DeviceContext2** ppDeferredContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, uint, ID3D11DeviceContext2**, int>)(lpVtbl[51]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, uint, ID3D11DeviceContext2**, int>)(lpVtbl[51]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device2.GetResourceTiling" />
|
||||
@@ -471,7 +679,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(52)]
|
||||
public void GetResourceTiling(ID3D11Resource* pTiledResource, uint* pNumTilesForEntireResource, PackedMipDescription* pPackedMipDesc, TileShape* pStandardTileShapeForNonPackedMips, uint* pNumSubresourceTilings, uint FirstSubresourceTilingToGet, SubresourceTiling* pSubresourceTilingsForNonPackedMips)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device3*, ID3D11Resource*, uint*, PackedMipDescription*, TileShape*, uint*, uint, SubresourceTiling*, void>)(lpVtbl[52]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device3*, ID3D11Resource*, uint*, PackedMipDescription*, TileShape*, uint*, uint, SubresourceTiling*, void>)(lpVtbl[52]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device2.CheckMultisampleQualityLevels1" />
|
||||
@@ -479,7 +691,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(53)]
|
||||
public HResult CheckMultisampleQualityLevels1(Graphics.Dxgi.Common.Format Format, uint SampleCount, uint Flags, uint* pNumQualityLevels)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, Graphics.Dxgi.Common.Format, uint, uint, uint*, int>)(lpVtbl[53]))((ID3D11Device3*)Unsafe.AsPointer(ref this), Format, SampleCount, Flags, pNumQualityLevels);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, Graphics.Dxgi.Common.Format, uint, uint, uint*, int>)(lpVtbl[53]))((ID3D11Device3*)Unsafe.AsPointer(ref this), Format, SampleCount, Flags, pNumQualityLevels);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device3::CreateTexture2D1"]/*' />
|
||||
@@ -487,7 +703,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(54)]
|
||||
public HResult CreateTexture2D1(Texture2DDescription1* pDesc1, SubresourceData* pInitialData, ID3D11Texture2D1** ppTexture2D)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, Texture2DDescription1*, SubresourceData*, ID3D11Texture2D1**, int>)(lpVtbl[54]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc1, pInitialData, ppTexture2D);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, Texture2DDescription1*, SubresourceData*, ID3D11Texture2D1**, int>)(lpVtbl[54]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc1, pInitialData, ppTexture2D);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device3::CreateTexture3D1"]/*' />
|
||||
@@ -495,7 +715,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(55)]
|
||||
public HResult CreateTexture3D1(Texture3DDescription1* pDesc1, SubresourceData* pInitialData, ID3D11Texture3D1** ppTexture3D)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, Texture3DDescription1*, SubresourceData*, ID3D11Texture3D1**, int>)(lpVtbl[55]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc1, pInitialData, ppTexture3D);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, Texture3DDescription1*, SubresourceData*, ID3D11Texture3D1**, int>)(lpVtbl[55]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDesc1, pInitialData, ppTexture3D);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device3::CreateRasterizerState2"]/*' />
|
||||
@@ -503,7 +727,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(56)]
|
||||
public HResult CreateRasterizerState2(RasterizerDescription2* pRasterizerDesc, ID3D11RasterizerState2** ppRasterizerState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, RasterizerDescription2*, ID3D11RasterizerState2**, int>)(lpVtbl[56]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, RasterizerDescription2*, ID3D11RasterizerState2**, int>)(lpVtbl[56]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device3::CreateShaderResourceView1"]/*' />
|
||||
@@ -511,7 +739,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(57)]
|
||||
public HResult CreateShaderResourceView1(ID3D11Resource* pResource, ShaderResourceViewDescription1* pDesc1, ID3D11ShaderResourceView1** ppSRView1)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, ID3D11Resource*, ShaderResourceViewDescription1*, ID3D11ShaderResourceView1**, int>)(lpVtbl[57]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppSRView1);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, ID3D11Resource*, ShaderResourceViewDescription1*, ID3D11ShaderResourceView1**, int>)(lpVtbl[57]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppSRView1);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device3::CreateUnorderedAccessView1"]/*' />
|
||||
@@ -519,7 +751,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(58)]
|
||||
public HResult CreateUnorderedAccessView1(ID3D11Resource* pResource, UnorderedAccessViewDescription1* pDesc1, ID3D11UnorderedAccessView1** ppUAView1)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, ID3D11Resource*, UnorderedAccessViewDescription1*, ID3D11UnorderedAccessView1**, int>)(lpVtbl[58]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppUAView1);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, ID3D11Resource*, UnorderedAccessViewDescription1*, ID3D11UnorderedAccessView1**, int>)(lpVtbl[58]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppUAView1);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device3::CreateRenderTargetView1"]/*' />
|
||||
@@ -527,7 +763,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(59)]
|
||||
public HResult CreateRenderTargetView1(ID3D11Resource* pResource, RenderTargetViewDescription1* pDesc1, ID3D11RenderTargetView1** ppRTView1)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, ID3D11Resource*, RenderTargetViewDescription1*, ID3D11RenderTargetView1**, int>)(lpVtbl[59]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppRTView1);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, ID3D11Resource*, RenderTargetViewDescription1*, ID3D11RenderTargetView1**, int>)(lpVtbl[59]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppRTView1);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device3::CreateQuery1"]/*' />
|
||||
@@ -535,7 +775,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(60)]
|
||||
public HResult CreateQuery1(QueryDescription1* pQueryDesc1, ID3D11Query1** ppQuery1)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, QueryDescription1*, ID3D11Query1**, int>)(lpVtbl[60]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pQueryDesc1, ppQuery1);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, QueryDescription1*, ID3D11Query1**, int>)(lpVtbl[60]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pQueryDesc1, ppQuery1);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device3::GetImmediateContext3"]/*' />
|
||||
@@ -543,7 +787,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(61)]
|
||||
public void GetImmediateContext3(ID3D11DeviceContext3** ppImmediateContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device3*, ID3D11DeviceContext3**, void>)(lpVtbl[61]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device3*, ID3D11DeviceContext3**, void>)(lpVtbl[61]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device3::CreateDeferredContext3"]/*' />
|
||||
@@ -551,7 +799,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(62)]
|
||||
public HResult CreateDeferredContext3(uint ContextFlags, ID3D11DeviceContext3** ppDeferredContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device3*, uint, ID3D11DeviceContext3**, int>)(lpVtbl[62]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device3*, uint, ID3D11DeviceContext3**, int>)(lpVtbl[62]))((ID3D11Device3*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device3::WriteToSubresource"]/*' />
|
||||
@@ -559,7 +811,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(63)]
|
||||
public void WriteToSubresource(ID3D11Resource* pDstResource, uint DstSubresource, Box* pDstBox, void* pSrcData, uint SrcRowPitch, uint SrcDepthPitch)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device3*, ID3D11Resource*, uint, Box*, void*, uint, uint, void>)(lpVtbl[63]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device3*, ID3D11Resource*, uint, Box*, void*, uint, uint, void>)(lpVtbl[63]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device3::ReadFromSubresource"]/*' />
|
||||
@@ -567,7 +823,11 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGui
|
||||
[VtblIndex(64)]
|
||||
public void ReadFromSubresource(void* pDstData, uint DstRowPitch, uint DstDepthPitch, ID3D11Resource* pSrcResource, uint SrcSubresource, Box* pSrcBox)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device3*, void*, uint, uint, ID3D11Resource*, uint, Box*, void>)(lpVtbl[64]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDstData, DstRowPitch, DstDepthPitch, pSrcResource, SrcSubresource, pSrcBox);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device3*, void*, uint, uint, ID3D11Resource*, uint, Box*, void>)(lpVtbl[64]))((ID3D11Device3*)Unsafe.AsPointer(ref this), pDstData, DstRowPitch, DstDepthPitch, pSrcResource, SrcSubresource, pSrcBox);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11Device2.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Device4*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Device4*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, uint>)(lpVtbl[1]))((ID3D11Device4*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, uint>)(lpVtbl[1]))((ID3D11Device4*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, uint>)(lpVtbl[2]))((ID3D11Device4*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, uint>)(lpVtbl[2]))((ID3D11Device4*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateBuffer" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(3)]
|
||||
public HResult CreateBuffer(BufferDescription* pDesc, SubresourceData* pInitialData, ID3D11Buffer** ppBuffer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, BufferDescription*, SubresourceData*, ID3D11Buffer**, int>)(lpVtbl[3]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppBuffer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, BufferDescription*, SubresourceData*, ID3D11Buffer**, int>)(lpVtbl[3]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppBuffer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateTexture1D" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(4)]
|
||||
public HResult CreateTexture1D(Texture1DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture1D** ppTexture1D)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, Texture1DDescription*, SubresourceData*, ID3D11Texture1D**, int>)(lpVtbl[4]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture1D);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, Texture1DDescription*, SubresourceData*, ID3D11Texture1D**, int>)(lpVtbl[4]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture1D);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateTexture2D" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(5)]
|
||||
public HResult CreateTexture2D(Texture2DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture2D** ppTexture2D)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, Texture2DDescription*, SubresourceData*, ID3D11Texture2D**, int>)(lpVtbl[5]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture2D);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, Texture2DDescription*, SubresourceData*, ID3D11Texture2D**, int>)(lpVtbl[5]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture2D);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateTexture3D" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(6)]
|
||||
public HResult CreateTexture3D(Texture3DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture3D** ppTexture3D)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, Texture3DDescription*, SubresourceData*, ID3D11Texture3D**, int>)(lpVtbl[6]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture3D);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, Texture3DDescription*, SubresourceData*, ID3D11Texture3D**, int>)(lpVtbl[6]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture3D);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateShaderResourceView" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(7)]
|
||||
public HResult CreateShaderResourceView(ID3D11Resource* pResource, ShaderResourceViewDescription* pDesc, ID3D11ShaderResourceView** ppSRView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, ID3D11Resource*, ShaderResourceViewDescription*, ID3D11ShaderResourceView**, int>)(lpVtbl[7]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc, ppSRView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, ID3D11Resource*, ShaderResourceViewDescription*, ID3D11ShaderResourceView**, int>)(lpVtbl[7]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc, ppSRView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateUnorderedAccessView" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(8)]
|
||||
public HResult CreateUnorderedAccessView(ID3D11Resource* pResource, UnorderedAccessViewDescription* pDesc, ID3D11UnorderedAccessView** ppUAView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, ID3D11Resource*, UnorderedAccessViewDescription*, ID3D11UnorderedAccessView**, int>)(lpVtbl[8]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc, ppUAView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, ID3D11Resource*, UnorderedAccessViewDescription*, ID3D11UnorderedAccessView**, int>)(lpVtbl[8]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc, ppUAView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateRenderTargetView" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(9)]
|
||||
public HResult CreateRenderTargetView(ID3D11Resource* pResource, RenderTargetViewDescription* pDesc, ID3D11RenderTargetView** ppRTView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, ID3D11Resource*, RenderTargetViewDescription*, ID3D11RenderTargetView**, int>)(lpVtbl[9]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc, ppRTView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, ID3D11Resource*, RenderTargetViewDescription*, ID3D11RenderTargetView**, int>)(lpVtbl[9]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc, ppRTView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateDepthStencilView" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(10)]
|
||||
public HResult CreateDepthStencilView(ID3D11Resource* pResource, DepthStencilViewDescription* pDesc, ID3D11DepthStencilView** ppDepthStencilView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, ID3D11Resource*, DepthStencilViewDescription*, ID3D11DepthStencilView**, int>)(lpVtbl[10]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc, ppDepthStencilView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, ID3D11Resource*, DepthStencilViewDescription*, ID3D11DepthStencilView**, int>)(lpVtbl[10]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc, ppDepthStencilView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateInputLayout" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(11)]
|
||||
public HResult CreateInputLayout(InputElementDescription* pInputElementDescs, uint NumElements, void* pShaderBytecodeWithInputSignature, nuint BytecodeLength, ID3D11InputLayout** ppInputLayout)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, InputElementDescription*, uint, void*, nuint, ID3D11InputLayout**, int>)(lpVtbl[11]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pInputElementDescs, NumElements, pShaderBytecodeWithInputSignature, BytecodeLength, ppInputLayout);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, InputElementDescription*, uint, void*, nuint, ID3D11InputLayout**, int>)(lpVtbl[11]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pInputElementDescs, NumElements, pShaderBytecodeWithInputSignature, BytecodeLength, ppInputLayout);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateVertexShader" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(12)]
|
||||
public HResult CreateVertexShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11VertexShader** ppVertexShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, void*, nuint, ID3D11ClassLinkage*, ID3D11VertexShader**, int>)(lpVtbl[12]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppVertexShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, void*, nuint, ID3D11ClassLinkage*, ID3D11VertexShader**, int>)(lpVtbl[12]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppVertexShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateGeometryShader" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(13)]
|
||||
public HResult CreateGeometryShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, void*, nuint, ID3D11ClassLinkage*, ID3D11GeometryShader**, int>)(lpVtbl[13]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppGeometryShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, void*, nuint, ID3D11ClassLinkage*, ID3D11GeometryShader**, int>)(lpVtbl[13]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppGeometryShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateGeometryShaderWithStreamOutput" />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(14)]
|
||||
public HResult CreateGeometryShaderWithStreamOutput(void* pShaderBytecode, nuint BytecodeLength, SODeclarationEntry* pSODeclaration, uint NumEntries, uint* pBufferStrides, uint NumStrides, uint RasterizedStream, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, void*, nuint, SODeclarationEntry*, uint, uint*, uint, uint, ID3D11ClassLinkage*, ID3D11GeometryShader**, int>)(lpVtbl[14]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, void*, nuint, SODeclarationEntry*, uint, uint*, uint, uint, ID3D11ClassLinkage*, ID3D11GeometryShader**, int>)(lpVtbl[14]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreatePixelShader" />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(15)]
|
||||
public HResult CreatePixelShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11PixelShader** ppPixelShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, void*, nuint, ID3D11ClassLinkage*, ID3D11PixelShader**, int>)(lpVtbl[15]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppPixelShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, void*, nuint, ID3D11ClassLinkage*, ID3D11PixelShader**, int>)(lpVtbl[15]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppPixelShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateHullShader" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(16)]
|
||||
public HResult CreateHullShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11HullShader** ppHullShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, void*, nuint, ID3D11ClassLinkage*, ID3D11HullShader**, int>)(lpVtbl[16]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppHullShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, void*, nuint, ID3D11ClassLinkage*, ID3D11HullShader**, int>)(lpVtbl[16]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppHullShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateDomainShader" />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(17)]
|
||||
public HResult CreateDomainShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11DomainShader** ppDomainShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, void*, nuint, ID3D11ClassLinkage*, ID3D11DomainShader**, int>)(lpVtbl[17]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppDomainShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, void*, nuint, ID3D11ClassLinkage*, ID3D11DomainShader**, int>)(lpVtbl[17]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppDomainShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateComputeShader" />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(18)]
|
||||
public HResult CreateComputeShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11ComputeShader** ppComputeShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, void*, nuint, ID3D11ClassLinkage*, ID3D11ComputeShader**, int>)(lpVtbl[18]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppComputeShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, void*, nuint, ID3D11ClassLinkage*, ID3D11ComputeShader**, int>)(lpVtbl[18]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppComputeShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateClassLinkage" />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(19)]
|
||||
public HResult CreateClassLinkage(ID3D11ClassLinkage** ppLinkage)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, ID3D11ClassLinkage**, int>)(lpVtbl[19]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ppLinkage);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, ID3D11ClassLinkage**, int>)(lpVtbl[19]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ppLinkage);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateBlendState" />
|
||||
@@ -215,7 +295,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(20)]
|
||||
public HResult CreateBlendState(BlendDescription* pBlendStateDesc, ID3D11BlendState** ppBlendState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, BlendDescription*, ID3D11BlendState**, int>)(lpVtbl[20]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, BlendDescription*, ID3D11BlendState**, int>)(lpVtbl[20]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateDepthStencilState" />
|
||||
@@ -223,7 +307,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(21)]
|
||||
public HResult CreateDepthStencilState(DepthStencilDescription* pDepthStencilDesc, ID3D11DepthStencilState** ppDepthStencilState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, DepthStencilDescription*, ID3D11DepthStencilState**, int>)(lpVtbl[21]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDepthStencilDesc, ppDepthStencilState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, DepthStencilDescription*, ID3D11DepthStencilState**, int>)(lpVtbl[21]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDepthStencilDesc, ppDepthStencilState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateRasterizerState" />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(22)]
|
||||
public HResult CreateRasterizerState(RasterizerDescription* pRasterizerDesc, ID3D11RasterizerState** ppRasterizerState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, RasterizerDescription*, ID3D11RasterizerState**, int>)(lpVtbl[22]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, RasterizerDescription*, ID3D11RasterizerState**, int>)(lpVtbl[22]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateSamplerState" />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(23)]
|
||||
public HResult CreateSamplerState(SamplerDescription* pSamplerDesc, ID3D11SamplerState** ppSamplerState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, SamplerDescription*, ID3D11SamplerState**, int>)(lpVtbl[23]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pSamplerDesc, ppSamplerState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, SamplerDescription*, ID3D11SamplerState**, int>)(lpVtbl[23]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pSamplerDesc, ppSamplerState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateQuery" />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(24)]
|
||||
public HResult CreateQuery(QueryDescription* pQueryDesc, ID3D11Query** ppQuery)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, QueryDescription*, ID3D11Query**, int>)(lpVtbl[24]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pQueryDesc, ppQuery);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, QueryDescription*, ID3D11Query**, int>)(lpVtbl[24]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pQueryDesc, ppQuery);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreatePredicate" />
|
||||
@@ -255,7 +355,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(25)]
|
||||
public HResult CreatePredicate(QueryDescription* pPredicateDesc, ID3D11Predicate** ppPredicate)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, QueryDescription*, ID3D11Predicate**, int>)(lpVtbl[25]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pPredicateDesc, ppPredicate);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, QueryDescription*, ID3D11Predicate**, int>)(lpVtbl[25]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pPredicateDesc, ppPredicate);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateCounter" />
|
||||
@@ -263,7 +367,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(26)]
|
||||
public HResult CreateCounter(CounterDescription* pCounterDesc, ID3D11Counter** ppCounter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, CounterDescription*, ID3D11Counter**, int>)(lpVtbl[26]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pCounterDesc, ppCounter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, CounterDescription*, ID3D11Counter**, int>)(lpVtbl[26]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pCounterDesc, ppCounter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateDeferredContext" />
|
||||
@@ -271,7 +379,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(27)]
|
||||
public HResult CreateDeferredContext(uint ContextFlags, ID3D11DeviceContext** ppDeferredContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, uint, ID3D11DeviceContext**, int>)(lpVtbl[27]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, uint, ID3D11DeviceContext**, int>)(lpVtbl[27]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.OpenSharedResource" />
|
||||
@@ -279,7 +391,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(28)]
|
||||
public HResult OpenSharedResource(Handle hResource, Guid* ReturnedInterface, void** ppResource)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, Handle, Guid*, void**, int>)(lpVtbl[28]))((ID3D11Device4*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, Handle, Guid*, void**, int>)(lpVtbl[28]))((ID3D11Device4*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CheckFormatSupport" />
|
||||
@@ -287,7 +403,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(29)]
|
||||
public HResult CheckFormatSupport(Graphics.Dxgi.Common.Format Format, uint* pFormatSupport)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, Graphics.Dxgi.Common.Format, uint*, int>)(lpVtbl[29]))((ID3D11Device4*)Unsafe.AsPointer(ref this), Format, pFormatSupport);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, Graphics.Dxgi.Common.Format, uint*, int>)(lpVtbl[29]))((ID3D11Device4*)Unsafe.AsPointer(ref this), Format, pFormatSupport);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CheckMultisampleQualityLevels" />
|
||||
@@ -295,7 +415,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(30)]
|
||||
public HResult CheckMultisampleQualityLevels(Graphics.Dxgi.Common.Format Format, uint SampleCount, uint* pNumQualityLevels)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, Graphics.Dxgi.Common.Format, uint, uint*, int>)(lpVtbl[30]))((ID3D11Device4*)Unsafe.AsPointer(ref this), Format, SampleCount, pNumQualityLevels);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, Graphics.Dxgi.Common.Format, uint, uint*, int>)(lpVtbl[30]))((ID3D11Device4*)Unsafe.AsPointer(ref this), Format, SampleCount, pNumQualityLevels);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CheckCounterInfo" />
|
||||
@@ -303,7 +427,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(31)]
|
||||
public void CheckCounterInfo(CounterInfo* pCounterInfo)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device4*, CounterInfo*, void>)(lpVtbl[31]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pCounterInfo);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device4*, CounterInfo*, void>)(lpVtbl[31]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pCounterInfo);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CheckCounter" />
|
||||
@@ -311,7 +439,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(32)]
|
||||
public HResult CheckCounter(CounterDescription* pDesc, CounterType* pType, uint* pActiveCounters, byte* szName, uint* pNameLength, byte* szUnits, uint* pUnitsLength, byte* szDescription, uint* pDescriptionLength)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, CounterDescription*, CounterType*, uint*, byte*, uint*, byte*, uint*, byte*, uint*, int>)(lpVtbl[32]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, CounterDescription*, CounterType*, uint*, byte*, uint*, byte*, uint*, byte*, uint*, int>)(lpVtbl[32]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CheckFeatureSupport" />
|
||||
@@ -319,7 +451,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(33)]
|
||||
public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, int FeatureSupportDataSize)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, Feature, void*, int, int>)(lpVtbl[33]))((ID3D11Device4*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, Feature, void*, int, int>)(lpVtbl[33]))((ID3D11Device4*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetPrivateData" />
|
||||
@@ -327,7 +463,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(34)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, Guid*, uint*, void*, int>)(lpVtbl[34]))((ID3D11Device4*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, Guid*, uint*, void*, int>)(lpVtbl[34]))((ID3D11Device4*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.SetPrivateData" />
|
||||
@@ -335,7 +475,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(35)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, Guid*, uint, void*, int>)(lpVtbl[35]))((ID3D11Device4*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, Guid*, uint, void*, int>)(lpVtbl[35]))((ID3D11Device4*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.SetPrivateDataInterface" />
|
||||
@@ -343,7 +487,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(36)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, Guid*, IUnknown*, int>)(lpVtbl[36]))((ID3D11Device4*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, Guid*, IUnknown*, int>)(lpVtbl[36]))((ID3D11Device4*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetFeatureLevel" />
|
||||
@@ -351,7 +499,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(37)]
|
||||
public Graphics.Direct3D.FeatureLevel GetFeatureLevel()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, Graphics.Direct3D.FeatureLevel>)(lpVtbl[37]))((ID3D11Device4*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, Graphics.Direct3D.FeatureLevel>)(lpVtbl[37]))((ID3D11Device4*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetCreationFlags" />
|
||||
@@ -359,7 +511,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(38)]
|
||||
public uint GetCreationFlags()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, uint>)(lpVtbl[38]))((ID3D11Device4*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, uint>)(lpVtbl[38]))((ID3D11Device4*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetDeviceRemovedReason" />
|
||||
@@ -367,7 +523,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(39)]
|
||||
public HResult GetDeviceRemovedReason()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, int>)(lpVtbl[39]))((ID3D11Device4*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, int>)(lpVtbl[39]))((ID3D11Device4*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetImmediateContext" />
|
||||
@@ -375,7 +535,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(40)]
|
||||
public void GetImmediateContext(ID3D11DeviceContext** ppImmediateContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device4*, ID3D11DeviceContext**, void>)(lpVtbl[40]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device4*, ID3D11DeviceContext**, void>)(lpVtbl[40]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.SetExceptionMode" />
|
||||
@@ -383,7 +547,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(41)]
|
||||
public HResult SetExceptionMode(uint RaiseFlags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, uint, int>)(lpVtbl[41]))((ID3D11Device4*)Unsafe.AsPointer(ref this), RaiseFlags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, uint, int>)(lpVtbl[41]))((ID3D11Device4*)Unsafe.AsPointer(ref this), RaiseFlags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetExceptionMode" />
|
||||
@@ -391,7 +559,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(42)]
|
||||
public uint GetExceptionMode()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, uint>)(lpVtbl[42]))((ID3D11Device4*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, uint>)(lpVtbl[42]))((ID3D11Device4*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.GetImmediateContext1" />
|
||||
@@ -399,7 +571,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(43)]
|
||||
public void GetImmediateContext1(ID3D11DeviceContext1** ppImmediateContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device4*, ID3D11DeviceContext1**, void>)(lpVtbl[43]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device4*, ID3D11DeviceContext1**, void>)(lpVtbl[43]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.CreateDeferredContext1" />
|
||||
@@ -407,7 +583,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(44)]
|
||||
public HResult CreateDeferredContext1(uint ContextFlags, ID3D11DeviceContext1** ppDeferredContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, uint, ID3D11DeviceContext1**, int>)(lpVtbl[44]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, uint, ID3D11DeviceContext1**, int>)(lpVtbl[44]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.CreateBlendState1" />
|
||||
@@ -415,7 +595,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(45)]
|
||||
public HResult CreateBlendState1(BlendDescription1* pBlendStateDesc, ID3D11BlendState1** ppBlendState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, BlendDescription1*, ID3D11BlendState1**, int>)(lpVtbl[45]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, BlendDescription1*, ID3D11BlendState1**, int>)(lpVtbl[45]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.CreateRasterizerState1" />
|
||||
@@ -423,7 +607,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(46)]
|
||||
public HResult CreateRasterizerState1(RasterizerDescription1* pRasterizerDesc, ID3D11RasterizerState1** ppRasterizerState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, RasterizerDescription1*, ID3D11RasterizerState1**, int>)(lpVtbl[46]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, RasterizerDescription1*, ID3D11RasterizerState1**, int>)(lpVtbl[46]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.CreateDeviceContextState" />
|
||||
@@ -431,7 +619,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(47)]
|
||||
public HResult CreateDeviceContextState(uint Flags, Graphics.Direct3D.FeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Guid* EmulatedInterface, Graphics.Direct3D.FeatureLevel* pChosenFeatureLevel, ID3DDeviceContextState** ppContextState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, uint, Graphics.Direct3D.FeatureLevel*, uint, uint, Guid*, Graphics.Direct3D.FeatureLevel*, ID3DDeviceContextState**, int>)(lpVtbl[47]))((ID3D11Device4*)Unsafe.AsPointer(ref this), Flags, pFeatureLevels, FeatureLevels, SDKVersion, EmulatedInterface, pChosenFeatureLevel, ppContextState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, uint, Graphics.Direct3D.FeatureLevel*, uint, uint, Guid*, Graphics.Direct3D.FeatureLevel*, ID3DDeviceContextState**, int>)(lpVtbl[47]))((ID3D11Device4*)Unsafe.AsPointer(ref this), Flags, pFeatureLevels, FeatureLevels, SDKVersion, EmulatedInterface, pChosenFeatureLevel, ppContextState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.OpenSharedResource1" />
|
||||
@@ -439,7 +631,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(48)]
|
||||
public HResult OpenSharedResource1(Handle hResource, Guid* returnedInterface, void** ppResource)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, Handle, Guid*, void**, int>)(lpVtbl[48]))((ID3D11Device4*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, Handle, Guid*, void**, int>)(lpVtbl[48]))((ID3D11Device4*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.OpenSharedResourceByName" />
|
||||
@@ -447,7 +643,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(49)]
|
||||
public HResult OpenSharedResourceByName(ushort* lpName, uint dwDesiredAccess, Guid* returnedInterface, void** ppResource)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, ushort*, uint, Guid*, void**, int>)(lpVtbl[49]))((ID3D11Device4*)Unsafe.AsPointer(ref this), lpName, dwDesiredAccess, returnedInterface, ppResource);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, ushort*, uint, Guid*, void**, int>)(lpVtbl[49]))((ID3D11Device4*)Unsafe.AsPointer(ref this), lpName, dwDesiredAccess, returnedInterface, ppResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device2.GetImmediateContext2" />
|
||||
@@ -455,7 +655,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(50)]
|
||||
public void GetImmediateContext2(ID3D11DeviceContext2** ppImmediateContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device4*, ID3D11DeviceContext2**, void>)(lpVtbl[50]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device4*, ID3D11DeviceContext2**, void>)(lpVtbl[50]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device2.CreateDeferredContext2" />
|
||||
@@ -463,7 +667,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(51)]
|
||||
public HResult CreateDeferredContext2(uint ContextFlags, ID3D11DeviceContext2** ppDeferredContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, uint, ID3D11DeviceContext2**, int>)(lpVtbl[51]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, uint, ID3D11DeviceContext2**, int>)(lpVtbl[51]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device2.GetResourceTiling" />
|
||||
@@ -471,7 +679,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(52)]
|
||||
public void GetResourceTiling(ID3D11Resource* pTiledResource, uint* pNumTilesForEntireResource, PackedMipDescription* pPackedMipDesc, TileShape* pStandardTileShapeForNonPackedMips, uint* pNumSubresourceTilings, uint FirstSubresourceTilingToGet, SubresourceTiling* pSubresourceTilingsForNonPackedMips)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device4*, ID3D11Resource*, uint*, PackedMipDescription*, TileShape*, uint*, uint, SubresourceTiling*, void>)(lpVtbl[52]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device4*, ID3D11Resource*, uint*, PackedMipDescription*, TileShape*, uint*, uint, SubresourceTiling*, void>)(lpVtbl[52]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device2.CheckMultisampleQualityLevels1" />
|
||||
@@ -479,7 +691,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(53)]
|
||||
public HResult CheckMultisampleQualityLevels1(Graphics.Dxgi.Common.Format Format, uint SampleCount, uint Flags, uint* pNumQualityLevels)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, Graphics.Dxgi.Common.Format, uint, uint, uint*, int>)(lpVtbl[53]))((ID3D11Device4*)Unsafe.AsPointer(ref this), Format, SampleCount, Flags, pNumQualityLevels);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, Graphics.Dxgi.Common.Format, uint, uint, uint*, int>)(lpVtbl[53]))((ID3D11Device4*)Unsafe.AsPointer(ref this), Format, SampleCount, Flags, pNumQualityLevels);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device3.CreateTexture2D1" />
|
||||
@@ -487,7 +703,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(54)]
|
||||
public HResult CreateTexture2D1(Texture2DDescription1* pDesc1, SubresourceData* pInitialData, ID3D11Texture2D1** ppTexture2D)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, Texture2DDescription1*, SubresourceData*, ID3D11Texture2D1**, int>)(lpVtbl[54]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc1, pInitialData, ppTexture2D);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, Texture2DDescription1*, SubresourceData*, ID3D11Texture2D1**, int>)(lpVtbl[54]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc1, pInitialData, ppTexture2D);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device3.CreateTexture3D1" />
|
||||
@@ -495,7 +715,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(55)]
|
||||
public HResult CreateTexture3D1(Texture3DDescription1* pDesc1, SubresourceData* pInitialData, ID3D11Texture3D1** ppTexture3D)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, Texture3DDescription1*, SubresourceData*, ID3D11Texture3D1**, int>)(lpVtbl[55]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc1, pInitialData, ppTexture3D);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, Texture3DDescription1*, SubresourceData*, ID3D11Texture3D1**, int>)(lpVtbl[55]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDesc1, pInitialData, ppTexture3D);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device3.CreateRasterizerState2" />
|
||||
@@ -503,7 +727,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(56)]
|
||||
public HResult CreateRasterizerState2(RasterizerDescription2* pRasterizerDesc, ID3D11RasterizerState2** ppRasterizerState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, RasterizerDescription2*, ID3D11RasterizerState2**, int>)(lpVtbl[56]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, RasterizerDescription2*, ID3D11RasterizerState2**, int>)(lpVtbl[56]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device3.CreateShaderResourceView1" />
|
||||
@@ -511,7 +739,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(57)]
|
||||
public HResult CreateShaderResourceView1(ID3D11Resource* pResource, ShaderResourceViewDescription1* pDesc1, ID3D11ShaderResourceView1** ppSRView1)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, ID3D11Resource*, ShaderResourceViewDescription1*, ID3D11ShaderResourceView1**, int>)(lpVtbl[57]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppSRView1);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, ID3D11Resource*, ShaderResourceViewDescription1*, ID3D11ShaderResourceView1**, int>)(lpVtbl[57]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppSRView1);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device3.CreateUnorderedAccessView1" />
|
||||
@@ -519,7 +751,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(58)]
|
||||
public HResult CreateUnorderedAccessView1(ID3D11Resource* pResource, UnorderedAccessViewDescription1* pDesc1, ID3D11UnorderedAccessView1** ppUAView1)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, ID3D11Resource*, UnorderedAccessViewDescription1*, ID3D11UnorderedAccessView1**, int>)(lpVtbl[58]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppUAView1);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, ID3D11Resource*, UnorderedAccessViewDescription1*, ID3D11UnorderedAccessView1**, int>)(lpVtbl[58]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppUAView1);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device3.CreateRenderTargetView1" />
|
||||
@@ -527,7 +763,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(59)]
|
||||
public HResult CreateRenderTargetView1(ID3D11Resource* pResource, RenderTargetViewDescription1* pDesc1, ID3D11RenderTargetView1** ppRTView1)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, ID3D11Resource*, RenderTargetViewDescription1*, ID3D11RenderTargetView1**, int>)(lpVtbl[59]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppRTView1);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, ID3D11Resource*, RenderTargetViewDescription1*, ID3D11RenderTargetView1**, int>)(lpVtbl[59]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppRTView1);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device3.CreateQuery1" />
|
||||
@@ -535,7 +775,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(60)]
|
||||
public HResult CreateQuery1(QueryDescription1* pQueryDesc1, ID3D11Query1** ppQuery1)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, QueryDescription1*, ID3D11Query1**, int>)(lpVtbl[60]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pQueryDesc1, ppQuery1);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, QueryDescription1*, ID3D11Query1**, int>)(lpVtbl[60]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pQueryDesc1, ppQuery1);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device3.GetImmediateContext3" />
|
||||
@@ -543,7 +787,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(61)]
|
||||
public void GetImmediateContext3(ID3D11DeviceContext3** ppImmediateContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device4*, ID3D11DeviceContext3**, void>)(lpVtbl[61]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device4*, ID3D11DeviceContext3**, void>)(lpVtbl[61]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device3.CreateDeferredContext3" />
|
||||
@@ -551,7 +799,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(62)]
|
||||
public HResult CreateDeferredContext3(uint ContextFlags, ID3D11DeviceContext3** ppDeferredContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, uint, ID3D11DeviceContext3**, int>)(lpVtbl[62]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, uint, ID3D11DeviceContext3**, int>)(lpVtbl[62]))((ID3D11Device4*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device3.WriteToSubresource" />
|
||||
@@ -559,7 +811,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(63)]
|
||||
public void WriteToSubresource(ID3D11Resource* pDstResource, uint DstSubresource, Box* pDstBox, void* pSrcData, uint SrcRowPitch, uint SrcDepthPitch)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device4*, ID3D11Resource*, uint, Box*, void*, uint, uint, void>)(lpVtbl[63]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device4*, ID3D11Resource*, uint, Box*, void*, uint, uint, void>)(lpVtbl[63]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device3.ReadFromSubresource" />
|
||||
@@ -567,7 +823,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(64)]
|
||||
public void ReadFromSubresource(void* pDstData, uint DstRowPitch, uint DstDepthPitch, ID3D11Resource* pSrcResource, uint SrcSubresource, Box* pSrcBox)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device4*, void*, uint, uint, ID3D11Resource*, uint, Box*, void>)(lpVtbl[64]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDstData, DstRowPitch, DstDepthPitch, pSrcResource, SrcSubresource, pSrcBox);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device4*, void*, uint, uint, ID3D11Resource*, uint, Box*, void>)(lpVtbl[64]))((ID3D11Device4*)Unsafe.AsPointer(ref this), pDstData, DstRowPitch, DstDepthPitch, pSrcResource, SrcSubresource, pSrcBox);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device4::RegisterDeviceRemovedEvent"]/*' />
|
||||
@@ -575,7 +835,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(65)]
|
||||
public HResult RegisterDeviceRemovedEvent(Handle hEvent, uint* pdwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device4*, Handle, uint*, int>)(lpVtbl[65]))((ID3D11Device4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device4*, Handle, uint*, int>)(lpVtbl[65]))((ID3D11Device4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device4::UnregisterDeviceRemoved"]/*' />
|
||||
@@ -583,7 +847,11 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGui
|
||||
[VtblIndex(66)]
|
||||
public void UnregisterDeviceRemoved(uint dwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device4*, uint, void>)(lpVtbl[66]))((ID3D11Device4*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device4*, uint, void>)(lpVtbl[66]))((ID3D11Device4*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11Device3.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Device5*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Device5*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, uint>)(lpVtbl[1]))((ID3D11Device5*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, uint>)(lpVtbl[1]))((ID3D11Device5*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, uint>)(lpVtbl[2]))((ID3D11Device5*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, uint>)(lpVtbl[2]))((ID3D11Device5*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateBuffer" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(3)]
|
||||
public HResult CreateBuffer(BufferDescription* pDesc, SubresourceData* pInitialData, ID3D11Buffer** ppBuffer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, BufferDescription*, SubresourceData*, ID3D11Buffer**, int>)(lpVtbl[3]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppBuffer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, BufferDescription*, SubresourceData*, ID3D11Buffer**, int>)(lpVtbl[3]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppBuffer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateTexture1D" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(4)]
|
||||
public HResult CreateTexture1D(Texture1DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture1D** ppTexture1D)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, Texture1DDescription*, SubresourceData*, ID3D11Texture1D**, int>)(lpVtbl[4]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture1D);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, Texture1DDescription*, SubresourceData*, ID3D11Texture1D**, int>)(lpVtbl[4]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture1D);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateTexture2D" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(5)]
|
||||
public HResult CreateTexture2D(Texture2DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture2D** ppTexture2D)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, Texture2DDescription*, SubresourceData*, ID3D11Texture2D**, int>)(lpVtbl[5]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture2D);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, Texture2DDescription*, SubresourceData*, ID3D11Texture2D**, int>)(lpVtbl[5]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture2D);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateTexture3D" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(6)]
|
||||
public HResult CreateTexture3D(Texture3DDescription* pDesc, SubresourceData* pInitialData, ID3D11Texture3D** ppTexture3D)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, Texture3DDescription*, SubresourceData*, ID3D11Texture3D**, int>)(lpVtbl[6]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture3D);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, Texture3DDescription*, SubresourceData*, ID3D11Texture3D**, int>)(lpVtbl[6]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc, pInitialData, ppTexture3D);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateShaderResourceView" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(7)]
|
||||
public HResult CreateShaderResourceView(ID3D11Resource* pResource, ShaderResourceViewDescription* pDesc, ID3D11ShaderResourceView** ppSRView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, ID3D11Resource*, ShaderResourceViewDescription*, ID3D11ShaderResourceView**, int>)(lpVtbl[7]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc, ppSRView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, ID3D11Resource*, ShaderResourceViewDescription*, ID3D11ShaderResourceView**, int>)(lpVtbl[7]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc, ppSRView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateUnorderedAccessView" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(8)]
|
||||
public HResult CreateUnorderedAccessView(ID3D11Resource* pResource, UnorderedAccessViewDescription* pDesc, ID3D11UnorderedAccessView** ppUAView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, ID3D11Resource*, UnorderedAccessViewDescription*, ID3D11UnorderedAccessView**, int>)(lpVtbl[8]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc, ppUAView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, ID3D11Resource*, UnorderedAccessViewDescription*, ID3D11UnorderedAccessView**, int>)(lpVtbl[8]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc, ppUAView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateRenderTargetView" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(9)]
|
||||
public HResult CreateRenderTargetView(ID3D11Resource* pResource, RenderTargetViewDescription* pDesc, ID3D11RenderTargetView** ppRTView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, ID3D11Resource*, RenderTargetViewDescription*, ID3D11RenderTargetView**, int>)(lpVtbl[9]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc, ppRTView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, ID3D11Resource*, RenderTargetViewDescription*, ID3D11RenderTargetView**, int>)(lpVtbl[9]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc, ppRTView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateDepthStencilView" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(10)]
|
||||
public HResult CreateDepthStencilView(ID3D11Resource* pResource, DepthStencilViewDescription* pDesc, ID3D11DepthStencilView** ppDepthStencilView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, ID3D11Resource*, DepthStencilViewDescription*, ID3D11DepthStencilView**, int>)(lpVtbl[10]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc, ppDepthStencilView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, ID3D11Resource*, DepthStencilViewDescription*, ID3D11DepthStencilView**, int>)(lpVtbl[10]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc, ppDepthStencilView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateInputLayout" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(11)]
|
||||
public HResult CreateInputLayout(InputElementDescription* pInputElementDescs, uint NumElements, void* pShaderBytecodeWithInputSignature, nuint BytecodeLength, ID3D11InputLayout** ppInputLayout)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, InputElementDescription*, uint, void*, nuint, ID3D11InputLayout**, int>)(lpVtbl[11]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pInputElementDescs, NumElements, pShaderBytecodeWithInputSignature, BytecodeLength, ppInputLayout);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, InputElementDescription*, uint, void*, nuint, ID3D11InputLayout**, int>)(lpVtbl[11]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pInputElementDescs, NumElements, pShaderBytecodeWithInputSignature, BytecodeLength, ppInputLayout);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateVertexShader" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(12)]
|
||||
public HResult CreateVertexShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11VertexShader** ppVertexShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, void*, nuint, ID3D11ClassLinkage*, ID3D11VertexShader**, int>)(lpVtbl[12]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppVertexShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, void*, nuint, ID3D11ClassLinkage*, ID3D11VertexShader**, int>)(lpVtbl[12]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppVertexShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateGeometryShader" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(13)]
|
||||
public HResult CreateGeometryShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, void*, nuint, ID3D11ClassLinkage*, ID3D11GeometryShader**, int>)(lpVtbl[13]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppGeometryShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, void*, nuint, ID3D11ClassLinkage*, ID3D11GeometryShader**, int>)(lpVtbl[13]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppGeometryShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateGeometryShaderWithStreamOutput" />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(14)]
|
||||
public HResult CreateGeometryShaderWithStreamOutput(void* pShaderBytecode, nuint BytecodeLength, SODeclarationEntry* pSODeclaration, uint NumEntries, uint* pBufferStrides, uint NumStrides, uint RasterizedStream, ID3D11ClassLinkage* pClassLinkage, ID3D11GeometryShader** ppGeometryShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, void*, nuint, SODeclarationEntry*, uint, uint*, uint, uint, ID3D11ClassLinkage*, ID3D11GeometryShader**, int>)(lpVtbl[14]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, void*, nuint, SODeclarationEntry*, uint, uint*, uint, uint, ID3D11ClassLinkage*, ID3D11GeometryShader**, int>)(lpVtbl[14]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pSODeclaration, NumEntries, pBufferStrides, NumStrides, RasterizedStream, pClassLinkage, ppGeometryShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreatePixelShader" />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(15)]
|
||||
public HResult CreatePixelShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11PixelShader** ppPixelShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, void*, nuint, ID3D11ClassLinkage*, ID3D11PixelShader**, int>)(lpVtbl[15]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppPixelShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, void*, nuint, ID3D11ClassLinkage*, ID3D11PixelShader**, int>)(lpVtbl[15]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppPixelShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateHullShader" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(16)]
|
||||
public HResult CreateHullShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11HullShader** ppHullShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, void*, nuint, ID3D11ClassLinkage*, ID3D11HullShader**, int>)(lpVtbl[16]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppHullShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, void*, nuint, ID3D11ClassLinkage*, ID3D11HullShader**, int>)(lpVtbl[16]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppHullShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateDomainShader" />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(17)]
|
||||
public HResult CreateDomainShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11DomainShader** ppDomainShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, void*, nuint, ID3D11ClassLinkage*, ID3D11DomainShader**, int>)(lpVtbl[17]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppDomainShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, void*, nuint, ID3D11ClassLinkage*, ID3D11DomainShader**, int>)(lpVtbl[17]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppDomainShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateComputeShader" />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(18)]
|
||||
public HResult CreateComputeShader(void* pShaderBytecode, nuint BytecodeLength, ID3D11ClassLinkage* pClassLinkage, ID3D11ComputeShader** ppComputeShader)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, void*, nuint, ID3D11ClassLinkage*, ID3D11ComputeShader**, int>)(lpVtbl[18]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppComputeShader);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, void*, nuint, ID3D11ClassLinkage*, ID3D11ComputeShader**, int>)(lpVtbl[18]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pShaderBytecode, BytecodeLength, pClassLinkage, ppComputeShader);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateClassLinkage" />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(19)]
|
||||
public HResult CreateClassLinkage(ID3D11ClassLinkage** ppLinkage)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, ID3D11ClassLinkage**, int>)(lpVtbl[19]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ppLinkage);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, ID3D11ClassLinkage**, int>)(lpVtbl[19]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ppLinkage);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateBlendState" />
|
||||
@@ -215,7 +295,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(20)]
|
||||
public HResult CreateBlendState(BlendDescription* pBlendStateDesc, ID3D11BlendState** ppBlendState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, BlendDescription*, ID3D11BlendState**, int>)(lpVtbl[20]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, BlendDescription*, ID3D11BlendState**, int>)(lpVtbl[20]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateDepthStencilState" />
|
||||
@@ -223,7 +307,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(21)]
|
||||
public HResult CreateDepthStencilState(DepthStencilDescription* pDepthStencilDesc, ID3D11DepthStencilState** ppDepthStencilState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, DepthStencilDescription*, ID3D11DepthStencilState**, int>)(lpVtbl[21]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDepthStencilDesc, ppDepthStencilState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, DepthStencilDescription*, ID3D11DepthStencilState**, int>)(lpVtbl[21]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDepthStencilDesc, ppDepthStencilState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateRasterizerState" />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(22)]
|
||||
public HResult CreateRasterizerState(RasterizerDescription* pRasterizerDesc, ID3D11RasterizerState** ppRasterizerState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, RasterizerDescription*, ID3D11RasterizerState**, int>)(lpVtbl[22]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, RasterizerDescription*, ID3D11RasterizerState**, int>)(lpVtbl[22]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateSamplerState" />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(23)]
|
||||
public HResult CreateSamplerState(SamplerDescription* pSamplerDesc, ID3D11SamplerState** ppSamplerState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, SamplerDescription*, ID3D11SamplerState**, int>)(lpVtbl[23]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pSamplerDesc, ppSamplerState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, SamplerDescription*, ID3D11SamplerState**, int>)(lpVtbl[23]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pSamplerDesc, ppSamplerState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateQuery" />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(24)]
|
||||
public HResult CreateQuery(QueryDescription* pQueryDesc, ID3D11Query** ppQuery)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, QueryDescription*, ID3D11Query**, int>)(lpVtbl[24]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pQueryDesc, ppQuery);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, QueryDescription*, ID3D11Query**, int>)(lpVtbl[24]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pQueryDesc, ppQuery);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreatePredicate" />
|
||||
@@ -255,7 +355,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(25)]
|
||||
public HResult CreatePredicate(QueryDescription* pPredicateDesc, ID3D11Predicate** ppPredicate)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, QueryDescription*, ID3D11Predicate**, int>)(lpVtbl[25]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pPredicateDesc, ppPredicate);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, QueryDescription*, ID3D11Predicate**, int>)(lpVtbl[25]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pPredicateDesc, ppPredicate);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateCounter" />
|
||||
@@ -263,7 +367,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(26)]
|
||||
public HResult CreateCounter(CounterDescription* pCounterDesc, ID3D11Counter** ppCounter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, CounterDescription*, ID3D11Counter**, int>)(lpVtbl[26]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pCounterDesc, ppCounter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, CounterDescription*, ID3D11Counter**, int>)(lpVtbl[26]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pCounterDesc, ppCounter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CreateDeferredContext" />
|
||||
@@ -271,7 +379,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(27)]
|
||||
public HResult CreateDeferredContext(uint ContextFlags, ID3D11DeviceContext** ppDeferredContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, uint, ID3D11DeviceContext**, int>)(lpVtbl[27]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, uint, ID3D11DeviceContext**, int>)(lpVtbl[27]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.OpenSharedResource" />
|
||||
@@ -279,7 +391,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(28)]
|
||||
public HResult OpenSharedResource(Handle hResource, Guid* ReturnedInterface, void** ppResource)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, Handle, Guid*, void**, int>)(lpVtbl[28]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, Handle, Guid*, void**, int>)(lpVtbl[28]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CheckFormatSupport" />
|
||||
@@ -287,7 +403,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(29)]
|
||||
public HResult CheckFormatSupport(Graphics.Dxgi.Common.Format Format, uint* pFormatSupport)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, Graphics.Dxgi.Common.Format, uint*, int>)(lpVtbl[29]))((ID3D11Device5*)Unsafe.AsPointer(ref this), Format, pFormatSupport);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, Graphics.Dxgi.Common.Format, uint*, int>)(lpVtbl[29]))((ID3D11Device5*)Unsafe.AsPointer(ref this), Format, pFormatSupport);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CheckMultisampleQualityLevels" />
|
||||
@@ -295,7 +415,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(30)]
|
||||
public HResult CheckMultisampleQualityLevels(Graphics.Dxgi.Common.Format Format, uint SampleCount, uint* pNumQualityLevels)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, Graphics.Dxgi.Common.Format, uint, uint*, int>)(lpVtbl[30]))((ID3D11Device5*)Unsafe.AsPointer(ref this), Format, SampleCount, pNumQualityLevels);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, Graphics.Dxgi.Common.Format, uint, uint*, int>)(lpVtbl[30]))((ID3D11Device5*)Unsafe.AsPointer(ref this), Format, SampleCount, pNumQualityLevels);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CheckCounterInfo" />
|
||||
@@ -303,7 +427,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(31)]
|
||||
public void CheckCounterInfo(CounterInfo* pCounterInfo)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device5*, CounterInfo*, void>)(lpVtbl[31]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pCounterInfo);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device5*, CounterInfo*, void>)(lpVtbl[31]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pCounterInfo);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CheckCounter" />
|
||||
@@ -311,7 +439,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(32)]
|
||||
public HResult CheckCounter(CounterDescription* pDesc, CounterType* pType, uint* pActiveCounters, byte* szName, uint* pNameLength, byte* szUnits, uint* pUnitsLength, byte* szDescription, uint* pDescriptionLength)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, CounterDescription*, CounterType*, uint*, byte*, uint*, byte*, uint*, byte*, uint*, int>)(lpVtbl[32]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, CounterDescription*, CounterType*, uint*, byte*, uint*, byte*, uint*, byte*, uint*, int>)(lpVtbl[32]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.CheckFeatureSupport" />
|
||||
@@ -319,7 +451,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(33)]
|
||||
public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, int FeatureSupportDataSize)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, Feature, void*, int, int>)(lpVtbl[33]))((ID3D11Device5*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, Feature, void*, int, int>)(lpVtbl[33]))((ID3D11Device5*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetPrivateData" />
|
||||
@@ -327,7 +463,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(34)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, Guid*, uint*, void*, int>)(lpVtbl[34]))((ID3D11Device5*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, Guid*, uint*, void*, int>)(lpVtbl[34]))((ID3D11Device5*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.SetPrivateData" />
|
||||
@@ -335,7 +475,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(35)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, Guid*, uint, void*, int>)(lpVtbl[35]))((ID3D11Device5*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, Guid*, uint, void*, int>)(lpVtbl[35]))((ID3D11Device5*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.SetPrivateDataInterface" />
|
||||
@@ -343,7 +487,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(36)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, Guid*, IUnknown*, int>)(lpVtbl[36]))((ID3D11Device5*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, Guid*, IUnknown*, int>)(lpVtbl[36]))((ID3D11Device5*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetFeatureLevel" />
|
||||
@@ -351,7 +499,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(37)]
|
||||
public Graphics.Direct3D.FeatureLevel GetFeatureLevel()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, Graphics.Direct3D.FeatureLevel>)(lpVtbl[37]))((ID3D11Device5*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, Graphics.Direct3D.FeatureLevel>)(lpVtbl[37]))((ID3D11Device5*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetCreationFlags" />
|
||||
@@ -359,7 +511,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(38)]
|
||||
public uint GetCreationFlags()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, uint>)(lpVtbl[38]))((ID3D11Device5*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, uint>)(lpVtbl[38]))((ID3D11Device5*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetDeviceRemovedReason" />
|
||||
@@ -367,7 +523,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(39)]
|
||||
public HResult GetDeviceRemovedReason()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, int>)(lpVtbl[39]))((ID3D11Device5*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, int>)(lpVtbl[39]))((ID3D11Device5*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetImmediateContext" />
|
||||
@@ -375,7 +535,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(40)]
|
||||
public void GetImmediateContext(ID3D11DeviceContext** ppImmediateContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device5*, ID3D11DeviceContext**, void>)(lpVtbl[40]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device5*, ID3D11DeviceContext**, void>)(lpVtbl[40]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.SetExceptionMode" />
|
||||
@@ -383,7 +547,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(41)]
|
||||
public HResult SetExceptionMode(uint RaiseFlags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, uint, int>)(lpVtbl[41]))((ID3D11Device5*)Unsafe.AsPointer(ref this), RaiseFlags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, uint, int>)(lpVtbl[41]))((ID3D11Device5*)Unsafe.AsPointer(ref this), RaiseFlags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device.GetExceptionMode" />
|
||||
@@ -391,7 +559,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(42)]
|
||||
public uint GetExceptionMode()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, uint>)(lpVtbl[42]))((ID3D11Device5*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, uint>)(lpVtbl[42]))((ID3D11Device5*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.GetImmediateContext1" />
|
||||
@@ -399,7 +571,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(43)]
|
||||
public void GetImmediateContext1(ID3D11DeviceContext1** ppImmediateContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device5*, ID3D11DeviceContext1**, void>)(lpVtbl[43]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device5*, ID3D11DeviceContext1**, void>)(lpVtbl[43]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.CreateDeferredContext1" />
|
||||
@@ -407,7 +583,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(44)]
|
||||
public HResult CreateDeferredContext1(uint ContextFlags, ID3D11DeviceContext1** ppDeferredContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, uint, ID3D11DeviceContext1**, int>)(lpVtbl[44]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, uint, ID3D11DeviceContext1**, int>)(lpVtbl[44]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.CreateBlendState1" />
|
||||
@@ -415,7 +595,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(45)]
|
||||
public HResult CreateBlendState1(BlendDescription1* pBlendStateDesc, ID3D11BlendState1** ppBlendState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, BlendDescription1*, ID3D11BlendState1**, int>)(lpVtbl[45]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, BlendDescription1*, ID3D11BlendState1**, int>)(lpVtbl[45]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pBlendStateDesc, ppBlendState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.CreateRasterizerState1" />
|
||||
@@ -423,7 +607,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(46)]
|
||||
public HResult CreateRasterizerState1(RasterizerDescription1* pRasterizerDesc, ID3D11RasterizerState1** ppRasterizerState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, RasterizerDescription1*, ID3D11RasterizerState1**, int>)(lpVtbl[46]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, RasterizerDescription1*, ID3D11RasterizerState1**, int>)(lpVtbl[46]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.CreateDeviceContextState" />
|
||||
@@ -431,7 +619,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(47)]
|
||||
public HResult CreateDeviceContextState(uint Flags, Graphics.Direct3D.FeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Guid* EmulatedInterface, Graphics.Direct3D.FeatureLevel* pChosenFeatureLevel, ID3DDeviceContextState** ppContextState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, uint, Graphics.Direct3D.FeatureLevel*, uint, uint, Guid*, Graphics.Direct3D.FeatureLevel*, ID3DDeviceContextState**, int>)(lpVtbl[47]))((ID3D11Device5*)Unsafe.AsPointer(ref this), Flags, pFeatureLevels, FeatureLevels, SDKVersion, EmulatedInterface, pChosenFeatureLevel, ppContextState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, uint, Graphics.Direct3D.FeatureLevel*, uint, uint, Guid*, Graphics.Direct3D.FeatureLevel*, ID3DDeviceContextState**, int>)(lpVtbl[47]))((ID3D11Device5*)Unsafe.AsPointer(ref this), Flags, pFeatureLevels, FeatureLevels, SDKVersion, EmulatedInterface, pChosenFeatureLevel, ppContextState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.OpenSharedResource1" />
|
||||
@@ -439,7 +631,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(48)]
|
||||
public HResult OpenSharedResource1(Handle hResource, Guid* returnedInterface, void** ppResource)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, Handle, Guid*, void**, int>)(lpVtbl[48]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, Handle, Guid*, void**, int>)(lpVtbl[48]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device1.OpenSharedResourceByName" />
|
||||
@@ -447,7 +643,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(49)]
|
||||
public HResult OpenSharedResourceByName(ushort* lpName, uint dwDesiredAccess, Guid* returnedInterface, void** ppResource)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, ushort*, uint, Guid*, void**, int>)(lpVtbl[49]))((ID3D11Device5*)Unsafe.AsPointer(ref this), lpName, dwDesiredAccess, returnedInterface, ppResource);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, ushort*, uint, Guid*, void**, int>)(lpVtbl[49]))((ID3D11Device5*)Unsafe.AsPointer(ref this), lpName, dwDesiredAccess, returnedInterface, ppResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device2.GetImmediateContext2" />
|
||||
@@ -455,7 +655,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(50)]
|
||||
public void GetImmediateContext2(ID3D11DeviceContext2** ppImmediateContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device5*, ID3D11DeviceContext2**, void>)(lpVtbl[50]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device5*, ID3D11DeviceContext2**, void>)(lpVtbl[50]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device2.CreateDeferredContext2" />
|
||||
@@ -463,7 +667,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(51)]
|
||||
public HResult CreateDeferredContext2(uint ContextFlags, ID3D11DeviceContext2** ppDeferredContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, uint, ID3D11DeviceContext2**, int>)(lpVtbl[51]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, uint, ID3D11DeviceContext2**, int>)(lpVtbl[51]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device2.GetResourceTiling" />
|
||||
@@ -471,7 +679,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(52)]
|
||||
public void GetResourceTiling(ID3D11Resource* pTiledResource, uint* pNumTilesForEntireResource, PackedMipDescription* pPackedMipDesc, TileShape* pStandardTileShapeForNonPackedMips, uint* pNumSubresourceTilings, uint FirstSubresourceTilingToGet, SubresourceTiling* pSubresourceTilingsForNonPackedMips)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device5*, ID3D11Resource*, uint*, PackedMipDescription*, TileShape*, uint*, uint, SubresourceTiling*, void>)(lpVtbl[52]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device5*, ID3D11Resource*, uint*, PackedMipDescription*, TileShape*, uint*, uint, SubresourceTiling*, void>)(lpVtbl[52]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device2.CheckMultisampleQualityLevels1" />
|
||||
@@ -479,7 +691,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(53)]
|
||||
public HResult CheckMultisampleQualityLevels1(Graphics.Dxgi.Common.Format Format, uint SampleCount, uint Flags, uint* pNumQualityLevels)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, Graphics.Dxgi.Common.Format, uint, uint, uint*, int>)(lpVtbl[53]))((ID3D11Device5*)Unsafe.AsPointer(ref this), Format, SampleCount, Flags, pNumQualityLevels);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, Graphics.Dxgi.Common.Format, uint, uint, uint*, int>)(lpVtbl[53]))((ID3D11Device5*)Unsafe.AsPointer(ref this), Format, SampleCount, Flags, pNumQualityLevels);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device3.CreateTexture2D1" />
|
||||
@@ -487,7 +703,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(54)]
|
||||
public HResult CreateTexture2D1(Texture2DDescription1* pDesc1, SubresourceData* pInitialData, ID3D11Texture2D1** ppTexture2D)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, Texture2DDescription1*, SubresourceData*, ID3D11Texture2D1**, int>)(lpVtbl[54]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc1, pInitialData, ppTexture2D);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, Texture2DDescription1*, SubresourceData*, ID3D11Texture2D1**, int>)(lpVtbl[54]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc1, pInitialData, ppTexture2D);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device3.CreateTexture3D1" />
|
||||
@@ -495,7 +715,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(55)]
|
||||
public HResult CreateTexture3D1(Texture3DDescription1* pDesc1, SubresourceData* pInitialData, ID3D11Texture3D1** ppTexture3D)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, Texture3DDescription1*, SubresourceData*, ID3D11Texture3D1**, int>)(lpVtbl[55]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc1, pInitialData, ppTexture3D);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, Texture3DDescription1*, SubresourceData*, ID3D11Texture3D1**, int>)(lpVtbl[55]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDesc1, pInitialData, ppTexture3D);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device3.CreateRasterizerState2" />
|
||||
@@ -503,7 +727,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(56)]
|
||||
public HResult CreateRasterizerState2(RasterizerDescription2* pRasterizerDesc, ID3D11RasterizerState2** ppRasterizerState)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, RasterizerDescription2*, ID3D11RasterizerState2**, int>)(lpVtbl[56]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, RasterizerDescription2*, ID3D11RasterizerState2**, int>)(lpVtbl[56]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pRasterizerDesc, ppRasterizerState);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device3.CreateShaderResourceView1" />
|
||||
@@ -511,7 +739,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(57)]
|
||||
public HResult CreateShaderResourceView1(ID3D11Resource* pResource, ShaderResourceViewDescription1* pDesc1, ID3D11ShaderResourceView1** ppSRView1)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, ID3D11Resource*, ShaderResourceViewDescription1*, ID3D11ShaderResourceView1**, int>)(lpVtbl[57]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppSRView1);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, ID3D11Resource*, ShaderResourceViewDescription1*, ID3D11ShaderResourceView1**, int>)(lpVtbl[57]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppSRView1);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device3.CreateUnorderedAccessView1" />
|
||||
@@ -519,7 +751,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(58)]
|
||||
public HResult CreateUnorderedAccessView1(ID3D11Resource* pResource, UnorderedAccessViewDescription1* pDesc1, ID3D11UnorderedAccessView1** ppUAView1)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, ID3D11Resource*, UnorderedAccessViewDescription1*, ID3D11UnorderedAccessView1**, int>)(lpVtbl[58]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppUAView1);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, ID3D11Resource*, UnorderedAccessViewDescription1*, ID3D11UnorderedAccessView1**, int>)(lpVtbl[58]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppUAView1);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device3.CreateRenderTargetView1" />
|
||||
@@ -527,7 +763,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(59)]
|
||||
public HResult CreateRenderTargetView1(ID3D11Resource* pResource, RenderTargetViewDescription1* pDesc1, ID3D11RenderTargetView1** ppRTView1)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, ID3D11Resource*, RenderTargetViewDescription1*, ID3D11RenderTargetView1**, int>)(lpVtbl[59]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppRTView1);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, ID3D11Resource*, RenderTargetViewDescription1*, ID3D11RenderTargetView1**, int>)(lpVtbl[59]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pResource, pDesc1, ppRTView1);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device3.CreateQuery1" />
|
||||
@@ -535,7 +775,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(60)]
|
||||
public HResult CreateQuery1(QueryDescription1* pQueryDesc1, ID3D11Query1** ppQuery1)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, QueryDescription1*, ID3D11Query1**, int>)(lpVtbl[60]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pQueryDesc1, ppQuery1);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, QueryDescription1*, ID3D11Query1**, int>)(lpVtbl[60]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pQueryDesc1, ppQuery1);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device3.GetImmediateContext3" />
|
||||
@@ -543,7 +787,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(61)]
|
||||
public void GetImmediateContext3(ID3D11DeviceContext3** ppImmediateContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device5*, ID3D11DeviceContext3**, void>)(lpVtbl[61]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device5*, ID3D11DeviceContext3**, void>)(lpVtbl[61]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ppImmediateContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device3.CreateDeferredContext3" />
|
||||
@@ -551,7 +799,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(62)]
|
||||
public HResult CreateDeferredContext3(uint ContextFlags, ID3D11DeviceContext3** ppDeferredContext)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, uint, ID3D11DeviceContext3**, int>)(lpVtbl[62]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, uint, ID3D11DeviceContext3**, int>)(lpVtbl[62]))((ID3D11Device5*)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device3.WriteToSubresource" />
|
||||
@@ -559,7 +811,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(63)]
|
||||
public void WriteToSubresource(ID3D11Resource* pDstResource, uint DstSubresource, Box* pDstBox, void* pSrcData, uint SrcRowPitch, uint SrcDepthPitch)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device5*, ID3D11Resource*, uint, Box*, void*, uint, uint, void>)(lpVtbl[63]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device5*, ID3D11Resource*, uint, Box*, void*, uint, uint, void>)(lpVtbl[63]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device3.ReadFromSubresource" />
|
||||
@@ -567,7 +823,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(64)]
|
||||
public void ReadFromSubresource(void* pDstData, uint DstRowPitch, uint DstDepthPitch, ID3D11Resource* pSrcResource, uint SrcSubresource, Box* pSrcBox)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device5*, void*, uint, uint, ID3D11Resource*, uint, Box*, void>)(lpVtbl[64]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDstData, DstRowPitch, DstDepthPitch, pSrcResource, SrcSubresource, pSrcBox);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device5*, void*, uint, uint, ID3D11Resource*, uint, Box*, void>)(lpVtbl[64]))((ID3D11Device5*)Unsafe.AsPointer(ref this), pDstData, DstRowPitch, DstDepthPitch, pSrcResource, SrcSubresource, pSrcBox);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device4.RegisterDeviceRemovedEvent" />
|
||||
@@ -575,7 +835,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(65)]
|
||||
public HResult RegisterDeviceRemovedEvent(Handle hEvent, uint* pdwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, Handle, uint*, int>)(lpVtbl[65]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, Handle, uint*, int>)(lpVtbl[65]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hEvent, pdwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Device4.UnregisterDeviceRemoved" />
|
||||
@@ -583,7 +847,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(66)]
|
||||
public void UnregisterDeviceRemoved(uint dwCookie)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Device5*, uint, void>)(lpVtbl[66]))((ID3D11Device5*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Device5*, uint, void>)(lpVtbl[66]))((ID3D11Device5*)Unsafe.AsPointer(ref this), dwCookie);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device5::OpenSharedFence"]/*' />
|
||||
@@ -591,7 +859,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(67)]
|
||||
public HResult OpenSharedFence(Handle hFence, Guid* ReturnedInterface, void** ppFence)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, Handle, Guid*, void**, int>)(lpVtbl[67]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hFence, ReturnedInterface, ppFence);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, Handle, Guid*, void**, int>)(lpVtbl[67]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hFence, ReturnedInterface, ppFence);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Device5::CreateFence"]/*' />
|
||||
@@ -599,7 +871,11 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGui
|
||||
[VtblIndex(68)]
|
||||
public HResult CreateFence(ulong InitialValue, FenceFlags Flags, Guid* ReturnedInterface, void** ppFence)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Device5*, ulong, FenceFlags, Guid*, void**, int>)(lpVtbl[68]))((ID3D11Device5*)Unsafe.AsPointer(ref this), InitialValue, Flags, ReturnedInterface, ppFence);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Device5*, ulong, FenceFlags, Guid*, void**, int>)(lpVtbl[68]))((ID3D11Device5*)Unsafe.AsPointer(ref this), InitialValue, Flags, ReturnedInterface, ppFence);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11Device4.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11DeviceChild : ID3D11DeviceChild.Interface, IN
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11DeviceChild*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11DeviceChild*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11DeviceChild*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11DeviceChild*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11DeviceChild : ID3D11DeviceChild.Interface, IN
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11DeviceChild*, uint>)(lpVtbl[1]))((ID3D11DeviceChild*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11DeviceChild*, uint>)(lpVtbl[1]))((ID3D11DeviceChild*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11DeviceChild : ID3D11DeviceChild.Interface, IN
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11DeviceChild*, uint>)(lpVtbl[2]))((ID3D11DeviceChild*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11DeviceChild*, uint>)(lpVtbl[2]))((ID3D11DeviceChild*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11DeviceChild::GetDevice"]/*' />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11DeviceChild : ID3D11DeviceChild.Interface, IN
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11DeviceChild*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11DeviceChild*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceChild*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11DeviceChild*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11DeviceChild::GetPrivateData"]/*' />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11DeviceChild : ID3D11DeviceChild.Interface, IN
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11DeviceChild*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11DeviceChild*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11DeviceChild*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11DeviceChild*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11DeviceChild::SetPrivateData"]/*' />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11DeviceChild : ID3D11DeviceChild.Interface, IN
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11DeviceChild*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11DeviceChild*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11DeviceChild*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11DeviceChild*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11DeviceChild::SetPrivateDataInterface"]/*' />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11DeviceChild : ID3D11DeviceChild.Interface, IN
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11DeviceChild*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11DeviceChild*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11DeviceChild*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11DeviceChild*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11DomainShader : ID3D11DomainShader.Interface,
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11DomainShader*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11DomainShader*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11DomainShader*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11DomainShader*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11DomainShader : ID3D11DomainShader.Interface,
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11DomainShader*, uint>)(lpVtbl[1]))((ID3D11DomainShader*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11DomainShader*, uint>)(lpVtbl[1]))((ID3D11DomainShader*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11DomainShader : ID3D11DomainShader.Interface,
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11DomainShader*, uint>)(lpVtbl[2]))((ID3D11DomainShader*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11DomainShader*, uint>)(lpVtbl[2]))((ID3D11DomainShader*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11DomainShader : ID3D11DomainShader.Interface,
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11DomainShader*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11DomainShader*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DomainShader*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11DomainShader*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11DomainShader : ID3D11DomainShader.Interface,
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11DomainShader*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11DomainShader*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11DomainShader*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11DomainShader*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11DomainShader : ID3D11DomainShader.Interface,
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11DomainShader*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11DomainShader*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11DomainShader*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11DomainShader*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11DomainShader : ID3D11DomainShader.Interface,
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11DomainShader*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11DomainShader*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11DomainShader*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11DomainShader*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11DeviceChild.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11Fence : ID3D11Fence.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Fence*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Fence*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Fence*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Fence*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11Fence : ID3D11Fence.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Fence*, uint>)(lpVtbl[1]))((ID3D11Fence*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Fence*, uint>)(lpVtbl[1]))((ID3D11Fence*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11Fence : ID3D11Fence.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Fence*, uint>)(lpVtbl[2]))((ID3D11Fence*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Fence*, uint>)(lpVtbl[2]))((ID3D11Fence*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11Fence : ID3D11Fence.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Fence*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11Fence*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Fence*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11Fence*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11Fence : ID3D11Fence.Interface, INativeGuid
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Fence*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11Fence*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Fence*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11Fence*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11Fence : ID3D11Fence.Interface, INativeGuid
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Fence*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11Fence*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Fence*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11Fence*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11Fence : ID3D11Fence.Interface, INativeGuid
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Fence*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11Fence*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Fence*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11Fence*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Fence::CreateSharedHandle"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11Fence : ID3D11Fence.Interface, INativeGuid
|
||||
[VtblIndex(7)]
|
||||
public HResult CreateSharedHandle(Security.SECURITY_ATTRIBUTES* pAttributes, uint dwAccess, ushort* lpName, Handle* pHandle)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Fence*, Security.SECURITY_ATTRIBUTES*, uint, ushort*, Handle*, int>)(lpVtbl[7]))((ID3D11Fence*)Unsafe.AsPointer(ref this), pAttributes, dwAccess, lpName, pHandle);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Fence*, Security.SECURITY_ATTRIBUTES*, uint, ushort*, Handle*, int>)(lpVtbl[7]))((ID3D11Fence*)Unsafe.AsPointer(ref this), pAttributes, dwAccess, lpName, pHandle);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Fence::GetCompletedValue"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11Fence : ID3D11Fence.Interface, INativeGuid
|
||||
[VtblIndex(8)]
|
||||
public ulong GetCompletedValue()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Fence*, ulong>)(lpVtbl[8]))((ID3D11Fence*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Fence*, ulong>)(lpVtbl[8]))((ID3D11Fence*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Fence::SetEventOnCompletion"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11Fence : ID3D11Fence.Interface, INativeGuid
|
||||
[VtblIndex(9)]
|
||||
public HResult SetEventOnCompletion(ulong Value, Handle hEvent)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Fence*, ulong, Handle, int>)(lpVtbl[9]))((ID3D11Fence*)Unsafe.AsPointer(ref this), Value, hEvent);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Fence*, ulong, Handle, int>)(lpVtbl[9]))((ID3D11Fence*)Unsafe.AsPointer(ref this), Value, hEvent);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11DeviceChild.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11FunctionLinkingGraph : ID3D11FunctionLinkingG
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11FunctionLinkingGraph*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11FunctionLinkingGraph*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11FunctionLinkingGraph : ID3D11FunctionLinkingG
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11FunctionLinkingGraph*, uint>)(lpVtbl[1]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11FunctionLinkingGraph*, uint>)(lpVtbl[1]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11FunctionLinkingGraph : ID3D11FunctionLinkingG
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11FunctionLinkingGraph*, uint>)(lpVtbl[2]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11FunctionLinkingGraph*, uint>)(lpVtbl[2]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11FunctionLinkingGraph::CreateModuleInstance"]/*' />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11FunctionLinkingGraph : ID3D11FunctionLinkingG
|
||||
[VtblIndex(3)]
|
||||
public HResult CreateModuleInstance(ID3D11ModuleInstance** ppModuleInstance, Graphics.Direct3D.ID3DBlob** ppErrorBuffer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11FunctionLinkingGraph*, ID3D11ModuleInstance**, Graphics.Direct3D.ID3DBlob**, int>)(lpVtbl[3]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), ppModuleInstance, ppErrorBuffer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11FunctionLinkingGraph*, ID3D11ModuleInstance**, Graphics.Direct3D.ID3DBlob**, int>)(lpVtbl[3]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), ppModuleInstance, ppErrorBuffer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11FunctionLinkingGraph::SetInputSignature"]/*' />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11FunctionLinkingGraph : ID3D11FunctionLinkingG
|
||||
[VtblIndex(4)]
|
||||
public HResult SetInputSignature(ParameterDescription* pInputParameters, uint cInputParameters, ID3D11LinkingNode** ppInputNode)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11FunctionLinkingGraph*, ParameterDescription*, uint, ID3D11LinkingNode**, int>)(lpVtbl[4]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), pInputParameters, cInputParameters, ppInputNode);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11FunctionLinkingGraph*, ParameterDescription*, uint, ID3D11LinkingNode**, int>)(lpVtbl[4]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), pInputParameters, cInputParameters, ppInputNode);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11FunctionLinkingGraph::SetOutputSignature"]/*' />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11FunctionLinkingGraph : ID3D11FunctionLinkingG
|
||||
[VtblIndex(5)]
|
||||
public HResult SetOutputSignature(ParameterDescription* pOutputParameters, uint cOutputParameters, ID3D11LinkingNode** ppOutputNode)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11FunctionLinkingGraph*, ParameterDescription*, uint, ID3D11LinkingNode**, int>)(lpVtbl[5]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), pOutputParameters, cOutputParameters, ppOutputNode);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11FunctionLinkingGraph*, ParameterDescription*, uint, ID3D11LinkingNode**, int>)(lpVtbl[5]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), pOutputParameters, cOutputParameters, ppOutputNode);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11FunctionLinkingGraph::CallFunction"]/*' />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11FunctionLinkingGraph : ID3D11FunctionLinkingG
|
||||
[VtblIndex(6)]
|
||||
public HResult CallFunction(sbyte* pModuleInstanceNamespace, ID3D11Module* pModuleWithFunctionPrototype, sbyte* pFunctionName, ID3D11LinkingNode** ppCallNode)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11FunctionLinkingGraph*, sbyte*, ID3D11Module*, sbyte*, ID3D11LinkingNode**, int>)(lpVtbl[6]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), pModuleInstanceNamespace, pModuleWithFunctionPrototype, pFunctionName, ppCallNode);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11FunctionLinkingGraph*, sbyte*, ID3D11Module*, sbyte*, ID3D11LinkingNode**, int>)(lpVtbl[6]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), pModuleInstanceNamespace, pModuleWithFunctionPrototype, pFunctionName, ppCallNode);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11FunctionLinkingGraph::PassValue"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11FunctionLinkingGraph : ID3D11FunctionLinkingG
|
||||
[VtblIndex(7)]
|
||||
public HResult PassValue(ID3D11LinkingNode* pSrcNode, int SrcParameterIndex, ID3D11LinkingNode* pDstNode, int DstParameterIndex)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11FunctionLinkingGraph*, ID3D11LinkingNode*, int, ID3D11LinkingNode*, int, int>)(lpVtbl[7]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), pSrcNode, SrcParameterIndex, pDstNode, DstParameterIndex);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11FunctionLinkingGraph*, ID3D11LinkingNode*, int, ID3D11LinkingNode*, int, int>)(lpVtbl[7]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), pSrcNode, SrcParameterIndex, pDstNode, DstParameterIndex);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11FunctionLinkingGraph::PassValueWithSwizzle"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11FunctionLinkingGraph : ID3D11FunctionLinkingG
|
||||
[VtblIndex(8)]
|
||||
public HResult PassValueWithSwizzle(ID3D11LinkingNode* pSrcNode, int SrcParameterIndex, sbyte* pSrcSwizzle, ID3D11LinkingNode* pDstNode, int DstParameterIndex, sbyte* pDstSwizzle)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11FunctionLinkingGraph*, ID3D11LinkingNode*, int, sbyte*, ID3D11LinkingNode*, int, sbyte*, int>)(lpVtbl[8]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), pSrcNode, SrcParameterIndex, pSrcSwizzle, pDstNode, DstParameterIndex, pDstSwizzle);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11FunctionLinkingGraph*, ID3D11LinkingNode*, int, sbyte*, ID3D11LinkingNode*, int, sbyte*, int>)(lpVtbl[8]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), pSrcNode, SrcParameterIndex, pSrcSwizzle, pDstNode, DstParameterIndex, pDstSwizzle);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11FunctionLinkingGraph::GetLastError"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11FunctionLinkingGraph : ID3D11FunctionLinkingG
|
||||
[VtblIndex(9)]
|
||||
public HResult GetLastError(Graphics.Direct3D.ID3DBlob** ppErrorBuffer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11FunctionLinkingGraph*, Graphics.Direct3D.ID3DBlob**, int>)(lpVtbl[9]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), ppErrorBuffer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11FunctionLinkingGraph*, Graphics.Direct3D.ID3DBlob**, int>)(lpVtbl[9]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), ppErrorBuffer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11FunctionLinkingGraph::GenerateHlsl"]/*' />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11FunctionLinkingGraph : ID3D11FunctionLinkingG
|
||||
[VtblIndex(10)]
|
||||
public HResult GenerateHlsl(uint uFlags, Graphics.Direct3D.ID3DBlob** ppBuffer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11FunctionLinkingGraph*, uint, Graphics.Direct3D.ID3DBlob**, int>)(lpVtbl[10]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), uFlags, ppBuffer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11FunctionLinkingGraph*, uint, Graphics.Direct3D.ID3DBlob**, int>)(lpVtbl[10]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), uFlags, ppBuffer);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
@@ -51,7 +51,11 @@ public unsafe partial struct ID3D11FunctionParameterReflection : ID3D11FunctionP
|
||||
[VtblIndex(0)]
|
||||
public HResult GetDesc(ParameterDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11FunctionParameterReflection*, ParameterDescription*, int>)(lpVtbl[0]))((ID3D11FunctionParameterReflection*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11FunctionParameterReflection*, ParameterDescription*, int>)(lpVtbl[0]))((ID3D11FunctionParameterReflection*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface
|
||||
|
||||
@@ -51,7 +51,11 @@ public unsafe partial struct ID3D11FunctionReflection : ID3D11FunctionReflection
|
||||
[VtblIndex(0)]
|
||||
public HResult GetDesc(FunctionDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11FunctionReflection*, FunctionDescription*, int>)(lpVtbl[0]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11FunctionReflection*, FunctionDescription*, int>)(lpVtbl[0]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11FunctionReflection::GetConstantBufferByIndex"]/*' />
|
||||
@@ -59,7 +63,11 @@ public unsafe partial struct ID3D11FunctionReflection : ID3D11FunctionReflection
|
||||
[VtblIndex(1)]
|
||||
public ID3D11ShaderReflectionConstantBuffer GetConstantBufferByIndex(uint BufferIndex)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11FunctionReflection*, uint, ID3D11ShaderReflectionConstantBuffer>)(lpVtbl[1]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), BufferIndex);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11FunctionReflection*, uint, ID3D11ShaderReflectionConstantBuffer>)(lpVtbl[1]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), BufferIndex);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11FunctionReflection::GetConstantBufferByName"]/*' />
|
||||
@@ -67,7 +75,11 @@ public unsafe partial struct ID3D11FunctionReflection : ID3D11FunctionReflection
|
||||
[VtblIndex(2)]
|
||||
public ID3D11ShaderReflectionConstantBuffer GetConstantBufferByName(sbyte* Name)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11FunctionReflection*, sbyte*, ID3D11ShaderReflectionConstantBuffer>)(lpVtbl[2]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), Name);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11FunctionReflection*, sbyte*, ID3D11ShaderReflectionConstantBuffer>)(lpVtbl[2]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), Name);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11FunctionReflection::GetResourceBindingDesc"]/*' />
|
||||
@@ -75,7 +87,11 @@ public unsafe partial struct ID3D11FunctionReflection : ID3D11FunctionReflection
|
||||
[VtblIndex(3)]
|
||||
public HResult GetResourceBindingDesc(uint ResourceIndex, ShaderInputBindDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11FunctionReflection*, uint, ShaderInputBindDescription*, int>)(lpVtbl[3]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), ResourceIndex, pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11FunctionReflection*, uint, ShaderInputBindDescription*, int>)(lpVtbl[3]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), ResourceIndex, pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11FunctionReflection::GetVariableByName"]/*' />
|
||||
@@ -83,7 +99,11 @@ public unsafe partial struct ID3D11FunctionReflection : ID3D11FunctionReflection
|
||||
[VtblIndex(4)]
|
||||
public ID3D11ShaderReflectionVariable GetVariableByName(sbyte* Name)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11FunctionReflection*, sbyte*, ID3D11ShaderReflectionVariable>)(lpVtbl[4]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), Name);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11FunctionReflection*, sbyte*, ID3D11ShaderReflectionVariable>)(lpVtbl[4]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), Name);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11FunctionReflection::GetResourceBindingDescByName"]/*' />
|
||||
@@ -91,7 +111,11 @@ public unsafe partial struct ID3D11FunctionReflection : ID3D11FunctionReflection
|
||||
[VtblIndex(5)]
|
||||
public HResult GetResourceBindingDescByName(sbyte* Name, ShaderInputBindDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11FunctionReflection*, sbyte*, ShaderInputBindDescription*, int>)(lpVtbl[5]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), Name, pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11FunctionReflection*, sbyte*, ShaderInputBindDescription*, int>)(lpVtbl[5]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), Name, pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11FunctionReflection::GetFunctionParameter"]/*' />
|
||||
@@ -99,7 +123,11 @@ public unsafe partial struct ID3D11FunctionReflection : ID3D11FunctionReflection
|
||||
[VtblIndex(6)]
|
||||
public ID3D11FunctionParameterReflection GetFunctionParameter(int ParameterIndex)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11FunctionReflection*, int, ID3D11FunctionParameterReflection>)(lpVtbl[6]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), ParameterIndex);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11FunctionReflection*, int, ID3D11FunctionParameterReflection>)(lpVtbl[6]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), ParameterIndex);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11GeometryShader : ID3D11GeometryShader.Interfa
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11GeometryShader*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11GeometryShader*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11GeometryShader*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11GeometryShader*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11GeometryShader : ID3D11GeometryShader.Interfa
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11GeometryShader*, uint>)(lpVtbl[1]))((ID3D11GeometryShader*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11GeometryShader*, uint>)(lpVtbl[1]))((ID3D11GeometryShader*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11GeometryShader : ID3D11GeometryShader.Interfa
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11GeometryShader*, uint>)(lpVtbl[2]))((ID3D11GeometryShader*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11GeometryShader*, uint>)(lpVtbl[2]))((ID3D11GeometryShader*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11GeometryShader : ID3D11GeometryShader.Interfa
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11GeometryShader*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11GeometryShader*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11GeometryShader*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11GeometryShader*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11GeometryShader : ID3D11GeometryShader.Interfa
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11GeometryShader*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11GeometryShader*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11GeometryShader*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11GeometryShader*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11GeometryShader : ID3D11GeometryShader.Interfa
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11GeometryShader*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11GeometryShader*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11GeometryShader*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11GeometryShader*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11GeometryShader : ID3D11GeometryShader.Interfa
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11GeometryShader*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11GeometryShader*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11GeometryShader*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11GeometryShader*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11DeviceChild.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11HullShader : ID3D11HullShader.Interface, INat
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11HullShader*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11HullShader*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11HullShader*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11HullShader*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11HullShader : ID3D11HullShader.Interface, INat
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11HullShader*, uint>)(lpVtbl[1]))((ID3D11HullShader*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11HullShader*, uint>)(lpVtbl[1]))((ID3D11HullShader*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11HullShader : ID3D11HullShader.Interface, INat
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11HullShader*, uint>)(lpVtbl[2]))((ID3D11HullShader*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11HullShader*, uint>)(lpVtbl[2]))((ID3D11HullShader*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11HullShader : ID3D11HullShader.Interface, INat
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11HullShader*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11HullShader*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11HullShader*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11HullShader*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11HullShader : ID3D11HullShader.Interface, INat
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11HullShader*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11HullShader*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11HullShader*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11HullShader*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11HullShader : ID3D11HullShader.Interface, INat
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11HullShader*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11HullShader*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11HullShader*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11HullShader*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11HullShader : ID3D11HullShader.Interface, INat
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11HullShader*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11HullShader*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11HullShader*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11HullShader*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11DeviceChild.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, uint>)(lpVtbl[1]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, uint>)(lpVtbl[1]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, uint>)(lpVtbl[2]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, uint>)(lpVtbl[2]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::SetMessageCountLimit"]/*' />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(3)]
|
||||
public HResult SetMessageCountLimit(ulong MessageCountLimit)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, ulong, int>)(lpVtbl[3]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), MessageCountLimit);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, ulong, int>)(lpVtbl[3]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), MessageCountLimit);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::ClearStoredMessages"]/*' />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(4)]
|
||||
public void ClearStoredMessages()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11InfoQueue*, void>)(lpVtbl[4]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, void>)(lpVtbl[4]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::GetMessage"]/*' />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(5)]
|
||||
public HResult GetMessage(ulong MessageIndex, Message* pMessage, nuint* pMessageByteLength)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, ulong, Message*, nuint*, int>)(lpVtbl[5]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), MessageIndex, pMessage, pMessageByteLength);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, ulong, Message*, nuint*, int>)(lpVtbl[5]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), MessageIndex, pMessage, pMessageByteLength);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::GetNumMessagesAllowedByStorageFilter"]/*' />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(6)]
|
||||
public ulong GetNumMessagesAllowedByStorageFilter()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, ulong>)(lpVtbl[6]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, ulong>)(lpVtbl[6]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::GetNumMessagesDeniedByStorageFilter"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(7)]
|
||||
public ulong GetNumMessagesDeniedByStorageFilter()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, ulong>)(lpVtbl[7]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, ulong>)(lpVtbl[7]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::GetNumStoredMessages"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(8)]
|
||||
public ulong GetNumStoredMessages()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, ulong>)(lpVtbl[8]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, ulong>)(lpVtbl[8]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::GetNumStoredMessagesAllowedByRetrievalFilter"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(9)]
|
||||
public ulong GetNumStoredMessagesAllowedByRetrievalFilter()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, ulong>)(lpVtbl[9]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, ulong>)(lpVtbl[9]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::GetNumMessagesDiscardedByMessageCountLimit"]/*' />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(10)]
|
||||
public ulong GetNumMessagesDiscardedByMessageCountLimit()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, ulong>)(lpVtbl[10]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, ulong>)(lpVtbl[10]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::GetMessageCountLimit"]/*' />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(11)]
|
||||
public ulong GetMessageCountLimit()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, ulong>)(lpVtbl[11]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, ulong>)(lpVtbl[11]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::AddStorageFilterEntries"]/*' />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(12)]
|
||||
public HResult AddStorageFilterEntries(InfoQueueFilter* pFilter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, InfoQueueFilter*, int>)(lpVtbl[12]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), pFilter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, InfoQueueFilter*, int>)(lpVtbl[12]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), pFilter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::GetStorageFilter"]/*' />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(13)]
|
||||
public HResult GetStorageFilter(InfoQueueFilter* pFilter, nuint* pFilterByteLength)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, InfoQueueFilter*, nuint*, int>)(lpVtbl[13]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), pFilter, pFilterByteLength);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, InfoQueueFilter*, nuint*, int>)(lpVtbl[13]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), pFilter, pFilterByteLength);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::ClearStorageFilter"]/*' />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(14)]
|
||||
public void ClearStorageFilter()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11InfoQueue*, void>)(lpVtbl[14]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, void>)(lpVtbl[14]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::PushEmptyStorageFilter"]/*' />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(15)]
|
||||
public HResult PushEmptyStorageFilter()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, int>)(lpVtbl[15]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, int>)(lpVtbl[15]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::PushCopyOfStorageFilter"]/*' />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(16)]
|
||||
public HResult PushCopyOfStorageFilter()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, int>)(lpVtbl[16]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, int>)(lpVtbl[16]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::PushStorageFilter"]/*' />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(17)]
|
||||
public HResult PushStorageFilter(InfoQueueFilter* pFilter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, InfoQueueFilter*, int>)(lpVtbl[17]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), pFilter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, InfoQueueFilter*, int>)(lpVtbl[17]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), pFilter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::PopStorageFilter"]/*' />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(18)]
|
||||
public void PopStorageFilter()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11InfoQueue*, void>)(lpVtbl[18]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, void>)(lpVtbl[18]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::GetStorageFilterStackSize"]/*' />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(19)]
|
||||
public uint GetStorageFilterStackSize()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, uint>)(lpVtbl[19]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, uint>)(lpVtbl[19]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::AddRetrievalFilterEntries"]/*' />
|
||||
@@ -215,7 +295,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(20)]
|
||||
public HResult AddRetrievalFilterEntries(InfoQueueFilter* pFilter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, InfoQueueFilter*, int>)(lpVtbl[20]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), pFilter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, InfoQueueFilter*, int>)(lpVtbl[20]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), pFilter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::GetRetrievalFilter"]/*' />
|
||||
@@ -223,7 +307,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(21)]
|
||||
public HResult GetRetrievalFilter(InfoQueueFilter* pFilter, nuint* pFilterByteLength)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, InfoQueueFilter*, nuint*, int>)(lpVtbl[21]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), pFilter, pFilterByteLength);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, InfoQueueFilter*, nuint*, int>)(lpVtbl[21]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), pFilter, pFilterByteLength);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::ClearRetrievalFilter"]/*' />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(22)]
|
||||
public void ClearRetrievalFilter()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11InfoQueue*, void>)(lpVtbl[22]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, void>)(lpVtbl[22]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::PushEmptyRetrievalFilter"]/*' />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(23)]
|
||||
public HResult PushEmptyRetrievalFilter()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, int>)(lpVtbl[23]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, int>)(lpVtbl[23]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::PushCopyOfRetrievalFilter"]/*' />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(24)]
|
||||
public HResult PushCopyOfRetrievalFilter()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, int>)(lpVtbl[24]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, int>)(lpVtbl[24]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::PushRetrievalFilter"]/*' />
|
||||
@@ -255,7 +355,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(25)]
|
||||
public HResult PushRetrievalFilter(InfoQueueFilter* pFilter)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, InfoQueueFilter*, int>)(lpVtbl[25]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), pFilter);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, InfoQueueFilter*, int>)(lpVtbl[25]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), pFilter);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::PopRetrievalFilter"]/*' />
|
||||
@@ -263,7 +367,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(26)]
|
||||
public void PopRetrievalFilter()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11InfoQueue*, void>)(lpVtbl[26]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, void>)(lpVtbl[26]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::GetRetrievalFilterStackSize"]/*' />
|
||||
@@ -271,7 +379,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(27)]
|
||||
public uint GetRetrievalFilterStackSize()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, uint>)(lpVtbl[27]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, uint>)(lpVtbl[27]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::AddMessage"]/*' />
|
||||
@@ -279,7 +391,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(28)]
|
||||
public HResult AddMessage(MessageCategory Category, MessageSeverity Severity, MessageId ID, sbyte* pDescription)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, MessageCategory, MessageSeverity, MessageId, sbyte*, int>)(lpVtbl[28]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Category, Severity, ID, pDescription);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, MessageCategory, MessageSeverity, MessageId, sbyte*, int>)(lpVtbl[28]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Category, Severity, ID, pDescription);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::AddApplicationMessage"]/*' />
|
||||
@@ -287,7 +403,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(29)]
|
||||
public HResult AddApplicationMessage(MessageSeverity Severity, sbyte* pDescription)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, MessageSeverity, sbyte*, int>)(lpVtbl[29]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Severity, pDescription);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, MessageSeverity, sbyte*, int>)(lpVtbl[29]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Severity, pDescription);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::SetBreakOnCategory"]/*' />
|
||||
@@ -295,7 +415,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(30)]
|
||||
public HResult SetBreakOnCategory(MessageCategory Category, Bool32 bEnable)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, MessageCategory, Bool32, int>)(lpVtbl[30]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Category, bEnable);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, MessageCategory, Bool32, int>)(lpVtbl[30]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Category, bEnable);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::SetBreakOnSeverity"]/*' />
|
||||
@@ -303,7 +427,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(31)]
|
||||
public HResult SetBreakOnSeverity(MessageSeverity Severity, Bool32 bEnable)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, MessageSeverity, Bool32, int>)(lpVtbl[31]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Severity, bEnable);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, MessageSeverity, Bool32, int>)(lpVtbl[31]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Severity, bEnable);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::SetBreakOnID"]/*' />
|
||||
@@ -311,7 +439,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(32)]
|
||||
public HResult SetBreakOnID(MessageId ID, Bool32 bEnable)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, MessageId, Bool32, int>)(lpVtbl[32]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), ID, bEnable);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, MessageId, Bool32, int>)(lpVtbl[32]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), ID, bEnable);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::GetBreakOnCategory"]/*' />
|
||||
@@ -319,7 +451,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(33)]
|
||||
public Bool32 GetBreakOnCategory(MessageCategory Category)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, MessageCategory, Bool32>)(lpVtbl[33]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Category);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, MessageCategory, Bool32>)(lpVtbl[33]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Category);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::GetBreakOnSeverity"]/*' />
|
||||
@@ -327,7 +463,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(34)]
|
||||
public Bool32 GetBreakOnSeverity(MessageSeverity Severity)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, MessageSeverity, Bool32>)(lpVtbl[34]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Severity);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, MessageSeverity, Bool32>)(lpVtbl[34]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Severity);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::GetBreakOnID"]/*' />
|
||||
@@ -335,7 +475,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(35)]
|
||||
public Bool32 GetBreakOnID(MessageId ID)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, MessageId, Bool32>)(lpVtbl[35]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), ID);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, MessageId, Bool32>)(lpVtbl[35]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), ID);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::SetMuteDebugOutput"]/*' />
|
||||
@@ -343,7 +487,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(36)]
|
||||
public void SetMuteDebugOutput(Bool32 bMute)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11InfoQueue*, Bool32, void>)(lpVtbl[36]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), bMute);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, Bool32, void>)(lpVtbl[36]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), bMute);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11InfoQueue::GetMuteDebugOutput"]/*' />
|
||||
@@ -351,7 +499,11 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ
|
||||
[VtblIndex(37)]
|
||||
public Bool32 GetMuteDebugOutput()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InfoQueue*, Bool32>)(lpVtbl[37]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InfoQueue*, Bool32>)(lpVtbl[37]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11InputLayout : ID3D11InputLayout.Interface, IN
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InputLayout*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11InputLayout*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InputLayout*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11InputLayout*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11InputLayout : ID3D11InputLayout.Interface, IN
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InputLayout*, uint>)(lpVtbl[1]))((ID3D11InputLayout*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InputLayout*, uint>)(lpVtbl[1]))((ID3D11InputLayout*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11InputLayout : ID3D11InputLayout.Interface, IN
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InputLayout*, uint>)(lpVtbl[2]))((ID3D11InputLayout*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InputLayout*, uint>)(lpVtbl[2]))((ID3D11InputLayout*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11InputLayout : ID3D11InputLayout.Interface, IN
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11InputLayout*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11InputLayout*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11InputLayout*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11InputLayout*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11InputLayout : ID3D11InputLayout.Interface, IN
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InputLayout*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11InputLayout*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InputLayout*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11InputLayout*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11InputLayout : ID3D11InputLayout.Interface, IN
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InputLayout*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11InputLayout*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InputLayout*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11InputLayout*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11InputLayout : ID3D11InputLayout.Interface, IN
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11InputLayout*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11InputLayout*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11InputLayout*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11InputLayout*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11DeviceChild.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11LibraryReflection : ID3D11LibraryReflection.I
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11LibraryReflection*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11LibraryReflection*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11LibraryReflection*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11LibraryReflection*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11LibraryReflection : ID3D11LibraryReflection.I
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11LibraryReflection*, uint>)(lpVtbl[1]))((ID3D11LibraryReflection*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11LibraryReflection*, uint>)(lpVtbl[1]))((ID3D11LibraryReflection*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11LibraryReflection : ID3D11LibraryReflection.I
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11LibraryReflection*, uint>)(lpVtbl[2]))((ID3D11LibraryReflection*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11LibraryReflection*, uint>)(lpVtbl[2]))((ID3D11LibraryReflection*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11LibraryReflection::GetDesc"]/*' />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11LibraryReflection : ID3D11LibraryReflection.I
|
||||
[VtblIndex(3)]
|
||||
public HResult GetDesc(LibraryDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11LibraryReflection*, LibraryDescription*, int>)(lpVtbl[3]))((ID3D11LibraryReflection*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11LibraryReflection*, LibraryDescription*, int>)(lpVtbl[3]))((ID3D11LibraryReflection*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11LibraryReflection::GetFunctionByIndex"]/*' />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11LibraryReflection : ID3D11LibraryReflection.I
|
||||
[VtblIndex(4)]
|
||||
public ID3D11FunctionReflection GetFunctionByIndex(int FunctionIndex)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11LibraryReflection*, int, ID3D11FunctionReflection>)(lpVtbl[4]))((ID3D11LibraryReflection*)Unsafe.AsPointer(ref this), FunctionIndex);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11LibraryReflection*, int, ID3D11FunctionReflection>)(lpVtbl[4]))((ID3D11LibraryReflection*)Unsafe.AsPointer(ref this), FunctionIndex);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11Linker : ID3D11Linker.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Linker*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Linker*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Linker*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Linker*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11Linker : ID3D11Linker.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Linker*, uint>)(lpVtbl[1]))((ID3D11Linker*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Linker*, uint>)(lpVtbl[1]))((ID3D11Linker*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11Linker : ID3D11Linker.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Linker*, uint>)(lpVtbl[2]))((ID3D11Linker*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Linker*, uint>)(lpVtbl[2]))((ID3D11Linker*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Linker::Link"]/*' />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11Linker : ID3D11Linker.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public HResult Link(ID3D11ModuleInstance* pEntry, sbyte* pEntryName, sbyte* pTargetName, uint uFlags, Graphics.Direct3D.ID3DBlob** ppShaderBlob, Graphics.Direct3D.ID3DBlob** ppErrorBuffer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Linker*, ID3D11ModuleInstance*, sbyte*, sbyte*, uint, Graphics.Direct3D.ID3DBlob**, Graphics.Direct3D.ID3DBlob**, int>)(lpVtbl[3]))((ID3D11Linker*)Unsafe.AsPointer(ref this), pEntry, pEntryName, pTargetName, uFlags, ppShaderBlob, ppErrorBuffer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Linker*, ID3D11ModuleInstance*, sbyte*, sbyte*, uint, Graphics.Direct3D.ID3DBlob**, Graphics.Direct3D.ID3DBlob**, int>)(lpVtbl[3]))((ID3D11Linker*)Unsafe.AsPointer(ref this), pEntry, pEntryName, pTargetName, uFlags, ppShaderBlob, ppErrorBuffer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Linker::UseLibrary"]/*' />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11Linker : ID3D11Linker.Interface, INativeGuid
|
||||
[VtblIndex(4)]
|
||||
public HResult UseLibrary(ID3D11ModuleInstance* pLibraryMI)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Linker*, ID3D11ModuleInstance*, int>)(lpVtbl[4]))((ID3D11Linker*)Unsafe.AsPointer(ref this), pLibraryMI);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Linker*, ID3D11ModuleInstance*, int>)(lpVtbl[4]))((ID3D11Linker*)Unsafe.AsPointer(ref this), pLibraryMI);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Linker::AddClipPlaneFromCBuffer"]/*' />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11Linker : ID3D11Linker.Interface, INativeGuid
|
||||
[VtblIndex(5)]
|
||||
public HResult AddClipPlaneFromCBuffer(uint uCBufferSlot, uint uCBufferEntry)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Linker*, uint, uint, int>)(lpVtbl[5]))((ID3D11Linker*)Unsafe.AsPointer(ref this), uCBufferSlot, uCBufferEntry);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Linker*, uint, uint, int>)(lpVtbl[5]))((ID3D11Linker*)Unsafe.AsPointer(ref this), uCBufferSlot, uCBufferEntry);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11LinkingNode : ID3D11LinkingNode.Interface, IN
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11LinkingNode*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11LinkingNode*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11LinkingNode*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11LinkingNode*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11LinkingNode : ID3D11LinkingNode.Interface, IN
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11LinkingNode*, uint>)(lpVtbl[1]))((ID3D11LinkingNode*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11LinkingNode*, uint>)(lpVtbl[1]))((ID3D11LinkingNode*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11LinkingNode : ID3D11LinkingNode.Interface, IN
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11LinkingNode*, uint>)(lpVtbl[2]))((ID3D11LinkingNode*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11LinkingNode*, uint>)(lpVtbl[2]))((ID3D11LinkingNode*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11Module : ID3D11Module.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Module*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Module*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Module*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Module*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11Module : ID3D11Module.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Module*, uint>)(lpVtbl[1]))((ID3D11Module*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Module*, uint>)(lpVtbl[1]))((ID3D11Module*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11Module : ID3D11Module.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Module*, uint>)(lpVtbl[2]))((ID3D11Module*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Module*, uint>)(lpVtbl[2]))((ID3D11Module*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Module::CreateInstance"]/*' />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11Module : ID3D11Module.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public HResult CreateInstance(sbyte* pNamespace, ID3D11ModuleInstance** ppModuleInstance)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Module*, sbyte*, ID3D11ModuleInstance**, int>)(lpVtbl[3]))((ID3D11Module*)Unsafe.AsPointer(ref this), pNamespace, ppModuleInstance);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Module*, sbyte*, ID3D11ModuleInstance**, int>)(lpVtbl[3]))((ID3D11Module*)Unsafe.AsPointer(ref this), pNamespace, ppModuleInstance);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ModuleInstance*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ModuleInstance*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ModuleInstance*, uint>)(lpVtbl[1]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ModuleInstance*, uint>)(lpVtbl[1]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ModuleInstance*, uint>)(lpVtbl[2]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ModuleInstance*, uint>)(lpVtbl[2]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ModuleInstance::BindConstantBuffer"]/*' />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa
|
||||
[VtblIndex(3)]
|
||||
public HResult BindConstantBuffer(uint uSrcSlot, uint uDstSlot, uint cbDstOffset)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ModuleInstance*, uint, uint, uint, int>)(lpVtbl[3]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), uSrcSlot, uDstSlot, cbDstOffset);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ModuleInstance*, uint, uint, uint, int>)(lpVtbl[3]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), uSrcSlot, uDstSlot, cbDstOffset);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ModuleInstance::BindConstantBufferByName"]/*' />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa
|
||||
[VtblIndex(4)]
|
||||
public HResult BindConstantBufferByName(sbyte* pName, uint uDstSlot, uint cbDstOffset)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ModuleInstance*, sbyte*, uint, uint, int>)(lpVtbl[4]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pName, uDstSlot, cbDstOffset);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ModuleInstance*, sbyte*, uint, uint, int>)(lpVtbl[4]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pName, uDstSlot, cbDstOffset);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ModuleInstance::BindResource"]/*' />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa
|
||||
[VtblIndex(5)]
|
||||
public HResult BindResource(uint uSrcSlot, uint uDstSlot, uint uCount)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ModuleInstance*, uint, uint, uint, int>)(lpVtbl[5]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), uSrcSlot, uDstSlot, uCount);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ModuleInstance*, uint, uint, uint, int>)(lpVtbl[5]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), uSrcSlot, uDstSlot, uCount);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ModuleInstance::BindResourceByName"]/*' />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa
|
||||
[VtblIndex(6)]
|
||||
public HResult BindResourceByName(sbyte* pName, uint uDstSlot, uint uCount)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ModuleInstance*, sbyte*, uint, uint, int>)(lpVtbl[6]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pName, uDstSlot, uCount);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ModuleInstance*, sbyte*, uint, uint, int>)(lpVtbl[6]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pName, uDstSlot, uCount);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ModuleInstance::BindSampler"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa
|
||||
[VtblIndex(7)]
|
||||
public HResult BindSampler(uint uSrcSlot, uint uDstSlot, uint uCount)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ModuleInstance*, uint, uint, uint, int>)(lpVtbl[7]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), uSrcSlot, uDstSlot, uCount);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ModuleInstance*, uint, uint, uint, int>)(lpVtbl[7]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), uSrcSlot, uDstSlot, uCount);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ModuleInstance::BindSamplerByName"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa
|
||||
[VtblIndex(8)]
|
||||
public HResult BindSamplerByName(sbyte* pName, uint uDstSlot, uint uCount)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ModuleInstance*, sbyte*, uint, uint, int>)(lpVtbl[8]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pName, uDstSlot, uCount);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ModuleInstance*, sbyte*, uint, uint, int>)(lpVtbl[8]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pName, uDstSlot, uCount);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ModuleInstance::BindUnorderedAccessView"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa
|
||||
[VtblIndex(9)]
|
||||
public HResult BindUnorderedAccessView(uint uSrcSlot, uint uDstSlot, uint uCount)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ModuleInstance*, uint, uint, uint, int>)(lpVtbl[9]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), uSrcSlot, uDstSlot, uCount);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ModuleInstance*, uint, uint, uint, int>)(lpVtbl[9]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), uSrcSlot, uDstSlot, uCount);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ModuleInstance::BindUnorderedAccessViewByName"]/*' />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa
|
||||
[VtblIndex(10)]
|
||||
public HResult BindUnorderedAccessViewByName(sbyte* pName, uint uDstSlot, uint uCount)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ModuleInstance*, sbyte*, uint, uint, int>)(lpVtbl[10]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pName, uDstSlot, uCount);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ModuleInstance*, sbyte*, uint, uint, int>)(lpVtbl[10]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pName, uDstSlot, uCount);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ModuleInstance::BindResourceAsUnorderedAccessView"]/*' />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa
|
||||
[VtblIndex(11)]
|
||||
public HResult BindResourceAsUnorderedAccessView(uint uSrcSrvSlot, uint uDstUavSlot, uint uCount)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ModuleInstance*, uint, uint, uint, int>)(lpVtbl[11]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), uSrcSrvSlot, uDstUavSlot, uCount);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ModuleInstance*, uint, uint, uint, int>)(lpVtbl[11]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), uSrcSrvSlot, uDstUavSlot, uCount);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ModuleInstance::BindResourceAsUnorderedAccessViewByName"]/*' />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa
|
||||
[VtblIndex(12)]
|
||||
public HResult BindResourceAsUnorderedAccessViewByName(sbyte* pSrvName, uint uDstUavSlot, uint uCount)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ModuleInstance*, sbyte*, uint, uint, int>)(lpVtbl[12]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pSrvName, uDstUavSlot, uCount);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ModuleInstance*, sbyte*, uint, uint, int>)(lpVtbl[12]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pSrvName, uDstUavSlot, uCount);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11Multithread : ID3D11Multithread.Interface, IN
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Multithread*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Multithread*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Multithread*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Multithread*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11Multithread : ID3D11Multithread.Interface, IN
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Multithread*, uint>)(lpVtbl[1]))((ID3D11Multithread*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Multithread*, uint>)(lpVtbl[1]))((ID3D11Multithread*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11Multithread : ID3D11Multithread.Interface, IN
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Multithread*, uint>)(lpVtbl[2]))((ID3D11Multithread*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Multithread*, uint>)(lpVtbl[2]))((ID3D11Multithread*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Multithread::Enter"]/*' />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11Multithread : ID3D11Multithread.Interface, IN
|
||||
[VtblIndex(3)]
|
||||
public void Enter()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Multithread*, void>)(lpVtbl[3]))((ID3D11Multithread*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Multithread*, void>)(lpVtbl[3]))((ID3D11Multithread*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Multithread::Leave"]/*' />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11Multithread : ID3D11Multithread.Interface, IN
|
||||
[VtblIndex(4)]
|
||||
public void Leave()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Multithread*, void>)(lpVtbl[4]))((ID3D11Multithread*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Multithread*, void>)(lpVtbl[4]))((ID3D11Multithread*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Multithread::SetMultithreadProtected"]/*' />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11Multithread : ID3D11Multithread.Interface, IN
|
||||
[VtblIndex(5)]
|
||||
public Bool32 SetMultithreadProtected(Bool32 bMTProtect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Multithread*, Bool32, Bool32>)(lpVtbl[5]))((ID3D11Multithread*)Unsafe.AsPointer(ref this), bMTProtect);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Multithread*, Bool32, Bool32>)(lpVtbl[5]))((ID3D11Multithread*)Unsafe.AsPointer(ref this), bMTProtect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Multithread::GetMultithreadProtected"]/*' />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11Multithread : ID3D11Multithread.Interface, IN
|
||||
[VtblIndex(6)]
|
||||
public Bool32 GetMultithreadProtected()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Multithread*, Bool32>)(lpVtbl[6]))((ID3D11Multithread*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Multithread*, Bool32>)(lpVtbl[6]))((ID3D11Multithread*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11PixelShader : ID3D11PixelShader.Interface, IN
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11PixelShader*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11PixelShader*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11PixelShader*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11PixelShader*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11PixelShader : ID3D11PixelShader.Interface, IN
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11PixelShader*, uint>)(lpVtbl[1]))((ID3D11PixelShader*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11PixelShader*, uint>)(lpVtbl[1]))((ID3D11PixelShader*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11PixelShader : ID3D11PixelShader.Interface, IN
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11PixelShader*, uint>)(lpVtbl[2]))((ID3D11PixelShader*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11PixelShader*, uint>)(lpVtbl[2]))((ID3D11PixelShader*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11PixelShader : ID3D11PixelShader.Interface, IN
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11PixelShader*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11PixelShader*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11PixelShader*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11PixelShader*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11PixelShader : ID3D11PixelShader.Interface, IN
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11PixelShader*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11PixelShader*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11PixelShader*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11PixelShader*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11PixelShader : ID3D11PixelShader.Interface, IN
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11PixelShader*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11PixelShader*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11PixelShader*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11PixelShader*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11PixelShader : ID3D11PixelShader.Interface, IN
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11PixelShader*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11PixelShader*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11PixelShader*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11PixelShader*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11DeviceChild.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11Predicate : ID3D11Predicate.Interface, INativ
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Predicate*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Predicate*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Predicate*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Predicate*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11Predicate : ID3D11Predicate.Interface, INativ
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Predicate*, uint>)(lpVtbl[1]))((ID3D11Predicate*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Predicate*, uint>)(lpVtbl[1]))((ID3D11Predicate*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11Predicate : ID3D11Predicate.Interface, INativ
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Predicate*, uint>)(lpVtbl[2]))((ID3D11Predicate*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Predicate*, uint>)(lpVtbl[2]))((ID3D11Predicate*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11Predicate : ID3D11Predicate.Interface, INativ
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Predicate*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11Predicate*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Predicate*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11Predicate*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11Predicate : ID3D11Predicate.Interface, INativ
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Predicate*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11Predicate*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Predicate*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11Predicate*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11Predicate : ID3D11Predicate.Interface, INativ
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Predicate*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11Predicate*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Predicate*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11Predicate*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11Predicate : ID3D11Predicate.Interface, INativ
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Predicate*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11Predicate*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Predicate*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11Predicate*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Asynchronous.GetDataSize" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11Predicate : ID3D11Predicate.Interface, INativ
|
||||
[VtblIndex(7)]
|
||||
public uint GetDataSize()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Predicate*, uint>)(lpVtbl[7]))((ID3D11Predicate*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Predicate*, uint>)(lpVtbl[7]))((ID3D11Predicate*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Query.GetDesc" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11Predicate : ID3D11Predicate.Interface, INativ
|
||||
[VtblIndex(8)]
|
||||
public void GetDesc(QueryDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Predicate*, QueryDescription*, void>)(lpVtbl[8]))((ID3D11Predicate*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Predicate*, QueryDescription*, void>)(lpVtbl[8]))((ID3D11Predicate*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11Query.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11Query : ID3D11Query.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Query*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Query*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Query*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Query*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11Query : ID3D11Query.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Query*, uint>)(lpVtbl[1]))((ID3D11Query*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Query*, uint>)(lpVtbl[1]))((ID3D11Query*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11Query : ID3D11Query.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Query*, uint>)(lpVtbl[2]))((ID3D11Query*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Query*, uint>)(lpVtbl[2]))((ID3D11Query*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11Query : ID3D11Query.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Query*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11Query*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Query*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11Query*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11Query : ID3D11Query.Interface, INativeGuid
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Query*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11Query*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Query*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11Query*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11Query : ID3D11Query.Interface, INativeGuid
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Query*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11Query*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Query*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11Query*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11Query : ID3D11Query.Interface, INativeGuid
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Query*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11Query*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Query*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11Query*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Asynchronous.GetDataSize" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11Query : ID3D11Query.Interface, INativeGuid
|
||||
[VtblIndex(7)]
|
||||
public uint GetDataSize()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Query*, uint>)(lpVtbl[7]))((ID3D11Query*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Query*, uint>)(lpVtbl[7]))((ID3D11Query*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Query::GetDesc"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11Query : ID3D11Query.Interface, INativeGuid
|
||||
[VtblIndex(8)]
|
||||
public void GetDesc(QueryDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Query*, QueryDescription*, void>)(lpVtbl[8]))((ID3D11Query*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Query*, QueryDescription*, void>)(lpVtbl[8]))((ID3D11Query*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11Asynchronous.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11Query1 : ID3D11Query1.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Query1*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Query1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Query1*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Query1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11Query1 : ID3D11Query1.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Query1*, uint>)(lpVtbl[1]))((ID3D11Query1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Query1*, uint>)(lpVtbl[1]))((ID3D11Query1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11Query1 : ID3D11Query1.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Query1*, uint>)(lpVtbl[2]))((ID3D11Query1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Query1*, uint>)(lpVtbl[2]))((ID3D11Query1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11Query1 : ID3D11Query1.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Query1*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11Query1*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Query1*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11Query1*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11Query1 : ID3D11Query1.Interface, INativeGuid
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Query1*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11Query1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Query1*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11Query1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11Query1 : ID3D11Query1.Interface, INativeGuid
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Query1*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11Query1*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Query1*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11Query1*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11Query1 : ID3D11Query1.Interface, INativeGuid
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Query1*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11Query1*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Query1*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11Query1*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Asynchronous.GetDataSize" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11Query1 : ID3D11Query1.Interface, INativeGuid
|
||||
[VtblIndex(7)]
|
||||
public uint GetDataSize()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Query1*, uint>)(lpVtbl[7]))((ID3D11Query1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Query1*, uint>)(lpVtbl[7]))((ID3D11Query1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Query.GetDesc" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11Query1 : ID3D11Query1.Interface, INativeGuid
|
||||
[VtblIndex(8)]
|
||||
public void GetDesc(QueryDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Query1*, QueryDescription*, void>)(lpVtbl[8]))((ID3D11Query1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Query1*, QueryDescription*, void>)(lpVtbl[8]))((ID3D11Query1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Query1::GetDesc1"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11Query1 : ID3D11Query1.Interface, INativeGuid
|
||||
[VtblIndex(9)]
|
||||
public void GetDesc1(QueryDescription1* pDesc1)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Query1*, QueryDescription1*, void>)(lpVtbl[9]))((ID3D11Query1*)Unsafe.AsPointer(ref this), pDesc1);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Query1*, QueryDescription1*, void>)(lpVtbl[9]))((ID3D11Query1*)Unsafe.AsPointer(ref this), pDesc1);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11Query.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11RasterizerState : ID3D11RasterizerState.Inter
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RasterizerState*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11RasterizerState*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RasterizerState*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11RasterizerState*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11RasterizerState : ID3D11RasterizerState.Inter
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RasterizerState*, uint>)(lpVtbl[1]))((ID3D11RasterizerState*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RasterizerState*, uint>)(lpVtbl[1]))((ID3D11RasterizerState*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11RasterizerState : ID3D11RasterizerState.Inter
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RasterizerState*, uint>)(lpVtbl[2]))((ID3D11RasterizerState*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RasterizerState*, uint>)(lpVtbl[2]))((ID3D11RasterizerState*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11RasterizerState : ID3D11RasterizerState.Inter
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11RasterizerState*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11RasterizerState*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11RasterizerState*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11RasterizerState*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11RasterizerState : ID3D11RasterizerState.Inter
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RasterizerState*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11RasterizerState*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RasterizerState*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11RasterizerState*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11RasterizerState : ID3D11RasterizerState.Inter
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RasterizerState*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11RasterizerState*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RasterizerState*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11RasterizerState*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11RasterizerState : ID3D11RasterizerState.Inter
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RasterizerState*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11RasterizerState*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RasterizerState*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11RasterizerState*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11RasterizerState::GetDesc"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11RasterizerState : ID3D11RasterizerState.Inter
|
||||
[VtblIndex(7)]
|
||||
public void GetDesc(RasterizerDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11RasterizerState*, RasterizerDescription*, void>)(lpVtbl[7]))((ID3D11RasterizerState*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11RasterizerState*, RasterizerDescription*, void>)(lpVtbl[7]))((ID3D11RasterizerState*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11DeviceChild.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11RasterizerState1 : ID3D11RasterizerState1.Int
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RasterizerState1*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RasterizerState1*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11RasterizerState1 : ID3D11RasterizerState1.Int
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RasterizerState1*, uint>)(lpVtbl[1]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RasterizerState1*, uint>)(lpVtbl[1]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11RasterizerState1 : ID3D11RasterizerState1.Int
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RasterizerState1*, uint>)(lpVtbl[2]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RasterizerState1*, uint>)(lpVtbl[2]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11RasterizerState1 : ID3D11RasterizerState1.Int
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11RasterizerState1*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11RasterizerState1*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11RasterizerState1 : ID3D11RasterizerState1.Int
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RasterizerState1*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RasterizerState1*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11RasterizerState1 : ID3D11RasterizerState1.Int
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RasterizerState1*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RasterizerState1*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11RasterizerState1 : ID3D11RasterizerState1.Int
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RasterizerState1*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RasterizerState1*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11RasterizerState.GetDesc" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11RasterizerState1 : ID3D11RasterizerState1.Int
|
||||
[VtblIndex(7)]
|
||||
public void GetDesc(RasterizerDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11RasterizerState1*, RasterizerDescription*, void>)(lpVtbl[7]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11RasterizerState1*, RasterizerDescription*, void>)(lpVtbl[7]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11RasterizerState1::GetDesc1"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11RasterizerState1 : ID3D11RasterizerState1.Int
|
||||
[VtblIndex(8)]
|
||||
public void GetDesc1(RasterizerDescription1* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11RasterizerState1*, RasterizerDescription1*, void>)(lpVtbl[8]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11RasterizerState1*, RasterizerDescription1*, void>)(lpVtbl[8]))((ID3D11RasterizerState1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11RasterizerState.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11RasterizerState2 : ID3D11RasterizerState2.Int
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RasterizerState2*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RasterizerState2*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11RasterizerState2 : ID3D11RasterizerState2.Int
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RasterizerState2*, uint>)(lpVtbl[1]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RasterizerState2*, uint>)(lpVtbl[1]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11RasterizerState2 : ID3D11RasterizerState2.Int
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RasterizerState2*, uint>)(lpVtbl[2]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RasterizerState2*, uint>)(lpVtbl[2]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11RasterizerState2 : ID3D11RasterizerState2.Int
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11RasterizerState2*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11RasterizerState2*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11RasterizerState2 : ID3D11RasterizerState2.Int
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RasterizerState2*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RasterizerState2*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11RasterizerState2 : ID3D11RasterizerState2.Int
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RasterizerState2*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RasterizerState2*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11RasterizerState2 : ID3D11RasterizerState2.Int
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RasterizerState2*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RasterizerState2*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11RasterizerState.GetDesc" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11RasterizerState2 : ID3D11RasterizerState2.Int
|
||||
[VtblIndex(7)]
|
||||
public void GetDesc(RasterizerDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11RasterizerState2*, RasterizerDescription*, void>)(lpVtbl[7]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11RasterizerState2*, RasterizerDescription*, void>)(lpVtbl[7]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11RasterizerState1.GetDesc1" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11RasterizerState2 : ID3D11RasterizerState2.Int
|
||||
[VtblIndex(8)]
|
||||
public void GetDesc1(RasterizerDescription1* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11RasterizerState2*, RasterizerDescription1*, void>)(lpVtbl[8]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11RasterizerState2*, RasterizerDescription1*, void>)(lpVtbl[8]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11RasterizerState2::GetDesc2"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11RasterizerState2 : ID3D11RasterizerState2.Int
|
||||
[VtblIndex(9)]
|
||||
public void GetDesc2(RasterizerDescription2* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11RasterizerState2*, RasterizerDescription2*, void>)(lpVtbl[9]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11RasterizerState2*, RasterizerDescription2*, void>)(lpVtbl[9]))((ID3D11RasterizerState2*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11RasterizerState1.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11RefDefaultTrackingOptions : ID3D11RefDefaultT
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RefDefaultTrackingOptions*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11RefDefaultTrackingOptions*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RefDefaultTrackingOptions*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11RefDefaultTrackingOptions*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11RefDefaultTrackingOptions : ID3D11RefDefaultT
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RefDefaultTrackingOptions*, uint>)(lpVtbl[1]))((ID3D11RefDefaultTrackingOptions*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RefDefaultTrackingOptions*, uint>)(lpVtbl[1]))((ID3D11RefDefaultTrackingOptions*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11RefDefaultTrackingOptions : ID3D11RefDefaultT
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RefDefaultTrackingOptions*, uint>)(lpVtbl[2]))((ID3D11RefDefaultTrackingOptions*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RefDefaultTrackingOptions*, uint>)(lpVtbl[2]))((ID3D11RefDefaultTrackingOptions*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11RefDefaultTrackingOptions::SetTrackingOptions"]/*' />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11RefDefaultTrackingOptions : ID3D11RefDefaultT
|
||||
[VtblIndex(3)]
|
||||
public HResult SetTrackingOptions(uint ResourceTypeFlags, uint Options)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RefDefaultTrackingOptions*, uint, uint, int>)(lpVtbl[3]))((ID3D11RefDefaultTrackingOptions*)Unsafe.AsPointer(ref this), ResourceTypeFlags, Options);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RefDefaultTrackingOptions*, uint, uint, int>)(lpVtbl[3]))((ID3D11RefDefaultTrackingOptions*)Unsafe.AsPointer(ref this), ResourceTypeFlags, Options);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11RefTrackingOptions : ID3D11RefTrackingOptions
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RefTrackingOptions*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11RefTrackingOptions*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RefTrackingOptions*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11RefTrackingOptions*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11RefTrackingOptions : ID3D11RefTrackingOptions
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RefTrackingOptions*, uint>)(lpVtbl[1]))((ID3D11RefTrackingOptions*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RefTrackingOptions*, uint>)(lpVtbl[1]))((ID3D11RefTrackingOptions*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11RefTrackingOptions : ID3D11RefTrackingOptions
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RefTrackingOptions*, uint>)(lpVtbl[2]))((ID3D11RefTrackingOptions*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RefTrackingOptions*, uint>)(lpVtbl[2]))((ID3D11RefTrackingOptions*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11RefTrackingOptions::SetTrackingOptions"]/*' />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11RefTrackingOptions : ID3D11RefTrackingOptions
|
||||
[VtblIndex(3)]
|
||||
public HResult SetTrackingOptions(uint uOptions)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RefTrackingOptions*, uint, int>)(lpVtbl[3]))((ID3D11RefTrackingOptions*)Unsafe.AsPointer(ref this), uOptions);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RefTrackingOptions*, uint, int>)(lpVtbl[3]))((ID3D11RefTrackingOptions*)Unsafe.AsPointer(ref this), uOptions);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11RenderTargetView : ID3D11RenderTargetView.Int
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RenderTargetView*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RenderTargetView*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11RenderTargetView : ID3D11RenderTargetView.Int
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RenderTargetView*, uint>)(lpVtbl[1]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RenderTargetView*, uint>)(lpVtbl[1]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11RenderTargetView : ID3D11RenderTargetView.Int
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RenderTargetView*, uint>)(lpVtbl[2]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RenderTargetView*, uint>)(lpVtbl[2]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11RenderTargetView : ID3D11RenderTargetView.Int
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11RenderTargetView*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11RenderTargetView*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11RenderTargetView : ID3D11RenderTargetView.Int
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RenderTargetView*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RenderTargetView*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11RenderTargetView : ID3D11RenderTargetView.Int
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RenderTargetView*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RenderTargetView*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11RenderTargetView : ID3D11RenderTargetView.Int
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RenderTargetView*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RenderTargetView*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11View.GetResource" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11RenderTargetView : ID3D11RenderTargetView.Int
|
||||
[VtblIndex(7)]
|
||||
public void GetResource(ID3D11Resource** ppResource)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11RenderTargetView*, ID3D11Resource**, void>)(lpVtbl[7]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this), ppResource);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11RenderTargetView*, ID3D11Resource**, void>)(lpVtbl[7]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this), ppResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11RenderTargetView::GetDesc"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11RenderTargetView : ID3D11RenderTargetView.Int
|
||||
[VtblIndex(8)]
|
||||
public void GetDesc(RenderTargetViewDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11RenderTargetView*, RenderTargetViewDescription*, void>)(lpVtbl[8]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11RenderTargetView*, RenderTargetViewDescription*, void>)(lpVtbl[8]))((ID3D11RenderTargetView*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11View.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11RenderTargetView1 : ID3D11RenderTargetView1.I
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RenderTargetView1*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RenderTargetView1*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11RenderTargetView1 : ID3D11RenderTargetView1.I
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RenderTargetView1*, uint>)(lpVtbl[1]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RenderTargetView1*, uint>)(lpVtbl[1]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11RenderTargetView1 : ID3D11RenderTargetView1.I
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RenderTargetView1*, uint>)(lpVtbl[2]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RenderTargetView1*, uint>)(lpVtbl[2]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11RenderTargetView1 : ID3D11RenderTargetView1.I
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11RenderTargetView1*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11RenderTargetView1*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11RenderTargetView1 : ID3D11RenderTargetView1.I
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RenderTargetView1*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RenderTargetView1*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11RenderTargetView1 : ID3D11RenderTargetView1.I
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RenderTargetView1*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RenderTargetView1*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11RenderTargetView1 : ID3D11RenderTargetView1.I
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11RenderTargetView1*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11RenderTargetView1*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11View.GetResource" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11RenderTargetView1 : ID3D11RenderTargetView1.I
|
||||
[VtblIndex(7)]
|
||||
public void GetResource(ID3D11Resource** ppResource)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11RenderTargetView1*, ID3D11Resource**, void>)(lpVtbl[7]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), ppResource);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11RenderTargetView1*, ID3D11Resource**, void>)(lpVtbl[7]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), ppResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11RenderTargetView.GetDesc" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11RenderTargetView1 : ID3D11RenderTargetView1.I
|
||||
[VtblIndex(8)]
|
||||
public void GetDesc(RenderTargetViewDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11RenderTargetView1*, RenderTargetViewDescription*, void>)(lpVtbl[8]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11RenderTargetView1*, RenderTargetViewDescription*, void>)(lpVtbl[8]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11RenderTargetView1::GetDesc1"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11RenderTargetView1 : ID3D11RenderTargetView1.I
|
||||
[VtblIndex(9)]
|
||||
public void GetDesc1(RenderTargetViewDescription1* pDesc1)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11RenderTargetView1*, RenderTargetViewDescription1*, void>)(lpVtbl[9]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), pDesc1);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11RenderTargetView1*, RenderTargetViewDescription1*, void>)(lpVtbl[9]))((ID3D11RenderTargetView1*)Unsafe.AsPointer(ref this), pDesc1);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11RenderTargetView.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11Resource : ID3D11Resource.Interface, INativeG
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Resource*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Resource*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Resource*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Resource*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11Resource : ID3D11Resource.Interface, INativeG
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Resource*, uint>)(lpVtbl[1]))((ID3D11Resource*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Resource*, uint>)(lpVtbl[1]))((ID3D11Resource*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11Resource : ID3D11Resource.Interface, INativeG
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Resource*, uint>)(lpVtbl[2]))((ID3D11Resource*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Resource*, uint>)(lpVtbl[2]))((ID3D11Resource*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11Resource : ID3D11Resource.Interface, INativeG
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Resource*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11Resource*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Resource*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11Resource*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11Resource : ID3D11Resource.Interface, INativeG
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Resource*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11Resource*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Resource*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11Resource*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11Resource : ID3D11Resource.Interface, INativeG
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Resource*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11Resource*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Resource*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11Resource*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11Resource : ID3D11Resource.Interface, INativeG
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Resource*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11Resource*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Resource*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11Resource*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Resource::GetType"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11Resource : ID3D11Resource.Interface, INativeG
|
||||
[VtblIndex(7)]
|
||||
public void GetType(ResourceDimension* pResourceDimension)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Resource*, ResourceDimension*, void>)(lpVtbl[7]))((ID3D11Resource*)Unsafe.AsPointer(ref this), pResourceDimension);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Resource*, ResourceDimension*, void>)(lpVtbl[7]))((ID3D11Resource*)Unsafe.AsPointer(ref this), pResourceDimension);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Resource::SetEvictionPriority"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11Resource : ID3D11Resource.Interface, INativeG
|
||||
[VtblIndex(8)]
|
||||
public void SetEvictionPriority(uint EvictionPriority)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Resource*, uint, void>)(lpVtbl[8]))((ID3D11Resource*)Unsafe.AsPointer(ref this), EvictionPriority);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Resource*, uint, void>)(lpVtbl[8]))((ID3D11Resource*)Unsafe.AsPointer(ref this), EvictionPriority);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Resource::GetEvictionPriority"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11Resource : ID3D11Resource.Interface, INativeG
|
||||
[VtblIndex(9)]
|
||||
public uint GetEvictionPriority()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Resource*, uint>)(lpVtbl[9]))((ID3D11Resource*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Resource*, uint>)(lpVtbl[9]))((ID3D11Resource*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11DeviceChild.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11SamplerState : ID3D11SamplerState.Interface,
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11SamplerState*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11SamplerState*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11SamplerState*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11SamplerState*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11SamplerState : ID3D11SamplerState.Interface,
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11SamplerState*, uint>)(lpVtbl[1]))((ID3D11SamplerState*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11SamplerState*, uint>)(lpVtbl[1]))((ID3D11SamplerState*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11SamplerState : ID3D11SamplerState.Interface,
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11SamplerState*, uint>)(lpVtbl[2]))((ID3D11SamplerState*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11SamplerState*, uint>)(lpVtbl[2]))((ID3D11SamplerState*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11SamplerState : ID3D11SamplerState.Interface,
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11SamplerState*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11SamplerState*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11SamplerState*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11SamplerState*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11SamplerState : ID3D11SamplerState.Interface,
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11SamplerState*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11SamplerState*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11SamplerState*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11SamplerState*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11SamplerState : ID3D11SamplerState.Interface,
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11SamplerState*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11SamplerState*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11SamplerState*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11SamplerState*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11SamplerState : ID3D11SamplerState.Interface,
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11SamplerState*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11SamplerState*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11SamplerState*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11SamplerState*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11SamplerState::GetDesc"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11SamplerState : ID3D11SamplerState.Interface,
|
||||
[VtblIndex(7)]
|
||||
public void GetDesc(SamplerDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11SamplerState*, SamplerDescription*, void>)(lpVtbl[7]))((ID3D11SamplerState*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11SamplerState*, SamplerDescription*, void>)(lpVtbl[7]))((ID3D11SamplerState*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11DeviceChild.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflection*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflection*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflection*, uint>)(lpVtbl[1]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflection*, uint>)(lpVtbl[1]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflection*, uint>)(lpVtbl[2]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflection*, uint>)(lpVtbl[2]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflection::GetDesc"]/*' />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int
|
||||
[VtblIndex(3)]
|
||||
public HResult GetDesc(ShaderDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflection*, ShaderDescription*, int>)(lpVtbl[3]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflection*, ShaderDescription*, int>)(lpVtbl[3]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflection::GetConstantBufferByIndex"]/*' />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int
|
||||
[VtblIndex(4)]
|
||||
public ID3D11ShaderReflectionConstantBuffer GetConstantBufferByIndex(uint Index)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflection*, uint, ID3D11ShaderReflectionConstantBuffer>)(lpVtbl[4]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Index);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflection*, uint, ID3D11ShaderReflectionConstantBuffer>)(lpVtbl[4]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Index);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflection::GetConstantBufferByName"]/*' />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int
|
||||
[VtblIndex(5)]
|
||||
public ID3D11ShaderReflectionConstantBuffer GetConstantBufferByName(sbyte* Name)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflection*, sbyte*, ID3D11ShaderReflectionConstantBuffer>)(lpVtbl[5]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Name);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflection*, sbyte*, ID3D11ShaderReflectionConstantBuffer>)(lpVtbl[5]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Name);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflection::GetResourceBindingDesc"]/*' />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int
|
||||
[VtblIndex(6)]
|
||||
public HResult GetResourceBindingDesc(uint ResourceIndex, ShaderInputBindDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflection*, uint, ShaderInputBindDescription*, int>)(lpVtbl[6]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), ResourceIndex, pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflection*, uint, ShaderInputBindDescription*, int>)(lpVtbl[6]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), ResourceIndex, pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflection::GetInputParameterDesc"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int
|
||||
[VtblIndex(7)]
|
||||
public HResult GetInputParameterDesc(uint ParameterIndex, SignatureParameterDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflection*, uint, SignatureParameterDescription*, int>)(lpVtbl[7]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), ParameterIndex, pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflection*, uint, SignatureParameterDescription*, int>)(lpVtbl[7]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), ParameterIndex, pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflection::GetOutputParameterDesc"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int
|
||||
[VtblIndex(8)]
|
||||
public HResult GetOutputParameterDesc(uint ParameterIndex, SignatureParameterDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflection*, uint, SignatureParameterDescription*, int>)(lpVtbl[8]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), ParameterIndex, pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflection*, uint, SignatureParameterDescription*, int>)(lpVtbl[8]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), ParameterIndex, pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflection::GetPatchConstantParameterDesc"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int
|
||||
[VtblIndex(9)]
|
||||
public HResult GetPatchConstantParameterDesc(uint ParameterIndex, SignatureParameterDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflection*, uint, SignatureParameterDescription*, int>)(lpVtbl[9]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), ParameterIndex, pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflection*, uint, SignatureParameterDescription*, int>)(lpVtbl[9]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), ParameterIndex, pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflection::GetVariableByName"]/*' />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int
|
||||
[VtblIndex(10)]
|
||||
public ID3D11ShaderReflectionVariable GetVariableByName(sbyte* Name)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflection*, sbyte*, ID3D11ShaderReflectionVariable>)(lpVtbl[10]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Name);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflection*, sbyte*, ID3D11ShaderReflectionVariable>)(lpVtbl[10]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Name);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflection::GetResourceBindingDescByName"]/*' />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int
|
||||
[VtblIndex(11)]
|
||||
public HResult GetResourceBindingDescByName(sbyte* Name, ShaderInputBindDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflection*, sbyte*, ShaderInputBindDescription*, int>)(lpVtbl[11]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Name, pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflection*, sbyte*, ShaderInputBindDescription*, int>)(lpVtbl[11]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Name, pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflection::GetMovInstructionCount"]/*' />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int
|
||||
[VtblIndex(12)]
|
||||
public uint GetMovInstructionCount()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflection*, uint>)(lpVtbl[12]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflection*, uint>)(lpVtbl[12]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflection::GetMovcInstructionCount"]/*' />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int
|
||||
[VtblIndex(13)]
|
||||
public uint GetMovcInstructionCount()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflection*, uint>)(lpVtbl[13]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflection*, uint>)(lpVtbl[13]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflection::GetConversionInstructionCount"]/*' />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int
|
||||
[VtblIndex(14)]
|
||||
public uint GetConversionInstructionCount()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflection*, uint>)(lpVtbl[14]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflection*, uint>)(lpVtbl[14]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflection::GetBitwiseInstructionCount"]/*' />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int
|
||||
[VtblIndex(15)]
|
||||
public uint GetBitwiseInstructionCount()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflection*, uint>)(lpVtbl[15]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflection*, uint>)(lpVtbl[15]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflection::GetGSInputPrimitive"]/*' />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int
|
||||
[VtblIndex(16)]
|
||||
public Graphics.Direct3D.Primitive GetGSInputPrimitive()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflection*, Graphics.Direct3D.Primitive>)(lpVtbl[16]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflection*, Graphics.Direct3D.Primitive>)(lpVtbl[16]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflection::IsSampleFrequencyShader"]/*' />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int
|
||||
[VtblIndex(17)]
|
||||
public Bool32 IsSampleFrequencyShader()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflection*, Bool32>)(lpVtbl[17]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflection*, Bool32>)(lpVtbl[17]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflection::GetNumInterfaceSlots"]/*' />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int
|
||||
[VtblIndex(18)]
|
||||
public uint GetNumInterfaceSlots()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflection*, uint>)(lpVtbl[18]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflection*, uint>)(lpVtbl[18]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflection::GetMinFeatureLevel"]/*' />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int
|
||||
[VtblIndex(19)]
|
||||
public HResult GetMinFeatureLevel(Graphics.Direct3D.FeatureLevel* pLevel)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflection*, Graphics.Direct3D.FeatureLevel*, int>)(lpVtbl[19]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), pLevel);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflection*, Graphics.Direct3D.FeatureLevel*, int>)(lpVtbl[19]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), pLevel);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflection::GetThreadGroupSize"]/*' />
|
||||
@@ -215,7 +295,11 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int
|
||||
[VtblIndex(20)]
|
||||
public uint GetThreadGroupSize(uint* pSizeX, uint* pSizeY, uint* pSizeZ)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflection*, uint*, uint*, uint*, uint>)(lpVtbl[20]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), pSizeX, pSizeY, pSizeZ);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflection*, uint*, uint*, uint*, uint>)(lpVtbl[20]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), pSizeX, pSizeY, pSizeZ);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflection::GetRequiresFlags"]/*' />
|
||||
@@ -223,7 +307,11 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int
|
||||
[VtblIndex(21)]
|
||||
public ulong GetRequiresFlags()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflection*, ulong>)(lpVtbl[21]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflection*, ulong>)(lpVtbl[21]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
@@ -51,7 +51,11 @@ public unsafe partial struct ID3D11ShaderReflectionConstantBuffer : ID3D11Shader
|
||||
[VtblIndex(0)]
|
||||
public HResult GetDesc(ShaderBufferDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflectionConstantBuffer*, ShaderBufferDescription*, int>)(lpVtbl[0]))((ID3D11ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflectionConstantBuffer*, ShaderBufferDescription*, int>)(lpVtbl[0]))((ID3D11ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflectionConstantBuffer::GetVariableByIndex"]/*' />
|
||||
@@ -59,7 +63,11 @@ public unsafe partial struct ID3D11ShaderReflectionConstantBuffer : ID3D11Shader
|
||||
[VtblIndex(1)]
|
||||
public ID3D11ShaderReflectionVariable GetVariableByIndex(uint Index)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflectionConstantBuffer*, uint, ID3D11ShaderReflectionVariable>)(lpVtbl[1]))((ID3D11ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), Index);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflectionConstantBuffer*, uint, ID3D11ShaderReflectionVariable>)(lpVtbl[1]))((ID3D11ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), Index);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflectionConstantBuffer::GetVariableByName"]/*' />
|
||||
@@ -67,7 +75,11 @@ public unsafe partial struct ID3D11ShaderReflectionConstantBuffer : ID3D11Shader
|
||||
[VtblIndex(2)]
|
||||
public ID3D11ShaderReflectionVariable GetVariableByName(sbyte* Name)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflectionConstantBuffer*, sbyte*, ID3D11ShaderReflectionVariable>)(lpVtbl[2]))((ID3D11ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), Name);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflectionConstantBuffer*, sbyte*, ID3D11ShaderReflectionVariable>)(lpVtbl[2]))((ID3D11ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), Name);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface
|
||||
|
||||
@@ -51,7 +51,11 @@ public unsafe partial struct ID3D11ShaderReflectionType : ID3D11ShaderReflection
|
||||
[VtblIndex(0)]
|
||||
public HResult GetDesc(ShaderTypeDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflectionType*, ShaderTypeDescription*, int>)(lpVtbl[0]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflectionType*, ShaderTypeDescription*, int>)(lpVtbl[0]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflectionType::GetMemberTypeByIndex"]/*' />
|
||||
@@ -59,7 +63,11 @@ public unsafe partial struct ID3D11ShaderReflectionType : ID3D11ShaderReflection
|
||||
[VtblIndex(1)]
|
||||
public ID3D11ShaderReflectionType GetMemberTypeByIndex(uint Index)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflectionType*, uint, ID3D11ShaderReflectionType>)(lpVtbl[1]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), Index);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflectionType*, uint, ID3D11ShaderReflectionType>)(lpVtbl[1]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), Index);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflectionType::GetMemberTypeByName"]/*' />
|
||||
@@ -67,7 +75,11 @@ public unsafe partial struct ID3D11ShaderReflectionType : ID3D11ShaderReflection
|
||||
[VtblIndex(2)]
|
||||
public ID3D11ShaderReflectionType GetMemberTypeByName(sbyte* Name)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflectionType*, sbyte*, ID3D11ShaderReflectionType>)(lpVtbl[2]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), Name);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflectionType*, sbyte*, ID3D11ShaderReflectionType>)(lpVtbl[2]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), Name);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflectionType::GetMemberTypeName"]/*' />
|
||||
@@ -75,7 +87,11 @@ public unsafe partial struct ID3D11ShaderReflectionType : ID3D11ShaderReflection
|
||||
[VtblIndex(3)]
|
||||
public sbyte* GetMemberTypeName(uint Index)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflectionType*, uint, sbyte*>)(lpVtbl[3]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), Index);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflectionType*, uint, sbyte*>)(lpVtbl[3]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), Index);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflectionType::IsEqual"]/*' />
|
||||
@@ -83,7 +99,11 @@ public unsafe partial struct ID3D11ShaderReflectionType : ID3D11ShaderReflection
|
||||
[VtblIndex(4)]
|
||||
public HResult IsEqual(ID3D11ShaderReflectionType* pType)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflectionType*, ID3D11ShaderReflectionType*, int>)(lpVtbl[4]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), pType);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflectionType*, ID3D11ShaderReflectionType*, int>)(lpVtbl[4]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), pType);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflectionType::GetSubType"]/*' />
|
||||
@@ -91,7 +111,11 @@ public unsafe partial struct ID3D11ShaderReflectionType : ID3D11ShaderReflection
|
||||
[VtblIndex(5)]
|
||||
public ID3D11ShaderReflectionType GetSubType()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflectionType*, ID3D11ShaderReflectionType>)(lpVtbl[5]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflectionType*, ID3D11ShaderReflectionType>)(lpVtbl[5]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflectionType::GetBaseClass"]/*' />
|
||||
@@ -99,7 +123,11 @@ public unsafe partial struct ID3D11ShaderReflectionType : ID3D11ShaderReflection
|
||||
[VtblIndex(6)]
|
||||
public ID3D11ShaderReflectionType GetBaseClass()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflectionType*, ID3D11ShaderReflectionType>)(lpVtbl[6]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflectionType*, ID3D11ShaderReflectionType>)(lpVtbl[6]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflectionType::GetNumInterfaces"]/*' />
|
||||
@@ -107,7 +135,11 @@ public unsafe partial struct ID3D11ShaderReflectionType : ID3D11ShaderReflection
|
||||
[VtblIndex(7)]
|
||||
public uint GetNumInterfaces()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflectionType*, uint>)(lpVtbl[7]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflectionType*, uint>)(lpVtbl[7]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflectionType::GetInterfaceByIndex"]/*' />
|
||||
@@ -115,7 +147,11 @@ public unsafe partial struct ID3D11ShaderReflectionType : ID3D11ShaderReflection
|
||||
[VtblIndex(8)]
|
||||
public ID3D11ShaderReflectionType GetInterfaceByIndex(uint uIndex)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflectionType*, uint, ID3D11ShaderReflectionType>)(lpVtbl[8]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), uIndex);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflectionType*, uint, ID3D11ShaderReflectionType>)(lpVtbl[8]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), uIndex);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflectionType::IsOfType"]/*' />
|
||||
@@ -123,7 +159,11 @@ public unsafe partial struct ID3D11ShaderReflectionType : ID3D11ShaderReflection
|
||||
[VtblIndex(9)]
|
||||
public HResult IsOfType(ID3D11ShaderReflectionType* pType)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflectionType*, ID3D11ShaderReflectionType*, int>)(lpVtbl[9]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), pType);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflectionType*, ID3D11ShaderReflectionType*, int>)(lpVtbl[9]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), pType);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflectionType::ImplementsInterface"]/*' />
|
||||
@@ -131,7 +171,11 @@ public unsafe partial struct ID3D11ShaderReflectionType : ID3D11ShaderReflection
|
||||
[VtblIndex(10)]
|
||||
public HResult ImplementsInterface(ID3D11ShaderReflectionType* pBase)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflectionType*, ID3D11ShaderReflectionType*, int>)(lpVtbl[10]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), pBase);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflectionType*, ID3D11ShaderReflectionType*, int>)(lpVtbl[10]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), pBase);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface
|
||||
|
||||
@@ -51,7 +51,11 @@ public unsafe partial struct ID3D11ShaderReflectionVariable : ID3D11ShaderReflec
|
||||
[VtblIndex(0)]
|
||||
public HResult GetDesc(ShaderVariableDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflectionVariable*, ShaderVariableDescription*, int>)(lpVtbl[0]))((ID3D11ShaderReflectionVariable*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflectionVariable*, ShaderVariableDescription*, int>)(lpVtbl[0]))((ID3D11ShaderReflectionVariable*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflectionVariable::GetType"]/*' />
|
||||
@@ -59,7 +63,11 @@ public unsafe partial struct ID3D11ShaderReflectionVariable : ID3D11ShaderReflec
|
||||
[VtblIndex(1)]
|
||||
public new ID3D11ShaderReflectionType GetType()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflectionVariable*, ID3D11ShaderReflectionType>)(lpVtbl[1]))((ID3D11ShaderReflectionVariable*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflectionVariable*, ID3D11ShaderReflectionType>)(lpVtbl[1]))((ID3D11ShaderReflectionVariable*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflectionVariable::GetBuffer"]/*' />
|
||||
@@ -67,7 +75,11 @@ public unsafe partial struct ID3D11ShaderReflectionVariable : ID3D11ShaderReflec
|
||||
[VtblIndex(2)]
|
||||
public ID3D11ShaderReflectionConstantBuffer GetBuffer()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflectionVariable*, ID3D11ShaderReflectionConstantBuffer>)(lpVtbl[2]))((ID3D11ShaderReflectionVariable*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflectionVariable*, ID3D11ShaderReflectionConstantBuffer>)(lpVtbl[2]))((ID3D11ShaderReflectionVariable*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderReflectionVariable::GetInterfaceSlot"]/*' />
|
||||
@@ -75,7 +87,11 @@ public unsafe partial struct ID3D11ShaderReflectionVariable : ID3D11ShaderReflec
|
||||
[VtblIndex(3)]
|
||||
public uint GetInterfaceSlot(uint uArrayIndex)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderReflectionVariable*, uint, uint>)(lpVtbl[3]))((ID3D11ShaderReflectionVariable*)Unsafe.AsPointer(ref this), uArrayIndex);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderReflectionVariable*, uint, uint>)(lpVtbl[3]))((ID3D11ShaderReflectionVariable*)Unsafe.AsPointer(ref this), uArrayIndex);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11ShaderResourceView : ID3D11ShaderResourceView
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderResourceView*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderResourceView*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11ShaderResourceView : ID3D11ShaderResourceView
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderResourceView*, uint>)(lpVtbl[1]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderResourceView*, uint>)(lpVtbl[1]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11ShaderResourceView : ID3D11ShaderResourceView
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderResourceView*, uint>)(lpVtbl[2]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderResourceView*, uint>)(lpVtbl[2]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11ShaderResourceView : ID3D11ShaderResourceView
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11ShaderResourceView*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11ShaderResourceView*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11ShaderResourceView : ID3D11ShaderResourceView
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderResourceView*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderResourceView*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11ShaderResourceView : ID3D11ShaderResourceView
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderResourceView*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderResourceView*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11ShaderResourceView : ID3D11ShaderResourceView
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderResourceView*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderResourceView*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11View.GetResource" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11ShaderResourceView : ID3D11ShaderResourceView
|
||||
[VtblIndex(7)]
|
||||
public void GetResource(ID3D11Resource** ppResource)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11ShaderResourceView*, ID3D11Resource**, void>)(lpVtbl[7]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this), ppResource);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11ShaderResourceView*, ID3D11Resource**, void>)(lpVtbl[7]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this), ppResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderResourceView::GetDesc"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11ShaderResourceView : ID3D11ShaderResourceView
|
||||
[VtblIndex(8)]
|
||||
public void GetDesc(ShaderResourceViewDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11ShaderResourceView*, ShaderResourceViewDescription*, void>)(lpVtbl[8]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11ShaderResourceView*, ShaderResourceViewDescription*, void>)(lpVtbl[8]))((ID3D11ShaderResourceView*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11View.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11ShaderResourceView1 : ID3D11ShaderResourceVie
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderResourceView1*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderResourceView1*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11ShaderResourceView1 : ID3D11ShaderResourceVie
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderResourceView1*, uint>)(lpVtbl[1]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderResourceView1*, uint>)(lpVtbl[1]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11ShaderResourceView1 : ID3D11ShaderResourceVie
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderResourceView1*, uint>)(lpVtbl[2]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderResourceView1*, uint>)(lpVtbl[2]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11ShaderResourceView1 : ID3D11ShaderResourceVie
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11ShaderResourceView1*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11ShaderResourceView1*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11ShaderResourceView1 : ID3D11ShaderResourceVie
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderResourceView1*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderResourceView1*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11ShaderResourceView1 : ID3D11ShaderResourceVie
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderResourceView1*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderResourceView1*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11ShaderResourceView1 : ID3D11ShaderResourceVie
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderResourceView1*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderResourceView1*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11View.GetResource" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11ShaderResourceView1 : ID3D11ShaderResourceVie
|
||||
[VtblIndex(7)]
|
||||
public void GetResource(ID3D11Resource** ppResource)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11ShaderResourceView1*, ID3D11Resource**, void>)(lpVtbl[7]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), ppResource);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11ShaderResourceView1*, ID3D11Resource**, void>)(lpVtbl[7]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), ppResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11ShaderResourceView.GetDesc" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11ShaderResourceView1 : ID3D11ShaderResourceVie
|
||||
[VtblIndex(8)]
|
||||
public void GetDesc(ShaderResourceViewDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11ShaderResourceView1*, ShaderResourceViewDescription*, void>)(lpVtbl[8]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11ShaderResourceView1*, ShaderResourceViewDescription*, void>)(lpVtbl[8]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderResourceView1::GetDesc1"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11ShaderResourceView1 : ID3D11ShaderResourceVie
|
||||
[VtblIndex(9)]
|
||||
public void GetDesc1(ShaderResourceViewDescription1* pDesc1)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11ShaderResourceView1*, ShaderResourceViewDescription1*, void>)(lpVtbl[9]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), pDesc1);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11ShaderResourceView1*, ShaderResourceViewDescription1*, void>)(lpVtbl[9]))((ID3D11ShaderResourceView1*)Unsafe.AsPointer(ref this), pDesc1);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11ShaderResourceView.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11ShaderTrace : ID3D11ShaderTrace.Interface, IN
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderTrace*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderTrace*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11ShaderTrace : ID3D11ShaderTrace.Interface, IN
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderTrace*, uint>)(lpVtbl[1]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderTrace*, uint>)(lpVtbl[1]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11ShaderTrace : ID3D11ShaderTrace.Interface, IN
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderTrace*, uint>)(lpVtbl[2]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderTrace*, uint>)(lpVtbl[2]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderTrace::TraceReady"]/*' />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11ShaderTrace : ID3D11ShaderTrace.Interface, IN
|
||||
[VtblIndex(3)]
|
||||
public HResult TraceReady(ulong* pTestCount)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderTrace*, ulong*, int>)(lpVtbl[3]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), pTestCount);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderTrace*, ulong*, int>)(lpVtbl[3]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), pTestCount);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderTrace::ResetTrace"]/*' />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11ShaderTrace : ID3D11ShaderTrace.Interface, IN
|
||||
[VtblIndex(4)]
|
||||
public void ResetTrace()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11ShaderTrace*, void>)(lpVtbl[4]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11ShaderTrace*, void>)(lpVtbl[4]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderTrace::GetTraceStats"]/*' />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11ShaderTrace : ID3D11ShaderTrace.Interface, IN
|
||||
[VtblIndex(5)]
|
||||
public HResult GetTraceStats(TraceStats* pTraceStats)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderTrace*, TraceStats*, int>)(lpVtbl[5]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), pTraceStats);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderTrace*, TraceStats*, int>)(lpVtbl[5]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), pTraceStats);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderTrace::PSSelectStamp"]/*' />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11ShaderTrace : ID3D11ShaderTrace.Interface, IN
|
||||
[VtblIndex(6)]
|
||||
public HResult PSSelectStamp(uint stampIndex)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderTrace*, uint, int>)(lpVtbl[6]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), stampIndex);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderTrace*, uint, int>)(lpVtbl[6]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), stampIndex);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderTrace::GetInitialRegisterContents"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11ShaderTrace : ID3D11ShaderTrace.Interface, IN
|
||||
[VtblIndex(7)]
|
||||
public HResult GetInitialRegisterContents(TraceRegister* pRegister, TraceValue* pValue)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderTrace*, TraceRegister*, TraceValue*, int>)(lpVtbl[7]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), pRegister, pValue);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderTrace*, TraceRegister*, TraceValue*, int>)(lpVtbl[7]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), pRegister, pValue);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderTrace::GetStep"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11ShaderTrace : ID3D11ShaderTrace.Interface, IN
|
||||
[VtblIndex(8)]
|
||||
public HResult GetStep(uint stepIndex, TraceStep* pTraceStep)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderTrace*, uint, TraceStep*, int>)(lpVtbl[8]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), stepIndex, pTraceStep);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderTrace*, uint, TraceStep*, int>)(lpVtbl[8]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), stepIndex, pTraceStep);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderTrace::GetWrittenRegister"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11ShaderTrace : ID3D11ShaderTrace.Interface, IN
|
||||
[VtblIndex(9)]
|
||||
public HResult GetWrittenRegister(uint stepIndex, uint writtenRegisterIndex, TraceRegister* pRegister, TraceValue* pValue)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderTrace*, uint, uint, TraceRegister*, TraceValue*, int>)(lpVtbl[9]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), stepIndex, writtenRegisterIndex, pRegister, pValue);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderTrace*, uint, uint, TraceRegister*, TraceValue*, int>)(lpVtbl[9]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), stepIndex, writtenRegisterIndex, pRegister, pValue);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderTrace::GetReadRegister"]/*' />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11ShaderTrace : ID3D11ShaderTrace.Interface, IN
|
||||
[VtblIndex(10)]
|
||||
public HResult GetReadRegister(uint stepIndex, uint readRegisterIndex, TraceRegister* pRegister, TraceValue* pValue)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderTrace*, uint, uint, TraceRegister*, TraceValue*, int>)(lpVtbl[10]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), stepIndex, readRegisterIndex, pRegister, pValue);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderTrace*, uint, uint, TraceRegister*, TraceValue*, int>)(lpVtbl[10]))((ID3D11ShaderTrace*)Unsafe.AsPointer(ref this), stepIndex, readRegisterIndex, pRegister, pValue);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11ShaderTraceFactory : ID3D11ShaderTraceFactory
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderTraceFactory*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11ShaderTraceFactory*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderTraceFactory*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11ShaderTraceFactory*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11ShaderTraceFactory : ID3D11ShaderTraceFactory
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderTraceFactory*, uint>)(lpVtbl[1]))((ID3D11ShaderTraceFactory*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderTraceFactory*, uint>)(lpVtbl[1]))((ID3D11ShaderTraceFactory*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11ShaderTraceFactory : ID3D11ShaderTraceFactory
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderTraceFactory*, uint>)(lpVtbl[2]))((ID3D11ShaderTraceFactory*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderTraceFactory*, uint>)(lpVtbl[2]))((ID3D11ShaderTraceFactory*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11ShaderTraceFactory::CreateShaderTrace"]/*' />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11ShaderTraceFactory : ID3D11ShaderTraceFactory
|
||||
[VtblIndex(3)]
|
||||
public HResult CreateShaderTrace(IUnknown* pShader, ShaderTraceDescription* pTraceDesc, ID3D11ShaderTrace** ppShaderTrace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11ShaderTraceFactory*, IUnknown*, ShaderTraceDescription*, ID3D11ShaderTrace**, int>)(lpVtbl[3]))((ID3D11ShaderTraceFactory*)Unsafe.AsPointer(ref this), pShader, pTraceDesc, ppShaderTrace);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11ShaderTraceFactory*, IUnknown*, ShaderTraceDescription*, ID3D11ShaderTrace**, int>)(lpVtbl[3]))((ID3D11ShaderTraceFactory*)Unsafe.AsPointer(ref this), pShader, pTraceDesc, ppShaderTrace);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11SwitchToRef : ID3D11SwitchToRef.Interface, IN
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11SwitchToRef*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11SwitchToRef*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11SwitchToRef*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11SwitchToRef*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11SwitchToRef : ID3D11SwitchToRef.Interface, IN
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11SwitchToRef*, uint>)(lpVtbl[1]))((ID3D11SwitchToRef*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11SwitchToRef*, uint>)(lpVtbl[1]))((ID3D11SwitchToRef*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11SwitchToRef : ID3D11SwitchToRef.Interface, IN
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11SwitchToRef*, uint>)(lpVtbl[2]))((ID3D11SwitchToRef*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11SwitchToRef*, uint>)(lpVtbl[2]))((ID3D11SwitchToRef*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11SwitchToRef::SetUseRef"]/*' />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11SwitchToRef : ID3D11SwitchToRef.Interface, IN
|
||||
[VtblIndex(3)]
|
||||
public Bool32 SetUseRef(Bool32 UseRef)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11SwitchToRef*, Bool32, Bool32>)(lpVtbl[3]))((ID3D11SwitchToRef*)Unsafe.AsPointer(ref this), UseRef);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11SwitchToRef*, Bool32, Bool32>)(lpVtbl[3]))((ID3D11SwitchToRef*)Unsafe.AsPointer(ref this), UseRef);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11SwitchToRef::GetUseRef"]/*' />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11SwitchToRef : ID3D11SwitchToRef.Interface, IN
|
||||
[VtblIndex(4)]
|
||||
public Bool32 GetUseRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11SwitchToRef*, Bool32>)(lpVtbl[4]))((ID3D11SwitchToRef*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11SwitchToRef*, Bool32>)(lpVtbl[4]))((ID3D11SwitchToRef*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11Texture1D : ID3D11Texture1D.Interface, INativ
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture1D*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture1D*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11Texture1D : ID3D11Texture1D.Interface, INativ
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture1D*, uint>)(lpVtbl[1]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture1D*, uint>)(lpVtbl[1]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11Texture1D : ID3D11Texture1D.Interface, INativ
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture1D*, uint>)(lpVtbl[2]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture1D*, uint>)(lpVtbl[2]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11Texture1D : ID3D11Texture1D.Interface, INativ
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Texture1D*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Texture1D*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11Texture1D : ID3D11Texture1D.Interface, INativ
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture1D*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture1D*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11Texture1D : ID3D11Texture1D.Interface, INativ
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture1D*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture1D*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11Texture1D : ID3D11Texture1D.Interface, INativ
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture1D*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture1D*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Resource.GetType" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11Texture1D : ID3D11Texture1D.Interface, INativ
|
||||
[VtblIndex(7)]
|
||||
public void GetType(ResourceDimension* pResourceDimension)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Texture1D*, ResourceDimension*, void>)(lpVtbl[7]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), pResourceDimension);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Texture1D*, ResourceDimension*, void>)(lpVtbl[7]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), pResourceDimension);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Resource.SetEvictionPriority" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11Texture1D : ID3D11Texture1D.Interface, INativ
|
||||
[VtblIndex(8)]
|
||||
public void SetEvictionPriority(uint EvictionPriority)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Texture1D*, uint, void>)(lpVtbl[8]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), EvictionPriority);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Texture1D*, uint, void>)(lpVtbl[8]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), EvictionPriority);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Resource.GetEvictionPriority" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11Texture1D : ID3D11Texture1D.Interface, INativ
|
||||
[VtblIndex(9)]
|
||||
public uint GetEvictionPriority()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture1D*, uint>)(lpVtbl[9]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture1D*, uint>)(lpVtbl[9]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Texture1D::GetDesc"]/*' />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11Texture1D : ID3D11Texture1D.Interface, INativ
|
||||
[VtblIndex(10)]
|
||||
public void GetDesc(Texture1DDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Texture1D*, Texture1DDescription*, void>)(lpVtbl[10]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Texture1D*, Texture1DDescription*, void>)(lpVtbl[10]))((ID3D11Texture1D*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11Resource.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11Texture2D : ID3D11Texture2D.Interface, INativ
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture2D*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture2D*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11Texture2D : ID3D11Texture2D.Interface, INativ
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture2D*, uint>)(lpVtbl[1]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture2D*, uint>)(lpVtbl[1]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11Texture2D : ID3D11Texture2D.Interface, INativ
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture2D*, uint>)(lpVtbl[2]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture2D*, uint>)(lpVtbl[2]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11Texture2D : ID3D11Texture2D.Interface, INativ
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Texture2D*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Texture2D*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11Texture2D : ID3D11Texture2D.Interface, INativ
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture2D*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture2D*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11Texture2D : ID3D11Texture2D.Interface, INativ
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture2D*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture2D*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11Texture2D : ID3D11Texture2D.Interface, INativ
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture2D*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture2D*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Resource.GetType" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11Texture2D : ID3D11Texture2D.Interface, INativ
|
||||
[VtblIndex(7)]
|
||||
public void GetType(ResourceDimension* pResourceDimension)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Texture2D*, ResourceDimension*, void>)(lpVtbl[7]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), pResourceDimension);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Texture2D*, ResourceDimension*, void>)(lpVtbl[7]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), pResourceDimension);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Resource.SetEvictionPriority" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11Texture2D : ID3D11Texture2D.Interface, INativ
|
||||
[VtblIndex(8)]
|
||||
public void SetEvictionPriority(uint EvictionPriority)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Texture2D*, uint, void>)(lpVtbl[8]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), EvictionPriority);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Texture2D*, uint, void>)(lpVtbl[8]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), EvictionPriority);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Resource.GetEvictionPriority" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11Texture2D : ID3D11Texture2D.Interface, INativ
|
||||
[VtblIndex(9)]
|
||||
public uint GetEvictionPriority()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture2D*, uint>)(lpVtbl[9]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture2D*, uint>)(lpVtbl[9]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Texture2D::GetDesc"]/*' />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11Texture2D : ID3D11Texture2D.Interface, INativ
|
||||
[VtblIndex(10)]
|
||||
public void GetDesc(Texture2DDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Texture2D*, Texture2DDescription*, void>)(lpVtbl[10]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Texture2D*, Texture2DDescription*, void>)(lpVtbl[10]))((ID3D11Texture2D*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11Resource.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11Texture2D1 : ID3D11Texture2D1.Interface, INat
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture2D1*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture2D1*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11Texture2D1 : ID3D11Texture2D1.Interface, INat
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture2D1*, uint>)(lpVtbl[1]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture2D1*, uint>)(lpVtbl[1]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11Texture2D1 : ID3D11Texture2D1.Interface, INat
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture2D1*, uint>)(lpVtbl[2]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture2D1*, uint>)(lpVtbl[2]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11Texture2D1 : ID3D11Texture2D1.Interface, INat
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Texture2D1*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Texture2D1*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11Texture2D1 : ID3D11Texture2D1.Interface, INat
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture2D1*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture2D1*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11Texture2D1 : ID3D11Texture2D1.Interface, INat
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture2D1*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture2D1*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11Texture2D1 : ID3D11Texture2D1.Interface, INat
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture2D1*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture2D1*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Resource.GetType" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11Texture2D1 : ID3D11Texture2D1.Interface, INat
|
||||
[VtblIndex(7)]
|
||||
public void GetType(ResourceDimension* pResourceDimension)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Texture2D1*, ResourceDimension*, void>)(lpVtbl[7]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), pResourceDimension);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Texture2D1*, ResourceDimension*, void>)(lpVtbl[7]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), pResourceDimension);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Resource.SetEvictionPriority" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11Texture2D1 : ID3D11Texture2D1.Interface, INat
|
||||
[VtblIndex(8)]
|
||||
public void SetEvictionPriority(uint EvictionPriority)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Texture2D1*, uint, void>)(lpVtbl[8]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), EvictionPriority);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Texture2D1*, uint, void>)(lpVtbl[8]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), EvictionPriority);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Resource.GetEvictionPriority" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11Texture2D1 : ID3D11Texture2D1.Interface, INat
|
||||
[VtblIndex(9)]
|
||||
public uint GetEvictionPriority()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture2D1*, uint>)(lpVtbl[9]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture2D1*, uint>)(lpVtbl[9]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Texture2D.GetDesc" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11Texture2D1 : ID3D11Texture2D1.Interface, INat
|
||||
[VtblIndex(10)]
|
||||
public void GetDesc(Texture2DDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Texture2D1*, Texture2DDescription*, void>)(lpVtbl[10]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Texture2D1*, Texture2DDescription*, void>)(lpVtbl[10]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Texture2D1::GetDesc1"]/*' />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct ID3D11Texture2D1 : ID3D11Texture2D1.Interface, INat
|
||||
[VtblIndex(11)]
|
||||
public void GetDesc1(Texture2DDescription1* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Texture2D1*, Texture2DDescription1*, void>)(lpVtbl[11]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Texture2D1*, Texture2DDescription1*, void>)(lpVtbl[11]))((ID3D11Texture2D1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11Texture2D.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11Texture3D : ID3D11Texture3D.Interface, INativ
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture3D*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture3D*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11Texture3D : ID3D11Texture3D.Interface, INativ
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture3D*, uint>)(lpVtbl[1]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture3D*, uint>)(lpVtbl[1]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11Texture3D : ID3D11Texture3D.Interface, INativ
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture3D*, uint>)(lpVtbl[2]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture3D*, uint>)(lpVtbl[2]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11Texture3D : ID3D11Texture3D.Interface, INativ
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Texture3D*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Texture3D*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11Texture3D : ID3D11Texture3D.Interface, INativ
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture3D*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture3D*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11Texture3D : ID3D11Texture3D.Interface, INativ
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture3D*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture3D*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11Texture3D : ID3D11Texture3D.Interface, INativ
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture3D*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture3D*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Resource.GetType" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11Texture3D : ID3D11Texture3D.Interface, INativ
|
||||
[VtblIndex(7)]
|
||||
public void GetType(ResourceDimension* pResourceDimension)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Texture3D*, ResourceDimension*, void>)(lpVtbl[7]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), pResourceDimension);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Texture3D*, ResourceDimension*, void>)(lpVtbl[7]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), pResourceDimension);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Resource.SetEvictionPriority" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11Texture3D : ID3D11Texture3D.Interface, INativ
|
||||
[VtblIndex(8)]
|
||||
public void SetEvictionPriority(uint EvictionPriority)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Texture3D*, uint, void>)(lpVtbl[8]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), EvictionPriority);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Texture3D*, uint, void>)(lpVtbl[8]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), EvictionPriority);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Resource.GetEvictionPriority" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11Texture3D : ID3D11Texture3D.Interface, INativ
|
||||
[VtblIndex(9)]
|
||||
public uint GetEvictionPriority()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture3D*, uint>)(lpVtbl[9]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture3D*, uint>)(lpVtbl[9]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Texture3D::GetDesc"]/*' />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11Texture3D : ID3D11Texture3D.Interface, INativ
|
||||
[VtblIndex(10)]
|
||||
public void GetDesc(Texture3DDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Texture3D*, Texture3DDescription*, void>)(lpVtbl[10]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Texture3D*, Texture3DDescription*, void>)(lpVtbl[10]))((ID3D11Texture3D*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11Resource.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11Texture3D1 : ID3D11Texture3D1.Interface, INat
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture3D1*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture3D1*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11Texture3D1 : ID3D11Texture3D1.Interface, INat
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture3D1*, uint>)(lpVtbl[1]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture3D1*, uint>)(lpVtbl[1]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11Texture3D1 : ID3D11Texture3D1.Interface, INat
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture3D1*, uint>)(lpVtbl[2]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture3D1*, uint>)(lpVtbl[2]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11Texture3D1 : ID3D11Texture3D1.Interface, INat
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Texture3D1*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Texture3D1*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11Texture3D1 : ID3D11Texture3D1.Interface, INat
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture3D1*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture3D1*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11Texture3D1 : ID3D11Texture3D1.Interface, INat
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture3D1*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture3D1*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11Texture3D1 : ID3D11Texture3D1.Interface, INat
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture3D1*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture3D1*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Resource.GetType" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11Texture3D1 : ID3D11Texture3D1.Interface, INat
|
||||
[VtblIndex(7)]
|
||||
public void GetType(ResourceDimension* pResourceDimension)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Texture3D1*, ResourceDimension*, void>)(lpVtbl[7]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), pResourceDimension);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Texture3D1*, ResourceDimension*, void>)(lpVtbl[7]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), pResourceDimension);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Resource.SetEvictionPriority" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11Texture3D1 : ID3D11Texture3D1.Interface, INat
|
||||
[VtblIndex(8)]
|
||||
public void SetEvictionPriority(uint EvictionPriority)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Texture3D1*, uint, void>)(lpVtbl[8]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), EvictionPriority);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Texture3D1*, uint, void>)(lpVtbl[8]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), EvictionPriority);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Resource.GetEvictionPriority" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11Texture3D1 : ID3D11Texture3D1.Interface, INat
|
||||
[VtblIndex(9)]
|
||||
public uint GetEvictionPriority()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11Texture3D1*, uint>)(lpVtbl[9]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11Texture3D1*, uint>)(lpVtbl[9]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11Texture3D.GetDesc" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11Texture3D1 : ID3D11Texture3D1.Interface, INat
|
||||
[VtblIndex(10)]
|
||||
public void GetDesc(Texture3DDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Texture3D1*, Texture3DDescription*, void>)(lpVtbl[10]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Texture3D1*, Texture3DDescription*, void>)(lpVtbl[10]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11Texture3D1::GetDesc1"]/*' />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct ID3D11Texture3D1 : ID3D11Texture3D1.Interface, INat
|
||||
[VtblIndex(11)]
|
||||
public void GetDesc1(Texture3DDescription1* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11Texture3D1*, Texture3DDescription1*, void>)(lpVtbl[11]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11Texture3D1*, Texture3DDescription1*, void>)(lpVtbl[11]))((ID3D11Texture3D1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11Texture3D.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11TracingDevice : ID3D11TracingDevice.Interface
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11TracingDevice*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11TracingDevice*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11TracingDevice*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11TracingDevice*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11TracingDevice : ID3D11TracingDevice.Interface
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11TracingDevice*, uint>)(lpVtbl[1]))((ID3D11TracingDevice*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11TracingDevice*, uint>)(lpVtbl[1]))((ID3D11TracingDevice*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11TracingDevice : ID3D11TracingDevice.Interface
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11TracingDevice*, uint>)(lpVtbl[2]))((ID3D11TracingDevice*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11TracingDevice*, uint>)(lpVtbl[2]))((ID3D11TracingDevice*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11TracingDevice::SetShaderTrackingOptionsByType"]/*' />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11TracingDevice : ID3D11TracingDevice.Interface
|
||||
[VtblIndex(3)]
|
||||
public HResult SetShaderTrackingOptionsByType(uint ResourceTypeFlags, uint Options)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11TracingDevice*, uint, uint, int>)(lpVtbl[3]))((ID3D11TracingDevice*)Unsafe.AsPointer(ref this), ResourceTypeFlags, Options);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11TracingDevice*, uint, uint, int>)(lpVtbl[3]))((ID3D11TracingDevice*)Unsafe.AsPointer(ref this), ResourceTypeFlags, Options);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11TracingDevice::SetShaderTrackingOptions"]/*' />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11TracingDevice : ID3D11TracingDevice.Interface
|
||||
[VtblIndex(4)]
|
||||
public HResult SetShaderTrackingOptions(IUnknown* pShader, uint Options)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11TracingDevice*, IUnknown*, uint, int>)(lpVtbl[4]))((ID3D11TracingDevice*)Unsafe.AsPointer(ref this), pShader, Options);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11TracingDevice*, IUnknown*, uint, int>)(lpVtbl[4]))((ID3D11TracingDevice*)Unsafe.AsPointer(ref this), pShader, Options);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11UnorderedAccessView : ID3D11UnorderedAccessVi
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11UnorderedAccessView*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11UnorderedAccessView*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11UnorderedAccessView : ID3D11UnorderedAccessVi
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11UnorderedAccessView*, uint>)(lpVtbl[1]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11UnorderedAccessView*, uint>)(lpVtbl[1]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11UnorderedAccessView : ID3D11UnorderedAccessVi
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11UnorderedAccessView*, uint>)(lpVtbl[2]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11UnorderedAccessView*, uint>)(lpVtbl[2]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11UnorderedAccessView : ID3D11UnorderedAccessVi
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11UnorderedAccessView*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11UnorderedAccessView*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11UnorderedAccessView : ID3D11UnorderedAccessVi
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11UnorderedAccessView*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11UnorderedAccessView*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11UnorderedAccessView : ID3D11UnorderedAccessVi
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11UnorderedAccessView*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11UnorderedAccessView*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11UnorderedAccessView : ID3D11UnorderedAccessVi
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11UnorderedAccessView*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11UnorderedAccessView*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11View.GetResource" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11UnorderedAccessView : ID3D11UnorderedAccessVi
|
||||
[VtblIndex(7)]
|
||||
public void GetResource(ID3D11Resource** ppResource)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11UnorderedAccessView*, ID3D11Resource**, void>)(lpVtbl[7]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this), ppResource);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11UnorderedAccessView*, ID3D11Resource**, void>)(lpVtbl[7]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this), ppResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11UnorderedAccessView::GetDesc"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11UnorderedAccessView : ID3D11UnorderedAccessVi
|
||||
[VtblIndex(8)]
|
||||
public void GetDesc(UnorderedAccessViewDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11UnorderedAccessView*, UnorderedAccessViewDescription*, void>)(lpVtbl[8]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11UnorderedAccessView*, UnorderedAccessViewDescription*, void>)(lpVtbl[8]))((ID3D11UnorderedAccessView*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11View.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11UnorderedAccessView1 : ID3D11UnorderedAccessV
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11UnorderedAccessView1*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11UnorderedAccessView1*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11UnorderedAccessView1 : ID3D11UnorderedAccessV
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11UnorderedAccessView1*, uint>)(lpVtbl[1]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11UnorderedAccessView1*, uint>)(lpVtbl[1]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11UnorderedAccessView1 : ID3D11UnorderedAccessV
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11UnorderedAccessView1*, uint>)(lpVtbl[2]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11UnorderedAccessView1*, uint>)(lpVtbl[2]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11UnorderedAccessView1 : ID3D11UnorderedAccessV
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11UnorderedAccessView1*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11UnorderedAccessView1*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11UnorderedAccessView1 : ID3D11UnorderedAccessV
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11UnorderedAccessView1*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11UnorderedAccessView1*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11UnorderedAccessView1 : ID3D11UnorderedAccessV
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11UnorderedAccessView1*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11UnorderedAccessView1*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11UnorderedAccessView1 : ID3D11UnorderedAccessV
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11UnorderedAccessView1*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11UnorderedAccessView1*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11View.GetResource" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11UnorderedAccessView1 : ID3D11UnorderedAccessV
|
||||
[VtblIndex(7)]
|
||||
public void GetResource(ID3D11Resource** ppResource)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11UnorderedAccessView1*, ID3D11Resource**, void>)(lpVtbl[7]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), ppResource);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11UnorderedAccessView1*, ID3D11Resource**, void>)(lpVtbl[7]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), ppResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11UnorderedAccessView.GetDesc" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11UnorderedAccessView1 : ID3D11UnorderedAccessV
|
||||
[VtblIndex(8)]
|
||||
public void GetDesc(UnorderedAccessViewDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11UnorderedAccessView1*, UnorderedAccessViewDescription*, void>)(lpVtbl[8]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11UnorderedAccessView1*, UnorderedAccessViewDescription*, void>)(lpVtbl[8]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11UnorderedAccessView1::GetDesc1"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11UnorderedAccessView1 : ID3D11UnorderedAccessV
|
||||
[VtblIndex(9)]
|
||||
public void GetDesc1(UnorderedAccessViewDescription1* pDesc1)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11UnorderedAccessView1*, UnorderedAccessViewDescription1*, void>)(lpVtbl[9]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), pDesc1);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11UnorderedAccessView1*, UnorderedAccessViewDescription1*, void>)(lpVtbl[9]))((ID3D11UnorderedAccessView1*)Unsafe.AsPointer(ref this), pDesc1);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11UnorderedAccessView.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11VertexShader : ID3D11VertexShader.Interface,
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VertexShader*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VertexShader*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VertexShader*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VertexShader*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11VertexShader : ID3D11VertexShader.Interface,
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VertexShader*, uint>)(lpVtbl[1]))((ID3D11VertexShader*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VertexShader*, uint>)(lpVtbl[1]))((ID3D11VertexShader*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11VertexShader : ID3D11VertexShader.Interface,
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VertexShader*, uint>)(lpVtbl[2]))((ID3D11VertexShader*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VertexShader*, uint>)(lpVtbl[2]))((ID3D11VertexShader*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11VertexShader : ID3D11VertexShader.Interface,
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VertexShader*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11VertexShader*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VertexShader*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11VertexShader*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11VertexShader : ID3D11VertexShader.Interface,
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VertexShader*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11VertexShader*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VertexShader*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11VertexShader*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11VertexShader : ID3D11VertexShader.Interface,
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VertexShader*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11VertexShader*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VertexShader*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11VertexShader*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11VertexShader : ID3D11VertexShader.Interface,
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VertexShader*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11VertexShader*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VertexShader*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11VertexShader*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11DeviceChild.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext*, uint>)(lpVtbl[1]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, uint>)(lpVtbl[1]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext*, uint>)(lpVtbl[2]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, uint>)(lpVtbl[2]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::GetDecoderBuffer"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(7)]
|
||||
public HResult GetDecoderBuffer(ID3D11VideoDecoder* pDecoder, VideoDecoderBufferType Type, uint* pBufferSize, void** ppBuffer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoDecoder*, VideoDecoderBufferType, uint*, void**, int>)(lpVtbl[7]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pDecoder, Type, pBufferSize, ppBuffer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoDecoder*, VideoDecoderBufferType, uint*, void**, int>)(lpVtbl[7]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pDecoder, Type, pBufferSize, ppBuffer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::ReleaseDecoderBuffer"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(8)]
|
||||
public HResult ReleaseDecoderBuffer(ID3D11VideoDecoder* pDecoder, VideoDecoderBufferType Type)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoDecoder*, VideoDecoderBufferType, int>)(lpVtbl[8]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pDecoder, Type);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoDecoder*, VideoDecoderBufferType, int>)(lpVtbl[8]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pDecoder, Type);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::DecoderBeginFrame"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(9)]
|
||||
public HResult DecoderBeginFrame(ID3D11VideoDecoder* pDecoder, ID3D11VideoDecoderOutputView* pView, uint ContentKeySize, void* pContentKey)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoDecoder*, ID3D11VideoDecoderOutputView*, uint, void*, int>)(lpVtbl[9]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pDecoder, pView, ContentKeySize, pContentKey);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoDecoder*, ID3D11VideoDecoderOutputView*, uint, void*, int>)(lpVtbl[9]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pDecoder, pView, ContentKeySize, pContentKey);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::DecoderEndFrame"]/*' />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(10)]
|
||||
public HResult DecoderEndFrame(ID3D11VideoDecoder* pDecoder)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoDecoder*, int>)(lpVtbl[10]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pDecoder);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoDecoder*, int>)(lpVtbl[10]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pDecoder);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::SubmitDecoderBuffers"]/*' />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(11)]
|
||||
public HResult SubmitDecoderBuffers(ID3D11VideoDecoder* pDecoder, uint NumBuffers, VideoDecoderBufferDescription* pBufferDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoDecoder*, uint, VideoDecoderBufferDescription*, int>)(lpVtbl[11]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoDecoder*, uint, VideoDecoderBufferDescription*, int>)(lpVtbl[11]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::DecoderExtension"]/*' />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(12)]
|
||||
public int DecoderExtension(ID3D11VideoDecoder* pDecoder, VideoDecoderExtension* pExtensionData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoDecoder*, VideoDecoderExtension*, int>)(lpVtbl[12]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pDecoder, pExtensionData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoDecoder*, VideoDecoderExtension*, int>)(lpVtbl[12]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pDecoder, pExtensionData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorSetOutputTargetRect"]/*' />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(13)]
|
||||
public void VideoProcessorSetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, Bool32, Rect*, void>)(lpVtbl[13]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, Bool32, Rect*, void>)(lpVtbl[13]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorSetOutputBackgroundColor"]/*' />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(14)]
|
||||
public void VideoProcessorSetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, Bool32 YCbCr, VideoColor* pColor)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, Bool32, VideoColor*, void>)(lpVtbl[14]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, Bool32, VideoColor*, void>)(lpVtbl[14]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorSetOutputColorSpace"]/*' />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(15)]
|
||||
public void VideoProcessorSetOutputColorSpace(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorColorSpace* pColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, VideoProcessorColorSpace*, void>)(lpVtbl[15]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, VideoProcessorColorSpace*, void>)(lpVtbl[15]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorSetOutputAlphaFillMode"]/*' />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(16)]
|
||||
public void VideoProcessorSetOutputAlphaFillMode(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorAlphaFillMode AlphaFillMode, uint StreamIndex)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, VideoProcessorAlphaFillMode, uint, void>)(lpVtbl[16]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, AlphaFillMode, StreamIndex);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, VideoProcessorAlphaFillMode, uint, void>)(lpVtbl[16]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, AlphaFillMode, StreamIndex);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorSetOutputConstriction"]/*' />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(17)]
|
||||
public void VideoProcessorSetOutputConstriction(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, System.Drawing.Size Size)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, Bool32, System.Drawing.Size, void>)(lpVtbl[17]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, Bool32, System.Drawing.Size, void>)(lpVtbl[17]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorSetOutputStereoMode"]/*' />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(18)]
|
||||
public void VideoProcessorSetOutputStereoMode(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, Bool32, void>)(lpVtbl[18]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, Bool32, void>)(lpVtbl[18]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorSetOutputExtension"]/*' />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(19)]
|
||||
public int VideoProcessorSetOutputExtension(ID3D11VideoProcessor* pVideoProcessor, Guid* pExtensionGuid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, Guid*, uint, void*, int>)(lpVtbl[19]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, Guid*, uint, void*, int>)(lpVtbl[19]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorGetOutputTargetRect"]/*' />
|
||||
@@ -215,7 +295,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(20)]
|
||||
public void VideoProcessorGetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enabled, Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, Bool32*, Rect*, void>)(lpVtbl[20]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enabled, pRect);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, Bool32*, Rect*, void>)(lpVtbl[20]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enabled, pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorGetOutputBackgroundColor"]/*' />
|
||||
@@ -223,7 +307,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(21)]
|
||||
public void VideoProcessorGetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, Bool32* pYCbCr, VideoColor* pColor)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, Bool32*, VideoColor*, void>)(lpVtbl[21]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pYCbCr, pColor);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, Bool32*, VideoColor*, void>)(lpVtbl[21]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pYCbCr, pColor);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorGetOutputColorSpace"]/*' />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(22)]
|
||||
public void VideoProcessorGetOutputColorSpace(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorColorSpace* pColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, VideoProcessorColorSpace*, void>)(lpVtbl[22]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, VideoProcessorColorSpace*, void>)(lpVtbl[22]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorGetOutputAlphaFillMode"]/*' />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(23)]
|
||||
public void VideoProcessorGetOutputAlphaFillMode(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorAlphaFillMode* pAlphaFillMode, uint* pStreamIndex)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, VideoProcessorAlphaFillMode*, uint*, void>)(lpVtbl[23]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pAlphaFillMode, pStreamIndex);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, VideoProcessorAlphaFillMode*, uint*, void>)(lpVtbl[23]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pAlphaFillMode, pStreamIndex);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorGetOutputConstriction"]/*' />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(24)]
|
||||
public void VideoProcessorGetOutputConstriction(ID3D11VideoProcessor* pVideoProcessor, Bool32* pEnabled, System.Drawing.Size* pSize)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, Bool32*, System.Drawing.Size*, void>)(lpVtbl[24]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled, pSize);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, Bool32*, System.Drawing.Size*, void>)(lpVtbl[24]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled, pSize);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorGetOutputStereoMode"]/*' />
|
||||
@@ -255,7 +355,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(25)]
|
||||
public void VideoProcessorGetOutputStereoMode(ID3D11VideoProcessor* pVideoProcessor, Bool32* pEnabled)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, Bool32*, void>)(lpVtbl[25]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, Bool32*, void>)(lpVtbl[25]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorGetOutputExtension"]/*' />
|
||||
@@ -263,7 +367,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(26)]
|
||||
public int VideoProcessorGetOutputExtension(ID3D11VideoProcessor* pVideoProcessor, Guid* pExtensionGuid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, Guid*, uint, void*, int>)(lpVtbl[26]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, Guid*, uint, void*, int>)(lpVtbl[26]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorSetStreamFrameFormat"]/*' />
|
||||
@@ -271,7 +379,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(27)]
|
||||
public void VideoProcessorSetStreamFrameFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoFrameFormat FrameFormat)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, VideoFrameFormat, void>)(lpVtbl[27]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, FrameFormat);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, VideoFrameFormat, void>)(lpVtbl[27]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, FrameFormat);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorSetStreamColorSpace"]/*' />
|
||||
@@ -279,7 +391,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(28)]
|
||||
public void VideoProcessorSetStreamColorSpace(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorColorSpace* pColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, VideoProcessorColorSpace*, void>)(lpVtbl[28]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, VideoProcessorColorSpace*, void>)(lpVtbl[28]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorSetStreamOutputRate"]/*' />
|
||||
@@ -287,7 +403,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(29)]
|
||||
public void VideoProcessorSetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorOutputRate OutputRate, Bool32 RepeatFrame, Graphics.Dxgi.Common.Rational* pCustomRate)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, VideoProcessorOutputRate, Bool32, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[29]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, VideoProcessorOutputRate, Bool32, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[29]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorSetStreamSourceRect"]/*' />
|
||||
@@ -295,7 +415,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(30)]
|
||||
public void VideoProcessorSetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32, Rect*, void>)(lpVtbl[30]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32, Rect*, void>)(lpVtbl[30]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorSetStreamDestRect"]/*' />
|
||||
@@ -303,7 +427,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(31)]
|
||||
public void VideoProcessorSetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32, Rect*, void>)(lpVtbl[31]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32, Rect*, void>)(lpVtbl[31]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorSetStreamAlpha"]/*' />
|
||||
@@ -311,7 +439,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(32)]
|
||||
public void VideoProcessorSetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, float Alpha)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32, float, void>)(lpVtbl[32]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32, float, void>)(lpVtbl[32]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorSetStreamPalette"]/*' />
|
||||
@@ -319,7 +451,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(33)]
|
||||
public void VideoProcessorSetStreamPalette(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, uint Count, uint* pEntries)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, uint, uint*, void>)(lpVtbl[33]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, uint, uint*, void>)(lpVtbl[33]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorSetStreamPixelAspectRatio"]/*' />
|
||||
@@ -327,7 +463,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(34)]
|
||||
public void VideoProcessorSetStreamPixelAspectRatio(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Graphics.Dxgi.Common.Rational* pSourceAspectRatio, Graphics.Dxgi.Common.Rational* pDestinationAspectRatio)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32, Graphics.Dxgi.Common.Rational*, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[34]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32, Graphics.Dxgi.Common.Rational*, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[34]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorSetStreamLumaKey"]/*' />
|
||||
@@ -335,7 +475,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(35)]
|
||||
public void VideoProcessorSetStreamLumaKey(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, float Lower, float Upper)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32, float, float, void>)(lpVtbl[35]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32, float, float, void>)(lpVtbl[35]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorSetStreamStereoFormat"]/*' />
|
||||
@@ -343,7 +487,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(36)]
|
||||
public void VideoProcessorSetStreamStereoFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, VideoProcessorStereoFormat Format, Bool32 LeftViewFrame0, Bool32 BaseViewFrame0, VideoProcessorStereoFlipMode FlipMode, int MonoOffset)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32, VideoProcessorStereoFormat, Bool32, Bool32, VideoProcessorStereoFlipMode, int, void>)(lpVtbl[36]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32, VideoProcessorStereoFormat, Bool32, Bool32, VideoProcessorStereoFlipMode, int, void>)(lpVtbl[36]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorSetStreamAutoProcessingMode"]/*' />
|
||||
@@ -351,7 +499,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(37)]
|
||||
public void VideoProcessorSetStreamAutoProcessingMode(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32, void>)(lpVtbl[37]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32, void>)(lpVtbl[37]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorSetStreamFilter"]/*' />
|
||||
@@ -359,7 +511,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(38)]
|
||||
public void VideoProcessorSetStreamFilter(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorFilter Filter, Bool32 Enable, int Level)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, VideoProcessorFilter, Bool32, int, void>)(lpVtbl[38]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, VideoProcessorFilter, Bool32, int, void>)(lpVtbl[38]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorSetStreamExtension"]/*' />
|
||||
@@ -367,7 +523,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(39)]
|
||||
public int VideoProcessorSetStreamExtension(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Guid* pExtensionGuid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Guid*, uint, void*, int>)(lpVtbl[39]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Guid*, uint, void*, int>)(lpVtbl[39]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorGetStreamFrameFormat"]/*' />
|
||||
@@ -375,7 +535,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(40)]
|
||||
public void VideoProcessorGetStreamFrameFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoFrameFormat* pFrameFormat)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, VideoFrameFormat*, void>)(lpVtbl[40]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pFrameFormat);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, VideoFrameFormat*, void>)(lpVtbl[40]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pFrameFormat);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorGetStreamColorSpace"]/*' />
|
||||
@@ -383,7 +547,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(41)]
|
||||
public void VideoProcessorGetStreamColorSpace(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorColorSpace* pColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, VideoProcessorColorSpace*, void>)(lpVtbl[41]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, VideoProcessorColorSpace*, void>)(lpVtbl[41]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorGetStreamOutputRate"]/*' />
|
||||
@@ -391,7 +559,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(42)]
|
||||
public void VideoProcessorGetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorOutputRate* pOutputRate, Bool32* pRepeatFrame, Graphics.Dxgi.Common.Rational* pCustomRate)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, VideoProcessorOutputRate*, Bool32*, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[42]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pOutputRate, pRepeatFrame, pCustomRate);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, VideoProcessorOutputRate*, Bool32*, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[42]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pOutputRate, pRepeatFrame, pCustomRate);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorGetStreamSourceRect"]/*' />
|
||||
@@ -399,7 +571,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(43)]
|
||||
public void VideoProcessorGetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32*, Rect*, void>)(lpVtbl[43]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32*, Rect*, void>)(lpVtbl[43]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorGetStreamDestRect"]/*' />
|
||||
@@ -407,7 +583,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(44)]
|
||||
public void VideoProcessorGetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32*, Rect*, void>)(lpVtbl[44]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32*, Rect*, void>)(lpVtbl[44]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorGetStreamAlpha"]/*' />
|
||||
@@ -415,7 +595,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(45)]
|
||||
public void VideoProcessorGetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, float* pAlpha)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32*, float*, void>)(lpVtbl[45]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pAlpha);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32*, float*, void>)(lpVtbl[45]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pAlpha);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorGetStreamPalette"]/*' />
|
||||
@@ -423,7 +607,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(46)]
|
||||
public void VideoProcessorGetStreamPalette(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, uint Count, uint* pEntries)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, uint, uint*, void>)(lpVtbl[46]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, uint, uint*, void>)(lpVtbl[46]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorGetStreamPixelAspectRatio"]/*' />
|
||||
@@ -431,7 +619,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(47)]
|
||||
public void VideoProcessorGetStreamPixelAspectRatio(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, Graphics.Dxgi.Common.Rational* pSourceAspectRatio, Graphics.Dxgi.Common.Rational* pDestinationAspectRatio)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32*, Graphics.Dxgi.Common.Rational*, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[47]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pSourceAspectRatio, pDestinationAspectRatio);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32*, Graphics.Dxgi.Common.Rational*, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[47]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pSourceAspectRatio, pDestinationAspectRatio);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorGetStreamLumaKey"]/*' />
|
||||
@@ -439,7 +631,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(48)]
|
||||
public void VideoProcessorGetStreamLumaKey(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, float* pLower, float* pUpper)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32*, float*, float*, void>)(lpVtbl[48]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pLower, pUpper);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32*, float*, float*, void>)(lpVtbl[48]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pLower, pUpper);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorGetStreamStereoFormat"]/*' />
|
||||
@@ -447,7 +643,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(49)]
|
||||
public void VideoProcessorGetStreamStereoFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnable, VideoProcessorStereoFormat* pFormat, Bool32* pLeftViewFrame0, Bool32* pBaseViewFrame0, VideoProcessorStereoFlipMode* pFlipMode, int* MonoOffset)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32*, VideoProcessorStereoFormat*, Bool32*, Bool32*, VideoProcessorStereoFlipMode*, int*, void>)(lpVtbl[49]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFormat, pLeftViewFrame0, pBaseViewFrame0, pFlipMode, MonoOffset);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32*, VideoProcessorStereoFormat*, Bool32*, Bool32*, VideoProcessorStereoFlipMode*, int*, void>)(lpVtbl[49]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFormat, pLeftViewFrame0, pBaseViewFrame0, pFlipMode, MonoOffset);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorGetStreamAutoProcessingMode"]/*' />
|
||||
@@ -455,7 +655,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(50)]
|
||||
public void VideoProcessorGetStreamAutoProcessingMode(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32*, void>)(lpVtbl[50]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32*, void>)(lpVtbl[50]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorGetStreamFilter"]/*' />
|
||||
@@ -463,7 +667,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(51)]
|
||||
public void VideoProcessorGetStreamFilter(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorFilter Filter, Bool32* pEnabled, int* pLevel)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, VideoProcessorFilter, Bool32*, int*, void>)(lpVtbl[51]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, pEnabled, pLevel);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, VideoProcessorFilter, Bool32*, int*, void>)(lpVtbl[51]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, pEnabled, pLevel);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorGetStreamExtension"]/*' />
|
||||
@@ -471,7 +679,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(52)]
|
||||
public int VideoProcessorGetStreamExtension(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Guid* pExtensionGuid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Guid*, uint, void*, int>)(lpVtbl[52]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Guid*, uint, void*, int>)(lpVtbl[52]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorBlt"]/*' />
|
||||
@@ -479,7 +691,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(53)]
|
||||
public HResult VideoProcessorBlt(ID3D11VideoProcessor* pVideoProcessor, ID3D11VideoProcessorOutputView* pView, uint OutputFrame, uint StreamCount, VideoProcessorStream* pStreams)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, ID3D11VideoProcessorOutputView*, uint, uint, VideoProcessorStream*, int>)(lpVtbl[53]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pView, OutputFrame, StreamCount, pStreams);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, ID3D11VideoProcessorOutputView*, uint, uint, VideoProcessorStream*, int>)(lpVtbl[53]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, pView, OutputFrame, StreamCount, pStreams);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::NegotiateCryptoSessionKeyExchange"]/*' />
|
||||
@@ -487,7 +703,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(54)]
|
||||
public HResult NegotiateCryptoSessionKeyExchange(ID3D11CryptoSession* pCryptoSession, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext*, ID3D11CryptoSession*, uint, void*, int>)(lpVtbl[54]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pCryptoSession, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11CryptoSession*, uint, void*, int>)(lpVtbl[54]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pCryptoSession, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::EncryptionBlt"]/*' />
|
||||
@@ -495,7 +715,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(55)]
|
||||
public void EncryptionBlt(ID3D11CryptoSession* pCryptoSession, ID3D11Texture2D* pSrcSurface, ID3D11Texture2D* pDstSurface, uint IVSize, void* pIV)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11CryptoSession*, ID3D11Texture2D*, ID3D11Texture2D*, uint, void*, void>)(lpVtbl[55]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, IVSize, pIV);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11CryptoSession*, ID3D11Texture2D*, ID3D11Texture2D*, uint, void*, void>)(lpVtbl[55]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, IVSize, pIV);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::DecryptionBlt"]/*' />
|
||||
@@ -503,7 +727,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(56)]
|
||||
public void DecryptionBlt(ID3D11CryptoSession* pCryptoSession, ID3D11Texture2D* pSrcSurface, ID3D11Texture2D* pDstSurface, EncryptedBlockInfo* pEncryptedBlockInfo, uint ContentKeySize, void* pContentKey, uint IVSize, void* pIV)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11CryptoSession*, ID3D11Texture2D*, ID3D11Texture2D*, EncryptedBlockInfo*, uint, void*, uint, void*, void>)(lpVtbl[56]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, pEncryptedBlockInfo, ContentKeySize, pContentKey, IVSize, pIV);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11CryptoSession*, ID3D11Texture2D*, ID3D11Texture2D*, EncryptedBlockInfo*, uint, void*, uint, void*, void>)(lpVtbl[56]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, pEncryptedBlockInfo, ContentKeySize, pContentKey, IVSize, pIV);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::StartSessionKeyRefresh"]/*' />
|
||||
@@ -511,7 +739,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(57)]
|
||||
public void StartSessionKeyRefresh(ID3D11CryptoSession* pCryptoSession, uint RandomNumberSize, void* pRandomNumber)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11CryptoSession*, uint, void*, void>)(lpVtbl[57]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pCryptoSession, RandomNumberSize, pRandomNumber);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11CryptoSession*, uint, void*, void>)(lpVtbl[57]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pCryptoSession, RandomNumberSize, pRandomNumber);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::FinishSessionKeyRefresh"]/*' />
|
||||
@@ -519,7 +751,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(58)]
|
||||
public void FinishSessionKeyRefresh(ID3D11CryptoSession* pCryptoSession)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11CryptoSession*, void>)(lpVtbl[58]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pCryptoSession);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11CryptoSession*, void>)(lpVtbl[58]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pCryptoSession);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::GetEncryptionBltKey"]/*' />
|
||||
@@ -527,7 +763,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(59)]
|
||||
public HResult GetEncryptionBltKey(ID3D11CryptoSession* pCryptoSession, uint KeySize, void* pReadbackKey)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext*, ID3D11CryptoSession*, uint, void*, int>)(lpVtbl[59]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pCryptoSession, KeySize, pReadbackKey);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11CryptoSession*, uint, void*, int>)(lpVtbl[59]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pCryptoSession, KeySize, pReadbackKey);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::NegotiateAuthenticatedChannelKeyExchange"]/*' />
|
||||
@@ -535,7 +775,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(60)]
|
||||
public HResult NegotiateAuthenticatedChannelKeyExchange(ID3D11AuthenticatedChannel* pChannel, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext*, ID3D11AuthenticatedChannel*, uint, void*, int>)(lpVtbl[60]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pChannel, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11AuthenticatedChannel*, uint, void*, int>)(lpVtbl[60]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pChannel, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::QueryAuthenticatedChannel"]/*' />
|
||||
@@ -543,7 +787,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(61)]
|
||||
public HResult QueryAuthenticatedChannel(ID3D11AuthenticatedChannel* pChannel, uint InputSize, void* pInput, uint OutputSize, void* pOutput)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext*, ID3D11AuthenticatedChannel*, uint, void*, uint, void*, int>)(lpVtbl[61]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, OutputSize, pOutput);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11AuthenticatedChannel*, uint, void*, uint, void*, int>)(lpVtbl[61]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, OutputSize, pOutput);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::ConfigureAuthenticatedChannel"]/*' />
|
||||
@@ -551,7 +799,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(62)]
|
||||
public HResult ConfigureAuthenticatedChannel(ID3D11AuthenticatedChannel* pChannel, uint InputSize, void* pInput, AuthenticatedConfigureOutput* pOutput)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext*, ID3D11AuthenticatedChannel*, uint, void*, AuthenticatedConfigureOutput*, int>)(lpVtbl[62]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, pOutput);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11AuthenticatedChannel*, uint, void*, AuthenticatedConfigureOutput*, int>)(lpVtbl[62]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, pOutput);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorSetStreamRotation"]/*' />
|
||||
@@ -559,7 +811,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(63)]
|
||||
public void VideoProcessorSetStreamRotation(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, VideoProcessorRotation Rotation)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32, VideoProcessorRotation, void>)(lpVtbl[63]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32, VideoProcessorRotation, void>)(lpVtbl[63]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorGetStreamRotation"]/*' />
|
||||
@@ -567,7 +823,11 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
[VtblIndex(64)]
|
||||
public void VideoProcessorGetStreamRotation(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnable, VideoProcessorRotation* pRotation)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32*, VideoProcessorRotation*, void>)(lpVtbl[64]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pRotation);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32*, VideoProcessorRotation*, void>)(lpVtbl[64]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pRotation);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11DeviceChild.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, uint>)(lpVtbl[1]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, uint>)(lpVtbl[1]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, uint>)(lpVtbl[2]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, uint>)(lpVtbl[2]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.GetDecoderBuffer" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(7)]
|
||||
public HResult GetDecoderBuffer(ID3D11VideoDecoder* pDecoder, VideoDecoderBufferType Type, uint* pBufferSize, void** ppBuffer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoDecoder*, VideoDecoderBufferType, uint*, void**, int>)(lpVtbl[7]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, Type, pBufferSize, ppBuffer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoDecoder*, VideoDecoderBufferType, uint*, void**, int>)(lpVtbl[7]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, Type, pBufferSize, ppBuffer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.ReleaseDecoderBuffer" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(8)]
|
||||
public HResult ReleaseDecoderBuffer(ID3D11VideoDecoder* pDecoder, VideoDecoderBufferType Type)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoDecoder*, VideoDecoderBufferType, int>)(lpVtbl[8]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, Type);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoDecoder*, VideoDecoderBufferType, int>)(lpVtbl[8]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, Type);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.DecoderBeginFrame" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(9)]
|
||||
public HResult DecoderBeginFrame(ID3D11VideoDecoder* pDecoder, ID3D11VideoDecoderOutputView* pView, uint ContentKeySize, void* pContentKey)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoDecoder*, ID3D11VideoDecoderOutputView*, uint, void*, int>)(lpVtbl[9]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, pView, ContentKeySize, pContentKey);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoDecoder*, ID3D11VideoDecoderOutputView*, uint, void*, int>)(lpVtbl[9]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, pView, ContentKeySize, pContentKey);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.DecoderEndFrame" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(10)]
|
||||
public HResult DecoderEndFrame(ID3D11VideoDecoder* pDecoder)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoDecoder*, int>)(lpVtbl[10]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoDecoder*, int>)(lpVtbl[10]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.SubmitDecoderBuffers" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(11)]
|
||||
public HResult SubmitDecoderBuffers(ID3D11VideoDecoder* pDecoder, uint NumBuffers, VideoDecoderBufferDescription* pBufferDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoDecoder*, uint, VideoDecoderBufferDescription*, int>)(lpVtbl[11]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoDecoder*, uint, VideoDecoderBufferDescription*, int>)(lpVtbl[11]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.DecoderExtension" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(12)]
|
||||
public int DecoderExtension(ID3D11VideoDecoder* pDecoder, VideoDecoderExtension* pExtensionData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoDecoder*, VideoDecoderExtension*, int>)(lpVtbl[12]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, pExtensionData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoDecoder*, VideoDecoderExtension*, int>)(lpVtbl[12]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, pExtensionData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetOutputTargetRect" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(13)]
|
||||
public void VideoProcessorSetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, Bool32, Rect*, void>)(lpVtbl[13]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, Bool32, Rect*, void>)(lpVtbl[13]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetOutputBackgroundColor" />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(14)]
|
||||
public void VideoProcessorSetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, Bool32 YCbCr, VideoColor* pColor)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, Bool32, VideoColor*, void>)(lpVtbl[14]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, Bool32, VideoColor*, void>)(lpVtbl[14]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetOutputColorSpace" />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(15)]
|
||||
public void VideoProcessorSetOutputColorSpace(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorColorSpace* pColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, VideoProcessorColorSpace*, void>)(lpVtbl[15]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, VideoProcessorColorSpace*, void>)(lpVtbl[15]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetOutputAlphaFillMode" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(16)]
|
||||
public void VideoProcessorSetOutputAlphaFillMode(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorAlphaFillMode AlphaFillMode, uint StreamIndex)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, VideoProcessorAlphaFillMode, uint, void>)(lpVtbl[16]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, AlphaFillMode, StreamIndex);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, VideoProcessorAlphaFillMode, uint, void>)(lpVtbl[16]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, AlphaFillMode, StreamIndex);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetOutputConstriction" />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(17)]
|
||||
public void VideoProcessorSetOutputConstriction(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, System.Drawing.Size Size)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, Bool32, System.Drawing.Size, void>)(lpVtbl[17]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, Bool32, System.Drawing.Size, void>)(lpVtbl[17]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetOutputStereoMode" />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(18)]
|
||||
public void VideoProcessorSetOutputStereoMode(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, Bool32, void>)(lpVtbl[18]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, Bool32, void>)(lpVtbl[18]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetOutputExtension" />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(19)]
|
||||
public int VideoProcessorSetOutputExtension(ID3D11VideoProcessor* pVideoProcessor, Guid* pExtensionGuid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, Guid*, uint, void*, int>)(lpVtbl[19]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, Guid*, uint, void*, int>)(lpVtbl[19]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetOutputTargetRect" />
|
||||
@@ -215,7 +295,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(20)]
|
||||
public void VideoProcessorGetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enabled, Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, Bool32*, Rect*, void>)(lpVtbl[20]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enabled, pRect);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, Bool32*, Rect*, void>)(lpVtbl[20]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enabled, pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetOutputBackgroundColor" />
|
||||
@@ -223,7 +307,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(21)]
|
||||
public void VideoProcessorGetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, Bool32* pYCbCr, VideoColor* pColor)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, Bool32*, VideoColor*, void>)(lpVtbl[21]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pYCbCr, pColor);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, Bool32*, VideoColor*, void>)(lpVtbl[21]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pYCbCr, pColor);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetOutputColorSpace" />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(22)]
|
||||
public void VideoProcessorGetOutputColorSpace(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorColorSpace* pColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, VideoProcessorColorSpace*, void>)(lpVtbl[22]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, VideoProcessorColorSpace*, void>)(lpVtbl[22]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetOutputAlphaFillMode" />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(23)]
|
||||
public void VideoProcessorGetOutputAlphaFillMode(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorAlphaFillMode* pAlphaFillMode, uint* pStreamIndex)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, VideoProcessorAlphaFillMode*, uint*, void>)(lpVtbl[23]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pAlphaFillMode, pStreamIndex);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, VideoProcessorAlphaFillMode*, uint*, void>)(lpVtbl[23]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pAlphaFillMode, pStreamIndex);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetOutputConstriction" />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(24)]
|
||||
public void VideoProcessorGetOutputConstriction(ID3D11VideoProcessor* pVideoProcessor, Bool32* pEnabled, System.Drawing.Size* pSize)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, Bool32*, System.Drawing.Size*, void>)(lpVtbl[24]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled, pSize);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, Bool32*, System.Drawing.Size*, void>)(lpVtbl[24]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled, pSize);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetOutputStereoMode" />
|
||||
@@ -255,7 +355,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(25)]
|
||||
public void VideoProcessorGetOutputStereoMode(ID3D11VideoProcessor* pVideoProcessor, Bool32* pEnabled)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, Bool32*, void>)(lpVtbl[25]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, Bool32*, void>)(lpVtbl[25]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetOutputExtension" />
|
||||
@@ -263,7 +367,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(26)]
|
||||
public int VideoProcessorGetOutputExtension(ID3D11VideoProcessor* pVideoProcessor, Guid* pExtensionGuid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, Guid*, uint, void*, int>)(lpVtbl[26]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, Guid*, uint, void*, int>)(lpVtbl[26]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamFrameFormat" />
|
||||
@@ -271,7 +379,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(27)]
|
||||
public void VideoProcessorSetStreamFrameFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoFrameFormat FrameFormat)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, VideoFrameFormat, void>)(lpVtbl[27]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, FrameFormat);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, VideoFrameFormat, void>)(lpVtbl[27]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, FrameFormat);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamColorSpace" />
|
||||
@@ -279,7 +391,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(28)]
|
||||
public void VideoProcessorSetStreamColorSpace(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorColorSpace* pColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, VideoProcessorColorSpace*, void>)(lpVtbl[28]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, VideoProcessorColorSpace*, void>)(lpVtbl[28]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamOutputRate" />
|
||||
@@ -287,7 +403,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(29)]
|
||||
public void VideoProcessorSetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorOutputRate OutputRate, Bool32 RepeatFrame, Graphics.Dxgi.Common.Rational* pCustomRate)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, VideoProcessorOutputRate, Bool32, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[29]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, VideoProcessorOutputRate, Bool32, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[29]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamSourceRect" />
|
||||
@@ -295,7 +415,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(30)]
|
||||
public void VideoProcessorSetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32, Rect*, void>)(lpVtbl[30]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32, Rect*, void>)(lpVtbl[30]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamDestRect" />
|
||||
@@ -303,7 +427,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(31)]
|
||||
public void VideoProcessorSetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32, Rect*, void>)(lpVtbl[31]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32, Rect*, void>)(lpVtbl[31]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamAlpha" />
|
||||
@@ -311,7 +439,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(32)]
|
||||
public void VideoProcessorSetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, float Alpha)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32, float, void>)(lpVtbl[32]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32, float, void>)(lpVtbl[32]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamPalette" />
|
||||
@@ -319,7 +451,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(33)]
|
||||
public void VideoProcessorSetStreamPalette(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, uint Count, uint* pEntries)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, uint, uint*, void>)(lpVtbl[33]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, uint, uint*, void>)(lpVtbl[33]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamPixelAspectRatio" />
|
||||
@@ -327,7 +463,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(34)]
|
||||
public void VideoProcessorSetStreamPixelAspectRatio(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Graphics.Dxgi.Common.Rational* pSourceAspectRatio, Graphics.Dxgi.Common.Rational* pDestinationAspectRatio)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32, Graphics.Dxgi.Common.Rational*, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[34]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32, Graphics.Dxgi.Common.Rational*, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[34]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamLumaKey" />
|
||||
@@ -335,7 +475,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(35)]
|
||||
public void VideoProcessorSetStreamLumaKey(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, float Lower, float Upper)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32, float, float, void>)(lpVtbl[35]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32, float, float, void>)(lpVtbl[35]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamStereoFormat" />
|
||||
@@ -343,7 +487,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(36)]
|
||||
public void VideoProcessorSetStreamStereoFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, VideoProcessorStereoFormat Format, Bool32 LeftViewFrame0, Bool32 BaseViewFrame0, VideoProcessorStereoFlipMode FlipMode, int MonoOffset)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32, VideoProcessorStereoFormat, Bool32, Bool32, VideoProcessorStereoFlipMode, int, void>)(lpVtbl[36]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32, VideoProcessorStereoFormat, Bool32, Bool32, VideoProcessorStereoFlipMode, int, void>)(lpVtbl[36]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamAutoProcessingMode" />
|
||||
@@ -351,7 +499,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(37)]
|
||||
public void VideoProcessorSetStreamAutoProcessingMode(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32, void>)(lpVtbl[37]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32, void>)(lpVtbl[37]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamFilter" />
|
||||
@@ -359,7 +511,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(38)]
|
||||
public void VideoProcessorSetStreamFilter(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorFilter Filter, Bool32 Enable, int Level)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, VideoProcessorFilter, Bool32, int, void>)(lpVtbl[38]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, VideoProcessorFilter, Bool32, int, void>)(lpVtbl[38]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamExtension" />
|
||||
@@ -367,7 +523,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(39)]
|
||||
public int VideoProcessorSetStreamExtension(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Guid* pExtensionGuid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Guid*, uint, void*, int>)(lpVtbl[39]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Guid*, uint, void*, int>)(lpVtbl[39]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamFrameFormat" />
|
||||
@@ -375,7 +535,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(40)]
|
||||
public void VideoProcessorGetStreamFrameFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoFrameFormat* pFrameFormat)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, VideoFrameFormat*, void>)(lpVtbl[40]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pFrameFormat);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, VideoFrameFormat*, void>)(lpVtbl[40]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pFrameFormat);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamColorSpace" />
|
||||
@@ -383,7 +547,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(41)]
|
||||
public void VideoProcessorGetStreamColorSpace(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorColorSpace* pColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, VideoProcessorColorSpace*, void>)(lpVtbl[41]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, VideoProcessorColorSpace*, void>)(lpVtbl[41]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamOutputRate" />
|
||||
@@ -391,7 +559,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(42)]
|
||||
public void VideoProcessorGetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorOutputRate* pOutputRate, Bool32* pRepeatFrame, Graphics.Dxgi.Common.Rational* pCustomRate)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, VideoProcessorOutputRate*, Bool32*, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[42]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pOutputRate, pRepeatFrame, pCustomRate);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, VideoProcessorOutputRate*, Bool32*, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[42]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pOutputRate, pRepeatFrame, pCustomRate);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamSourceRect" />
|
||||
@@ -399,7 +571,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(43)]
|
||||
public void VideoProcessorGetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32*, Rect*, void>)(lpVtbl[43]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32*, Rect*, void>)(lpVtbl[43]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamDestRect" />
|
||||
@@ -407,7 +583,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(44)]
|
||||
public void VideoProcessorGetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32*, Rect*, void>)(lpVtbl[44]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32*, Rect*, void>)(lpVtbl[44]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamAlpha" />
|
||||
@@ -415,7 +595,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(45)]
|
||||
public void VideoProcessorGetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, float* pAlpha)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32*, float*, void>)(lpVtbl[45]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pAlpha);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32*, float*, void>)(lpVtbl[45]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pAlpha);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamPalette" />
|
||||
@@ -423,7 +607,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(46)]
|
||||
public void VideoProcessorGetStreamPalette(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, uint Count, uint* pEntries)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, uint, uint*, void>)(lpVtbl[46]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, uint, uint*, void>)(lpVtbl[46]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamPixelAspectRatio" />
|
||||
@@ -431,7 +619,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(47)]
|
||||
public void VideoProcessorGetStreamPixelAspectRatio(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, Graphics.Dxgi.Common.Rational* pSourceAspectRatio, Graphics.Dxgi.Common.Rational* pDestinationAspectRatio)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32*, Graphics.Dxgi.Common.Rational*, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[47]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pSourceAspectRatio, pDestinationAspectRatio);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32*, Graphics.Dxgi.Common.Rational*, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[47]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pSourceAspectRatio, pDestinationAspectRatio);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamLumaKey" />
|
||||
@@ -439,7 +631,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(48)]
|
||||
public void VideoProcessorGetStreamLumaKey(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, float* pLower, float* pUpper)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32*, float*, float*, void>)(lpVtbl[48]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pLower, pUpper);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32*, float*, float*, void>)(lpVtbl[48]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pLower, pUpper);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamStereoFormat" />
|
||||
@@ -447,7 +643,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(49)]
|
||||
public void VideoProcessorGetStreamStereoFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnable, VideoProcessorStereoFormat* pFormat, Bool32* pLeftViewFrame0, Bool32* pBaseViewFrame0, VideoProcessorStereoFlipMode* pFlipMode, int* MonoOffset)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32*, VideoProcessorStereoFormat*, Bool32*, Bool32*, VideoProcessorStereoFlipMode*, int*, void>)(lpVtbl[49]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFormat, pLeftViewFrame0, pBaseViewFrame0, pFlipMode, MonoOffset);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32*, VideoProcessorStereoFormat*, Bool32*, Bool32*, VideoProcessorStereoFlipMode*, int*, void>)(lpVtbl[49]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFormat, pLeftViewFrame0, pBaseViewFrame0, pFlipMode, MonoOffset);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamAutoProcessingMode" />
|
||||
@@ -455,7 +655,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(50)]
|
||||
public void VideoProcessorGetStreamAutoProcessingMode(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32*, void>)(lpVtbl[50]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32*, void>)(lpVtbl[50]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamFilter" />
|
||||
@@ -463,7 +667,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(51)]
|
||||
public void VideoProcessorGetStreamFilter(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorFilter Filter, Bool32* pEnabled, int* pLevel)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, VideoProcessorFilter, Bool32*, int*, void>)(lpVtbl[51]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, pEnabled, pLevel);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, VideoProcessorFilter, Bool32*, int*, void>)(lpVtbl[51]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, pEnabled, pLevel);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamExtension" />
|
||||
@@ -471,7 +679,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(52)]
|
||||
public int VideoProcessorGetStreamExtension(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Guid* pExtensionGuid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Guid*, uint, void*, int>)(lpVtbl[52]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Guid*, uint, void*, int>)(lpVtbl[52]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorBlt" />
|
||||
@@ -479,7 +691,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(53)]
|
||||
public HResult VideoProcessorBlt(ID3D11VideoProcessor* pVideoProcessor, ID3D11VideoProcessorOutputView* pView, uint OutputFrame, uint StreamCount, VideoProcessorStream* pStreams)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, ID3D11VideoProcessorOutputView*, uint, uint, VideoProcessorStream*, int>)(lpVtbl[53]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pView, OutputFrame, StreamCount, pStreams);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, ID3D11VideoProcessorOutputView*, uint, uint, VideoProcessorStream*, int>)(lpVtbl[53]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pView, OutputFrame, StreamCount, pStreams);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.NegotiateCryptoSessionKeyExchange" />
|
||||
@@ -487,7 +703,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(54)]
|
||||
public HResult NegotiateCryptoSessionKeyExchange(ID3D11CryptoSession* pCryptoSession, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, ID3D11CryptoSession*, uint, void*, int>)(lpVtbl[54]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11CryptoSession*, uint, void*, int>)(lpVtbl[54]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.EncryptionBlt" />
|
||||
@@ -495,7 +715,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(55)]
|
||||
public void EncryptionBlt(ID3D11CryptoSession* pCryptoSession, ID3D11Texture2D* pSrcSurface, ID3D11Texture2D* pDstSurface, uint IVSize, void* pIV)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11CryptoSession*, ID3D11Texture2D*, ID3D11Texture2D*, uint, void*, void>)(lpVtbl[55]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, IVSize, pIV);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11CryptoSession*, ID3D11Texture2D*, ID3D11Texture2D*, uint, void*, void>)(lpVtbl[55]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, IVSize, pIV);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.DecryptionBlt" />
|
||||
@@ -503,7 +727,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(56)]
|
||||
public void DecryptionBlt(ID3D11CryptoSession* pCryptoSession, ID3D11Texture2D* pSrcSurface, ID3D11Texture2D* pDstSurface, EncryptedBlockInfo* pEncryptedBlockInfo, uint ContentKeySize, void* pContentKey, uint IVSize, void* pIV)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11CryptoSession*, ID3D11Texture2D*, ID3D11Texture2D*, EncryptedBlockInfo*, uint, void*, uint, void*, void>)(lpVtbl[56]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, pEncryptedBlockInfo, ContentKeySize, pContentKey, IVSize, pIV);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11CryptoSession*, ID3D11Texture2D*, ID3D11Texture2D*, EncryptedBlockInfo*, uint, void*, uint, void*, void>)(lpVtbl[56]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, pEncryptedBlockInfo, ContentKeySize, pContentKey, IVSize, pIV);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.StartSessionKeyRefresh" />
|
||||
@@ -511,7 +739,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(57)]
|
||||
public void StartSessionKeyRefresh(ID3D11CryptoSession* pCryptoSession, uint RandomNumberSize, void* pRandomNumber)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11CryptoSession*, uint, void*, void>)(lpVtbl[57]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, RandomNumberSize, pRandomNumber);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11CryptoSession*, uint, void*, void>)(lpVtbl[57]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, RandomNumberSize, pRandomNumber);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.FinishSessionKeyRefresh" />
|
||||
@@ -519,7 +751,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(58)]
|
||||
public void FinishSessionKeyRefresh(ID3D11CryptoSession* pCryptoSession)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11CryptoSession*, void>)(lpVtbl[58]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11CryptoSession*, void>)(lpVtbl[58]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.GetEncryptionBltKey" />
|
||||
@@ -527,7 +763,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(59)]
|
||||
public HResult GetEncryptionBltKey(ID3D11CryptoSession* pCryptoSession, uint KeySize, void* pReadbackKey)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, ID3D11CryptoSession*, uint, void*, int>)(lpVtbl[59]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, KeySize, pReadbackKey);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11CryptoSession*, uint, void*, int>)(lpVtbl[59]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, KeySize, pReadbackKey);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.NegotiateAuthenticatedChannelKeyExchange" />
|
||||
@@ -535,7 +775,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(60)]
|
||||
public HResult NegotiateAuthenticatedChannelKeyExchange(ID3D11AuthenticatedChannel* pChannel, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, ID3D11AuthenticatedChannel*, uint, void*, int>)(lpVtbl[60]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pChannel, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11AuthenticatedChannel*, uint, void*, int>)(lpVtbl[60]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pChannel, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.QueryAuthenticatedChannel" />
|
||||
@@ -543,7 +787,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(61)]
|
||||
public HResult QueryAuthenticatedChannel(ID3D11AuthenticatedChannel* pChannel, uint InputSize, void* pInput, uint OutputSize, void* pOutput)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, ID3D11AuthenticatedChannel*, uint, void*, uint, void*, int>)(lpVtbl[61]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, OutputSize, pOutput);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11AuthenticatedChannel*, uint, void*, uint, void*, int>)(lpVtbl[61]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, OutputSize, pOutput);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.ConfigureAuthenticatedChannel" />
|
||||
@@ -551,7 +799,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(62)]
|
||||
public HResult ConfigureAuthenticatedChannel(ID3D11AuthenticatedChannel* pChannel, uint InputSize, void* pInput, AuthenticatedConfigureOutput* pOutput)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, ID3D11AuthenticatedChannel*, uint, void*, AuthenticatedConfigureOutput*, int>)(lpVtbl[62]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, pOutput);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11AuthenticatedChannel*, uint, void*, AuthenticatedConfigureOutput*, int>)(lpVtbl[62]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, pOutput);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamRotation" />
|
||||
@@ -559,7 +811,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(63)]
|
||||
public void VideoProcessorSetStreamRotation(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, VideoProcessorRotation Rotation)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32, VideoProcessorRotation, void>)(lpVtbl[63]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32, VideoProcessorRotation, void>)(lpVtbl[63]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamRotation" />
|
||||
@@ -567,7 +823,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(64)]
|
||||
public void VideoProcessorGetStreamRotation(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnable, VideoProcessorRotation* pRotation)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32*, VideoProcessorRotation*, void>)(lpVtbl[64]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pRotation);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32*, VideoProcessorRotation*, void>)(lpVtbl[64]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pRotation);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext1::SubmitDecoderBuffers1"]/*' />
|
||||
@@ -575,7 +835,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(65)]
|
||||
public HResult SubmitDecoderBuffers1(ID3D11VideoDecoder* pDecoder, uint NumBuffers, VideoDecoderBufferDescription1* pBufferDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoDecoder*, uint, VideoDecoderBufferDescription1*, int>)(lpVtbl[65]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoDecoder*, uint, VideoDecoderBufferDescription1*, int>)(lpVtbl[65]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext1::GetDataForNewHardwareKey"]/*' />
|
||||
@@ -583,7 +847,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(66)]
|
||||
public HResult GetDataForNewHardwareKey(ID3D11CryptoSession* pCryptoSession, uint PrivateInputSize, void* pPrivatInputData, ulong* pPrivateOutputData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, ID3D11CryptoSession*, uint, void*, ulong*, int>)(lpVtbl[66]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, PrivateInputSize, pPrivatInputData, pPrivateOutputData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11CryptoSession*, uint, void*, ulong*, int>)(lpVtbl[66]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, PrivateInputSize, pPrivatInputData, pPrivateOutputData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext1::CheckCryptoSessionStatus"]/*' />
|
||||
@@ -591,7 +859,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(67)]
|
||||
public HResult CheckCryptoSessionStatus(ID3D11CryptoSession* pCryptoSession, CryptoSessionStatus* pStatus)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, ID3D11CryptoSession*, CryptoSessionStatus*, int>)(lpVtbl[67]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, pStatus);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11CryptoSession*, CryptoSessionStatus*, int>)(lpVtbl[67]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pCryptoSession, pStatus);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext1::DecoderEnableDownsampling"]/*' />
|
||||
@@ -599,7 +871,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(68)]
|
||||
public HResult DecoderEnableDownsampling(ID3D11VideoDecoder* pDecoder, Graphics.Dxgi.Common.ColorSpaceType InputColorSpace, VideoSampleDescription* pOutputDesc, uint ReferenceFrameCount)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoDecoder*, Graphics.Dxgi.Common.ColorSpaceType, VideoSampleDescription*, uint, int>)(lpVtbl[68]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, InputColorSpace, pOutputDesc, ReferenceFrameCount);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoDecoder*, Graphics.Dxgi.Common.ColorSpaceType, VideoSampleDescription*, uint, int>)(lpVtbl[68]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, InputColorSpace, pOutputDesc, ReferenceFrameCount);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext1::DecoderUpdateDownsampling"]/*' />
|
||||
@@ -607,7 +883,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(69)]
|
||||
public HResult DecoderUpdateDownsampling(ID3D11VideoDecoder* pDecoder, VideoSampleDescription* pOutputDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoDecoder*, VideoSampleDescription*, int>)(lpVtbl[69]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, pOutputDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoDecoder*, VideoSampleDescription*, int>)(lpVtbl[69]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pDecoder, pOutputDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext1::VideoProcessorSetOutputColorSpace1"]/*' />
|
||||
@@ -615,7 +895,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(70)]
|
||||
public void VideoProcessorSetOutputColorSpace1(ID3D11VideoProcessor* pVideoProcessor, Graphics.Dxgi.Common.ColorSpaceType ColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, Graphics.Dxgi.Common.ColorSpaceType, void>)(lpVtbl[70]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, ColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, Graphics.Dxgi.Common.ColorSpaceType, void>)(lpVtbl[70]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, ColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext1::VideoProcessorSetOutputShaderUsage"]/*' />
|
||||
@@ -623,7 +907,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(71)]
|
||||
public void VideoProcessorSetOutputShaderUsage(ID3D11VideoProcessor* pVideoProcessor, Bool32 ShaderUsage)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, Bool32, void>)(lpVtbl[71]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, ShaderUsage);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, Bool32, void>)(lpVtbl[71]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, ShaderUsage);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext1::VideoProcessorGetOutputColorSpace1"]/*' />
|
||||
@@ -631,7 +919,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(72)]
|
||||
public void VideoProcessorGetOutputColorSpace1(ID3D11VideoProcessor* pVideoProcessor, Graphics.Dxgi.Common.ColorSpaceType* pColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, Graphics.Dxgi.Common.ColorSpaceType*, void>)(lpVtbl[72]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, Graphics.Dxgi.Common.ColorSpaceType*, void>)(lpVtbl[72]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext1::VideoProcessorGetOutputShaderUsage"]/*' />
|
||||
@@ -639,7 +931,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(73)]
|
||||
public void VideoProcessorGetOutputShaderUsage(ID3D11VideoProcessor* pVideoProcessor, Bool32* pShaderUsage)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, Bool32*, void>)(lpVtbl[73]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pShaderUsage);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, Bool32*, void>)(lpVtbl[73]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, pShaderUsage);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext1::VideoProcessorSetStreamColorSpace1"]/*' />
|
||||
@@ -647,7 +943,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(74)]
|
||||
public void VideoProcessorSetStreamColorSpace1(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Graphics.Dxgi.Common.ColorSpaceType ColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Graphics.Dxgi.Common.ColorSpaceType, void>)(lpVtbl[74]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, ColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Graphics.Dxgi.Common.ColorSpaceType, void>)(lpVtbl[74]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, ColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext1::VideoProcessorSetStreamMirror"]/*' />
|
||||
@@ -655,7 +955,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(75)]
|
||||
public void VideoProcessorSetStreamMirror(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Bool32 FlipHorizontal, Bool32 FlipVertical)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32, Bool32, Bool32, void>)(lpVtbl[75]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, FlipHorizontal, FlipVertical);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32, Bool32, Bool32, void>)(lpVtbl[75]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, FlipHorizontal, FlipVertical);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext1::VideoProcessorGetStreamColorSpace1"]/*' />
|
||||
@@ -663,7 +967,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(76)]
|
||||
public void VideoProcessorGetStreamColorSpace1(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Graphics.Dxgi.Common.ColorSpaceType* pColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Graphics.Dxgi.Common.ColorSpaceType*, void>)(lpVtbl[76]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Graphics.Dxgi.Common.ColorSpaceType*, void>)(lpVtbl[76]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext1::VideoProcessorGetStreamMirror"]/*' />
|
||||
@@ -671,7 +979,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(77)]
|
||||
public void VideoProcessorGetStreamMirror(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnable, Bool32* pFlipHorizontal, Bool32* pFlipVertical)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32*, Bool32*, Bool32*, void>)(lpVtbl[77]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFlipHorizontal, pFlipVertical);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32*, Bool32*, Bool32*, void>)(lpVtbl[77]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFlipHorizontal, pFlipVertical);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext1::VideoProcessorGetBehaviorHints"]/*' />
|
||||
@@ -679,7 +991,11 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
[VtblIndex(78)]
|
||||
public HResult VideoProcessorGetBehaviorHints(ID3D11VideoProcessor* pVideoProcessor, uint OutputWidth, uint OutputHeight, Graphics.Dxgi.Common.Format OutputFormat, uint StreamCount, VideoProcessorStreamBehaviorHint* pStreams, uint* pBehaviorHints)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, uint, Graphics.Dxgi.Common.Format, uint, VideoProcessorStreamBehaviorHint*, uint*, int>)(lpVtbl[78]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, OutputWidth, OutputHeight, OutputFormat, StreamCount, pStreams, pBehaviorHints);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, uint, Graphics.Dxgi.Common.Format, uint, VideoProcessorStreamBehaviorHint*, uint*, int>)(lpVtbl[78]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, OutputWidth, OutputHeight, OutputFormat, StreamCount, pStreams, pBehaviorHints);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11VideoContext.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, uint>)(lpVtbl[1]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, uint>)(lpVtbl[1]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, uint>)(lpVtbl[2]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, uint>)(lpVtbl[2]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.GetDecoderBuffer" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(7)]
|
||||
public HResult GetDecoderBuffer(ID3D11VideoDecoder* pDecoder, VideoDecoderBufferType Type, uint* pBufferSize, void** ppBuffer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoDecoder*, VideoDecoderBufferType, uint*, void**, int>)(lpVtbl[7]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, Type, pBufferSize, ppBuffer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoDecoder*, VideoDecoderBufferType, uint*, void**, int>)(lpVtbl[7]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, Type, pBufferSize, ppBuffer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.ReleaseDecoderBuffer" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(8)]
|
||||
public HResult ReleaseDecoderBuffer(ID3D11VideoDecoder* pDecoder, VideoDecoderBufferType Type)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoDecoder*, VideoDecoderBufferType, int>)(lpVtbl[8]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, Type);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoDecoder*, VideoDecoderBufferType, int>)(lpVtbl[8]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, Type);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.DecoderBeginFrame" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(9)]
|
||||
public HResult DecoderBeginFrame(ID3D11VideoDecoder* pDecoder, ID3D11VideoDecoderOutputView* pView, uint ContentKeySize, void* pContentKey)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoDecoder*, ID3D11VideoDecoderOutputView*, uint, void*, int>)(lpVtbl[9]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, pView, ContentKeySize, pContentKey);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoDecoder*, ID3D11VideoDecoderOutputView*, uint, void*, int>)(lpVtbl[9]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, pView, ContentKeySize, pContentKey);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.DecoderEndFrame" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(10)]
|
||||
public HResult DecoderEndFrame(ID3D11VideoDecoder* pDecoder)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoDecoder*, int>)(lpVtbl[10]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoDecoder*, int>)(lpVtbl[10]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.SubmitDecoderBuffers" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(11)]
|
||||
public HResult SubmitDecoderBuffers(ID3D11VideoDecoder* pDecoder, uint NumBuffers, VideoDecoderBufferDescription* pBufferDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoDecoder*, uint, VideoDecoderBufferDescription*, int>)(lpVtbl[11]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoDecoder*, uint, VideoDecoderBufferDescription*, int>)(lpVtbl[11]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.DecoderExtension" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(12)]
|
||||
public int DecoderExtension(ID3D11VideoDecoder* pDecoder, VideoDecoderExtension* pExtensionData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoDecoder*, VideoDecoderExtension*, int>)(lpVtbl[12]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, pExtensionData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoDecoder*, VideoDecoderExtension*, int>)(lpVtbl[12]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, pExtensionData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetOutputTargetRect" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(13)]
|
||||
public void VideoProcessorSetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, Bool32, Rect*, void>)(lpVtbl[13]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, Bool32, Rect*, void>)(lpVtbl[13]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetOutputBackgroundColor" />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(14)]
|
||||
public void VideoProcessorSetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, Bool32 YCbCr, VideoColor* pColor)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, Bool32, VideoColor*, void>)(lpVtbl[14]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, Bool32, VideoColor*, void>)(lpVtbl[14]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetOutputColorSpace" />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(15)]
|
||||
public void VideoProcessorSetOutputColorSpace(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorColorSpace* pColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, VideoProcessorColorSpace*, void>)(lpVtbl[15]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, VideoProcessorColorSpace*, void>)(lpVtbl[15]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetOutputAlphaFillMode" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(16)]
|
||||
public void VideoProcessorSetOutputAlphaFillMode(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorAlphaFillMode AlphaFillMode, uint StreamIndex)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, VideoProcessorAlphaFillMode, uint, void>)(lpVtbl[16]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, AlphaFillMode, StreamIndex);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, VideoProcessorAlphaFillMode, uint, void>)(lpVtbl[16]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, AlphaFillMode, StreamIndex);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetOutputConstriction" />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(17)]
|
||||
public void VideoProcessorSetOutputConstriction(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, System.Drawing.Size Size)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, Bool32, System.Drawing.Size, void>)(lpVtbl[17]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, Bool32, System.Drawing.Size, void>)(lpVtbl[17]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetOutputStereoMode" />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(18)]
|
||||
public void VideoProcessorSetOutputStereoMode(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, Bool32, void>)(lpVtbl[18]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, Bool32, void>)(lpVtbl[18]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetOutputExtension" />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(19)]
|
||||
public int VideoProcessorSetOutputExtension(ID3D11VideoProcessor* pVideoProcessor, Guid* pExtensionGuid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, Guid*, uint, void*, int>)(lpVtbl[19]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, Guid*, uint, void*, int>)(lpVtbl[19]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetOutputTargetRect" />
|
||||
@@ -215,7 +295,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(20)]
|
||||
public void VideoProcessorGetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enabled, Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, Bool32*, Rect*, void>)(lpVtbl[20]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enabled, pRect);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, Bool32*, Rect*, void>)(lpVtbl[20]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enabled, pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetOutputBackgroundColor" />
|
||||
@@ -223,7 +307,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(21)]
|
||||
public void VideoProcessorGetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, Bool32* pYCbCr, VideoColor* pColor)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, Bool32*, VideoColor*, void>)(lpVtbl[21]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pYCbCr, pColor);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, Bool32*, VideoColor*, void>)(lpVtbl[21]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pYCbCr, pColor);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetOutputColorSpace" />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(22)]
|
||||
public void VideoProcessorGetOutputColorSpace(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorColorSpace* pColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, VideoProcessorColorSpace*, void>)(lpVtbl[22]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, VideoProcessorColorSpace*, void>)(lpVtbl[22]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetOutputAlphaFillMode" />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(23)]
|
||||
public void VideoProcessorGetOutputAlphaFillMode(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorAlphaFillMode* pAlphaFillMode, uint* pStreamIndex)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, VideoProcessorAlphaFillMode*, uint*, void>)(lpVtbl[23]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pAlphaFillMode, pStreamIndex);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, VideoProcessorAlphaFillMode*, uint*, void>)(lpVtbl[23]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pAlphaFillMode, pStreamIndex);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetOutputConstriction" />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(24)]
|
||||
public void VideoProcessorGetOutputConstriction(ID3D11VideoProcessor* pVideoProcessor, Bool32* pEnabled, System.Drawing.Size* pSize)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, Bool32*, System.Drawing.Size*, void>)(lpVtbl[24]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled, pSize);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, Bool32*, System.Drawing.Size*, void>)(lpVtbl[24]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled, pSize);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetOutputStereoMode" />
|
||||
@@ -255,7 +355,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(25)]
|
||||
public void VideoProcessorGetOutputStereoMode(ID3D11VideoProcessor* pVideoProcessor, Bool32* pEnabled)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, Bool32*, void>)(lpVtbl[25]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, Bool32*, void>)(lpVtbl[25]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetOutputExtension" />
|
||||
@@ -263,7 +367,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(26)]
|
||||
public int VideoProcessorGetOutputExtension(ID3D11VideoProcessor* pVideoProcessor, Guid* pExtensionGuid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, Guid*, uint, void*, int>)(lpVtbl[26]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, Guid*, uint, void*, int>)(lpVtbl[26]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamFrameFormat" />
|
||||
@@ -271,7 +379,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(27)]
|
||||
public void VideoProcessorSetStreamFrameFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoFrameFormat FrameFormat)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, VideoFrameFormat, void>)(lpVtbl[27]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, FrameFormat);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, VideoFrameFormat, void>)(lpVtbl[27]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, FrameFormat);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamColorSpace" />
|
||||
@@ -279,7 +391,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(28)]
|
||||
public void VideoProcessorSetStreamColorSpace(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorColorSpace* pColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, VideoProcessorColorSpace*, void>)(lpVtbl[28]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, VideoProcessorColorSpace*, void>)(lpVtbl[28]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamOutputRate" />
|
||||
@@ -287,7 +403,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(29)]
|
||||
public void VideoProcessorSetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorOutputRate OutputRate, Bool32 RepeatFrame, Graphics.Dxgi.Common.Rational* pCustomRate)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, VideoProcessorOutputRate, Bool32, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[29]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, VideoProcessorOutputRate, Bool32, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[29]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamSourceRect" />
|
||||
@@ -295,7 +415,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(30)]
|
||||
public void VideoProcessorSetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32, Rect*, void>)(lpVtbl[30]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32, Rect*, void>)(lpVtbl[30]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamDestRect" />
|
||||
@@ -303,7 +427,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(31)]
|
||||
public void VideoProcessorSetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32, Rect*, void>)(lpVtbl[31]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32, Rect*, void>)(lpVtbl[31]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamAlpha" />
|
||||
@@ -311,7 +439,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(32)]
|
||||
public void VideoProcessorSetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, float Alpha)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32, float, void>)(lpVtbl[32]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32, float, void>)(lpVtbl[32]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamPalette" />
|
||||
@@ -319,7 +451,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(33)]
|
||||
public void VideoProcessorSetStreamPalette(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, uint Count, uint* pEntries)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, uint, uint*, void>)(lpVtbl[33]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, uint, uint*, void>)(lpVtbl[33]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamPixelAspectRatio" />
|
||||
@@ -327,7 +463,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(34)]
|
||||
public void VideoProcessorSetStreamPixelAspectRatio(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Graphics.Dxgi.Common.Rational* pSourceAspectRatio, Graphics.Dxgi.Common.Rational* pDestinationAspectRatio)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32, Graphics.Dxgi.Common.Rational*, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[34]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32, Graphics.Dxgi.Common.Rational*, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[34]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamLumaKey" />
|
||||
@@ -335,7 +475,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(35)]
|
||||
public void VideoProcessorSetStreamLumaKey(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, float Lower, float Upper)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32, float, float, void>)(lpVtbl[35]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32, float, float, void>)(lpVtbl[35]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamStereoFormat" />
|
||||
@@ -343,7 +487,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(36)]
|
||||
public void VideoProcessorSetStreamStereoFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, VideoProcessorStereoFormat Format, Bool32 LeftViewFrame0, Bool32 BaseViewFrame0, VideoProcessorStereoFlipMode FlipMode, int MonoOffset)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32, VideoProcessorStereoFormat, Bool32, Bool32, VideoProcessorStereoFlipMode, int, void>)(lpVtbl[36]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32, VideoProcessorStereoFormat, Bool32, Bool32, VideoProcessorStereoFlipMode, int, void>)(lpVtbl[36]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamAutoProcessingMode" />
|
||||
@@ -351,7 +499,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(37)]
|
||||
public void VideoProcessorSetStreamAutoProcessingMode(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32, void>)(lpVtbl[37]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32, void>)(lpVtbl[37]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamFilter" />
|
||||
@@ -359,7 +511,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(38)]
|
||||
public void VideoProcessorSetStreamFilter(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorFilter Filter, Bool32 Enable, int Level)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, VideoProcessorFilter, Bool32, int, void>)(lpVtbl[38]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, VideoProcessorFilter, Bool32, int, void>)(lpVtbl[38]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamExtension" />
|
||||
@@ -367,7 +523,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(39)]
|
||||
public int VideoProcessorSetStreamExtension(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Guid* pExtensionGuid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Guid*, uint, void*, int>)(lpVtbl[39]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Guid*, uint, void*, int>)(lpVtbl[39]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamFrameFormat" />
|
||||
@@ -375,7 +535,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(40)]
|
||||
public void VideoProcessorGetStreamFrameFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoFrameFormat* pFrameFormat)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, VideoFrameFormat*, void>)(lpVtbl[40]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pFrameFormat);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, VideoFrameFormat*, void>)(lpVtbl[40]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pFrameFormat);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamColorSpace" />
|
||||
@@ -383,7 +547,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(41)]
|
||||
public void VideoProcessorGetStreamColorSpace(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorColorSpace* pColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, VideoProcessorColorSpace*, void>)(lpVtbl[41]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, VideoProcessorColorSpace*, void>)(lpVtbl[41]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamOutputRate" />
|
||||
@@ -391,7 +559,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(42)]
|
||||
public void VideoProcessorGetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorOutputRate* pOutputRate, Bool32* pRepeatFrame, Graphics.Dxgi.Common.Rational* pCustomRate)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, VideoProcessorOutputRate*, Bool32*, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[42]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pOutputRate, pRepeatFrame, pCustomRate);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, VideoProcessorOutputRate*, Bool32*, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[42]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pOutputRate, pRepeatFrame, pCustomRate);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamSourceRect" />
|
||||
@@ -399,7 +571,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(43)]
|
||||
public void VideoProcessorGetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32*, Rect*, void>)(lpVtbl[43]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32*, Rect*, void>)(lpVtbl[43]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamDestRect" />
|
||||
@@ -407,7 +583,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(44)]
|
||||
public void VideoProcessorGetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32*, Rect*, void>)(lpVtbl[44]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32*, Rect*, void>)(lpVtbl[44]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamAlpha" />
|
||||
@@ -415,7 +595,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(45)]
|
||||
public void VideoProcessorGetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, float* pAlpha)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32*, float*, void>)(lpVtbl[45]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pAlpha);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32*, float*, void>)(lpVtbl[45]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pAlpha);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamPalette" />
|
||||
@@ -423,7 +607,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(46)]
|
||||
public void VideoProcessorGetStreamPalette(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, uint Count, uint* pEntries)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, uint, uint*, void>)(lpVtbl[46]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, uint, uint*, void>)(lpVtbl[46]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamPixelAspectRatio" />
|
||||
@@ -431,7 +619,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(47)]
|
||||
public void VideoProcessorGetStreamPixelAspectRatio(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, Graphics.Dxgi.Common.Rational* pSourceAspectRatio, Graphics.Dxgi.Common.Rational* pDestinationAspectRatio)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32*, Graphics.Dxgi.Common.Rational*, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[47]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pSourceAspectRatio, pDestinationAspectRatio);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32*, Graphics.Dxgi.Common.Rational*, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[47]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pSourceAspectRatio, pDestinationAspectRatio);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamLumaKey" />
|
||||
@@ -439,7 +631,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(48)]
|
||||
public void VideoProcessorGetStreamLumaKey(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, float* pLower, float* pUpper)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32*, float*, float*, void>)(lpVtbl[48]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pLower, pUpper);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32*, float*, float*, void>)(lpVtbl[48]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pLower, pUpper);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamStereoFormat" />
|
||||
@@ -447,7 +643,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(49)]
|
||||
public void VideoProcessorGetStreamStereoFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnable, VideoProcessorStereoFormat* pFormat, Bool32* pLeftViewFrame0, Bool32* pBaseViewFrame0, VideoProcessorStereoFlipMode* pFlipMode, int* MonoOffset)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32*, VideoProcessorStereoFormat*, Bool32*, Bool32*, VideoProcessorStereoFlipMode*, int*, void>)(lpVtbl[49]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFormat, pLeftViewFrame0, pBaseViewFrame0, pFlipMode, MonoOffset);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32*, VideoProcessorStereoFormat*, Bool32*, Bool32*, VideoProcessorStereoFlipMode*, int*, void>)(lpVtbl[49]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFormat, pLeftViewFrame0, pBaseViewFrame0, pFlipMode, MonoOffset);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamAutoProcessingMode" />
|
||||
@@ -455,7 +655,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(50)]
|
||||
public void VideoProcessorGetStreamAutoProcessingMode(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32*, void>)(lpVtbl[50]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32*, void>)(lpVtbl[50]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamFilter" />
|
||||
@@ -463,7 +667,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(51)]
|
||||
public void VideoProcessorGetStreamFilter(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorFilter Filter, Bool32* pEnabled, int* pLevel)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, VideoProcessorFilter, Bool32*, int*, void>)(lpVtbl[51]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, pEnabled, pLevel);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, VideoProcessorFilter, Bool32*, int*, void>)(lpVtbl[51]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, pEnabled, pLevel);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamExtension" />
|
||||
@@ -471,7 +679,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(52)]
|
||||
public int VideoProcessorGetStreamExtension(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Guid* pExtensionGuid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Guid*, uint, void*, int>)(lpVtbl[52]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Guid*, uint, void*, int>)(lpVtbl[52]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorBlt" />
|
||||
@@ -479,7 +691,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(53)]
|
||||
public HResult VideoProcessorBlt(ID3D11VideoProcessor* pVideoProcessor, ID3D11VideoProcessorOutputView* pView, uint OutputFrame, uint StreamCount, VideoProcessorStream* pStreams)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, ID3D11VideoProcessorOutputView*, uint, uint, VideoProcessorStream*, int>)(lpVtbl[53]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pView, OutputFrame, StreamCount, pStreams);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, ID3D11VideoProcessorOutputView*, uint, uint, VideoProcessorStream*, int>)(lpVtbl[53]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pView, OutputFrame, StreamCount, pStreams);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.NegotiateCryptoSessionKeyExchange" />
|
||||
@@ -487,7 +703,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(54)]
|
||||
public HResult NegotiateCryptoSessionKeyExchange(ID3D11CryptoSession* pCryptoSession, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, ID3D11CryptoSession*, uint, void*, int>)(lpVtbl[54]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11CryptoSession*, uint, void*, int>)(lpVtbl[54]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.EncryptionBlt" />
|
||||
@@ -495,7 +715,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(55)]
|
||||
public void EncryptionBlt(ID3D11CryptoSession* pCryptoSession, ID3D11Texture2D* pSrcSurface, ID3D11Texture2D* pDstSurface, uint IVSize, void* pIV)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11CryptoSession*, ID3D11Texture2D*, ID3D11Texture2D*, uint, void*, void>)(lpVtbl[55]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, IVSize, pIV);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11CryptoSession*, ID3D11Texture2D*, ID3D11Texture2D*, uint, void*, void>)(lpVtbl[55]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, IVSize, pIV);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.DecryptionBlt" />
|
||||
@@ -503,7 +727,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(56)]
|
||||
public void DecryptionBlt(ID3D11CryptoSession* pCryptoSession, ID3D11Texture2D* pSrcSurface, ID3D11Texture2D* pDstSurface, EncryptedBlockInfo* pEncryptedBlockInfo, uint ContentKeySize, void* pContentKey, uint IVSize, void* pIV)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11CryptoSession*, ID3D11Texture2D*, ID3D11Texture2D*, EncryptedBlockInfo*, uint, void*, uint, void*, void>)(lpVtbl[56]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, pEncryptedBlockInfo, ContentKeySize, pContentKey, IVSize, pIV);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11CryptoSession*, ID3D11Texture2D*, ID3D11Texture2D*, EncryptedBlockInfo*, uint, void*, uint, void*, void>)(lpVtbl[56]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, pEncryptedBlockInfo, ContentKeySize, pContentKey, IVSize, pIV);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.StartSessionKeyRefresh" />
|
||||
@@ -511,7 +739,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(57)]
|
||||
public void StartSessionKeyRefresh(ID3D11CryptoSession* pCryptoSession, uint RandomNumberSize, void* pRandomNumber)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11CryptoSession*, uint, void*, void>)(lpVtbl[57]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, RandomNumberSize, pRandomNumber);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11CryptoSession*, uint, void*, void>)(lpVtbl[57]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, RandomNumberSize, pRandomNumber);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.FinishSessionKeyRefresh" />
|
||||
@@ -519,7 +751,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(58)]
|
||||
public void FinishSessionKeyRefresh(ID3D11CryptoSession* pCryptoSession)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11CryptoSession*, void>)(lpVtbl[58]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11CryptoSession*, void>)(lpVtbl[58]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.GetEncryptionBltKey" />
|
||||
@@ -527,7 +763,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(59)]
|
||||
public HResult GetEncryptionBltKey(ID3D11CryptoSession* pCryptoSession, uint KeySize, void* pReadbackKey)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, ID3D11CryptoSession*, uint, void*, int>)(lpVtbl[59]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, KeySize, pReadbackKey);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11CryptoSession*, uint, void*, int>)(lpVtbl[59]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, KeySize, pReadbackKey);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.NegotiateAuthenticatedChannelKeyExchange" />
|
||||
@@ -535,7 +775,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(60)]
|
||||
public HResult NegotiateAuthenticatedChannelKeyExchange(ID3D11AuthenticatedChannel* pChannel, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, ID3D11AuthenticatedChannel*, uint, void*, int>)(lpVtbl[60]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pChannel, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11AuthenticatedChannel*, uint, void*, int>)(lpVtbl[60]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pChannel, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.QueryAuthenticatedChannel" />
|
||||
@@ -543,7 +787,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(61)]
|
||||
public HResult QueryAuthenticatedChannel(ID3D11AuthenticatedChannel* pChannel, uint InputSize, void* pInput, uint OutputSize, void* pOutput)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, ID3D11AuthenticatedChannel*, uint, void*, uint, void*, int>)(lpVtbl[61]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, OutputSize, pOutput);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11AuthenticatedChannel*, uint, void*, uint, void*, int>)(lpVtbl[61]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, OutputSize, pOutput);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.ConfigureAuthenticatedChannel" />
|
||||
@@ -551,7 +799,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(62)]
|
||||
public HResult ConfigureAuthenticatedChannel(ID3D11AuthenticatedChannel* pChannel, uint InputSize, void* pInput, AuthenticatedConfigureOutput* pOutput)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, ID3D11AuthenticatedChannel*, uint, void*, AuthenticatedConfigureOutput*, int>)(lpVtbl[62]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, pOutput);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11AuthenticatedChannel*, uint, void*, AuthenticatedConfigureOutput*, int>)(lpVtbl[62]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, pOutput);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamRotation" />
|
||||
@@ -559,7 +811,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(63)]
|
||||
public void VideoProcessorSetStreamRotation(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, VideoProcessorRotation Rotation)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32, VideoProcessorRotation, void>)(lpVtbl[63]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32, VideoProcessorRotation, void>)(lpVtbl[63]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamRotation" />
|
||||
@@ -567,7 +823,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(64)]
|
||||
public void VideoProcessorGetStreamRotation(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnable, VideoProcessorRotation* pRotation)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32*, VideoProcessorRotation*, void>)(lpVtbl[64]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pRotation);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32*, VideoProcessorRotation*, void>)(lpVtbl[64]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pRotation);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.SubmitDecoderBuffers1" />
|
||||
@@ -575,7 +835,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(65)]
|
||||
public HResult SubmitDecoderBuffers1(ID3D11VideoDecoder* pDecoder, uint NumBuffers, VideoDecoderBufferDescription1* pBufferDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoDecoder*, uint, VideoDecoderBufferDescription1*, int>)(lpVtbl[65]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoDecoder*, uint, VideoDecoderBufferDescription1*, int>)(lpVtbl[65]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.GetDataForNewHardwareKey" />
|
||||
@@ -583,7 +847,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(66)]
|
||||
public HResult GetDataForNewHardwareKey(ID3D11CryptoSession* pCryptoSession, uint PrivateInputSize, void* pPrivatInputData, ulong* pPrivateOutputData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, ID3D11CryptoSession*, uint, void*, ulong*, int>)(lpVtbl[66]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, PrivateInputSize, pPrivatInputData, pPrivateOutputData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11CryptoSession*, uint, void*, ulong*, int>)(lpVtbl[66]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, PrivateInputSize, pPrivatInputData, pPrivateOutputData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.CheckCryptoSessionStatus" />
|
||||
@@ -591,7 +859,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(67)]
|
||||
public HResult CheckCryptoSessionStatus(ID3D11CryptoSession* pCryptoSession, CryptoSessionStatus* pStatus)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, ID3D11CryptoSession*, CryptoSessionStatus*, int>)(lpVtbl[67]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, pStatus);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11CryptoSession*, CryptoSessionStatus*, int>)(lpVtbl[67]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pCryptoSession, pStatus);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.DecoderEnableDownsampling" />
|
||||
@@ -599,7 +871,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(68)]
|
||||
public HResult DecoderEnableDownsampling(ID3D11VideoDecoder* pDecoder, Graphics.Dxgi.Common.ColorSpaceType InputColorSpace, VideoSampleDescription* pOutputDesc, uint ReferenceFrameCount)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoDecoder*, Graphics.Dxgi.Common.ColorSpaceType, VideoSampleDescription*, uint, int>)(lpVtbl[68]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, InputColorSpace, pOutputDesc, ReferenceFrameCount);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoDecoder*, Graphics.Dxgi.Common.ColorSpaceType, VideoSampleDescription*, uint, int>)(lpVtbl[68]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, InputColorSpace, pOutputDesc, ReferenceFrameCount);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.DecoderUpdateDownsampling" />
|
||||
@@ -607,7 +883,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(69)]
|
||||
public HResult DecoderUpdateDownsampling(ID3D11VideoDecoder* pDecoder, VideoSampleDescription* pOutputDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoDecoder*, VideoSampleDescription*, int>)(lpVtbl[69]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, pOutputDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoDecoder*, VideoSampleDescription*, int>)(lpVtbl[69]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pDecoder, pOutputDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.VideoProcessorSetOutputColorSpace1" />
|
||||
@@ -615,7 +895,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(70)]
|
||||
public void VideoProcessorSetOutputColorSpace1(ID3D11VideoProcessor* pVideoProcessor, Graphics.Dxgi.Common.ColorSpaceType ColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, Graphics.Dxgi.Common.ColorSpaceType, void>)(lpVtbl[70]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, ColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, Graphics.Dxgi.Common.ColorSpaceType, void>)(lpVtbl[70]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, ColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.VideoProcessorSetOutputShaderUsage" />
|
||||
@@ -623,7 +907,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(71)]
|
||||
public void VideoProcessorSetOutputShaderUsage(ID3D11VideoProcessor* pVideoProcessor, Bool32 ShaderUsage)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, Bool32, void>)(lpVtbl[71]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, ShaderUsage);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, Bool32, void>)(lpVtbl[71]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, ShaderUsage);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.VideoProcessorGetOutputColorSpace1" />
|
||||
@@ -631,7 +919,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(72)]
|
||||
public void VideoProcessorGetOutputColorSpace1(ID3D11VideoProcessor* pVideoProcessor, Graphics.Dxgi.Common.ColorSpaceType* pColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, Graphics.Dxgi.Common.ColorSpaceType*, void>)(lpVtbl[72]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, Graphics.Dxgi.Common.ColorSpaceType*, void>)(lpVtbl[72]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.VideoProcessorGetOutputShaderUsage" />
|
||||
@@ -639,7 +931,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(73)]
|
||||
public void VideoProcessorGetOutputShaderUsage(ID3D11VideoProcessor* pVideoProcessor, Bool32* pShaderUsage)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, Bool32*, void>)(lpVtbl[73]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pShaderUsage);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, Bool32*, void>)(lpVtbl[73]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pShaderUsage);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.VideoProcessorSetStreamColorSpace1" />
|
||||
@@ -647,7 +943,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(74)]
|
||||
public void VideoProcessorSetStreamColorSpace1(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Graphics.Dxgi.Common.ColorSpaceType ColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Graphics.Dxgi.Common.ColorSpaceType, void>)(lpVtbl[74]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, ColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Graphics.Dxgi.Common.ColorSpaceType, void>)(lpVtbl[74]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, ColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.VideoProcessorSetStreamMirror" />
|
||||
@@ -655,7 +955,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(75)]
|
||||
public void VideoProcessorSetStreamMirror(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Bool32 FlipHorizontal, Bool32 FlipVertical)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32, Bool32, Bool32, void>)(lpVtbl[75]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, FlipHorizontal, FlipVertical);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32, Bool32, Bool32, void>)(lpVtbl[75]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, FlipHorizontal, FlipVertical);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.VideoProcessorGetStreamColorSpace1" />
|
||||
@@ -663,7 +967,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(76)]
|
||||
public void VideoProcessorGetStreamColorSpace1(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Graphics.Dxgi.Common.ColorSpaceType* pColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Graphics.Dxgi.Common.ColorSpaceType*, void>)(lpVtbl[76]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Graphics.Dxgi.Common.ColorSpaceType*, void>)(lpVtbl[76]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.VideoProcessorGetStreamMirror" />
|
||||
@@ -671,7 +979,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(77)]
|
||||
public void VideoProcessorGetStreamMirror(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnable, Bool32* pFlipHorizontal, Bool32* pFlipVertical)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32*, Bool32*, Bool32*, void>)(lpVtbl[77]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFlipHorizontal, pFlipVertical);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32*, Bool32*, Bool32*, void>)(lpVtbl[77]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFlipHorizontal, pFlipVertical);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.VideoProcessorGetBehaviorHints" />
|
||||
@@ -679,7 +991,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(78)]
|
||||
public HResult VideoProcessorGetBehaviorHints(ID3D11VideoProcessor* pVideoProcessor, uint OutputWidth, uint OutputHeight, Graphics.Dxgi.Common.Format OutputFormat, uint StreamCount, VideoProcessorStreamBehaviorHint* pStreams, uint* pBehaviorHints)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, uint, Graphics.Dxgi.Common.Format, uint, VideoProcessorStreamBehaviorHint*, uint*, int>)(lpVtbl[78]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, OutputWidth, OutputHeight, OutputFormat, StreamCount, pStreams, pBehaviorHints);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, uint, Graphics.Dxgi.Common.Format, uint, VideoProcessorStreamBehaviorHint*, uint*, int>)(lpVtbl[78]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, OutputWidth, OutputHeight, OutputFormat, StreamCount, pStreams, pBehaviorHints);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext2::VideoProcessorSetOutputHDRMetaData"]/*' />
|
||||
@@ -687,7 +1003,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(79)]
|
||||
public void VideoProcessorSetOutputHDRMetaData(ID3D11VideoProcessor* pVideoProcessor, Graphics.Dxgi.HDRMetadataType Type, uint Size, void* pHDRMetaData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, Graphics.Dxgi.HDRMetadataType, uint, void*, void>)(lpVtbl[79]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Type, Size, pHDRMetaData);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, Graphics.Dxgi.HDRMetadataType, uint, void*, void>)(lpVtbl[79]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Type, Size, pHDRMetaData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext2::VideoProcessorGetOutputHDRMetaData"]/*' />
|
||||
@@ -695,7 +1015,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(80)]
|
||||
public void VideoProcessorGetOutputHDRMetaData(ID3D11VideoProcessor* pVideoProcessor, Graphics.Dxgi.HDRMetadataType* pType, uint Size, void* pMetaData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, Graphics.Dxgi.HDRMetadataType*, uint, void*, void>)(lpVtbl[80]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pType, Size, pMetaData);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, Graphics.Dxgi.HDRMetadataType*, uint, void*, void>)(lpVtbl[80]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, pType, Size, pMetaData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext2::VideoProcessorSetStreamHDRMetaData"]/*' />
|
||||
@@ -703,7 +1027,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(81)]
|
||||
public void VideoProcessorSetStreamHDRMetaData(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Graphics.Dxgi.HDRMetadataType Type, uint Size, void* pHDRMetaData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Graphics.Dxgi.HDRMetadataType, uint, void*, void>)(lpVtbl[81]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Type, Size, pHDRMetaData);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Graphics.Dxgi.HDRMetadataType, uint, void*, void>)(lpVtbl[81]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Type, Size, pHDRMetaData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext2::VideoProcessorGetStreamHDRMetaData"]/*' />
|
||||
@@ -711,7 +1039,11 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
[VtblIndex(82)]
|
||||
public void VideoProcessorGetStreamHDRMetaData(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Graphics.Dxgi.HDRMetadataType* pType, uint Size, void* pMetaData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Graphics.Dxgi.HDRMetadataType*, uint, void*, void>)(lpVtbl[82]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pType, Size, pMetaData);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Graphics.Dxgi.HDRMetadataType*, uint, void*, void>)(lpVtbl[82]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pType, Size, pMetaData);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11VideoContext1.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, uint>)(lpVtbl[1]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, uint>)(lpVtbl[1]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, uint>)(lpVtbl[2]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, uint>)(lpVtbl[2]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.GetDecoderBuffer" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(7)]
|
||||
public HResult GetDecoderBuffer(ID3D11VideoDecoder* pDecoder, VideoDecoderBufferType Type, uint* pBufferSize, void** ppBuffer)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoDecoder*, VideoDecoderBufferType, uint*, void**, int>)(lpVtbl[7]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, Type, pBufferSize, ppBuffer);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoDecoder*, VideoDecoderBufferType, uint*, void**, int>)(lpVtbl[7]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, Type, pBufferSize, ppBuffer);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.ReleaseDecoderBuffer" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(8)]
|
||||
public HResult ReleaseDecoderBuffer(ID3D11VideoDecoder* pDecoder, VideoDecoderBufferType Type)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoDecoder*, VideoDecoderBufferType, int>)(lpVtbl[8]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, Type);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoDecoder*, VideoDecoderBufferType, int>)(lpVtbl[8]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, Type);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.DecoderBeginFrame" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(9)]
|
||||
public HResult DecoderBeginFrame(ID3D11VideoDecoder* pDecoder, ID3D11VideoDecoderOutputView* pView, uint ContentKeySize, void* pContentKey)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoDecoder*, ID3D11VideoDecoderOutputView*, uint, void*, int>)(lpVtbl[9]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, pView, ContentKeySize, pContentKey);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoDecoder*, ID3D11VideoDecoderOutputView*, uint, void*, int>)(lpVtbl[9]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, pView, ContentKeySize, pContentKey);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.DecoderEndFrame" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(10)]
|
||||
public HResult DecoderEndFrame(ID3D11VideoDecoder* pDecoder)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoDecoder*, int>)(lpVtbl[10]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoDecoder*, int>)(lpVtbl[10]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.SubmitDecoderBuffers" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(11)]
|
||||
public HResult SubmitDecoderBuffers(ID3D11VideoDecoder* pDecoder, uint NumBuffers, VideoDecoderBufferDescription* pBufferDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoDecoder*, uint, VideoDecoderBufferDescription*, int>)(lpVtbl[11]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoDecoder*, uint, VideoDecoderBufferDescription*, int>)(lpVtbl[11]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.DecoderExtension" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(12)]
|
||||
public int DecoderExtension(ID3D11VideoDecoder* pDecoder, VideoDecoderExtension* pExtensionData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoDecoder*, VideoDecoderExtension*, int>)(lpVtbl[12]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, pExtensionData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoDecoder*, VideoDecoderExtension*, int>)(lpVtbl[12]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, pExtensionData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetOutputTargetRect" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(13)]
|
||||
public void VideoProcessorSetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, Bool32, Rect*, void>)(lpVtbl[13]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, Bool32, Rect*, void>)(lpVtbl[13]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetOutputBackgroundColor" />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(14)]
|
||||
public void VideoProcessorSetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, Bool32 YCbCr, VideoColor* pColor)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, Bool32, VideoColor*, void>)(lpVtbl[14]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, Bool32, VideoColor*, void>)(lpVtbl[14]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetOutputColorSpace" />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(15)]
|
||||
public void VideoProcessorSetOutputColorSpace(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorColorSpace* pColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, VideoProcessorColorSpace*, void>)(lpVtbl[15]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, VideoProcessorColorSpace*, void>)(lpVtbl[15]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetOutputAlphaFillMode" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(16)]
|
||||
public void VideoProcessorSetOutputAlphaFillMode(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorAlphaFillMode AlphaFillMode, uint StreamIndex)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, VideoProcessorAlphaFillMode, uint, void>)(lpVtbl[16]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, AlphaFillMode, StreamIndex);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, VideoProcessorAlphaFillMode, uint, void>)(lpVtbl[16]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, AlphaFillMode, StreamIndex);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetOutputConstriction" />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(17)]
|
||||
public void VideoProcessorSetOutputConstriction(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, System.Drawing.Size Size)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, Bool32, System.Drawing.Size, void>)(lpVtbl[17]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, Bool32, System.Drawing.Size, void>)(lpVtbl[17]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetOutputStereoMode" />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(18)]
|
||||
public void VideoProcessorSetOutputStereoMode(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, Bool32, void>)(lpVtbl[18]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, Bool32, void>)(lpVtbl[18]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetOutputExtension" />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(19)]
|
||||
public int VideoProcessorSetOutputExtension(ID3D11VideoProcessor* pVideoProcessor, Guid* pExtensionGuid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, Guid*, uint, void*, int>)(lpVtbl[19]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, Guid*, uint, void*, int>)(lpVtbl[19]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetOutputTargetRect" />
|
||||
@@ -215,7 +295,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(20)]
|
||||
public void VideoProcessorGetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enabled, Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, Bool32*, Rect*, void>)(lpVtbl[20]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enabled, pRect);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, Bool32*, Rect*, void>)(lpVtbl[20]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enabled, pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetOutputBackgroundColor" />
|
||||
@@ -223,7 +307,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(21)]
|
||||
public void VideoProcessorGetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, Bool32* pYCbCr, VideoColor* pColor)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, Bool32*, VideoColor*, void>)(lpVtbl[21]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pYCbCr, pColor);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, Bool32*, VideoColor*, void>)(lpVtbl[21]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pYCbCr, pColor);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetOutputColorSpace" />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(22)]
|
||||
public void VideoProcessorGetOutputColorSpace(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorColorSpace* pColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, VideoProcessorColorSpace*, void>)(lpVtbl[22]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, VideoProcessorColorSpace*, void>)(lpVtbl[22]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetOutputAlphaFillMode" />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(23)]
|
||||
public void VideoProcessorGetOutputAlphaFillMode(ID3D11VideoProcessor* pVideoProcessor, VideoProcessorAlphaFillMode* pAlphaFillMode, uint* pStreamIndex)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, VideoProcessorAlphaFillMode*, uint*, void>)(lpVtbl[23]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pAlphaFillMode, pStreamIndex);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, VideoProcessorAlphaFillMode*, uint*, void>)(lpVtbl[23]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pAlphaFillMode, pStreamIndex);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetOutputConstriction" />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(24)]
|
||||
public void VideoProcessorGetOutputConstriction(ID3D11VideoProcessor* pVideoProcessor, Bool32* pEnabled, System.Drawing.Size* pSize)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, Bool32*, System.Drawing.Size*, void>)(lpVtbl[24]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled, pSize);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, Bool32*, System.Drawing.Size*, void>)(lpVtbl[24]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled, pSize);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetOutputStereoMode" />
|
||||
@@ -255,7 +355,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(25)]
|
||||
public void VideoProcessorGetOutputStereoMode(ID3D11VideoProcessor* pVideoProcessor, Bool32* pEnabled)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, Bool32*, void>)(lpVtbl[25]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, Bool32*, void>)(lpVtbl[25]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pEnabled);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetOutputExtension" />
|
||||
@@ -263,7 +367,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(26)]
|
||||
public int VideoProcessorGetOutputExtension(ID3D11VideoProcessor* pVideoProcessor, Guid* pExtensionGuid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, Guid*, uint, void*, int>)(lpVtbl[26]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, Guid*, uint, void*, int>)(lpVtbl[26]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pExtensionGuid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamFrameFormat" />
|
||||
@@ -271,7 +379,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(27)]
|
||||
public void VideoProcessorSetStreamFrameFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoFrameFormat FrameFormat)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, VideoFrameFormat, void>)(lpVtbl[27]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, FrameFormat);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, VideoFrameFormat, void>)(lpVtbl[27]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, FrameFormat);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamColorSpace" />
|
||||
@@ -279,7 +391,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(28)]
|
||||
public void VideoProcessorSetStreamColorSpace(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorColorSpace* pColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, VideoProcessorColorSpace*, void>)(lpVtbl[28]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, VideoProcessorColorSpace*, void>)(lpVtbl[28]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamOutputRate" />
|
||||
@@ -287,7 +403,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(29)]
|
||||
public void VideoProcessorSetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorOutputRate OutputRate, Bool32 RepeatFrame, Graphics.Dxgi.Common.Rational* pCustomRate)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, VideoProcessorOutputRate, Bool32, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[29]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, VideoProcessorOutputRate, Bool32, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[29]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamSourceRect" />
|
||||
@@ -295,7 +415,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(30)]
|
||||
public void VideoProcessorSetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32, Rect*, void>)(lpVtbl[30]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32, Rect*, void>)(lpVtbl[30]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamDestRect" />
|
||||
@@ -303,7 +427,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(31)]
|
||||
public void VideoProcessorSetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32, Rect*, void>)(lpVtbl[31]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32, Rect*, void>)(lpVtbl[31]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamAlpha" />
|
||||
@@ -311,7 +439,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(32)]
|
||||
public void VideoProcessorSetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, float Alpha)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32, float, void>)(lpVtbl[32]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32, float, void>)(lpVtbl[32]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamPalette" />
|
||||
@@ -319,7 +451,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(33)]
|
||||
public void VideoProcessorSetStreamPalette(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, uint Count, uint* pEntries)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, uint, uint*, void>)(lpVtbl[33]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, uint, uint*, void>)(lpVtbl[33]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamPixelAspectRatio" />
|
||||
@@ -327,7 +463,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(34)]
|
||||
public void VideoProcessorSetStreamPixelAspectRatio(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Graphics.Dxgi.Common.Rational* pSourceAspectRatio, Graphics.Dxgi.Common.Rational* pDestinationAspectRatio)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32, Graphics.Dxgi.Common.Rational*, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[34]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32, Graphics.Dxgi.Common.Rational*, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[34]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamLumaKey" />
|
||||
@@ -335,7 +475,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(35)]
|
||||
public void VideoProcessorSetStreamLumaKey(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, float Lower, float Upper)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32, float, float, void>)(lpVtbl[35]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32, float, float, void>)(lpVtbl[35]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamStereoFormat" />
|
||||
@@ -343,7 +487,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(36)]
|
||||
public void VideoProcessorSetStreamStereoFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, VideoProcessorStereoFormat Format, Bool32 LeftViewFrame0, Bool32 BaseViewFrame0, VideoProcessorStereoFlipMode FlipMode, int MonoOffset)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32, VideoProcessorStereoFormat, Bool32, Bool32, VideoProcessorStereoFlipMode, int, void>)(lpVtbl[36]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32, VideoProcessorStereoFormat, Bool32, Bool32, VideoProcessorStereoFlipMode, int, void>)(lpVtbl[36]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamAutoProcessingMode" />
|
||||
@@ -351,7 +499,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(37)]
|
||||
public void VideoProcessorSetStreamAutoProcessingMode(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32, void>)(lpVtbl[37]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32, void>)(lpVtbl[37]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamFilter" />
|
||||
@@ -359,7 +511,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(38)]
|
||||
public void VideoProcessorSetStreamFilter(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorFilter Filter, Bool32 Enable, int Level)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, VideoProcessorFilter, Bool32, int, void>)(lpVtbl[38]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, VideoProcessorFilter, Bool32, int, void>)(lpVtbl[38]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamExtension" />
|
||||
@@ -367,7 +523,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(39)]
|
||||
public int VideoProcessorSetStreamExtension(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Guid* pExtensionGuid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Guid*, uint, void*, int>)(lpVtbl[39]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Guid*, uint, void*, int>)(lpVtbl[39]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamFrameFormat" />
|
||||
@@ -375,7 +535,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(40)]
|
||||
public void VideoProcessorGetStreamFrameFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoFrameFormat* pFrameFormat)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, VideoFrameFormat*, void>)(lpVtbl[40]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pFrameFormat);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, VideoFrameFormat*, void>)(lpVtbl[40]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pFrameFormat);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamColorSpace" />
|
||||
@@ -383,7 +547,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(41)]
|
||||
public void VideoProcessorGetStreamColorSpace(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorColorSpace* pColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, VideoProcessorColorSpace*, void>)(lpVtbl[41]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, VideoProcessorColorSpace*, void>)(lpVtbl[41]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamOutputRate" />
|
||||
@@ -391,7 +559,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(42)]
|
||||
public void VideoProcessorGetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorOutputRate* pOutputRate, Bool32* pRepeatFrame, Graphics.Dxgi.Common.Rational* pCustomRate)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, VideoProcessorOutputRate*, Bool32*, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[42]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pOutputRate, pRepeatFrame, pCustomRate);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, VideoProcessorOutputRate*, Bool32*, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[42]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pOutputRate, pRepeatFrame, pCustomRate);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamSourceRect" />
|
||||
@@ -399,7 +571,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(43)]
|
||||
public void VideoProcessorGetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32*, Rect*, void>)(lpVtbl[43]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32*, Rect*, void>)(lpVtbl[43]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamDestRect" />
|
||||
@@ -407,7 +583,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(44)]
|
||||
public void VideoProcessorGetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, Rect* pRect)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32*, Rect*, void>)(lpVtbl[44]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32*, Rect*, void>)(lpVtbl[44]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamAlpha" />
|
||||
@@ -415,7 +595,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(45)]
|
||||
public void VideoProcessorGetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, float* pAlpha)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32*, float*, void>)(lpVtbl[45]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pAlpha);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32*, float*, void>)(lpVtbl[45]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pAlpha);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamPalette" />
|
||||
@@ -423,7 +607,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(46)]
|
||||
public void VideoProcessorGetStreamPalette(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, uint Count, uint* pEntries)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, uint, uint*, void>)(lpVtbl[46]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, uint, uint*, void>)(lpVtbl[46]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Count, pEntries);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamPixelAspectRatio" />
|
||||
@@ -431,7 +619,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(47)]
|
||||
public void VideoProcessorGetStreamPixelAspectRatio(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, Graphics.Dxgi.Common.Rational* pSourceAspectRatio, Graphics.Dxgi.Common.Rational* pDestinationAspectRatio)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32*, Graphics.Dxgi.Common.Rational*, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[47]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pSourceAspectRatio, pDestinationAspectRatio);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32*, Graphics.Dxgi.Common.Rational*, Graphics.Dxgi.Common.Rational*, void>)(lpVtbl[47]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pSourceAspectRatio, pDestinationAspectRatio);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamLumaKey" />
|
||||
@@ -439,7 +631,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(48)]
|
||||
public void VideoProcessorGetStreamLumaKey(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, float* pLower, float* pUpper)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32*, float*, float*, void>)(lpVtbl[48]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pLower, pUpper);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32*, float*, float*, void>)(lpVtbl[48]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pLower, pUpper);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamStereoFormat" />
|
||||
@@ -447,7 +643,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(49)]
|
||||
public void VideoProcessorGetStreamStereoFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnable, VideoProcessorStereoFormat* pFormat, Bool32* pLeftViewFrame0, Bool32* pBaseViewFrame0, VideoProcessorStereoFlipMode* pFlipMode, int* MonoOffset)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32*, VideoProcessorStereoFormat*, Bool32*, Bool32*, VideoProcessorStereoFlipMode*, int*, void>)(lpVtbl[49]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFormat, pLeftViewFrame0, pBaseViewFrame0, pFlipMode, MonoOffset);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32*, VideoProcessorStereoFormat*, Bool32*, Bool32*, VideoProcessorStereoFlipMode*, int*, void>)(lpVtbl[49]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFormat, pLeftViewFrame0, pBaseViewFrame0, pFlipMode, MonoOffset);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamAutoProcessingMode" />
|
||||
@@ -455,7 +655,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(50)]
|
||||
public void VideoProcessorGetStreamAutoProcessingMode(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32*, void>)(lpVtbl[50]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32*, void>)(lpVtbl[50]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamFilter" />
|
||||
@@ -463,7 +667,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(51)]
|
||||
public void VideoProcessorGetStreamFilter(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorFilter Filter, Bool32* pEnabled, int* pLevel)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, VideoProcessorFilter, Bool32*, int*, void>)(lpVtbl[51]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, pEnabled, pLevel);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, VideoProcessorFilter, Bool32*, int*, void>)(lpVtbl[51]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, pEnabled, pLevel);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamExtension" />
|
||||
@@ -471,7 +679,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(52)]
|
||||
public int VideoProcessorGetStreamExtension(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Guid* pExtensionGuid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Guid*, uint, void*, int>)(lpVtbl[52]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Guid*, uint, void*, int>)(lpVtbl[52]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pExtensionGuid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorBlt" />
|
||||
@@ -479,7 +691,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(53)]
|
||||
public HResult VideoProcessorBlt(ID3D11VideoProcessor* pVideoProcessor, ID3D11VideoProcessorOutputView* pView, uint OutputFrame, uint StreamCount, VideoProcessorStream* pStreams)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, ID3D11VideoProcessorOutputView*, uint, uint, VideoProcessorStream*, int>)(lpVtbl[53]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pView, OutputFrame, StreamCount, pStreams);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, ID3D11VideoProcessorOutputView*, uint, uint, VideoProcessorStream*, int>)(lpVtbl[53]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pView, OutputFrame, StreamCount, pStreams);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.NegotiateCryptoSessionKeyExchange" />
|
||||
@@ -487,7 +703,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(54)]
|
||||
public HResult NegotiateCryptoSessionKeyExchange(ID3D11CryptoSession* pCryptoSession, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, ID3D11CryptoSession*, uint, void*, int>)(lpVtbl[54]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11CryptoSession*, uint, void*, int>)(lpVtbl[54]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.EncryptionBlt" />
|
||||
@@ -495,7 +715,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(55)]
|
||||
public void EncryptionBlt(ID3D11CryptoSession* pCryptoSession, ID3D11Texture2D* pSrcSurface, ID3D11Texture2D* pDstSurface, uint IVSize, void* pIV)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11CryptoSession*, ID3D11Texture2D*, ID3D11Texture2D*, uint, void*, void>)(lpVtbl[55]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, IVSize, pIV);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11CryptoSession*, ID3D11Texture2D*, ID3D11Texture2D*, uint, void*, void>)(lpVtbl[55]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, IVSize, pIV);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.DecryptionBlt" />
|
||||
@@ -503,7 +727,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(56)]
|
||||
public void DecryptionBlt(ID3D11CryptoSession* pCryptoSession, ID3D11Texture2D* pSrcSurface, ID3D11Texture2D* pDstSurface, EncryptedBlockInfo* pEncryptedBlockInfo, uint ContentKeySize, void* pContentKey, uint IVSize, void* pIV)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11CryptoSession*, ID3D11Texture2D*, ID3D11Texture2D*, EncryptedBlockInfo*, uint, void*, uint, void*, void>)(lpVtbl[56]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, pEncryptedBlockInfo, ContentKeySize, pContentKey, IVSize, pIV);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11CryptoSession*, ID3D11Texture2D*, ID3D11Texture2D*, EncryptedBlockInfo*, uint, void*, uint, void*, void>)(lpVtbl[56]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, pEncryptedBlockInfo, ContentKeySize, pContentKey, IVSize, pIV);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.StartSessionKeyRefresh" />
|
||||
@@ -511,7 +739,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(57)]
|
||||
public void StartSessionKeyRefresh(ID3D11CryptoSession* pCryptoSession, uint RandomNumberSize, void* pRandomNumber)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11CryptoSession*, uint, void*, void>)(lpVtbl[57]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, RandomNumberSize, pRandomNumber);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11CryptoSession*, uint, void*, void>)(lpVtbl[57]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, RandomNumberSize, pRandomNumber);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.FinishSessionKeyRefresh" />
|
||||
@@ -519,7 +751,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(58)]
|
||||
public void FinishSessionKeyRefresh(ID3D11CryptoSession* pCryptoSession)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11CryptoSession*, void>)(lpVtbl[58]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11CryptoSession*, void>)(lpVtbl[58]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.GetEncryptionBltKey" />
|
||||
@@ -527,7 +763,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(59)]
|
||||
public HResult GetEncryptionBltKey(ID3D11CryptoSession* pCryptoSession, uint KeySize, void* pReadbackKey)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, ID3D11CryptoSession*, uint, void*, int>)(lpVtbl[59]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, KeySize, pReadbackKey);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11CryptoSession*, uint, void*, int>)(lpVtbl[59]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, KeySize, pReadbackKey);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.NegotiateAuthenticatedChannelKeyExchange" />
|
||||
@@ -535,7 +775,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(60)]
|
||||
public HResult NegotiateAuthenticatedChannelKeyExchange(ID3D11AuthenticatedChannel* pChannel, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, ID3D11AuthenticatedChannel*, uint, void*, int>)(lpVtbl[60]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pChannel, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11AuthenticatedChannel*, uint, void*, int>)(lpVtbl[60]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pChannel, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.QueryAuthenticatedChannel" />
|
||||
@@ -543,7 +787,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(61)]
|
||||
public HResult QueryAuthenticatedChannel(ID3D11AuthenticatedChannel* pChannel, uint InputSize, void* pInput, uint OutputSize, void* pOutput)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, ID3D11AuthenticatedChannel*, uint, void*, uint, void*, int>)(lpVtbl[61]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, OutputSize, pOutput);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11AuthenticatedChannel*, uint, void*, uint, void*, int>)(lpVtbl[61]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, OutputSize, pOutput);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.ConfigureAuthenticatedChannel" />
|
||||
@@ -551,7 +799,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(62)]
|
||||
public HResult ConfigureAuthenticatedChannel(ID3D11AuthenticatedChannel* pChannel, uint InputSize, void* pInput, AuthenticatedConfigureOutput* pOutput)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, ID3D11AuthenticatedChannel*, uint, void*, AuthenticatedConfigureOutput*, int>)(lpVtbl[62]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, pOutput);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11AuthenticatedChannel*, uint, void*, AuthenticatedConfigureOutput*, int>)(lpVtbl[62]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pChannel, InputSize, pInput, pOutput);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamRotation" />
|
||||
@@ -559,7 +811,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(63)]
|
||||
public void VideoProcessorSetStreamRotation(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, VideoProcessorRotation Rotation)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32, VideoProcessorRotation, void>)(lpVtbl[63]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32, VideoProcessorRotation, void>)(lpVtbl[63]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamRotation" />
|
||||
@@ -567,7 +823,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(64)]
|
||||
public void VideoProcessorGetStreamRotation(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnable, VideoProcessorRotation* pRotation)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32*, VideoProcessorRotation*, void>)(lpVtbl[64]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pRotation);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32*, VideoProcessorRotation*, void>)(lpVtbl[64]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pRotation);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.SubmitDecoderBuffers1" />
|
||||
@@ -575,7 +835,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(65)]
|
||||
public HResult SubmitDecoderBuffers1(ID3D11VideoDecoder* pDecoder, uint NumBuffers, VideoDecoderBufferDescription1* pBufferDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoDecoder*, uint, VideoDecoderBufferDescription1*, int>)(lpVtbl[65]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoDecoder*, uint, VideoDecoderBufferDescription1*, int>)(lpVtbl[65]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.GetDataForNewHardwareKey" />
|
||||
@@ -583,7 +847,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(66)]
|
||||
public HResult GetDataForNewHardwareKey(ID3D11CryptoSession* pCryptoSession, uint PrivateInputSize, void* pPrivatInputData, ulong* pPrivateOutputData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, ID3D11CryptoSession*, uint, void*, ulong*, int>)(lpVtbl[66]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, PrivateInputSize, pPrivatInputData, pPrivateOutputData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11CryptoSession*, uint, void*, ulong*, int>)(lpVtbl[66]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, PrivateInputSize, pPrivatInputData, pPrivateOutputData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.CheckCryptoSessionStatus" />
|
||||
@@ -591,7 +859,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(67)]
|
||||
public HResult CheckCryptoSessionStatus(ID3D11CryptoSession* pCryptoSession, CryptoSessionStatus* pStatus)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, ID3D11CryptoSession*, CryptoSessionStatus*, int>)(lpVtbl[67]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, pStatus);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11CryptoSession*, CryptoSessionStatus*, int>)(lpVtbl[67]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pCryptoSession, pStatus);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.DecoderEnableDownsampling" />
|
||||
@@ -599,7 +871,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(68)]
|
||||
public HResult DecoderEnableDownsampling(ID3D11VideoDecoder* pDecoder, Graphics.Dxgi.Common.ColorSpaceType InputColorSpace, VideoSampleDescription* pOutputDesc, uint ReferenceFrameCount)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoDecoder*, Graphics.Dxgi.Common.ColorSpaceType, VideoSampleDescription*, uint, int>)(lpVtbl[68]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, InputColorSpace, pOutputDesc, ReferenceFrameCount);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoDecoder*, Graphics.Dxgi.Common.ColorSpaceType, VideoSampleDescription*, uint, int>)(lpVtbl[68]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, InputColorSpace, pOutputDesc, ReferenceFrameCount);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.DecoderUpdateDownsampling" />
|
||||
@@ -607,7 +883,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(69)]
|
||||
public HResult DecoderUpdateDownsampling(ID3D11VideoDecoder* pDecoder, VideoSampleDescription* pOutputDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoDecoder*, VideoSampleDescription*, int>)(lpVtbl[69]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, pOutputDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoDecoder*, VideoSampleDescription*, int>)(lpVtbl[69]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, pOutputDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.VideoProcessorSetOutputColorSpace1" />
|
||||
@@ -615,7 +895,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(70)]
|
||||
public void VideoProcessorSetOutputColorSpace1(ID3D11VideoProcessor* pVideoProcessor, Graphics.Dxgi.Common.ColorSpaceType ColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, Graphics.Dxgi.Common.ColorSpaceType, void>)(lpVtbl[70]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, ColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, Graphics.Dxgi.Common.ColorSpaceType, void>)(lpVtbl[70]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, ColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.VideoProcessorSetOutputShaderUsage" />
|
||||
@@ -623,7 +907,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(71)]
|
||||
public void VideoProcessorSetOutputShaderUsage(ID3D11VideoProcessor* pVideoProcessor, Bool32 ShaderUsage)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, Bool32, void>)(lpVtbl[71]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, ShaderUsage);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, Bool32, void>)(lpVtbl[71]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, ShaderUsage);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.VideoProcessorGetOutputColorSpace1" />
|
||||
@@ -631,7 +919,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(72)]
|
||||
public void VideoProcessorGetOutputColorSpace1(ID3D11VideoProcessor* pVideoProcessor, Graphics.Dxgi.Common.ColorSpaceType* pColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, Graphics.Dxgi.Common.ColorSpaceType*, void>)(lpVtbl[72]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, Graphics.Dxgi.Common.ColorSpaceType*, void>)(lpVtbl[72]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.VideoProcessorGetOutputShaderUsage" />
|
||||
@@ -639,7 +931,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(73)]
|
||||
public void VideoProcessorGetOutputShaderUsage(ID3D11VideoProcessor* pVideoProcessor, Bool32* pShaderUsage)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, Bool32*, void>)(lpVtbl[73]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pShaderUsage);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, Bool32*, void>)(lpVtbl[73]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pShaderUsage);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.VideoProcessorSetStreamColorSpace1" />
|
||||
@@ -647,7 +943,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(74)]
|
||||
public void VideoProcessorSetStreamColorSpace1(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Graphics.Dxgi.Common.ColorSpaceType ColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Graphics.Dxgi.Common.ColorSpaceType, void>)(lpVtbl[74]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, ColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Graphics.Dxgi.Common.ColorSpaceType, void>)(lpVtbl[74]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, ColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.VideoProcessorSetStreamMirror" />
|
||||
@@ -655,7 +955,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(75)]
|
||||
public void VideoProcessorSetStreamMirror(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Bool32 FlipHorizontal, Bool32 FlipVertical)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32, Bool32, Bool32, void>)(lpVtbl[75]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, FlipHorizontal, FlipVertical);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32, Bool32, Bool32, void>)(lpVtbl[75]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, FlipHorizontal, FlipVertical);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.VideoProcessorGetStreamColorSpace1" />
|
||||
@@ -663,7 +967,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(76)]
|
||||
public void VideoProcessorGetStreamColorSpace1(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Graphics.Dxgi.Common.ColorSpaceType* pColorSpace)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Graphics.Dxgi.Common.ColorSpaceType*, void>)(lpVtbl[76]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Graphics.Dxgi.Common.ColorSpaceType*, void>)(lpVtbl[76]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pColorSpace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.VideoProcessorGetStreamMirror" />
|
||||
@@ -671,7 +979,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(77)]
|
||||
public void VideoProcessorGetStreamMirror(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnable, Bool32* pFlipHorizontal, Bool32* pFlipVertical)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32*, Bool32*, Bool32*, void>)(lpVtbl[77]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFlipHorizontal, pFlipVertical);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32*, Bool32*, Bool32*, void>)(lpVtbl[77]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnable, pFlipHorizontal, pFlipVertical);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext1.VideoProcessorGetBehaviorHints" />
|
||||
@@ -679,7 +991,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(78)]
|
||||
public HResult VideoProcessorGetBehaviorHints(ID3D11VideoProcessor* pVideoProcessor, uint OutputWidth, uint OutputHeight, Graphics.Dxgi.Common.Format OutputFormat, uint StreamCount, VideoProcessorStreamBehaviorHint* pStreams, uint* pBehaviorHints)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, uint, Graphics.Dxgi.Common.Format, uint, VideoProcessorStreamBehaviorHint*, uint*, int>)(lpVtbl[78]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, OutputWidth, OutputHeight, OutputFormat, StreamCount, pStreams, pBehaviorHints);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, uint, Graphics.Dxgi.Common.Format, uint, VideoProcessorStreamBehaviorHint*, uint*, int>)(lpVtbl[78]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, OutputWidth, OutputHeight, OutputFormat, StreamCount, pStreams, pBehaviorHints);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext2.VideoProcessorSetOutputHDRMetaData" />
|
||||
@@ -687,7 +1003,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(79)]
|
||||
public void VideoProcessorSetOutputHDRMetaData(ID3D11VideoProcessor* pVideoProcessor, Graphics.Dxgi.HDRMetadataType Type, uint Size, void* pHDRMetaData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, Graphics.Dxgi.HDRMetadataType, uint, void*, void>)(lpVtbl[79]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Type, Size, pHDRMetaData);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, Graphics.Dxgi.HDRMetadataType, uint, void*, void>)(lpVtbl[79]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Type, Size, pHDRMetaData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext2.VideoProcessorGetOutputHDRMetaData" />
|
||||
@@ -695,7 +1015,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(80)]
|
||||
public void VideoProcessorGetOutputHDRMetaData(ID3D11VideoProcessor* pVideoProcessor, Graphics.Dxgi.HDRMetadataType* pType, uint Size, void* pMetaData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, Graphics.Dxgi.HDRMetadataType*, uint, void*, void>)(lpVtbl[80]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pType, Size, pMetaData);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, Graphics.Dxgi.HDRMetadataType*, uint, void*, void>)(lpVtbl[80]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, pType, Size, pMetaData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext2.VideoProcessorSetStreamHDRMetaData" />
|
||||
@@ -703,7 +1027,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(81)]
|
||||
public void VideoProcessorSetStreamHDRMetaData(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Graphics.Dxgi.HDRMetadataType Type, uint Size, void* pHDRMetaData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Graphics.Dxgi.HDRMetadataType, uint, void*, void>)(lpVtbl[81]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Type, Size, pHDRMetaData);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Graphics.Dxgi.HDRMetadataType, uint, void*, void>)(lpVtbl[81]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Type, Size, pHDRMetaData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext2.VideoProcessorGetStreamHDRMetaData" />
|
||||
@@ -711,7 +1039,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(82)]
|
||||
public void VideoProcessorGetStreamHDRMetaData(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Graphics.Dxgi.HDRMetadataType* pType, uint Size, void* pMetaData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Graphics.Dxgi.HDRMetadataType*, uint, void*, void>)(lpVtbl[82]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pType, Size, pMetaData);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Graphics.Dxgi.HDRMetadataType*, uint, void*, void>)(lpVtbl[82]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pType, Size, pMetaData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext3::DecoderBeginFrame1"]/*' />
|
||||
@@ -719,7 +1051,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(83)]
|
||||
public HResult DecoderBeginFrame1(ID3D11VideoDecoder* pDecoder, ID3D11VideoDecoderOutputView* pView, uint ContentKeySize, void* pContentKey, uint NumComponentHistograms, uint* pHistogramOffsets, ID3D11Buffer** ppHistogramBuffers)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoDecoder*, ID3D11VideoDecoderOutputView*, uint, void*, uint, uint*, ID3D11Buffer**, int>)(lpVtbl[83]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, pView, ContentKeySize, pContentKey, NumComponentHistograms, pHistogramOffsets, ppHistogramBuffers);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoDecoder*, ID3D11VideoDecoderOutputView*, uint, void*, uint, uint*, ID3D11Buffer**, int>)(lpVtbl[83]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, pView, ContentKeySize, pContentKey, NumComponentHistograms, pHistogramOffsets, ppHistogramBuffers);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext3::SubmitDecoderBuffers2"]/*' />
|
||||
@@ -727,7 +1063,11 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
[VtblIndex(84)]
|
||||
public HResult SubmitDecoderBuffers2(ID3D11VideoDecoder* pDecoder, uint NumBuffers, VideoDecoderBufferDescription2* pBufferDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoContext3*, ID3D11VideoDecoder*, uint, VideoDecoderBufferDescription2*, int>)(lpVtbl[84]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoDecoder*, uint, VideoDecoderBufferDescription2*, int>)(lpVtbl[84]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11VideoContext2.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11VideoDecoder : ID3D11VideoDecoder.Interface,
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDecoder*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDecoder*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11VideoDecoder : ID3D11VideoDecoder.Interface,
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDecoder*, uint>)(lpVtbl[1]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDecoder*, uint>)(lpVtbl[1]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11VideoDecoder : ID3D11VideoDecoder.Interface,
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDecoder*, uint>)(lpVtbl[2]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDecoder*, uint>)(lpVtbl[2]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11VideoDecoder : ID3D11VideoDecoder.Interface,
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoDecoder*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoDecoder*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11VideoDecoder : ID3D11VideoDecoder.Interface,
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDecoder*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDecoder*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11VideoDecoder : ID3D11VideoDecoder.Interface,
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDecoder*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDecoder*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11VideoDecoder : ID3D11VideoDecoder.Interface,
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDecoder*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDecoder*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoDecoder::GetCreationParameters"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11VideoDecoder : ID3D11VideoDecoder.Interface,
|
||||
[VtblIndex(7)]
|
||||
public HResult GetCreationParameters(VideoDecoderDescription* pVideoDesc, VideoDecoderConfig* pConfig)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDecoder*, VideoDecoderDescription*, VideoDecoderConfig*, int>)(lpVtbl[7]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this), pVideoDesc, pConfig);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDecoder*, VideoDecoderDescription*, VideoDecoderConfig*, int>)(lpVtbl[7]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this), pVideoDesc, pConfig);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoDecoder::GetDriverHandle"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11VideoDecoder : ID3D11VideoDecoder.Interface,
|
||||
[VtblIndex(8)]
|
||||
public HResult GetDriverHandle(Handle* pDriverHandle)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDecoder*, Handle*, int>)(lpVtbl[8]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this), pDriverHandle);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDecoder*, Handle*, int>)(lpVtbl[8]))((ID3D11VideoDecoder*)Unsafe.AsPointer(ref this), pDriverHandle);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11DeviceChild.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11VideoDecoderOutputView : ID3D11VideoDecoderOu
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDecoderOutputView*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDecoderOutputView*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11VideoDecoderOutputView : ID3D11VideoDecoderOu
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDecoderOutputView*, uint>)(lpVtbl[1]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDecoderOutputView*, uint>)(lpVtbl[1]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11VideoDecoderOutputView : ID3D11VideoDecoderOu
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDecoderOutputView*, uint>)(lpVtbl[2]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDecoderOutputView*, uint>)(lpVtbl[2]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11VideoDecoderOutputView : ID3D11VideoDecoderOu
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoDecoderOutputView*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoDecoderOutputView*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11VideoDecoderOutputView : ID3D11VideoDecoderOu
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDecoderOutputView*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDecoderOutputView*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11VideoDecoderOutputView : ID3D11VideoDecoderOu
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDecoderOutputView*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDecoderOutputView*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11VideoDecoderOutputView : ID3D11VideoDecoderOu
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDecoderOutputView*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDecoderOutputView*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11View.GetResource" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11VideoDecoderOutputView : ID3D11VideoDecoderOu
|
||||
[VtblIndex(7)]
|
||||
public void GetResource(ID3D11Resource** ppResource)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoDecoderOutputView*, ID3D11Resource**, void>)(lpVtbl[7]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this), ppResource);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoDecoderOutputView*, ID3D11Resource**, void>)(lpVtbl[7]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this), ppResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoDecoderOutputView::GetDesc"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11VideoDecoderOutputView : ID3D11VideoDecoderOu
|
||||
[VtblIndex(8)]
|
||||
public void GetDesc(VideoDecoderOutputViewDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoDecoderOutputView*, VideoDecoderOutputViewDescription*, void>)(lpVtbl[8]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoDecoderOutputView*, VideoDecoderOutputViewDescription*, void>)(lpVtbl[8]))((ID3D11VideoDecoderOutputView*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11View.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface, IN
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface, IN
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice*, uint>)(lpVtbl[1]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice*, uint>)(lpVtbl[1]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface, IN
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice*, uint>)(lpVtbl[2]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice*, uint>)(lpVtbl[2]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoDevice::CreateVideoDecoder"]/*' />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface, IN
|
||||
[VtblIndex(3)]
|
||||
public HResult CreateVideoDecoder(VideoDecoderDescription* pVideoDesc, VideoDecoderConfig* pConfig, ID3D11VideoDecoder** ppDecoder)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice*, VideoDecoderDescription*, VideoDecoderConfig*, ID3D11VideoDecoder**, int>)(lpVtbl[3]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pVideoDesc, pConfig, ppDecoder);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice*, VideoDecoderDescription*, VideoDecoderConfig*, ID3D11VideoDecoder**, int>)(lpVtbl[3]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pVideoDesc, pConfig, ppDecoder);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoDevice::CreateVideoProcessor"]/*' />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface, IN
|
||||
[VtblIndex(4)]
|
||||
public HResult CreateVideoProcessor(ID3D11VideoProcessorEnumerator* pEnum, uint RateConversionIndex, ID3D11VideoProcessor** ppVideoProcessor)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice*, ID3D11VideoProcessorEnumerator*, uint, ID3D11VideoProcessor**, int>)(lpVtbl[4]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pEnum, RateConversionIndex, ppVideoProcessor);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice*, ID3D11VideoProcessorEnumerator*, uint, ID3D11VideoProcessor**, int>)(lpVtbl[4]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pEnum, RateConversionIndex, ppVideoProcessor);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoDevice::CreateAuthenticatedChannel"]/*' />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface, IN
|
||||
[VtblIndex(5)]
|
||||
public HResult CreateAuthenticatedChannel(AuthenticatedChannelType ChannelType, ID3D11AuthenticatedChannel** ppAuthenticatedChannel)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice*, AuthenticatedChannelType, ID3D11AuthenticatedChannel**, int>)(lpVtbl[5]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), ChannelType, ppAuthenticatedChannel);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice*, AuthenticatedChannelType, ID3D11AuthenticatedChannel**, int>)(lpVtbl[5]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), ChannelType, ppAuthenticatedChannel);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoDevice::CreateCryptoSession"]/*' />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface, IN
|
||||
[VtblIndex(6)]
|
||||
public HResult CreateCryptoSession(Guid* pCryptoType, Guid* pDecoderProfile, Guid* pKeyExchangeType, ID3D11CryptoSession** ppCryptoSession)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice*, Guid*, Guid*, Guid*, ID3D11CryptoSession**, int>)(lpVtbl[6]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pKeyExchangeType, ppCryptoSession);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice*, Guid*, Guid*, Guid*, ID3D11CryptoSession**, int>)(lpVtbl[6]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pKeyExchangeType, ppCryptoSession);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoDevice::CreateVideoDecoderOutputView"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface, IN
|
||||
[VtblIndex(7)]
|
||||
public HResult CreateVideoDecoderOutputView(ID3D11Resource* pResource, VideoDecoderOutputViewDescription* pDesc, ID3D11VideoDecoderOutputView** ppVDOVView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice*, ID3D11Resource*, VideoDecoderOutputViewDescription*, ID3D11VideoDecoderOutputView**, int>)(lpVtbl[7]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pResource, pDesc, ppVDOVView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice*, ID3D11Resource*, VideoDecoderOutputViewDescription*, ID3D11VideoDecoderOutputView**, int>)(lpVtbl[7]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pResource, pDesc, ppVDOVView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoDevice::CreateVideoProcessorInputView"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface, IN
|
||||
[VtblIndex(8)]
|
||||
public HResult CreateVideoProcessorInputView(ID3D11Resource* pResource, ID3D11VideoProcessorEnumerator* pEnum, VideoProcessorInputViewDescription* pDesc, ID3D11VideoProcessorInputView** ppVPIView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice*, ID3D11Resource*, ID3D11VideoProcessorEnumerator*, VideoProcessorInputViewDescription*, ID3D11VideoProcessorInputView**, int>)(lpVtbl[8]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pResource, pEnum, pDesc, ppVPIView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice*, ID3D11Resource*, ID3D11VideoProcessorEnumerator*, VideoProcessorInputViewDescription*, ID3D11VideoProcessorInputView**, int>)(lpVtbl[8]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pResource, pEnum, pDesc, ppVPIView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoDevice::CreateVideoProcessorOutputView"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface, IN
|
||||
[VtblIndex(9)]
|
||||
public HResult CreateVideoProcessorOutputView(ID3D11Resource* pResource, ID3D11VideoProcessorEnumerator* pEnum, VideoProcessorOutputViewDescription* pDesc, ID3D11VideoProcessorOutputView** ppVPOView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice*, ID3D11Resource*, ID3D11VideoProcessorEnumerator*, VideoProcessorOutputViewDescription*, ID3D11VideoProcessorOutputView**, int>)(lpVtbl[9]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pResource, pEnum, pDesc, ppVPOView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice*, ID3D11Resource*, ID3D11VideoProcessorEnumerator*, VideoProcessorOutputViewDescription*, ID3D11VideoProcessorOutputView**, int>)(lpVtbl[9]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pResource, pEnum, pDesc, ppVPOView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoDevice::CreateVideoProcessorEnumerator"]/*' />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface, IN
|
||||
[VtblIndex(10)]
|
||||
public HResult CreateVideoProcessorEnumerator(VideoProcessorContentDescription* pDesc, ID3D11VideoProcessorEnumerator** ppEnum)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice*, VideoProcessorContentDescription*, ID3D11VideoProcessorEnumerator**, int>)(lpVtbl[10]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pDesc, ppEnum);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice*, VideoProcessorContentDescription*, ID3D11VideoProcessorEnumerator**, int>)(lpVtbl[10]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pDesc, ppEnum);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoDevice::GetVideoDecoderProfileCount"]/*' />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface, IN
|
||||
[VtblIndex(11)]
|
||||
public uint GetVideoDecoderProfileCount()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice*, uint>)(lpVtbl[11]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice*, uint>)(lpVtbl[11]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoDevice::GetVideoDecoderProfile"]/*' />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface, IN
|
||||
[VtblIndex(12)]
|
||||
public HResult GetVideoDecoderProfile(uint Index, Guid* pDecoderProfile)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice*, uint, Guid*, int>)(lpVtbl[12]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), Index, pDecoderProfile);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice*, uint, Guid*, int>)(lpVtbl[12]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), Index, pDecoderProfile);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoDevice::CheckVideoDecoderFormat"]/*' />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface, IN
|
||||
[VtblIndex(13)]
|
||||
public HResult CheckVideoDecoderFormat(Guid* pDecoderProfile, Graphics.Dxgi.Common.Format Format, Bool32* pSupported)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice*, Guid*, Graphics.Dxgi.Common.Format, Bool32*, int>)(lpVtbl[13]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pDecoderProfile, Format, pSupported);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice*, Guid*, Graphics.Dxgi.Common.Format, Bool32*, int>)(lpVtbl[13]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pDecoderProfile, Format, pSupported);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoDevice::GetVideoDecoderConfigCount"]/*' />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface, IN
|
||||
[VtblIndex(14)]
|
||||
public HResult GetVideoDecoderConfigCount(VideoDecoderDescription* pDesc, uint* pCount)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice*, VideoDecoderDescription*, uint*, int>)(lpVtbl[14]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pDesc, pCount);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice*, VideoDecoderDescription*, uint*, int>)(lpVtbl[14]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pDesc, pCount);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoDevice::GetVideoDecoderConfig"]/*' />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface, IN
|
||||
[VtblIndex(15)]
|
||||
public HResult GetVideoDecoderConfig(VideoDecoderDescription* pDesc, uint Index, VideoDecoderConfig* pConfig)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice*, VideoDecoderDescription*, uint, VideoDecoderConfig*, int>)(lpVtbl[15]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pDesc, Index, pConfig);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice*, VideoDecoderDescription*, uint, VideoDecoderConfig*, int>)(lpVtbl[15]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pDesc, Index, pConfig);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoDevice::GetContentProtectionCaps"]/*' />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface, IN
|
||||
[VtblIndex(16)]
|
||||
public HResult GetContentProtectionCaps(Guid* pCryptoType, Guid* pDecoderProfile, VideoContentProtectionCaps* pCaps)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice*, Guid*, Guid*, VideoContentProtectionCaps*, int>)(lpVtbl[16]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pCaps);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice*, Guid*, Guid*, VideoContentProtectionCaps*, int>)(lpVtbl[16]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pCaps);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoDevice::CheckCryptoKeyExchange"]/*' />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface, IN
|
||||
[VtblIndex(17)]
|
||||
public HResult CheckCryptoKeyExchange(Guid* pCryptoType, Guid* pDecoderProfile, uint Index, Guid* pKeyExchangeType)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice*, Guid*, Guid*, uint, Guid*, int>)(lpVtbl[17]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, Index, pKeyExchangeType);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice*, Guid*, Guid*, uint, Guid*, int>)(lpVtbl[17]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, Index, pKeyExchangeType);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoDevice::SetPrivateData"]/*' />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface, IN
|
||||
[VtblIndex(18)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice*, Guid*, uint, void*, int>)(lpVtbl[18]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice*, Guid*, uint, void*, int>)(lpVtbl[18]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoDevice::SetPrivateDataInterface"]/*' />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface, IN
|
||||
[VtblIndex(19)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice*, Guid*, IUnknown*, int>)(lpVtbl[19]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice*, Guid*, IUnknown*, int>)(lpVtbl[19]))((ID3D11VideoDevice*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface,
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice1*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice1*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface,
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice1*, uint>)(lpVtbl[1]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice1*, uint>)(lpVtbl[1]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface,
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice1*, uint>)(lpVtbl[2]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice1*, uint>)(lpVtbl[2]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.CreateVideoDecoder" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface,
|
||||
[VtblIndex(3)]
|
||||
public HResult CreateVideoDecoder(VideoDecoderDescription* pVideoDesc, VideoDecoderConfig* pConfig, ID3D11VideoDecoder** ppDecoder)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice1*, VideoDecoderDescription*, VideoDecoderConfig*, ID3D11VideoDecoder**, int>)(lpVtbl[3]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pVideoDesc, pConfig, ppDecoder);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice1*, VideoDecoderDescription*, VideoDecoderConfig*, ID3D11VideoDecoder**, int>)(lpVtbl[3]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pVideoDesc, pConfig, ppDecoder);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.CreateVideoProcessor" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface,
|
||||
[VtblIndex(4)]
|
||||
public HResult CreateVideoProcessor(ID3D11VideoProcessorEnumerator* pEnum, uint RateConversionIndex, ID3D11VideoProcessor** ppVideoProcessor)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice1*, ID3D11VideoProcessorEnumerator*, uint, ID3D11VideoProcessor**, int>)(lpVtbl[4]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pEnum, RateConversionIndex, ppVideoProcessor);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice1*, ID3D11VideoProcessorEnumerator*, uint, ID3D11VideoProcessor**, int>)(lpVtbl[4]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pEnum, RateConversionIndex, ppVideoProcessor);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.CreateAuthenticatedChannel" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface,
|
||||
[VtblIndex(5)]
|
||||
public HResult CreateAuthenticatedChannel(AuthenticatedChannelType ChannelType, ID3D11AuthenticatedChannel** ppAuthenticatedChannel)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice1*, AuthenticatedChannelType, ID3D11AuthenticatedChannel**, int>)(lpVtbl[5]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), ChannelType, ppAuthenticatedChannel);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice1*, AuthenticatedChannelType, ID3D11AuthenticatedChannel**, int>)(lpVtbl[5]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), ChannelType, ppAuthenticatedChannel);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.CreateCryptoSession" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface,
|
||||
[VtblIndex(6)]
|
||||
public HResult CreateCryptoSession(Guid* pCryptoType, Guid* pDecoderProfile, Guid* pKeyExchangeType, ID3D11CryptoSession** ppCryptoSession)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice1*, Guid*, Guid*, Guid*, ID3D11CryptoSession**, int>)(lpVtbl[6]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pKeyExchangeType, ppCryptoSession);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice1*, Guid*, Guid*, Guid*, ID3D11CryptoSession**, int>)(lpVtbl[6]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pKeyExchangeType, ppCryptoSession);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.CreateVideoDecoderOutputView" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface,
|
||||
[VtblIndex(7)]
|
||||
public HResult CreateVideoDecoderOutputView(ID3D11Resource* pResource, VideoDecoderOutputViewDescription* pDesc, ID3D11VideoDecoderOutputView** ppVDOVView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice1*, ID3D11Resource*, VideoDecoderOutputViewDescription*, ID3D11VideoDecoderOutputView**, int>)(lpVtbl[7]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pResource, pDesc, ppVDOVView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice1*, ID3D11Resource*, VideoDecoderOutputViewDescription*, ID3D11VideoDecoderOutputView**, int>)(lpVtbl[7]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pResource, pDesc, ppVDOVView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.CreateVideoProcessorInputView" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface,
|
||||
[VtblIndex(8)]
|
||||
public HResult CreateVideoProcessorInputView(ID3D11Resource* pResource, ID3D11VideoProcessorEnumerator* pEnum, VideoProcessorInputViewDescription* pDesc, ID3D11VideoProcessorInputView** ppVPIView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice1*, ID3D11Resource*, ID3D11VideoProcessorEnumerator*, VideoProcessorInputViewDescription*, ID3D11VideoProcessorInputView**, int>)(lpVtbl[8]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pResource, pEnum, pDesc, ppVPIView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice1*, ID3D11Resource*, ID3D11VideoProcessorEnumerator*, VideoProcessorInputViewDescription*, ID3D11VideoProcessorInputView**, int>)(lpVtbl[8]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pResource, pEnum, pDesc, ppVPIView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.CreateVideoProcessorOutputView" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface,
|
||||
[VtblIndex(9)]
|
||||
public HResult CreateVideoProcessorOutputView(ID3D11Resource* pResource, ID3D11VideoProcessorEnumerator* pEnum, VideoProcessorOutputViewDescription* pDesc, ID3D11VideoProcessorOutputView** ppVPOView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice1*, ID3D11Resource*, ID3D11VideoProcessorEnumerator*, VideoProcessorOutputViewDescription*, ID3D11VideoProcessorOutputView**, int>)(lpVtbl[9]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pResource, pEnum, pDesc, ppVPOView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice1*, ID3D11Resource*, ID3D11VideoProcessorEnumerator*, VideoProcessorOutputViewDescription*, ID3D11VideoProcessorOutputView**, int>)(lpVtbl[9]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pResource, pEnum, pDesc, ppVPOView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.CreateVideoProcessorEnumerator" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface,
|
||||
[VtblIndex(10)]
|
||||
public HResult CreateVideoProcessorEnumerator(VideoProcessorContentDescription* pDesc, ID3D11VideoProcessorEnumerator** ppEnum)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice1*, VideoProcessorContentDescription*, ID3D11VideoProcessorEnumerator**, int>)(lpVtbl[10]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pDesc, ppEnum);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice1*, VideoProcessorContentDescription*, ID3D11VideoProcessorEnumerator**, int>)(lpVtbl[10]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pDesc, ppEnum);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.GetVideoDecoderProfileCount" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface,
|
||||
[VtblIndex(11)]
|
||||
public uint GetVideoDecoderProfileCount()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice1*, uint>)(lpVtbl[11]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice1*, uint>)(lpVtbl[11]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.GetVideoDecoderProfile" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface,
|
||||
[VtblIndex(12)]
|
||||
public HResult GetVideoDecoderProfile(uint Index, Guid* pDecoderProfile)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice1*, uint, Guid*, int>)(lpVtbl[12]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), Index, pDecoderProfile);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice1*, uint, Guid*, int>)(lpVtbl[12]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), Index, pDecoderProfile);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.CheckVideoDecoderFormat" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface,
|
||||
[VtblIndex(13)]
|
||||
public HResult CheckVideoDecoderFormat(Guid* pDecoderProfile, Graphics.Dxgi.Common.Format Format, Bool32* pSupported)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice1*, Guid*, Graphics.Dxgi.Common.Format, Bool32*, int>)(lpVtbl[13]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pDecoderProfile, Format, pSupported);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice1*, Guid*, Graphics.Dxgi.Common.Format, Bool32*, int>)(lpVtbl[13]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pDecoderProfile, Format, pSupported);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.GetVideoDecoderConfigCount" />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface,
|
||||
[VtblIndex(14)]
|
||||
public HResult GetVideoDecoderConfigCount(VideoDecoderDescription* pDesc, uint* pCount)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice1*, VideoDecoderDescription*, uint*, int>)(lpVtbl[14]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pDesc, pCount);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice1*, VideoDecoderDescription*, uint*, int>)(lpVtbl[14]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pDesc, pCount);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.GetVideoDecoderConfig" />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface,
|
||||
[VtblIndex(15)]
|
||||
public HResult GetVideoDecoderConfig(VideoDecoderDescription* pDesc, uint Index, VideoDecoderConfig* pConfig)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice1*, VideoDecoderDescription*, uint, VideoDecoderConfig*, int>)(lpVtbl[15]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pDesc, Index, pConfig);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice1*, VideoDecoderDescription*, uint, VideoDecoderConfig*, int>)(lpVtbl[15]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pDesc, Index, pConfig);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.GetContentProtectionCaps" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface,
|
||||
[VtblIndex(16)]
|
||||
public HResult GetContentProtectionCaps(Guid* pCryptoType, Guid* pDecoderProfile, VideoContentProtectionCaps* pCaps)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice1*, Guid*, Guid*, VideoContentProtectionCaps*, int>)(lpVtbl[16]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pCaps);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice1*, Guid*, Guid*, VideoContentProtectionCaps*, int>)(lpVtbl[16]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pCaps);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.CheckCryptoKeyExchange" />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface,
|
||||
[VtblIndex(17)]
|
||||
public HResult CheckCryptoKeyExchange(Guid* pCryptoType, Guid* pDecoderProfile, uint Index, Guid* pKeyExchangeType)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice1*, Guid*, Guid*, uint, Guid*, int>)(lpVtbl[17]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, Index, pKeyExchangeType);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice1*, Guid*, Guid*, uint, Guid*, int>)(lpVtbl[17]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, Index, pKeyExchangeType);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.SetPrivateData" />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface,
|
||||
[VtblIndex(18)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice1*, Guid*, uint, void*, int>)(lpVtbl[18]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice1*, Guid*, uint, void*, int>)(lpVtbl[18]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.SetPrivateDataInterface" />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface,
|
||||
[VtblIndex(19)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice1*, Guid*, IUnknown*, int>)(lpVtbl[19]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice1*, Guid*, IUnknown*, int>)(lpVtbl[19]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoDevice1::GetCryptoSessionPrivateDataSize"]/*' />
|
||||
@@ -215,7 +295,11 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface,
|
||||
[VtblIndex(20)]
|
||||
public HResult GetCryptoSessionPrivateDataSize(Guid* pCryptoType, Guid* pDecoderProfile, Guid* pKeyExchangeType, uint* pPrivateInputSize, uint* pPrivateOutputSize)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice1*, Guid*, Guid*, Guid*, uint*, uint*, int>)(lpVtbl[20]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pKeyExchangeType, pPrivateInputSize, pPrivateOutputSize);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice1*, Guid*, Guid*, Guid*, uint*, uint*, int>)(lpVtbl[20]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pKeyExchangeType, pPrivateInputSize, pPrivateOutputSize);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoDevice1::GetVideoDecoderCaps"]/*' />
|
||||
@@ -223,7 +307,11 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface,
|
||||
[VtblIndex(21)]
|
||||
public HResult GetVideoDecoderCaps(Guid* pDecoderProfile, uint SampleWidth, uint SampleHeight, Graphics.Dxgi.Common.Rational* pFrameRate, uint BitRate, Guid* pCryptoType, uint* pDecoderCaps)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice1*, Guid*, uint, uint, Graphics.Dxgi.Common.Rational*, uint, Guid*, uint*, int>)(lpVtbl[21]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pDecoderProfile, SampleWidth, SampleHeight, pFrameRate, BitRate, pCryptoType, pDecoderCaps);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice1*, Guid*, uint, uint, Graphics.Dxgi.Common.Rational*, uint, Guid*, uint*, int>)(lpVtbl[21]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pDecoderProfile, SampleWidth, SampleHeight, pFrameRate, BitRate, pCryptoType, pDecoderCaps);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoDevice1::CheckVideoDecoderDownsampling"]/*' />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface,
|
||||
[VtblIndex(22)]
|
||||
public HResult CheckVideoDecoderDownsampling(VideoDecoderDescription* pInputDesc, Graphics.Dxgi.Common.ColorSpaceType InputColorSpace, VideoDecoderConfig* pInputConfig, Graphics.Dxgi.Common.Rational* pFrameRate, VideoSampleDescription* pOutputDesc, Bool32* pSupported, Bool32* pRealTimeHint)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice1*, VideoDecoderDescription*, Graphics.Dxgi.Common.ColorSpaceType, VideoDecoderConfig*, Graphics.Dxgi.Common.Rational*, VideoSampleDescription*, Bool32*, Bool32*, int>)(lpVtbl[22]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pInputDesc, InputColorSpace, pInputConfig, pFrameRate, pOutputDesc, pSupported, pRealTimeHint);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice1*, VideoDecoderDescription*, Graphics.Dxgi.Common.ColorSpaceType, VideoDecoderConfig*, Graphics.Dxgi.Common.Rational*, VideoSampleDescription*, Bool32*, Bool32*, int>)(lpVtbl[22]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pInputDesc, InputColorSpace, pInputConfig, pFrameRate, pOutputDesc, pSupported, pRealTimeHint);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoDevice1::RecommendVideoDecoderDownsampleParameters"]/*' />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface,
|
||||
[VtblIndex(23)]
|
||||
public HResult RecommendVideoDecoderDownsampleParameters(VideoDecoderDescription* pInputDesc, Graphics.Dxgi.Common.ColorSpaceType InputColorSpace, VideoDecoderConfig* pInputConfig, Graphics.Dxgi.Common.Rational* pFrameRate, VideoSampleDescription* pRecommendedOutputDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice1*, VideoDecoderDescription*, Graphics.Dxgi.Common.ColorSpaceType, VideoDecoderConfig*, Graphics.Dxgi.Common.Rational*, VideoSampleDescription*, int>)(lpVtbl[23]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pInputDesc, InputColorSpace, pInputConfig, pFrameRate, pRecommendedOutputDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice1*, VideoDecoderDescription*, Graphics.Dxgi.Common.ColorSpaceType, VideoDecoderConfig*, Graphics.Dxgi.Common.Rational*, VideoSampleDescription*, int>)(lpVtbl[23]))((ID3D11VideoDevice1*)Unsafe.AsPointer(ref this), pInputDesc, InputColorSpace, pInputConfig, pFrameRate, pRecommendedOutputDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11VideoDevice.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface,
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice2*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice2*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface,
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice2*, uint>)(lpVtbl[1]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice2*, uint>)(lpVtbl[1]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface,
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice2*, uint>)(lpVtbl[2]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice2*, uint>)(lpVtbl[2]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.CreateVideoDecoder" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface,
|
||||
[VtblIndex(3)]
|
||||
public HResult CreateVideoDecoder(VideoDecoderDescription* pVideoDesc, VideoDecoderConfig* pConfig, ID3D11VideoDecoder** ppDecoder)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice2*, VideoDecoderDescription*, VideoDecoderConfig*, ID3D11VideoDecoder**, int>)(lpVtbl[3]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pVideoDesc, pConfig, ppDecoder);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice2*, VideoDecoderDescription*, VideoDecoderConfig*, ID3D11VideoDecoder**, int>)(lpVtbl[3]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pVideoDesc, pConfig, ppDecoder);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.CreateVideoProcessor" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface,
|
||||
[VtblIndex(4)]
|
||||
public HResult CreateVideoProcessor(ID3D11VideoProcessorEnumerator* pEnum, uint RateConversionIndex, ID3D11VideoProcessor** ppVideoProcessor)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice2*, ID3D11VideoProcessorEnumerator*, uint, ID3D11VideoProcessor**, int>)(lpVtbl[4]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pEnum, RateConversionIndex, ppVideoProcessor);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice2*, ID3D11VideoProcessorEnumerator*, uint, ID3D11VideoProcessor**, int>)(lpVtbl[4]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pEnum, RateConversionIndex, ppVideoProcessor);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.CreateAuthenticatedChannel" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface,
|
||||
[VtblIndex(5)]
|
||||
public HResult CreateAuthenticatedChannel(AuthenticatedChannelType ChannelType, ID3D11AuthenticatedChannel** ppAuthenticatedChannel)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice2*, AuthenticatedChannelType, ID3D11AuthenticatedChannel**, int>)(lpVtbl[5]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), ChannelType, ppAuthenticatedChannel);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice2*, AuthenticatedChannelType, ID3D11AuthenticatedChannel**, int>)(lpVtbl[5]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), ChannelType, ppAuthenticatedChannel);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.CreateCryptoSession" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface,
|
||||
[VtblIndex(6)]
|
||||
public HResult CreateCryptoSession(Guid* pCryptoType, Guid* pDecoderProfile, Guid* pKeyExchangeType, ID3D11CryptoSession** ppCryptoSession)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice2*, Guid*, Guid*, Guid*, ID3D11CryptoSession**, int>)(lpVtbl[6]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pKeyExchangeType, ppCryptoSession);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice2*, Guid*, Guid*, Guid*, ID3D11CryptoSession**, int>)(lpVtbl[6]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pKeyExchangeType, ppCryptoSession);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.CreateVideoDecoderOutputView" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface,
|
||||
[VtblIndex(7)]
|
||||
public HResult CreateVideoDecoderOutputView(ID3D11Resource* pResource, VideoDecoderOutputViewDescription* pDesc, ID3D11VideoDecoderOutputView** ppVDOVView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice2*, ID3D11Resource*, VideoDecoderOutputViewDescription*, ID3D11VideoDecoderOutputView**, int>)(lpVtbl[7]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pResource, pDesc, ppVDOVView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice2*, ID3D11Resource*, VideoDecoderOutputViewDescription*, ID3D11VideoDecoderOutputView**, int>)(lpVtbl[7]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pResource, pDesc, ppVDOVView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.CreateVideoProcessorInputView" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface,
|
||||
[VtblIndex(8)]
|
||||
public HResult CreateVideoProcessorInputView(ID3D11Resource* pResource, ID3D11VideoProcessorEnumerator* pEnum, VideoProcessorInputViewDescription* pDesc, ID3D11VideoProcessorInputView** ppVPIView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice2*, ID3D11Resource*, ID3D11VideoProcessorEnumerator*, VideoProcessorInputViewDescription*, ID3D11VideoProcessorInputView**, int>)(lpVtbl[8]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pResource, pEnum, pDesc, ppVPIView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice2*, ID3D11Resource*, ID3D11VideoProcessorEnumerator*, VideoProcessorInputViewDescription*, ID3D11VideoProcessorInputView**, int>)(lpVtbl[8]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pResource, pEnum, pDesc, ppVPIView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.CreateVideoProcessorOutputView" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface,
|
||||
[VtblIndex(9)]
|
||||
public HResult CreateVideoProcessorOutputView(ID3D11Resource* pResource, ID3D11VideoProcessorEnumerator* pEnum, VideoProcessorOutputViewDescription* pDesc, ID3D11VideoProcessorOutputView** ppVPOView)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice2*, ID3D11Resource*, ID3D11VideoProcessorEnumerator*, VideoProcessorOutputViewDescription*, ID3D11VideoProcessorOutputView**, int>)(lpVtbl[9]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pResource, pEnum, pDesc, ppVPOView);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice2*, ID3D11Resource*, ID3D11VideoProcessorEnumerator*, VideoProcessorOutputViewDescription*, ID3D11VideoProcessorOutputView**, int>)(lpVtbl[9]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pResource, pEnum, pDesc, ppVPOView);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.CreateVideoProcessorEnumerator" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface,
|
||||
[VtblIndex(10)]
|
||||
public HResult CreateVideoProcessorEnumerator(VideoProcessorContentDescription* pDesc, ID3D11VideoProcessorEnumerator** ppEnum)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice2*, VideoProcessorContentDescription*, ID3D11VideoProcessorEnumerator**, int>)(lpVtbl[10]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pDesc, ppEnum);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice2*, VideoProcessorContentDescription*, ID3D11VideoProcessorEnumerator**, int>)(lpVtbl[10]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pDesc, ppEnum);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.GetVideoDecoderProfileCount" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface,
|
||||
[VtblIndex(11)]
|
||||
public uint GetVideoDecoderProfileCount()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice2*, uint>)(lpVtbl[11]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice2*, uint>)(lpVtbl[11]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.GetVideoDecoderProfile" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface,
|
||||
[VtblIndex(12)]
|
||||
public HResult GetVideoDecoderProfile(uint Index, Guid* pDecoderProfile)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice2*, uint, Guid*, int>)(lpVtbl[12]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), Index, pDecoderProfile);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice2*, uint, Guid*, int>)(lpVtbl[12]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), Index, pDecoderProfile);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.CheckVideoDecoderFormat" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface,
|
||||
[VtblIndex(13)]
|
||||
public HResult CheckVideoDecoderFormat(Guid* pDecoderProfile, Graphics.Dxgi.Common.Format Format, Bool32* pSupported)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice2*, Guid*, Graphics.Dxgi.Common.Format, Bool32*, int>)(lpVtbl[13]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pDecoderProfile, Format, pSupported);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice2*, Guid*, Graphics.Dxgi.Common.Format, Bool32*, int>)(lpVtbl[13]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pDecoderProfile, Format, pSupported);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.GetVideoDecoderConfigCount" />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface,
|
||||
[VtblIndex(14)]
|
||||
public HResult GetVideoDecoderConfigCount(VideoDecoderDescription* pDesc, uint* pCount)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice2*, VideoDecoderDescription*, uint*, int>)(lpVtbl[14]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pDesc, pCount);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice2*, VideoDecoderDescription*, uint*, int>)(lpVtbl[14]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pDesc, pCount);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.GetVideoDecoderConfig" />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface,
|
||||
[VtblIndex(15)]
|
||||
public HResult GetVideoDecoderConfig(VideoDecoderDescription* pDesc, uint Index, VideoDecoderConfig* pConfig)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice2*, VideoDecoderDescription*, uint, VideoDecoderConfig*, int>)(lpVtbl[15]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pDesc, Index, pConfig);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice2*, VideoDecoderDescription*, uint, VideoDecoderConfig*, int>)(lpVtbl[15]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pDesc, Index, pConfig);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.GetContentProtectionCaps" />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface,
|
||||
[VtblIndex(16)]
|
||||
public HResult GetContentProtectionCaps(Guid* pCryptoType, Guid* pDecoderProfile, VideoContentProtectionCaps* pCaps)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice2*, Guid*, Guid*, VideoContentProtectionCaps*, int>)(lpVtbl[16]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pCaps);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice2*, Guid*, Guid*, VideoContentProtectionCaps*, int>)(lpVtbl[16]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pCaps);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.CheckCryptoKeyExchange" />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface,
|
||||
[VtblIndex(17)]
|
||||
public HResult CheckCryptoKeyExchange(Guid* pCryptoType, Guid* pDecoderProfile, uint Index, Guid* pKeyExchangeType)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice2*, Guid*, Guid*, uint, Guid*, int>)(lpVtbl[17]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, Index, pKeyExchangeType);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice2*, Guid*, Guid*, uint, Guid*, int>)(lpVtbl[17]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, Index, pKeyExchangeType);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.SetPrivateData" />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface,
|
||||
[VtblIndex(18)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice2*, Guid*, uint, void*, int>)(lpVtbl[18]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice2*, Guid*, uint, void*, int>)(lpVtbl[18]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice.SetPrivateDataInterface" />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface,
|
||||
[VtblIndex(19)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice2*, Guid*, IUnknown*, int>)(lpVtbl[19]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice2*, Guid*, IUnknown*, int>)(lpVtbl[19]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice1.GetCryptoSessionPrivateDataSize" />
|
||||
@@ -215,7 +295,11 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface,
|
||||
[VtblIndex(20)]
|
||||
public HResult GetCryptoSessionPrivateDataSize(Guid* pCryptoType, Guid* pDecoderProfile, Guid* pKeyExchangeType, uint* pPrivateInputSize, uint* pPrivateOutputSize)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice2*, Guid*, Guid*, Guid*, uint*, uint*, int>)(lpVtbl[20]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pKeyExchangeType, pPrivateInputSize, pPrivateOutputSize);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice2*, Guid*, Guid*, Guid*, uint*, uint*, int>)(lpVtbl[20]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pCryptoType, pDecoderProfile, pKeyExchangeType, pPrivateInputSize, pPrivateOutputSize);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice1.GetVideoDecoderCaps" />
|
||||
@@ -223,7 +307,11 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface,
|
||||
[VtblIndex(21)]
|
||||
public HResult GetVideoDecoderCaps(Guid* pDecoderProfile, uint SampleWidth, uint SampleHeight, Graphics.Dxgi.Common.Rational* pFrameRate, uint BitRate, Guid* pCryptoType, uint* pDecoderCaps)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice2*, Guid*, uint, uint, Graphics.Dxgi.Common.Rational*, uint, Guid*, uint*, int>)(lpVtbl[21]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pDecoderProfile, SampleWidth, SampleHeight, pFrameRate, BitRate, pCryptoType, pDecoderCaps);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice2*, Guid*, uint, uint, Graphics.Dxgi.Common.Rational*, uint, Guid*, uint*, int>)(lpVtbl[21]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pDecoderProfile, SampleWidth, SampleHeight, pFrameRate, BitRate, pCryptoType, pDecoderCaps);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice1.CheckVideoDecoderDownsampling" />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface,
|
||||
[VtblIndex(22)]
|
||||
public HResult CheckVideoDecoderDownsampling(VideoDecoderDescription* pInputDesc, Graphics.Dxgi.Common.ColorSpaceType InputColorSpace, VideoDecoderConfig* pInputConfig, Graphics.Dxgi.Common.Rational* pFrameRate, VideoSampleDescription* pOutputDesc, Bool32* pSupported, Bool32* pRealTimeHint)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice2*, VideoDecoderDescription*, Graphics.Dxgi.Common.ColorSpaceType, VideoDecoderConfig*, Graphics.Dxgi.Common.Rational*, VideoSampleDescription*, Bool32*, Bool32*, int>)(lpVtbl[22]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pInputDesc, InputColorSpace, pInputConfig, pFrameRate, pOutputDesc, pSupported, pRealTimeHint);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice2*, VideoDecoderDescription*, Graphics.Dxgi.Common.ColorSpaceType, VideoDecoderConfig*, Graphics.Dxgi.Common.Rational*, VideoSampleDescription*, Bool32*, Bool32*, int>)(lpVtbl[22]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pInputDesc, InputColorSpace, pInputConfig, pFrameRate, pOutputDesc, pSupported, pRealTimeHint);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoDevice1.RecommendVideoDecoderDownsampleParameters" />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface,
|
||||
[VtblIndex(23)]
|
||||
public HResult RecommendVideoDecoderDownsampleParameters(VideoDecoderDescription* pInputDesc, Graphics.Dxgi.Common.ColorSpaceType InputColorSpace, VideoDecoderConfig* pInputConfig, Graphics.Dxgi.Common.Rational* pFrameRate, VideoSampleDescription* pRecommendedOutputDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice2*, VideoDecoderDescription*, Graphics.Dxgi.Common.ColorSpaceType, VideoDecoderConfig*, Graphics.Dxgi.Common.Rational*, VideoSampleDescription*, int>)(lpVtbl[23]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pInputDesc, InputColorSpace, pInputConfig, pFrameRate, pRecommendedOutputDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice2*, VideoDecoderDescription*, Graphics.Dxgi.Common.ColorSpaceType, VideoDecoderConfig*, Graphics.Dxgi.Common.Rational*, VideoSampleDescription*, int>)(lpVtbl[23]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pInputDesc, InputColorSpace, pInputConfig, pFrameRate, pRecommendedOutputDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoDevice2::CheckFeatureSupport"]/*' />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface,
|
||||
[VtblIndex(24)]
|
||||
public HResult CheckFeatureSupport(FeatureVideo Feature, void* pFeatureSupportData, int FeatureSupportDataSize)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice2*, FeatureVideo, void*, int, int>)(lpVtbl[24]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice2*, FeatureVideo, void*, int, int>)(lpVtbl[24]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoDevice2::NegotiateCryptoSessionKeyExchangeMT"]/*' />
|
||||
@@ -255,7 +355,11 @@ public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface,
|
||||
[VtblIndex(25)]
|
||||
public HResult NegotiateCryptoSessionKeyExchangeMT(ID3D11CryptoSession* pCryptoSession, CryptoSessionKeyExchangeFlags flags, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoDevice2*, ID3D11CryptoSession*, CryptoSessionKeyExchangeFlags, uint, void*, int>)(lpVtbl[25]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pCryptoSession, flags, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoDevice2*, ID3D11CryptoSession*, CryptoSessionKeyExchangeFlags, uint, void*, int>)(lpVtbl[25]))((ID3D11VideoDevice2*)Unsafe.AsPointer(ref this), pCryptoSession, flags, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11VideoDevice1.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11VideoProcessor : ID3D11VideoProcessor.Interfa
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessor*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessor*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11VideoProcessor : ID3D11VideoProcessor.Interfa
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessor*, uint>)(lpVtbl[1]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessor*, uint>)(lpVtbl[1]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11VideoProcessor : ID3D11VideoProcessor.Interfa
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessor*, uint>)(lpVtbl[2]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessor*, uint>)(lpVtbl[2]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11VideoProcessor : ID3D11VideoProcessor.Interfa
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoProcessor*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoProcessor*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11VideoProcessor : ID3D11VideoProcessor.Interfa
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessor*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessor*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11VideoProcessor : ID3D11VideoProcessor.Interfa
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessor*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessor*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11VideoProcessor : ID3D11VideoProcessor.Interfa
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessor*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessor*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoProcessor::GetContentDesc"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11VideoProcessor : ID3D11VideoProcessor.Interfa
|
||||
[VtblIndex(7)]
|
||||
public void GetContentDesc(VideoProcessorContentDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoProcessor*, VideoProcessorContentDescription*, void>)(lpVtbl[7]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoProcessor*, VideoProcessorContentDescription*, void>)(lpVtbl[7]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoProcessor::GetRateConversionCaps"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11VideoProcessor : ID3D11VideoProcessor.Interfa
|
||||
[VtblIndex(8)]
|
||||
public void GetRateConversionCaps(VideoProcessorRateConversionCaps* pCaps)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoProcessor*, VideoProcessorRateConversionCaps*, void>)(lpVtbl[8]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this), pCaps);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoProcessor*, VideoProcessorRateConversionCaps*, void>)(lpVtbl[8]))((ID3D11VideoProcessor*)Unsafe.AsPointer(ref this), pCaps);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11DeviceChild.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator : ID3D11VideoProcess
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorEnumerator*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorEnumerator*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator : ID3D11VideoProcess
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorEnumerator*, uint>)(lpVtbl[1]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorEnumerator*, uint>)(lpVtbl[1]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator : ID3D11VideoProcess
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorEnumerator*, uint>)(lpVtbl[2]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorEnumerator*, uint>)(lpVtbl[2]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator : ID3D11VideoProcess
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoProcessorEnumerator*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorEnumerator*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator : ID3D11VideoProcess
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorEnumerator*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorEnumerator*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator : ID3D11VideoProcess
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorEnumerator*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorEnumerator*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator : ID3D11VideoProcess
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorEnumerator*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorEnumerator*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoProcessorEnumerator::GetVideoProcessorContentDesc"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator : ID3D11VideoProcess
|
||||
[VtblIndex(7)]
|
||||
public HResult GetVideoProcessorContentDesc(VideoProcessorContentDescription* pContentDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorEnumerator*, VideoProcessorContentDescription*, int>)(lpVtbl[7]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), pContentDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorEnumerator*, VideoProcessorContentDescription*, int>)(lpVtbl[7]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), pContentDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoProcessorEnumerator::CheckVideoProcessorFormat"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator : ID3D11VideoProcess
|
||||
[VtblIndex(8)]
|
||||
public HResult CheckVideoProcessorFormat(Graphics.Dxgi.Common.Format Format, uint* pFlags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorEnumerator*, Graphics.Dxgi.Common.Format, uint*, int>)(lpVtbl[8]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), Format, pFlags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorEnumerator*, Graphics.Dxgi.Common.Format, uint*, int>)(lpVtbl[8]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), Format, pFlags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoProcessorEnumerator::GetVideoProcessorCaps"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator : ID3D11VideoProcess
|
||||
[VtblIndex(9)]
|
||||
public HResult GetVideoProcessorCaps(VideoProcessorCaps* pCaps)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorEnumerator*, VideoProcessorCaps*, int>)(lpVtbl[9]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), pCaps);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorEnumerator*, VideoProcessorCaps*, int>)(lpVtbl[9]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), pCaps);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoProcessorEnumerator::GetVideoProcessorRateConversionCaps"]/*' />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator : ID3D11VideoProcess
|
||||
[VtblIndex(10)]
|
||||
public HResult GetVideoProcessorRateConversionCaps(uint TypeIndex, VideoProcessorRateConversionCaps* pCaps)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorEnumerator*, uint, VideoProcessorRateConversionCaps*, int>)(lpVtbl[10]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), TypeIndex, pCaps);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorEnumerator*, uint, VideoProcessorRateConversionCaps*, int>)(lpVtbl[10]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), TypeIndex, pCaps);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoProcessorEnumerator::GetVideoProcessorCustomRate"]/*' />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator : ID3D11VideoProcess
|
||||
[VtblIndex(11)]
|
||||
public HResult GetVideoProcessorCustomRate(uint TypeIndex, uint CustomRateIndex, VideoProcessorCustomRate* pRate)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorEnumerator*, uint, uint, VideoProcessorCustomRate*, int>)(lpVtbl[11]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), TypeIndex, CustomRateIndex, pRate);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorEnumerator*, uint, uint, VideoProcessorCustomRate*, int>)(lpVtbl[11]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), TypeIndex, CustomRateIndex, pRate);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoProcessorEnumerator::GetVideoProcessorFilterRange"]/*' />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator : ID3D11VideoProcess
|
||||
[VtblIndex(12)]
|
||||
public HResult GetVideoProcessorFilterRange(VideoProcessorFilter Filter, VideoProcessorFilterRange* pRange)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorEnumerator*, VideoProcessorFilter, VideoProcessorFilterRange*, int>)(lpVtbl[12]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), Filter, pRange);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorEnumerator*, VideoProcessorFilter, VideoProcessorFilterRange*, int>)(lpVtbl[12]))((ID3D11VideoProcessorEnumerator*)Unsafe.AsPointer(ref this), Filter, pRange);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11DeviceChild.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProces
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorEnumerator1*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorEnumerator1*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProces
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorEnumerator1*, uint>)(lpVtbl[1]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorEnumerator1*, uint>)(lpVtbl[1]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProces
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorEnumerator1*, uint>)(lpVtbl[2]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorEnumerator1*, uint>)(lpVtbl[2]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProces
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoProcessorEnumerator1*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorEnumerator1*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProces
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorEnumerator1*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorEnumerator1*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProces
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorEnumerator1*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorEnumerator1*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProces
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorEnumerator1*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorEnumerator1*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoProcessorEnumerator.GetVideoProcessorContentDesc" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProces
|
||||
[VtblIndex(7)]
|
||||
public HResult GetVideoProcessorContentDesc(VideoProcessorContentDescription* pContentDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorEnumerator1*, VideoProcessorContentDescription*, int>)(lpVtbl[7]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), pContentDesc);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorEnumerator1*, VideoProcessorContentDescription*, int>)(lpVtbl[7]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), pContentDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoProcessorEnumerator.CheckVideoProcessorFormat" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProces
|
||||
[VtblIndex(8)]
|
||||
public HResult CheckVideoProcessorFormat(Graphics.Dxgi.Common.Format Format, uint* pFlags)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorEnumerator1*, Graphics.Dxgi.Common.Format, uint*, int>)(lpVtbl[8]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), Format, pFlags);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorEnumerator1*, Graphics.Dxgi.Common.Format, uint*, int>)(lpVtbl[8]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), Format, pFlags);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoProcessorEnumerator.GetVideoProcessorCaps" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProces
|
||||
[VtblIndex(9)]
|
||||
public HResult GetVideoProcessorCaps(VideoProcessorCaps* pCaps)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorEnumerator1*, VideoProcessorCaps*, int>)(lpVtbl[9]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), pCaps);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorEnumerator1*, VideoProcessorCaps*, int>)(lpVtbl[9]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), pCaps);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoProcessorEnumerator.GetVideoProcessorRateConversionCaps" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProces
|
||||
[VtblIndex(10)]
|
||||
public HResult GetVideoProcessorRateConversionCaps(uint TypeIndex, VideoProcessorRateConversionCaps* pCaps)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorEnumerator1*, uint, VideoProcessorRateConversionCaps*, int>)(lpVtbl[10]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), TypeIndex, pCaps);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorEnumerator1*, uint, VideoProcessorRateConversionCaps*, int>)(lpVtbl[10]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), TypeIndex, pCaps);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoProcessorEnumerator.GetVideoProcessorCustomRate" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProces
|
||||
[VtblIndex(11)]
|
||||
public HResult GetVideoProcessorCustomRate(uint TypeIndex, uint CustomRateIndex, VideoProcessorCustomRate* pRate)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorEnumerator1*, uint, uint, VideoProcessorCustomRate*, int>)(lpVtbl[11]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), TypeIndex, CustomRateIndex, pRate);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorEnumerator1*, uint, uint, VideoProcessorCustomRate*, int>)(lpVtbl[11]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), TypeIndex, CustomRateIndex, pRate);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoProcessorEnumerator.GetVideoProcessorFilterRange" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProces
|
||||
[VtblIndex(12)]
|
||||
public HResult GetVideoProcessorFilterRange(VideoProcessorFilter Filter, VideoProcessorFilterRange* pRange)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorEnumerator1*, VideoProcessorFilter, VideoProcessorFilterRange*, int>)(lpVtbl[12]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), Filter, pRange);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorEnumerator1*, VideoProcessorFilter, VideoProcessorFilterRange*, int>)(lpVtbl[12]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), Filter, pRange);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoProcessorEnumerator1::CheckVideoProcessorFormatConversion"]/*' />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProces
|
||||
[VtblIndex(13)]
|
||||
public HResult CheckVideoProcessorFormatConversion(Graphics.Dxgi.Common.Format InputFormat, Graphics.Dxgi.Common.ColorSpaceType InputColorSpace, Graphics.Dxgi.Common.Format OutputFormat, Graphics.Dxgi.Common.ColorSpaceType OutputColorSpace, Bool32* pSupported)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorEnumerator1*, Graphics.Dxgi.Common.Format, Graphics.Dxgi.Common.ColorSpaceType, Graphics.Dxgi.Common.Format, Graphics.Dxgi.Common.ColorSpaceType, Bool32*, int>)(lpVtbl[13]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), InputFormat, InputColorSpace, OutputFormat, OutputColorSpace, pSupported);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorEnumerator1*, Graphics.Dxgi.Common.Format, Graphics.Dxgi.Common.ColorSpaceType, Graphics.Dxgi.Common.Format, Graphics.Dxgi.Common.ColorSpaceType, Bool32*, int>)(lpVtbl[13]))((ID3D11VideoProcessorEnumerator1*)Unsafe.AsPointer(ref this), InputFormat, InputColorSpace, OutputFormat, OutputColorSpace, pSupported);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11VideoProcessorEnumerator.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11VideoProcessorInputView : ID3D11VideoProcesso
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorInputView*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorInputView*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11VideoProcessorInputView : ID3D11VideoProcesso
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorInputView*, uint>)(lpVtbl[1]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorInputView*, uint>)(lpVtbl[1]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11VideoProcessorInputView : ID3D11VideoProcesso
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorInputView*, uint>)(lpVtbl[2]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorInputView*, uint>)(lpVtbl[2]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11VideoProcessorInputView : ID3D11VideoProcesso
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoProcessorInputView*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorInputView*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11VideoProcessorInputView : ID3D11VideoProcesso
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorInputView*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorInputView*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11VideoProcessorInputView : ID3D11VideoProcesso
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorInputView*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorInputView*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11VideoProcessorInputView : ID3D11VideoProcesso
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorInputView*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorInputView*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11View.GetResource" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11VideoProcessorInputView : ID3D11VideoProcesso
|
||||
[VtblIndex(7)]
|
||||
public void GetResource(ID3D11Resource** ppResource)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoProcessorInputView*, ID3D11Resource**, void>)(lpVtbl[7]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this), ppResource);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorInputView*, ID3D11Resource**, void>)(lpVtbl[7]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this), ppResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoProcessorInputView::GetDesc"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11VideoProcessorInputView : ID3D11VideoProcesso
|
||||
[VtblIndex(8)]
|
||||
public void GetDesc(VideoProcessorInputViewDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoProcessorInputView*, VideoProcessorInputViewDescription*, void>)(lpVtbl[8]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorInputView*, VideoProcessorInputViewDescription*, void>)(lpVtbl[8]))((ID3D11VideoProcessorInputView*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11View.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11VideoProcessorOutputView : ID3D11VideoProcess
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorOutputView*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorOutputView*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11VideoProcessorOutputView : ID3D11VideoProcess
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorOutputView*, uint>)(lpVtbl[1]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorOutputView*, uint>)(lpVtbl[1]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11VideoProcessorOutputView : ID3D11VideoProcess
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorOutputView*, uint>)(lpVtbl[2]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorOutputView*, uint>)(lpVtbl[2]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11VideoProcessorOutputView : ID3D11VideoProcess
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoProcessorOutputView*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorOutputView*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11VideoProcessorOutputView : ID3D11VideoProcess
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorOutputView*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorOutputView*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11VideoProcessorOutputView : ID3D11VideoProcess
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorOutputView*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorOutputView*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11VideoProcessorOutputView : ID3D11VideoProcess
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11VideoProcessorOutputView*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorOutputView*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11View.GetResource" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11VideoProcessorOutputView : ID3D11VideoProcess
|
||||
[VtblIndex(7)]
|
||||
public void GetResource(ID3D11Resource** ppResource)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoProcessorOutputView*, ID3D11Resource**, void>)(lpVtbl[7]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this), ppResource);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorOutputView*, ID3D11Resource**, void>)(lpVtbl[7]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this), ppResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoProcessorOutputView::GetDesc"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID3D11VideoProcessorOutputView : ID3D11VideoProcess
|
||||
[VtblIndex(8)]
|
||||
public void GetDesc(VideoProcessorOutputViewDescription* pDesc)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11VideoProcessorOutputView*, VideoProcessorOutputViewDescription*, void>)(lpVtbl[8]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoProcessorOutputView*, VideoProcessorOutputViewDescription*, void>)(lpVtbl[8]))((ID3D11VideoProcessorOutputView*)Unsafe.AsPointer(ref this), pDesc);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11View.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3D11View : ID3D11View.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11View*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11View*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11View*, Guid*, void**, int>)(lpVtbl[0]))((ID3D11View*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3D11View : ID3D11View.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11View*, uint>)(lpVtbl[1]))((ID3D11View*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11View*, uint>)(lpVtbl[1]))((ID3D11View*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3D11View : ID3D11View.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11View*, uint>)(lpVtbl[2]))((ID3D11View*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11View*, uint>)(lpVtbl[2]))((ID3D11View*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3D11View : ID3D11View.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11View*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11View*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11View*, ID3D11Device**, void>)(lpVtbl[3]))((ID3D11View*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3D11View : ID3D11View.Interface, INativeGuid
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11View*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11View*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11View*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3D11View*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3D11View : ID3D11View.Interface, INativeGuid
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11View*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11View*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11View*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3D11View*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3D11View : ID3D11View.Interface, INativeGuid
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3D11View*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11View*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11View*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3D11View*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11View::GetResource"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID3D11View : ID3D11View.Interface, INativeGuid
|
||||
[VtblIndex(7)]
|
||||
public void GetResource(ID3D11Resource** ppResource)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3D11View*, ID3D11Resource**, void>)(lpVtbl[7]))((ID3D11View*)Unsafe.AsPointer(ref this), ppResource);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3D11View*, ID3D11Resource**, void>)(lpVtbl[7]))((ID3D11View*)Unsafe.AsPointer(ref this), ppResource);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11DeviceChild.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3DDeviceContextState : ID3DDeviceContextState.Int
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3DDeviceContextState*, Guid*, void**, int>)(lpVtbl[0]))((ID3DDeviceContextState*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3DDeviceContextState*, Guid*, void**, int>)(lpVtbl[0]))((ID3DDeviceContextState*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3DDeviceContextState : ID3DDeviceContextState.Int
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3DDeviceContextState*, uint>)(lpVtbl[1]))((ID3DDeviceContextState*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3DDeviceContextState*, uint>)(lpVtbl[1]))((ID3DDeviceContextState*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3DDeviceContextState : ID3DDeviceContextState.Int
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3DDeviceContextState*, uint>)(lpVtbl[2]))((ID3DDeviceContextState*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3DDeviceContextState*, uint>)(lpVtbl[2]))((ID3DDeviceContextState*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetDevice" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3DDeviceContextState : ID3DDeviceContextState.Int
|
||||
[VtblIndex(3)]
|
||||
public void GetDevice(ID3D11Device** ppDevice)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3DDeviceContextState*, ID3D11Device**, void>)(lpVtbl[3]))((ID3DDeviceContextState*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3DDeviceContextState*, ID3D11Device**, void>)(lpVtbl[3]))((ID3DDeviceContextState*)Unsafe.AsPointer(ref this), ppDevice);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.GetPrivateData" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3DDeviceContextState : ID3DDeviceContextState.Int
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPrivateData(Guid* guid, uint* pDataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3DDeviceContextState*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3DDeviceContextState*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3DDeviceContextState*, Guid*, uint*, void*, int>)(lpVtbl[4]))((ID3DDeviceContextState*)Unsafe.AsPointer(ref this), guid, pDataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateData" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3DDeviceContextState : ID3DDeviceContextState.Int
|
||||
[VtblIndex(5)]
|
||||
public HResult SetPrivateData(Guid* guid, uint DataSize, void* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3DDeviceContextState*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3DDeviceContextState*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3DDeviceContextState*, Guid*, uint, void*, int>)(lpVtbl[5]))((ID3DDeviceContextState*)Unsafe.AsPointer(ref this), guid, DataSize, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceChild.SetPrivateDataInterface" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3DDeviceContextState : ID3DDeviceContextState.Int
|
||||
[VtblIndex(6)]
|
||||
public HResult SetPrivateDataInterface(Guid* guid, IUnknown* pData)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3DDeviceContextState*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3DDeviceContextState*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3DDeviceContextState*, Guid*, IUnknown*, int>)(lpVtbl[6]))((ID3DDeviceContextState*)Unsafe.AsPointer(ref this), guid, pData);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11DeviceChild.Interface
|
||||
|
||||
@@ -53,7 +53,11 @@ public unsafe partial struct ID3DUserDefinedAnnotation : ID3DUserDefinedAnnotati
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3DUserDefinedAnnotation*, Guid*, void**, int>)(lpVtbl[0]))((ID3DUserDefinedAnnotation*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3DUserDefinedAnnotation*, Guid*, void**, int>)(lpVtbl[0]))((ID3DUserDefinedAnnotation*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID3DUserDefinedAnnotation : ID3DUserDefinedAnnotati
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3DUserDefinedAnnotation*, uint>)(lpVtbl[1]))((ID3DUserDefinedAnnotation*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3DUserDefinedAnnotation*, uint>)(lpVtbl[1]))((ID3DUserDefinedAnnotation*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID3DUserDefinedAnnotation : ID3DUserDefinedAnnotati
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3DUserDefinedAnnotation*, uint>)(lpVtbl[2]))((ID3DUserDefinedAnnotation*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3DUserDefinedAnnotation*, uint>)(lpVtbl[2]))((ID3DUserDefinedAnnotation*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3DUserDefinedAnnotation::BeginEvent"]/*' />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID3DUserDefinedAnnotation : ID3DUserDefinedAnnotati
|
||||
[VtblIndex(3)]
|
||||
public int BeginEvent(ushort* Name)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3DUserDefinedAnnotation*, ushort*, int>)(lpVtbl[3]))((ID3DUserDefinedAnnotation*)Unsafe.AsPointer(ref this), Name);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3DUserDefinedAnnotation*, ushort*, int>)(lpVtbl[3]))((ID3DUserDefinedAnnotation*)Unsafe.AsPointer(ref this), Name);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3DUserDefinedAnnotation::EndEvent"]/*' />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID3DUserDefinedAnnotation : ID3DUserDefinedAnnotati
|
||||
[VtblIndex(4)]
|
||||
public int EndEvent()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3DUserDefinedAnnotation*, int>)(lpVtbl[4]))((ID3DUserDefinedAnnotation*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3DUserDefinedAnnotation*, int>)(lpVtbl[4]))((ID3DUserDefinedAnnotation*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3DUserDefinedAnnotation::SetMarker"]/*' />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID3DUserDefinedAnnotation : ID3DUserDefinedAnnotati
|
||||
[VtblIndex(5)]
|
||||
public void SetMarker(ushort* Name)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID3DUserDefinedAnnotation*, ushort*, void>)(lpVtbl[5]))((ID3DUserDefinedAnnotation*)Unsafe.AsPointer(ref this), Name);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID3DUserDefinedAnnotation*, ushort*, void>)(lpVtbl[5]))((ID3DUserDefinedAnnotation*)Unsafe.AsPointer(ref this), Name);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3DUserDefinedAnnotation::GetStatus"]/*' />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID3DUserDefinedAnnotation : ID3DUserDefinedAnnotati
|
||||
[VtblIndex(6)]
|
||||
public Bool32 GetStatus()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID3DUserDefinedAnnotation*, Bool32>)(lpVtbl[6]))((ID3DUserDefinedAnnotation*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID3DUserDefinedAnnotation*, Bool32>)(lpVtbl[6]))((ID3DUserDefinedAnnotation*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
Reference in New Issue
Block a user