mirror of
https://github.com/amerkoleci/Vortice.Win32.git
synced 2026-01-14 16:16:04 +08:00
Bindings: Separate Direct3D11 bindings in new Vortice.Win32.Direct3D11 package
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Win32.Graphics.Direct3D11;
|
||||
|
||||
/// <include file='Direct3D11.xml' path='doc/member[@name="ID3D11FunctionParameterReflection"]/*' />
|
||||
/// <unmanaged>ID3D11FunctionParameterReflection</unmanaged>
|
||||
[Guid("42757488-334f-47fe-982e-1a65d08cc462")]
|
||||
public unsafe partial struct ID3D11FunctionParameterReflection
|
||||
{
|
||||
public static ref readonly Guid IID_ID3D11FunctionParameterReflection
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
get
|
||||
{
|
||||
ReadOnlySpan<byte> data = new byte[] {
|
||||
0x88, 0x74, 0x75, 0x42,
|
||||
0x4F, 0x33,
|
||||
0xFE, 0x47,
|
||||
0x98,
|
||||
0x2E,
|
||||
0x1A,
|
||||
0x65,
|
||||
0xD0,
|
||||
0x8C,
|
||||
0xC4,
|
||||
0x62
|
||||
};
|
||||
|
||||
Debug.Assert(data.Length == Unsafe.SizeOf<Guid>());
|
||||
return ref Unsafe.As<byte, Guid>(ref MemoryMarshal.GetReference(data));
|
||||
}
|
||||
}
|
||||
|
||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11FunctionParameterReflection));
|
||||
|
||||
public void** lpVtbl;
|
||||
|
||||
/// <include file='Direct3D11.xml' path='doc/member[@name="ID3D11FunctionParameterReflection::GetDesc"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(0)]
|
||||
public HResult GetDesc(ParameterDescription* pDesc)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D11FunctionParameterReflection*, ParameterDescription*, int>)(lpVtbl[0]))((ID3D11FunctionParameterReflection*)Unsafe.AsPointer(ref this), pDesc);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user