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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user