// ------------------------------------------------------------------------------ // // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // // ------------------------------------------------------------------------------ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using HexaGen.Runtime; using System.Numerics; namespace Dalamud.Bindings.ImGui { public unsafe partial class ImGuiP { /// /// To be documented. /// public static void* ImFileLoadToMemory(string filename, ReadOnlySpan mode, int paddingBytes) { byte* pStr0 = null; int pStrSize0 = 0; if (filename != null) { pStrSize0 = Utils.GetByteCountUTF8(filename); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (byte* pmode = mode) { void* ret = ImFileLoadToMemoryNative(pStr0, (byte*)pmode, (ulong*)(default), paddingBytes); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public static void* ImFileLoadToMemory(byte* filename, byte* mode, ref nuint outFileSize, int paddingBytes) { fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative(filename, mode, (ulong*)poutFileSize, paddingBytes); return ret; } } /// /// To be documented. /// public static void* ImFileLoadToMemory(byte* filename, byte* mode, ref nuint outFileSize) { fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative(filename, mode, (ulong*)poutFileSize, (int)(0)); return ret; } } /// /// To be documented. /// public static void* ImFileLoadToMemory(ref byte filename, byte* mode, ref nuint outFileSize, int paddingBytes) { fixed (byte* pfilename = &filename) { fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative((byte*)pfilename, mode, (ulong*)poutFileSize, paddingBytes); return ret; } } } /// /// To be documented. /// public static void* ImFileLoadToMemory(ref byte filename, byte* mode, ref nuint outFileSize) { fixed (byte* pfilename = &filename) { fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative((byte*)pfilename, mode, (ulong*)poutFileSize, (int)(0)); return ret; } } } /// /// To be documented. /// public static void* ImFileLoadToMemory(ReadOnlySpan filename, byte* mode, ref nuint outFileSize, int paddingBytes) { fixed (byte* pfilename = filename) { fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative((byte*)pfilename, mode, (ulong*)poutFileSize, paddingBytes); return ret; } } } /// /// To be documented. /// public static void* ImFileLoadToMemory(ReadOnlySpan filename, byte* mode, ref nuint outFileSize) { fixed (byte* pfilename = filename) { fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative((byte*)pfilename, mode, (ulong*)poutFileSize, (int)(0)); return ret; } } } /// /// To be documented. /// public static void* ImFileLoadToMemory(string filename, byte* mode, ref nuint outFileSize, int paddingBytes) { byte* pStr0 = null; int pStrSize0 = 0; if (filename != null) { pStrSize0 = Utils.GetByteCountUTF8(filename); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative(pStr0, mode, (ulong*)poutFileSize, paddingBytes); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public static void* ImFileLoadToMemory(string filename, byte* mode, ref nuint outFileSize) { byte* pStr0 = null; int pStrSize0 = 0; if (filename != null) { pStrSize0 = Utils.GetByteCountUTF8(filename); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative(pStr0, mode, (ulong*)poutFileSize, (int)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public static void* ImFileLoadToMemory(byte* filename, ref byte mode, ref nuint outFileSize, int paddingBytes) { fixed (byte* pmode = &mode) { fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative(filename, (byte*)pmode, (ulong*)poutFileSize, paddingBytes); return ret; } } } /// /// To be documented. /// public static void* ImFileLoadToMemory(byte* filename, ref byte mode, ref nuint outFileSize) { fixed (byte* pmode = &mode) { fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative(filename, (byte*)pmode, (ulong*)poutFileSize, (int)(0)); return ret; } } } /// /// To be documented. /// public static void* ImFileLoadToMemory(byte* filename, ReadOnlySpan mode, ref nuint outFileSize, int paddingBytes) { fixed (byte* pmode = mode) { fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative(filename, (byte*)pmode, (ulong*)poutFileSize, paddingBytes); return ret; } } } /// /// To be documented. /// public static void* ImFileLoadToMemory(byte* filename, ReadOnlySpan mode, ref nuint outFileSize) { fixed (byte* pmode = mode) { fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative(filename, (byte*)pmode, (ulong*)poutFileSize, (int)(0)); return ret; } } } /// /// To be documented. /// public static void* ImFileLoadToMemory(byte* filename, string mode, ref nuint outFileSize, int paddingBytes) { byte* pStr0 = null; int pStrSize0 = 0; if (mode != null) { pStrSize0 = Utils.GetByteCountUTF8(mode); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(mode, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative(filename, pStr0, (ulong*)poutFileSize, paddingBytes); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public static void* ImFileLoadToMemory(byte* filename, string mode, ref nuint outFileSize) { byte* pStr0 = null; int pStrSize0 = 0; if (mode != null) { pStrSize0 = Utils.GetByteCountUTF8(mode); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(mode, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative(filename, pStr0, (ulong*)poutFileSize, (int)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public static void* ImFileLoadToMemory(ref byte filename, ref byte mode, ref nuint outFileSize, int paddingBytes) { fixed (byte* pfilename = &filename) { fixed (byte* pmode = &mode) { fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, (ulong*)poutFileSize, paddingBytes); return ret; } } } } /// /// To be documented. /// public static void* ImFileLoadToMemory(ref byte filename, ref byte mode, ref nuint outFileSize) { fixed (byte* pfilename = &filename) { fixed (byte* pmode = &mode) { fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, (ulong*)poutFileSize, (int)(0)); return ret; } } } } /// /// To be documented. /// public static void* ImFileLoadToMemory(ReadOnlySpan filename, ReadOnlySpan mode, ref nuint outFileSize, int paddingBytes) { fixed (byte* pfilename = filename) { fixed (byte* pmode = mode) { fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, (ulong*)poutFileSize, paddingBytes); return ret; } } } } /// /// To be documented. /// public static void* ImFileLoadToMemory(ReadOnlySpan filename, ReadOnlySpan mode, ref nuint outFileSize) { fixed (byte* pfilename = filename) { fixed (byte* pmode = mode) { fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, (ulong*)poutFileSize, (int)(0)); return ret; } } } } /// /// To be documented. /// public static void* ImFileLoadToMemory(string filename, string mode, ref nuint outFileSize, int paddingBytes) { byte* pStr0 = null; int pStrSize0 = 0; if (filename != null) { pStrSize0 = Utils.GetByteCountUTF8(filename); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte* pStr1 = null; int pStrSize1 = 0; if (mode != null) { pStrSize1 = Utils.GetByteCountUTF8(mode); if (pStrSize1 >= Utils.MaxStackallocSize) { pStr1 = Utils.Alloc(pStrSize1 + 1); } else { byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; pStr1 = pStrStack1; } int pStrOffset1 = Utils.EncodeStringUTF8(mode, pStr1, pStrSize1); pStr1[pStrOffset1] = 0; } fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative(pStr0, pStr1, (ulong*)poutFileSize, paddingBytes); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public static void* ImFileLoadToMemory(string filename, string mode, ref nuint outFileSize) { byte* pStr0 = null; int pStrSize0 = 0; if (filename != null) { pStrSize0 = Utils.GetByteCountUTF8(filename); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte* pStr1 = null; int pStrSize1 = 0; if (mode != null) { pStrSize1 = Utils.GetByteCountUTF8(mode); if (pStrSize1 >= Utils.MaxStackallocSize) { pStr1 = Utils.Alloc(pStrSize1 + 1); } else { byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; pStr1 = pStrStack1; } int pStrOffset1 = Utils.EncodeStringUTF8(mode, pStr1, pStrSize1); pStr1[pStrOffset1] = 0; } fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative(pStr0, pStr1, (ulong*)poutFileSize, (int)(0)); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public static void* ImFileLoadToMemory(ref byte filename, ReadOnlySpan mode, ref nuint outFileSize, int paddingBytes) { fixed (byte* pfilename = &filename) { fixed (byte* pmode = mode) { fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, (ulong*)poutFileSize, paddingBytes); return ret; } } } } /// /// To be documented. /// public static void* ImFileLoadToMemory(ref byte filename, ReadOnlySpan mode, ref nuint outFileSize) { fixed (byte* pfilename = &filename) { fixed (byte* pmode = mode) { fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, (ulong*)poutFileSize, (int)(0)); return ret; } } } } /// /// To be documented. /// public static void* ImFileLoadToMemory(ref byte filename, string mode, ref nuint outFileSize, int paddingBytes) { fixed (byte* pfilename = &filename) { byte* pStr0 = null; int pStrSize0 = 0; if (mode != null) { pStrSize0 = Utils.GetByteCountUTF8(mode); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(mode, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative((byte*)pfilename, pStr0, (ulong*)poutFileSize, paddingBytes); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } } /// /// To be documented. /// public static void* ImFileLoadToMemory(ref byte filename, string mode, ref nuint outFileSize) { fixed (byte* pfilename = &filename) { byte* pStr0 = null; int pStrSize0 = 0; if (mode != null) { pStrSize0 = Utils.GetByteCountUTF8(mode); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(mode, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative((byte*)pfilename, pStr0, (ulong*)poutFileSize, (int)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } } /// /// To be documented. /// public static void* ImFileLoadToMemory(ReadOnlySpan filename, ref byte mode, ref nuint outFileSize, int paddingBytes) { fixed (byte* pfilename = filename) { fixed (byte* pmode = &mode) { fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, (ulong*)poutFileSize, paddingBytes); return ret; } } } } /// /// To be documented. /// public static void* ImFileLoadToMemory(ReadOnlySpan filename, ref byte mode, ref nuint outFileSize) { fixed (byte* pfilename = filename) { fixed (byte* pmode = &mode) { fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, (ulong*)poutFileSize, (int)(0)); return ret; } } } } /// /// To be documented. /// public static void* ImFileLoadToMemory(ReadOnlySpan filename, string mode, ref nuint outFileSize, int paddingBytes) { fixed (byte* pfilename = filename) { byte* pStr0 = null; int pStrSize0 = 0; if (mode != null) { pStrSize0 = Utils.GetByteCountUTF8(mode); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(mode, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative((byte*)pfilename, pStr0, (ulong*)poutFileSize, paddingBytes); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } } /// /// To be documented. /// public static void* ImFileLoadToMemory(ReadOnlySpan filename, string mode, ref nuint outFileSize) { fixed (byte* pfilename = filename) { byte* pStr0 = null; int pStrSize0 = 0; if (mode != null) { pStrSize0 = Utils.GetByteCountUTF8(mode); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(mode, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative((byte*)pfilename, pStr0, (ulong*)poutFileSize, (int)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } } /// /// To be documented. /// public static void* ImFileLoadToMemory(string filename, ref byte mode, ref nuint outFileSize, int paddingBytes) { byte* pStr0 = null; int pStrSize0 = 0; if (filename != null) { pStrSize0 = Utils.GetByteCountUTF8(filename); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (byte* pmode = &mode) { fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative(pStr0, (byte*)pmode, (ulong*)poutFileSize, paddingBytes); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } } /// /// To be documented. /// public static void* ImFileLoadToMemory(string filename, ref byte mode, ref nuint outFileSize) { byte* pStr0 = null; int pStrSize0 = 0; if (filename != null) { pStrSize0 = Utils.GetByteCountUTF8(filename); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (byte* pmode = &mode) { fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative(pStr0, (byte*)pmode, (ulong*)poutFileSize, (int)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } } /// /// To be documented. /// public static void* ImFileLoadToMemory(string filename, ReadOnlySpan mode, ref nuint outFileSize, int paddingBytes) { byte* pStr0 = null; int pStrSize0 = 0; if (filename != null) { pStrSize0 = Utils.GetByteCountUTF8(filename); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (byte* pmode = mode) { fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative(pStr0, (byte*)pmode, (ulong*)poutFileSize, paddingBytes); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } } /// /// To be documented. /// public static void* ImFileLoadToMemory(string filename, ReadOnlySpan mode, ref nuint outFileSize) { byte* pStr0 = null; int pStrSize0 = 0; if (filename != null) { pStrSize0 = Utils.GetByteCountUTF8(filename); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (byte* pmode = mode) { fixed (nuint* poutFileSize = &outFileSize) { void* ret = ImFileLoadToMemoryNative(pStr0, (byte*)pmode, (ulong*)poutFileSize, (int)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float ImPowNative(float x, float y) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[731])(x, y); #else return (float)((delegate* unmanaged[Cdecl])funcTable[731])(x, y); #endif } /// /// To be documented. /// public static float ImPow(float x, float y) { float ret = ImPowNative(x, y); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImPowNative(double x, double y) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[732])(x, y); #else return (double)((delegate* unmanaged[Cdecl])funcTable[732])(x, y); #endif } /// /// To be documented. /// public static double ImPow(double x, double y) { double ret = ImPowNative(x, y); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float ImLogNative(float x) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[733])(x); #else return (float)((delegate* unmanaged[Cdecl])funcTable[733])(x); #endif } /// /// To be documented. /// public static float ImLog(float x) { float ret = ImLogNative(x); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImLogNative(double x) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[734])(x); #else return (double)((delegate* unmanaged[Cdecl])funcTable[734])(x); #endif } /// /// To be documented. /// public static double ImLog(double x) { double ret = ImLogNative(x); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static int ImAbsNative(int x) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[735])(x); #else return (int)((delegate* unmanaged[Cdecl])funcTable[735])(x); #endif } /// /// To be documented. /// public static int ImAbs(int x) { int ret = ImAbsNative(x); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float ImAbsNative(float x) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[736])(x); #else return (float)((delegate* unmanaged[Cdecl])funcTable[736])(x); #endif } /// /// To be documented. /// public static float ImAbs(float x) { float ret = ImAbsNative(x); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImAbsNative(double x) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[737])(x); #else return (double)((delegate* unmanaged[Cdecl])funcTable[737])(x); #endif } /// /// To be documented. /// public static double ImAbs(double x) { double ret = ImAbsNative(x); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float ImSignNative(float x) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[738])(x); #else return (float)((delegate* unmanaged[Cdecl])funcTable[738])(x); #endif } /// /// To be documented. /// public static float ImSign(float x) { float ret = ImSignNative(x); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImSignNative(double x) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[739])(x); #else return (double)((delegate* unmanaged[Cdecl])funcTable[739])(x); #endif } /// /// To be documented. /// public static double ImSign(double x) { double ret = ImSignNative(x); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float ImRsqrtNative(float x) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[740])(x); #else return (float)((delegate* unmanaged[Cdecl])funcTable[740])(x); #endif } /// /// To be documented. /// public static float ImRsqrt(float x) { float ret = ImRsqrtNative(x); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImRsqrtNative(double x) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[741])(x); #else return (double)((delegate* unmanaged[Cdecl])funcTable[741])(x); #endif } /// /// To be documented. /// public static double ImRsqrt(double x) { double ret = ImRsqrtNative(x); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImMinNative(Vector2* pOut, Vector2 lhs, Vector2 rhs) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[742])(pOut, lhs, rhs); #else ((delegate* unmanaged[Cdecl])funcTable[742])((nint)pOut, lhs, rhs); #endif } /// /// To be documented. /// public static Vector2 ImMin(Vector2 lhs, Vector2 rhs) { Vector2 ret; ImMinNative(&ret, lhs, rhs); return ret; } /// /// To be documented. /// public static void ImMin(Vector2* pOut, Vector2 lhs, Vector2 rhs) { ImMinNative(pOut, lhs, rhs); } /// /// To be documented. /// public static void ImMin(ref Vector2 pOut, Vector2 lhs, Vector2 rhs) { fixed (Vector2* ppOut = &pOut) { ImMinNative((Vector2*)ppOut, lhs, rhs); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImMaxNative(Vector2* pOut, Vector2 lhs, Vector2 rhs) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[743])(pOut, lhs, rhs); #else ((delegate* unmanaged[Cdecl])funcTable[743])((nint)pOut, lhs, rhs); #endif } /// /// To be documented. /// public static Vector2 ImMax(Vector2 lhs, Vector2 rhs) { Vector2 ret; ImMaxNative(&ret, lhs, rhs); return ret; } /// /// To be documented. /// public static void ImMax(Vector2* pOut, Vector2 lhs, Vector2 rhs) { ImMaxNative(pOut, lhs, rhs); } /// /// To be documented. /// public static void ImMax(ref Vector2 pOut, Vector2 lhs, Vector2 rhs) { fixed (Vector2* ppOut = &pOut) { ImMaxNative((Vector2*)ppOut, lhs, rhs); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImClampNative(Vector2* pOut, Vector2 v, Vector2 mn, Vector2 mx) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[744])(pOut, v, mn, mx); #else ((delegate* unmanaged[Cdecl])funcTable[744])((nint)pOut, v, mn, mx); #endif } /// /// To be documented. /// public static Vector2 ImClamp(Vector2 v, Vector2 mn, Vector2 mx) { Vector2 ret; ImClampNative(&ret, v, mn, mx); return ret; } /// /// To be documented. /// public static void ImClamp(Vector2* pOut, Vector2 v, Vector2 mn, Vector2 mx) { ImClampNative(pOut, v, mn, mx); } /// /// To be documented. /// public static void ImClamp(ref Vector2 pOut, Vector2 v, Vector2 mn, Vector2 mx) { fixed (Vector2* ppOut = &pOut) { ImClampNative((Vector2*)ppOut, v, mn, mx); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImLerpNative(Vector2* pOut, Vector2 a, Vector2 b, float t) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[745])(pOut, a, b, t); #else ((delegate* unmanaged[Cdecl])funcTable[745])((nint)pOut, a, b, t); #endif } /// /// To be documented. /// public static Vector2 ImLerp(Vector2 a, Vector2 b, float t) { Vector2 ret; ImLerpNative(&ret, a, b, t); return ret; } /// /// To be documented. /// public static void ImLerp(Vector2* pOut, Vector2 a, Vector2 b, float t) { ImLerpNative(pOut, a, b, t); } /// /// To be documented. /// public static void ImLerp(ref Vector2 pOut, Vector2 a, Vector2 b, float t) { fixed (Vector2* ppOut = &pOut) { ImLerpNative((Vector2*)ppOut, a, b, t); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImLerpNative(Vector2* pOut, Vector2 a, Vector2 b, Vector2 t) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[746])(pOut, a, b, t); #else ((delegate* unmanaged[Cdecl])funcTable[746])((nint)pOut, a, b, t); #endif } /// /// To be documented. /// public static Vector2 ImLerp(Vector2 a, Vector2 b, Vector2 t) { Vector2 ret; ImLerpNative(&ret, a, b, t); return ret; } /// /// To be documented. /// public static void ImLerp(Vector2* pOut, Vector2 a, Vector2 b, Vector2 t) { ImLerpNative(pOut, a, b, t); } /// /// To be documented. /// public static void ImLerp(ref Vector2 pOut, Vector2 a, Vector2 b, Vector2 t) { fixed (Vector2* ppOut = &pOut) { ImLerpNative((Vector2*)ppOut, a, b, t); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImLerpNative(Vector4* pOut, Vector4 a, Vector4 b, float t) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[747])(pOut, a, b, t); #else ((delegate* unmanaged[Cdecl])funcTable[747])((nint)pOut, a, b, t); #endif } /// /// To be documented. /// public static Vector4 ImLerp(Vector4 a, Vector4 b, float t) { Vector4 ret; ImLerpNative(&ret, a, b, t); return ret; } /// /// To be documented. /// public static void ImLerp(Vector4* pOut, Vector4 a, Vector4 b, float t) { ImLerpNative(pOut, a, b, t); } /// /// To be documented. /// public static void ImLerp(ref Vector4 pOut, Vector4 a, Vector4 b, float t) { fixed (Vector4* ppOut = &pOut) { ImLerpNative((Vector4*)ppOut, a, b, t); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float ImSaturateNative(float f) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[748])(f); #else return (float)((delegate* unmanaged[Cdecl])funcTable[748])(f); #endif } /// /// To be documented. /// public static float ImSaturate(float f) { float ret = ImSaturateNative(f); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float ImLengthSqrNative(Vector2 lhs) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[749])(lhs); #else return (float)((delegate* unmanaged[Cdecl])funcTable[749])(lhs); #endif } /// /// To be documented. /// public static float ImLengthSqr(Vector2 lhs) { float ret = ImLengthSqrNative(lhs); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float ImLengthSqrNative(Vector4 lhs) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[750])(lhs); #else return (float)((delegate* unmanaged[Cdecl])funcTable[750])(lhs); #endif } /// /// To be documented. /// public static float ImLengthSqr(Vector4 lhs) { float ret = ImLengthSqrNative(lhs); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float ImInvLengthNative(Vector2 lhs, float failValue) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[751])(lhs, failValue); #else return (float)((delegate* unmanaged[Cdecl])funcTable[751])(lhs, failValue); #endif } /// /// To be documented. /// public static float ImInvLength(Vector2 lhs, float failValue) { float ret = ImInvLengthNative(lhs, failValue); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float ImFloorNative(float f) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[752])(f); #else return (float)((delegate* unmanaged[Cdecl])funcTable[752])(f); #endif } /// /// To be documented. /// public static float ImFloor(float f) { float ret = ImFloorNative(f); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float ImFloorSignedNative(float f) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[753])(f); #else return (float)((delegate* unmanaged[Cdecl])funcTable[753])(f); #endif } /// /// To be documented. /// public static float ImFloorSigned(float f) { float ret = ImFloorSignedNative(f); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImFloorNative(Vector2* pOut, Vector2 v) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[754])(pOut, v); #else ((delegate* unmanaged[Cdecl])funcTable[754])((nint)pOut, v); #endif } /// /// To be documented. /// public static Vector2 ImFloor(Vector2 v) { Vector2 ret; ImFloorNative(&ret, v); return ret; } /// /// To be documented. /// public static void ImFloor(Vector2* pOut, Vector2 v) { ImFloorNative(pOut, v); } /// /// To be documented. /// public static void ImFloor(ref Vector2 pOut, Vector2 v) { fixed (Vector2* ppOut = &pOut) { ImFloorNative((Vector2*)ppOut, v); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImFloorSignedNative(Vector2* pOut, Vector2 v) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[755])(pOut, v); #else ((delegate* unmanaged[Cdecl])funcTable[755])((nint)pOut, v); #endif } /// /// To be documented. /// public static Vector2 ImFloorSigned(Vector2 v) { Vector2 ret; ImFloorSignedNative(&ret, v); return ret; } /// /// To be documented. /// public static void ImFloorSigned(Vector2* pOut, Vector2 v) { ImFloorSignedNative(pOut, v); } /// /// To be documented. /// public static void ImFloorSigned(ref Vector2 pOut, Vector2 v) { fixed (Vector2* ppOut = &pOut) { ImFloorSignedNative((Vector2*)ppOut, v); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static int ImModPositiveNative(int a, int b) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[756])(a, b); #else return (int)((delegate* unmanaged[Cdecl])funcTable[756])(a, b); #endif } /// /// To be documented. /// public static int ImModPositive(int a, int b) { int ret = ImModPositiveNative(a, b); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float ImDotNative(Vector2 a, Vector2 b) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[757])(a, b); #else return (float)((delegate* unmanaged[Cdecl])funcTable[757])(a, b); #endif } /// /// To be documented. /// public static float ImDot(Vector2 a, Vector2 b) { float ret = ImDotNative(a, b); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImRotateNative(Vector2* pOut, Vector2 v, float cosA, float sinA) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[758])(pOut, v, cosA, sinA); #else ((delegate* unmanaged[Cdecl])funcTable[758])((nint)pOut, v, cosA, sinA); #endif } /// /// To be documented. /// public static Vector2 ImRotate(Vector2 v, float cosA, float sinA) { Vector2 ret; ImRotateNative(&ret, v, cosA, sinA); return ret; } /// /// To be documented. /// public static void ImRotate(Vector2* pOut, Vector2 v, float cosA, float sinA) { ImRotateNative(pOut, v, cosA, sinA); } /// /// To be documented. /// public static void ImRotate(ref Vector2 pOut, Vector2 v, float cosA, float sinA) { fixed (Vector2* ppOut = &pOut) { ImRotateNative((Vector2*)ppOut, v, cosA, sinA); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float ImLinearSweepNative(float current, float target, float speed) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[759])(current, target, speed); #else return (float)((delegate* unmanaged[Cdecl])funcTable[759])(current, target, speed); #endif } /// /// To be documented. /// public static float ImLinearSweep(float current, float target, float speed) { float ret = ImLinearSweepNative(current, target, speed); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImMulNative(Vector2* pOut, Vector2 lhs, Vector2 rhs) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[760])(pOut, lhs, rhs); #else ((delegate* unmanaged[Cdecl])funcTable[760])((nint)pOut, lhs, rhs); #endif } /// /// To be documented. /// public static Vector2 ImMul(Vector2 lhs, Vector2 rhs) { Vector2 ret; ImMulNative(&ret, lhs, rhs); return ret; } /// /// To be documented. /// public static void ImMul(Vector2* pOut, Vector2 lhs, Vector2 rhs) { ImMulNative(pOut, lhs, rhs); } /// /// To be documented. /// public static void ImMul(ref Vector2 pOut, Vector2 lhs, Vector2 rhs) { fixed (Vector2* ppOut = &pOut) { ImMulNative((Vector2*)ppOut, lhs, rhs); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte ImIsFloatAboveGuaranteedIntegerPrecisionNative(float f) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[761])(f); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[761])(f); #endif } /// /// To be documented. /// public static bool ImIsFloatAboveGuaranteedIntegerPrecision(float f) { byte ret = ImIsFloatAboveGuaranteedIntegerPrecisionNative(f); return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImBezierCubicCalcNative(Vector2* pOut, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float t) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[762])(pOut, p1, p2, p3, p4, t); #else ((delegate* unmanaged[Cdecl])funcTable[762])((nint)pOut, p1, p2, p3, p4, t); #endif } /// /// To be documented. /// public static Vector2 ImBezierCubicCalc(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float t) { Vector2 ret; ImBezierCubicCalcNative(&ret, p1, p2, p3, p4, t); return ret; } /// /// To be documented. /// public static void ImBezierCubicCalc(Vector2* pOut, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float t) { ImBezierCubicCalcNative(pOut, p1, p2, p3, p4, t); } /// /// To be documented. /// public static void ImBezierCubicCalc(ref Vector2 pOut, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float t) { fixed (Vector2* ppOut = &pOut) { ImBezierCubicCalcNative((Vector2*)ppOut, p1, p2, p3, p4, t); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImBezierCubicClosestPointNative(Vector2* pOut, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p, int numSegments) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[763])(pOut, p1, p2, p3, p4, p, numSegments); #else ((delegate* unmanaged[Cdecl])funcTable[763])((nint)pOut, p1, p2, p3, p4, p, numSegments); #endif } /// /// To be documented. /// public static Vector2 ImBezierCubicClosestPoint(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p, int numSegments) { Vector2 ret; ImBezierCubicClosestPointNative(&ret, p1, p2, p3, p4, p, numSegments); return ret; } /// /// To be documented. /// public static void ImBezierCubicClosestPoint(Vector2* pOut, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p, int numSegments) { ImBezierCubicClosestPointNative(pOut, p1, p2, p3, p4, p, numSegments); } /// /// To be documented. /// public static void ImBezierCubicClosestPoint(ref Vector2 pOut, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p, int numSegments) { fixed (Vector2* ppOut = &pOut) { ImBezierCubicClosestPointNative((Vector2*)ppOut, p1, p2, p3, p4, p, numSegments); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImBezierCubicClosestPointCasteljauNative(Vector2* pOut, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p, float tessTol) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[764])(pOut, p1, p2, p3, p4, p, tessTol); #else ((delegate* unmanaged[Cdecl])funcTable[764])((nint)pOut, p1, p2, p3, p4, p, tessTol); #endif } /// /// To be documented. /// public static Vector2 ImBezierCubicClosestPointCasteljau(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p, float tessTol) { Vector2 ret; ImBezierCubicClosestPointCasteljauNative(&ret, p1, p2, p3, p4, p, tessTol); return ret; } /// /// To be documented. /// public static void ImBezierCubicClosestPointCasteljau(Vector2* pOut, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p, float tessTol) { ImBezierCubicClosestPointCasteljauNative(pOut, p1, p2, p3, p4, p, tessTol); } /// /// To be documented. /// public static void ImBezierCubicClosestPointCasteljau(ref Vector2 pOut, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p, float tessTol) { fixed (Vector2* ppOut = &pOut) { ImBezierCubicClosestPointCasteljauNative((Vector2*)ppOut, p1, p2, p3, p4, p, tessTol); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImBezierQuadraticCalcNative(Vector2* pOut, Vector2 p1, Vector2 p2, Vector2 p3, float t) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[765])(pOut, p1, p2, p3, t); #else ((delegate* unmanaged[Cdecl])funcTable[765])((nint)pOut, p1, p2, p3, t); #endif } /// /// To be documented. /// public static Vector2 ImBezierQuadraticCalc(Vector2 p1, Vector2 p2, Vector2 p3, float t) { Vector2 ret; ImBezierQuadraticCalcNative(&ret, p1, p2, p3, t); return ret; } /// /// To be documented. /// public static void ImBezierQuadraticCalc(Vector2* pOut, Vector2 p1, Vector2 p2, Vector2 p3, float t) { ImBezierQuadraticCalcNative(pOut, p1, p2, p3, t); } /// /// To be documented. /// public static void ImBezierQuadraticCalc(ref Vector2 pOut, Vector2 p1, Vector2 p2, Vector2 p3, float t) { fixed (Vector2* ppOut = &pOut) { ImBezierQuadraticCalcNative((Vector2*)ppOut, p1, p2, p3, t); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImLineClosestPointNative(Vector2* pOut, Vector2 a, Vector2 b, Vector2 p) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[766])(pOut, a, b, p); #else ((delegate* unmanaged[Cdecl])funcTable[766])((nint)pOut, a, b, p); #endif } /// /// To be documented. /// public static Vector2 ImLineClosestPoint(Vector2 a, Vector2 b, Vector2 p) { Vector2 ret; ImLineClosestPointNative(&ret, a, b, p); return ret; } /// /// To be documented. /// public static void ImLineClosestPoint(Vector2* pOut, Vector2 a, Vector2 b, Vector2 p) { ImLineClosestPointNative(pOut, a, b, p); } /// /// To be documented. /// public static void ImLineClosestPoint(ref Vector2 pOut, Vector2 a, Vector2 b, Vector2 p) { fixed (Vector2* ppOut = &pOut) { ImLineClosestPointNative((Vector2*)ppOut, a, b, p); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte ImTriangleContainsPointNative(Vector2 a, Vector2 b, Vector2 c, Vector2 p) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[767])(a, b, c, p); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[767])(a, b, c, p); #endif } /// /// To be documented. /// public static bool ImTriangleContainsPoint(Vector2 a, Vector2 b, Vector2 c, Vector2 p) { byte ret = ImTriangleContainsPointNative(a, b, c, p); return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImTriangleClosestPointNative(Vector2* pOut, Vector2 a, Vector2 b, Vector2 c, Vector2 p) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[768])(pOut, a, b, c, p); #else ((delegate* unmanaged[Cdecl])funcTable[768])((nint)pOut, a, b, c, p); #endif } /// /// To be documented. /// public static Vector2 ImTriangleClosestPoint(Vector2 a, Vector2 b, Vector2 c, Vector2 p) { Vector2 ret; ImTriangleClosestPointNative(&ret, a, b, c, p); return ret; } /// /// To be documented. /// public static void ImTriangleClosestPoint(Vector2* pOut, Vector2 a, Vector2 b, Vector2 c, Vector2 p) { ImTriangleClosestPointNative(pOut, a, b, c, p); } /// /// To be documented. /// public static void ImTriangleClosestPoint(ref Vector2 pOut, Vector2 a, Vector2 b, Vector2 c, Vector2 p) { fixed (Vector2* ppOut = &pOut) { ImTriangleClosestPointNative((Vector2*)ppOut, a, b, c, p); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImTriangleBarycentricCoordsNative(Vector2 a, Vector2 b, Vector2 c, Vector2 p, float* outU, float* outV, float* outW) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[769])(a, b, c, p, outU, outV, outW); #else ((delegate* unmanaged[Cdecl])funcTable[769])(a, b, c, p, (nint)outU, (nint)outV, (nint)outW); #endif } /// /// To be documented. /// public static void ImTriangleBarycentricCoords(Vector2 a, Vector2 b, Vector2 c, Vector2 p, float* outU, float* outV, float* outW) { ImTriangleBarycentricCoordsNative(a, b, c, p, outU, outV, outW); } /// /// To be documented. /// public static void ImTriangleBarycentricCoords(Vector2 a, Vector2 b, Vector2 c, Vector2 p, ref float outU, float* outV, float* outW) { fixed (float* poutU = &outU) { ImTriangleBarycentricCoordsNative(a, b, c, p, (float*)poutU, outV, outW); } } /// /// To be documented. /// public static void ImTriangleBarycentricCoords(Vector2 a, Vector2 b, Vector2 c, Vector2 p, float* outU, ref float outV, float* outW) { fixed (float* poutV = &outV) { ImTriangleBarycentricCoordsNative(a, b, c, p, outU, (float*)poutV, outW); } } /// /// To be documented. /// public static void ImTriangleBarycentricCoords(Vector2 a, Vector2 b, Vector2 c, Vector2 p, ref float outU, ref float outV, float* outW) { fixed (float* poutU = &outU) { fixed (float* poutV = &outV) { ImTriangleBarycentricCoordsNative(a, b, c, p, (float*)poutU, (float*)poutV, outW); } } } /// /// To be documented. /// public static void ImTriangleBarycentricCoords(Vector2 a, Vector2 b, Vector2 c, Vector2 p, float* outU, float* outV, ref float outW) { fixed (float* poutW = &outW) { ImTriangleBarycentricCoordsNative(a, b, c, p, outU, outV, (float*)poutW); } } /// /// To be documented. /// public static void ImTriangleBarycentricCoords(Vector2 a, Vector2 b, Vector2 c, Vector2 p, ref float outU, float* outV, ref float outW) { fixed (float* poutU = &outU) { fixed (float* poutW = &outW) { ImTriangleBarycentricCoordsNative(a, b, c, p, (float*)poutU, outV, (float*)poutW); } } } /// /// To be documented. /// public static void ImTriangleBarycentricCoords(Vector2 a, Vector2 b, Vector2 c, Vector2 p, float* outU, ref float outV, ref float outW) { fixed (float* poutV = &outV) { fixed (float* poutW = &outW) { ImTriangleBarycentricCoordsNative(a, b, c, p, outU, (float*)poutV, (float*)poutW); } } } /// /// To be documented. /// public static void ImTriangleBarycentricCoords(Vector2 a, Vector2 b, Vector2 c, Vector2 p, ref float outU, ref float outV, ref float outW) { fixed (float* poutU = &outU) { fixed (float* poutV = &outV) { fixed (float* poutW = &outW) { ImTriangleBarycentricCoordsNative(a, b, c, p, (float*)poutU, (float*)poutV, (float*)poutW); } } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float ImTriangleAreaNative(Vector2 a, Vector2 b, Vector2 c) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[770])(a, b, c); #else return (float)((delegate* unmanaged[Cdecl])funcTable[770])(a, b, c); #endif } /// /// To be documented. /// public static float ImTriangleArea(Vector2 a, Vector2 b, Vector2 c) { float ret = ImTriangleAreaNative(a, b, c); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiDir ImGetDirQuadrantFromDeltaNative(float dx, float dy) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[771])(dx, dy); #else return (ImGuiDir)((delegate* unmanaged[Cdecl])funcTable[771])(dx, dy); #endif } /// /// To be documented. /// public static ImGuiDir ImGetDirQuadrantFromDelta(float dx, float dy) { ImGuiDir ret = ImGetDirQuadrantFromDeltaNative(dx, dy); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImVec1* ImVec1Native() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[772])(); #else return (ImVec1*)((delegate* unmanaged[Cdecl])funcTable[772])(); #endif } /// /// To be documented. /// public static ImVec1Ptr ImVec1() { ImVec1Ptr ret = ImVec1Native(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImVec1* ImVec1Native(float x) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[773])(x); #else return (ImVec1*)((delegate* unmanaged[Cdecl])funcTable[773])(x); #endif } /// /// To be documented. /// public static ImVec1Ptr ImVec1(float x) { ImVec1Ptr ret = ImVec1Native(x); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImVec2Ih* ImVec2ihNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[774])(); #else return (ImVec2Ih*)((delegate* unmanaged[Cdecl])funcTable[774])(); #endif } /// /// To be documented. /// public static ImVec2IhPtr ImVec2ih() { ImVec2IhPtr ret = ImVec2ihNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImVec2Ih* ImVec2ihNative(short x, short y) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[775])(x, y); #else return (ImVec2Ih*)((delegate* unmanaged[Cdecl])funcTable[775])(x, y); #endif } /// /// To be documented. /// public static ImVec2IhPtr ImVec2ih(short x, short y) { ImVec2IhPtr ret = ImVec2ihNative(x, y); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImVec2Ih* ImVec2ihNative(Vector2 rhs) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[776])(rhs); #else return (ImVec2Ih*)((delegate* unmanaged[Cdecl])funcTable[776])(rhs); #endif } /// /// To be documented. /// public static ImVec2IhPtr ImVec2ih(Vector2 rhs) { ImVec2IhPtr ret = ImVec2ihNative(rhs); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImRect* ImRectNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[777])(); #else return (ImRect*)((delegate* unmanaged[Cdecl])funcTable[777])(); #endif } /// /// To be documented. /// public static ImRectPtr ImRect() { ImRectPtr ret = ImRectNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImRect* ImRectNative(Vector2 min, Vector2 max) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[778])(min, max); #else return (ImRect*)((delegate* unmanaged[Cdecl])funcTable[778])(min, max); #endif } /// /// To be documented. /// public static ImRectPtr ImRect(Vector2 min, Vector2 max) { ImRectPtr ret = ImRectNative(min, max); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImRect* ImRectNative(Vector4 v) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[779])(v); #else return (ImRect*)((delegate* unmanaged[Cdecl])funcTable[779])(v); #endif } /// /// To be documented. /// public static ImRectPtr ImRect(Vector4 v) { ImRectPtr ret = ImRectNative(v); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImRect* ImRectNative(float x1, float y1, float x2, float y2) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[780])(x1, y1, x2, y2); #else return (ImRect*)((delegate* unmanaged[Cdecl])funcTable[780])(x1, y1, x2, y2); #endif } /// /// To be documented. /// public static ImRectPtr ImRect(float x1, float y1, float x2, float y2) { ImRectPtr ret = ImRectNative(x1, y1, x2, y2); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void GetCenterNative(Vector2* pOut, ImRect* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[781])(pOut, self); #else ((delegate* unmanaged[Cdecl])funcTable[781])((nint)pOut, (nint)self); #endif } /// /// To be documented. /// public static Vector2 GetCenter(ImRectPtr self) { Vector2 ret; GetCenterNative(&ret, self); return ret; } /// /// To be documented. /// public static void GetCenter(Vector2* pOut, ImRectPtr self) { GetCenterNative(pOut, self); } /// /// To be documented. /// public static void GetCenter(ref Vector2 pOut, ImRectPtr self) { fixed (Vector2* ppOut = &pOut) { GetCenterNative((Vector2*)ppOut, self); } } /// /// To be documented. /// public static Vector2 GetCenter(ref ImRect self) { fixed (ImRect* pself = &self) { Vector2 ret; GetCenterNative(&ret, (ImRect*)pself); return ret; } } /// /// To be documented. /// public static void GetCenter(Vector2* pOut, ref ImRect self) { fixed (ImRect* pself = &self) { GetCenterNative(pOut, (ImRect*)pself); } } /// /// To be documented. /// public static void GetCenter(ref Vector2 pOut, ref ImRect self) { fixed (Vector2* ppOut = &pOut) { fixed (ImRect* pself = &self) { GetCenterNative((Vector2*)ppOut, (ImRect*)pself); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void GetSizeNative(Vector2* pOut, ImRect* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[782])(pOut, self); #else ((delegate* unmanaged[Cdecl])funcTable[782])((nint)pOut, (nint)self); #endif } /// /// To be documented. /// public static Vector2 GetSize(ImRectPtr self) { Vector2 ret; GetSizeNative(&ret, self); return ret; } /// /// To be documented. /// public static void GetSize(Vector2* pOut, ImRectPtr self) { GetSizeNative(pOut, self); } /// /// To be documented. /// public static void GetSize(ref Vector2 pOut, ImRectPtr self) { fixed (Vector2* ppOut = &pOut) { GetSizeNative((Vector2*)ppOut, self); } } /// /// To be documented. /// public static Vector2 GetSize(ref ImRect self) { fixed (ImRect* pself = &self) { Vector2 ret; GetSizeNative(&ret, (ImRect*)pself); return ret; } } /// /// To be documented. /// public static void GetSize(Vector2* pOut, ref ImRect self) { fixed (ImRect* pself = &self) { GetSizeNative(pOut, (ImRect*)pself); } } /// /// To be documented. /// public static void GetSize(ref Vector2 pOut, ref ImRect self) { fixed (Vector2* ppOut = &pOut) { fixed (ImRect* pself = &self) { GetSizeNative((Vector2*)ppOut, (ImRect*)pself); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float GetWidthNative(ImRect* self) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[783])(self); #else return (float)((delegate* unmanaged[Cdecl])funcTable[783])((nint)self); #endif } /// /// To be documented. /// public static float GetWidth(ImRectPtr self) { float ret = GetWidthNative(self); return ret; } /// /// To be documented. /// public static float GetWidth(ref ImRect self) { fixed (ImRect* pself = &self) { float ret = GetWidthNative((ImRect*)pself); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float GetHeightNative(ImRect* self) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[784])(self); #else return (float)((delegate* unmanaged[Cdecl])funcTable[784])((nint)self); #endif } /// /// To be documented. /// public static float GetHeight(ImRectPtr self) { float ret = GetHeightNative(self); return ret; } /// /// To be documented. /// public static float GetHeight(ref ImRect self) { fixed (ImRect* pself = &self) { float ret = GetHeightNative((ImRect*)pself); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float GetAreaNative(ImRect* self) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[785])(self); #else return (float)((delegate* unmanaged[Cdecl])funcTable[785])((nint)self); #endif } /// /// To be documented. /// public static float GetArea(ImRectPtr self) { float ret = GetAreaNative(self); return ret; } /// /// To be documented. /// public static float GetArea(ref ImRect self) { fixed (ImRect* pself = &self) { float ret = GetAreaNative((ImRect*)pself); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void GetTLNative(Vector2* pOut, ImRect* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[786])(pOut, self); #else ((delegate* unmanaged[Cdecl])funcTable[786])((nint)pOut, (nint)self); #endif } /// /// To be documented. /// public static Vector2 GetTL(ImRectPtr self) { Vector2 ret; GetTLNative(&ret, self); return ret; } /// /// To be documented. /// public static void GetTL(Vector2* pOut, ImRectPtr self) { GetTLNative(pOut, self); } /// /// To be documented. /// public static void GetTL(ref Vector2 pOut, ImRectPtr self) { fixed (Vector2* ppOut = &pOut) { GetTLNative((Vector2*)ppOut, self); } } /// /// To be documented. /// public static Vector2 GetTL(ref ImRect self) { fixed (ImRect* pself = &self) { Vector2 ret; GetTLNative(&ret, (ImRect*)pself); return ret; } } /// /// To be documented. /// public static void GetTL(Vector2* pOut, ref ImRect self) { fixed (ImRect* pself = &self) { GetTLNative(pOut, (ImRect*)pself); } } /// /// To be documented. /// public static void GetTL(ref Vector2 pOut, ref ImRect self) { fixed (Vector2* ppOut = &pOut) { fixed (ImRect* pself = &self) { GetTLNative((Vector2*)ppOut, (ImRect*)pself); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void GetTRNative(Vector2* pOut, ImRect* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[787])(pOut, self); #else ((delegate* unmanaged[Cdecl])funcTable[787])((nint)pOut, (nint)self); #endif } /// /// To be documented. /// public static Vector2 GetTR(ImRectPtr self) { Vector2 ret; GetTRNative(&ret, self); return ret; } /// /// To be documented. /// public static void GetTR(Vector2* pOut, ImRectPtr self) { GetTRNative(pOut, self); } /// /// To be documented. /// public static void GetTR(ref Vector2 pOut, ImRectPtr self) { fixed (Vector2* ppOut = &pOut) { GetTRNative((Vector2*)ppOut, self); } } /// /// To be documented. /// public static Vector2 GetTR(ref ImRect self) { fixed (ImRect* pself = &self) { Vector2 ret; GetTRNative(&ret, (ImRect*)pself); return ret; } } /// /// To be documented. /// public static void GetTR(Vector2* pOut, ref ImRect self) { fixed (ImRect* pself = &self) { GetTRNative(pOut, (ImRect*)pself); } } /// /// To be documented. /// public static void GetTR(ref Vector2 pOut, ref ImRect self) { fixed (Vector2* ppOut = &pOut) { fixed (ImRect* pself = &self) { GetTRNative((Vector2*)ppOut, (ImRect*)pself); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void GetBLNative(Vector2* pOut, ImRect* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[788])(pOut, self); #else ((delegate* unmanaged[Cdecl])funcTable[788])((nint)pOut, (nint)self); #endif } /// /// To be documented. /// public static Vector2 GetBL(ImRectPtr self) { Vector2 ret; GetBLNative(&ret, self); return ret; } /// /// To be documented. /// public static void GetBL(Vector2* pOut, ImRectPtr self) { GetBLNative(pOut, self); } /// /// To be documented. /// public static void GetBL(ref Vector2 pOut, ImRectPtr self) { fixed (Vector2* ppOut = &pOut) { GetBLNative((Vector2*)ppOut, self); } } /// /// To be documented. /// public static Vector2 GetBL(ref ImRect self) { fixed (ImRect* pself = &self) { Vector2 ret; GetBLNative(&ret, (ImRect*)pself); return ret; } } /// /// To be documented. /// public static void GetBL(Vector2* pOut, ref ImRect self) { fixed (ImRect* pself = &self) { GetBLNative(pOut, (ImRect*)pself); } } /// /// To be documented. /// public static void GetBL(ref Vector2 pOut, ref ImRect self) { fixed (Vector2* ppOut = &pOut) { fixed (ImRect* pself = &self) { GetBLNative((Vector2*)ppOut, (ImRect*)pself); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void GetBRNative(Vector2* pOut, ImRect* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[789])(pOut, self); #else ((delegate* unmanaged[Cdecl])funcTable[789])((nint)pOut, (nint)self); #endif } /// /// To be documented. /// public static Vector2 GetBR(ImRectPtr self) { Vector2 ret; GetBRNative(&ret, self); return ret; } /// /// To be documented. /// public static void GetBR(Vector2* pOut, ImRectPtr self) { GetBRNative(pOut, self); } /// /// To be documented. /// public static void GetBR(ref Vector2 pOut, ImRectPtr self) { fixed (Vector2* ppOut = &pOut) { GetBRNative((Vector2*)ppOut, self); } } /// /// To be documented. /// public static Vector2 GetBR(ref ImRect self) { fixed (ImRect* pself = &self) { Vector2 ret; GetBRNative(&ret, (ImRect*)pself); return ret; } } /// /// To be documented. /// public static void GetBR(Vector2* pOut, ref ImRect self) { fixed (ImRect* pself = &self) { GetBRNative(pOut, (ImRect*)pself); } } /// /// To be documented. /// public static void GetBR(ref Vector2 pOut, ref ImRect self) { fixed (Vector2* ppOut = &pOut) { fixed (ImRect* pself = &self) { GetBRNative((Vector2*)ppOut, (ImRect*)pself); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte ContainsNative(ImRect* self, Vector2 p) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[790])(self, p); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[790])((nint)self, p); #endif } /// /// To be documented. /// public static bool Contains(ImRectPtr self, Vector2 p) { byte ret = ContainsNative(self, p); return ret != 0; } /// /// To be documented. /// public static bool Contains(ref ImRect self, Vector2 p) { fixed (ImRect* pself = &self) { byte ret = ContainsNative((ImRect*)pself, p); return ret != 0; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte ContainsNative(ImRect* self, ImRect r) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[791])(self, r); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[791])((nint)self, r); #endif } /// /// To be documented. /// public static bool Contains(ImRectPtr self, ImRect r) { byte ret = ContainsNative(self, r); return ret != 0; } /// /// To be documented. /// public static bool Contains(ref ImRect self, ImRect r) { fixed (ImRect* pself = &self) { byte ret = ContainsNative((ImRect*)pself, r); return ret != 0; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte OverlapsNative(ImRect* self, ImRect r) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[792])(self, r); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[792])((nint)self, r); #endif } /// /// To be documented. /// public static bool Overlaps(ImRectPtr self, ImRect r) { byte ret = OverlapsNative(self, r); return ret != 0; } /// /// To be documented. /// public static bool Overlaps(ref ImRect self, ImRect r) { fixed (ImRect* pself = &self) { byte ret = OverlapsNative((ImRect*)pself, r); return ret != 0; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void AddNative(ImRect* self, Vector2 p) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[793])(self, p); #else ((delegate* unmanaged[Cdecl])funcTable[793])((nint)self, p); #endif } /// /// To be documented. /// public static void Add(ImRectPtr self, Vector2 p) { AddNative(self, p); } /// /// To be documented. /// public static void Add(ref ImRect self, Vector2 p) { fixed (ImRect* pself = &self) { AddNative((ImRect*)pself, p); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void AddNative(ImRect* self, ImRect r) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[794])(self, r); #else ((delegate* unmanaged[Cdecl])funcTable[794])((nint)self, r); #endif } /// /// To be documented. /// public static void Add(ImRectPtr self, ImRect r) { AddNative(self, r); } /// /// To be documented. /// public static void Add(ref ImRect self, ImRect r) { fixed (ImRect* pself = &self) { AddNative((ImRect*)pself, r); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ExpandNative(ImRect* self, float amount) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[795])(self, amount); #else ((delegate* unmanaged[Cdecl])funcTable[795])((nint)self, amount); #endif } /// /// To be documented. /// public static void Expand(ImRectPtr self, float amount) { ExpandNative(self, amount); } /// /// To be documented. /// public static void Expand(ref ImRect self, float amount) { fixed (ImRect* pself = &self) { ExpandNative((ImRect*)pself, amount); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ExpandNative(ImRect* self, Vector2 amount) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[796])(self, amount); #else ((delegate* unmanaged[Cdecl])funcTable[796])((nint)self, amount); #endif } /// /// To be documented. /// public static void Expand(ImRectPtr self, Vector2 amount) { ExpandNative(self, amount); } /// /// To be documented. /// public static void Expand(ref ImRect self, Vector2 amount) { fixed (ImRect* pself = &self) { ExpandNative((ImRect*)pself, amount); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void TranslateNative(ImRect* self, Vector2 d) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[797])(self, d); #else ((delegate* unmanaged[Cdecl])funcTable[797])((nint)self, d); #endif } /// /// To be documented. /// public static void Translate(ImRectPtr self, Vector2 d) { TranslateNative(self, d); } /// /// To be documented. /// public static void Translate(ref ImRect self, Vector2 d) { fixed (ImRect* pself = &self) { TranslateNative((ImRect*)pself, d); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void TranslateXNative(ImRect* self, float dx) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[798])(self, dx); #else ((delegate* unmanaged[Cdecl])funcTable[798])((nint)self, dx); #endif } /// /// To be documented. /// public static void TranslateX(ImRectPtr self, float dx) { TranslateXNative(self, dx); } /// /// To be documented. /// public static void TranslateX(ref ImRect self, float dx) { fixed (ImRect* pself = &self) { TranslateXNative((ImRect*)pself, dx); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void TranslateYNative(ImRect* self, float dy) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[799])(self, dy); #else ((delegate* unmanaged[Cdecl])funcTable[799])((nint)self, dy); #endif } /// /// To be documented. /// public static void TranslateY(ImRectPtr self, float dy) { TranslateYNative(self, dy); } /// /// To be documented. /// public static void TranslateY(ref ImRect self, float dy) { fixed (ImRect* pself = &self) { TranslateYNative((ImRect*)pself, dy); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ClipWithNative(ImRect* self, ImRect r) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[800])(self, r); #else ((delegate* unmanaged[Cdecl])funcTable[800])((nint)self, r); #endif } /// /// To be documented. /// public static void ClipWith(ImRectPtr self, ImRect r) { ClipWithNative(self, r); } /// /// To be documented. /// public static void ClipWith(ref ImRect self, ImRect r) { fixed (ImRect* pself = &self) { ClipWithNative((ImRect*)pself, r); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ClipWithFullNative(ImRect* self, ImRect r) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[801])(self, r); #else ((delegate* unmanaged[Cdecl])funcTable[801])((nint)self, r); #endif } /// /// To be documented. /// public static void ClipWithFull(ImRectPtr self, ImRect r) { ClipWithFullNative(self, r); } /// /// To be documented. /// public static void ClipWithFull(ref ImRect self, ImRect r) { fixed (ImRect* pself = &self) { ClipWithFullNative((ImRect*)pself, r); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void FloorNative(ImRect* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[802])(self); #else ((delegate* unmanaged[Cdecl])funcTable[802])((nint)self); #endif } /// /// To be documented. /// public static void Floor(ImRectPtr self) { FloorNative(self); } /// /// To be documented. /// public static void Floor(ref ImRect self) { fixed (ImRect* pself = &self) { FloorNative((ImRect*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte IsInvertedNative(ImRect* self) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[803])(self); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[803])((nint)self); #endif } /// /// To be documented. /// public static bool IsInverted(ImRectPtr self) { byte ret = IsInvertedNative(self); return ret != 0; } /// /// To be documented. /// public static bool IsInverted(ref ImRect self) { fixed (ImRect* pself = &self) { byte ret = IsInvertedNative((ImRect*)pself); return ret != 0; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ToVec4Native(Vector4* pOut, ImRect* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[804])(pOut, self); #else ((delegate* unmanaged[Cdecl])funcTable[804])((nint)pOut, (nint)self); #endif } /// /// To be documented. /// public static Vector4 ToVec4(ImRectPtr self) { Vector4 ret; ToVec4Native(&ret, self); return ret; } /// /// To be documented. /// public static void ToVec4(Vector4* pOut, ImRectPtr self) { ToVec4Native(pOut, self); } /// /// To be documented. /// public static void ToVec4(ref Vector4 pOut, ImRectPtr self) { fixed (Vector4* ppOut = &pOut) { ToVec4Native((Vector4*)ppOut, self); } } /// /// To be documented. /// public static Vector4 ToVec4(ref ImRect self) { fixed (ImRect* pself = &self) { Vector4 ret; ToVec4Native(&ret, (ImRect*)pself); return ret; } } /// /// To be documented. /// public static void ToVec4(Vector4* pOut, ref ImRect self) { fixed (ImRect* pself = &self) { ToVec4Native(pOut, (ImRect*)pself); } } /// /// To be documented. /// public static void ToVec4(ref Vector4 pOut, ref ImRect self) { fixed (Vector4* ppOut = &pOut) { fixed (ImRect* pself = &self) { ToVec4Native((Vector4*)ppOut, (ImRect*)pself); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte ImBitArrayTestBitNative(uint* arr, int n) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[805])(arr, n); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[805])((nint)arr, n); #endif } /// /// To be documented. /// public static bool ImBitArrayTestBit(uint* arr, int n) { byte ret = ImBitArrayTestBitNative(arr, n); return ret != 0; } /// /// To be documented. /// public static bool ImBitArrayTestBit(ref uint arr, int n) { fixed (uint* parr = &arr) { byte ret = ImBitArrayTestBitNative((uint*)parr, n); return ret != 0; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImBitArrayClearBitNative(uint* arr, int n) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[806])(arr, n); #else ((delegate* unmanaged[Cdecl])funcTable[806])((nint)arr, n); #endif } /// /// To be documented. /// public static void ImBitArrayClearBit(uint* arr, int n) { ImBitArrayClearBitNative(arr, n); } /// /// To be documented. /// public static void ImBitArrayClearBit(ref uint arr, int n) { fixed (uint* parr = &arr) { ImBitArrayClearBitNative((uint*)parr, n); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImBitArraySetBitNative(uint* arr, int n) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[807])(arr, n); #else ((delegate* unmanaged[Cdecl])funcTable[807])((nint)arr, n); #endif } /// /// To be documented. /// public static void ImBitArraySetBit(uint* arr, int n) { ImBitArraySetBitNative(arr, n); } /// /// To be documented. /// public static void ImBitArraySetBit(ref uint arr, int n) { fixed (uint* parr = &arr) { ImBitArraySetBitNative((uint*)parr, n); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImBitArraySetBitRangeNative(uint* arr, int n, int n2) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[808])(arr, n, n2); #else ((delegate* unmanaged[Cdecl])funcTable[808])((nint)arr, n, n2); #endif } /// /// To be documented. /// public static void ImBitArraySetBitRange(uint* arr, int n, int n2) { ImBitArraySetBitRangeNative(arr, n, n2); } /// /// To be documented. /// public static void ImBitArraySetBitRange(ref uint arr, int n, int n2) { fixed (uint* parr = &arr) { ImBitArraySetBitRangeNative((uint*)parr, n, n2); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void CreateNative(ImBitVector* self, int sz) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[809])(self, sz); #else ((delegate* unmanaged[Cdecl])funcTable[809])((nint)self, sz); #endif } /// /// To be documented. /// public static void Create(ImBitVectorPtr self, int sz) { CreateNative(self, sz); } /// /// To be documented. /// public static void Create(ref ImBitVector self, int sz) { fixed (ImBitVector* pself = &self) { CreateNative((ImBitVector*)pself, sz); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ClearNative(ImBitVector* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[810])(self); #else ((delegate* unmanaged[Cdecl])funcTable[810])((nint)self); #endif } /// /// To be documented. /// public static void Clear(ImBitVectorPtr self) { ClearNative(self); } /// /// To be documented. /// public static void Clear(ref ImBitVector self) { fixed (ImBitVector* pself = &self) { ClearNative((ImBitVector*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte TestBitNative(ImBitVector* self, int n) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[811])(self, n); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[811])((nint)self, n); #endif } /// /// To be documented. /// public static bool TestBit(ImBitVectorPtr self, int n) { byte ret = TestBitNative(self, n); return ret != 0; } /// /// To be documented. /// public static bool TestBit(ref ImBitVector self, int n) { fixed (ImBitVector* pself = &self) { byte ret = TestBitNative((ImBitVector*)pself, n); return ret != 0; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void SetBitNative(ImBitVector* self, int n) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[812])(self, n); #else ((delegate* unmanaged[Cdecl])funcTable[812])((nint)self, n); #endif } /// /// To be documented. /// public static void SetBit(ImBitVectorPtr self, int n) { SetBitNative(self, n); } /// /// To be documented. /// public static void SetBit(ref ImBitVector self, int n) { fixed (ImBitVector* pself = &self) { SetBitNative((ImBitVector*)pself, n); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ClearBitNative(ImBitVector* self, int n) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[813])(self, n); #else ((delegate* unmanaged[Cdecl])funcTable[813])((nint)self, n); #endif } /// /// To be documented. /// public static void ClearBit(ImBitVectorPtr self, int n) { ClearBitNative(self, n); } /// /// To be documented. /// public static void ClearBit(ref ImBitVector self, int n) { fixed (ImBitVector* pself = &self) { ClearBitNative((ImBitVector*)pself, n); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImDrawListSharedData* ImDrawListSharedDataNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[814])(); #else return (ImDrawListSharedData*)((delegate* unmanaged[Cdecl])funcTable[814])(); #endif } /// /// To be documented. /// public static ImDrawListSharedDataPtr ImDrawListSharedData() { ImDrawListSharedDataPtr ret = ImDrawListSharedDataNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void SetCircleTessellationMaxErrorNative(ImDrawListSharedData* self, float maxError) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[815])(self, maxError); #else ((delegate* unmanaged[Cdecl])funcTable[815])((nint)self, maxError); #endif } /// /// To be documented. /// public static void SetCircleTessellationMaxError(ImDrawListSharedDataPtr self, float maxError) { SetCircleTessellationMaxErrorNative(self, maxError); } /// /// To be documented. /// public static void SetCircleTessellationMaxError(ref ImDrawListSharedData self, float maxError) { fixed (ImDrawListSharedData* pself = &self) { SetCircleTessellationMaxErrorNative((ImDrawListSharedData*)pself, maxError); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ClearNative(ImDrawDataBuilder* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[816])(self); #else ((delegate* unmanaged[Cdecl])funcTable[816])((nint)self); #endif } /// /// To be documented. /// public static void Clear(ImDrawDataBuilderPtr self) { ClearNative(self); } /// /// To be documented. /// public static void Clear(ref ImDrawDataBuilder self) { fixed (ImDrawDataBuilder* pself = &self) { ClearNative((ImDrawDataBuilder*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ClearFreeMemoryNative(ImDrawDataBuilder* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[817])(self); #else ((delegate* unmanaged[Cdecl])funcTable[817])((nint)self); #endif } /// /// To be documented. /// public static void ClearFreeMemory(ImDrawDataBuilderPtr self) { ClearFreeMemoryNative(self); } /// /// To be documented. /// public static void ClearFreeMemory(ref ImDrawDataBuilder self) { fixed (ImDrawDataBuilder* pself = &self) { ClearFreeMemoryNative((ImDrawDataBuilder*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static int GetDrawListCountNative(ImDrawDataBuilder* self) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[818])(self); #else return (int)((delegate* unmanaged[Cdecl])funcTable[818])((nint)self); #endif } /// /// To be documented. /// public static int GetDrawListCount(ImDrawDataBuilderPtr self) { int ret = GetDrawListCountNative(self); return ret; } /// /// To be documented. /// public static int GetDrawListCount(ref ImDrawDataBuilder self) { fixed (ImDrawDataBuilder* pself = &self) { int ret = GetDrawListCountNative((ImDrawDataBuilder*)pself); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void FlattenIntoSingleLayerNative(ImDrawDataBuilder* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[819])(self); #else ((delegate* unmanaged[Cdecl])funcTable[819])((nint)self); #endif } /// /// To be documented. /// public static void FlattenIntoSingleLayer(ImDrawDataBuilderPtr self) { FlattenIntoSingleLayerNative(self); } /// /// To be documented. /// public static void FlattenIntoSingleLayer(ref ImDrawDataBuilder self) { fixed (ImDrawDataBuilder* pself = &self) { FlattenIntoSingleLayerNative((ImDrawDataBuilder*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiStyleMod* ImGuiStyleModNative(ImGuiStyleVar idx, int v) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[820])(idx, v); #else return (ImGuiStyleMod*)((delegate* unmanaged[Cdecl])funcTable[820])(idx, v); #endif } /// /// To be documented. /// public static ImGuiStyleModPtr ImGuiStyleMod(ImGuiStyleVar idx, int v) { ImGuiStyleModPtr ret = ImGuiStyleModNative(idx, v); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiStyleMod* ImGuiStyleModNative(ImGuiStyleVar idx, float v) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[821])(idx, v); #else return (ImGuiStyleMod*)((delegate* unmanaged[Cdecl])funcTable[821])(idx, v); #endif } /// /// To be documented. /// public static ImGuiStyleModPtr ImGuiStyleMod(ImGuiStyleVar idx, float v) { ImGuiStyleModPtr ret = ImGuiStyleModNative(idx, v); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiStyleMod* ImGuiStyleModNative(ImGuiStyleVar idx, Vector2 v) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[822])(idx, v); #else return (ImGuiStyleMod*)((delegate* unmanaged[Cdecl])funcTable[822])(idx, v); #endif } /// /// To be documented. /// public static ImGuiStyleModPtr ImGuiStyleMod(ImGuiStyleVar idx, Vector2 v) { ImGuiStyleModPtr ret = ImGuiStyleModNative(idx, v); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiComboPreviewData* ImGuiComboPreviewDataNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[823])(); #else return (ImGuiComboPreviewData*)((delegate* unmanaged[Cdecl])funcTable[823])(); #endif } /// /// To be documented. /// public static ImGuiComboPreviewDataPtr ImGuiComboPreviewData() { ImGuiComboPreviewDataPtr ret = ImGuiComboPreviewDataNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiMenuColumns* ImGuiMenuColumnsNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[824])(); #else return (ImGuiMenuColumns*)((delegate* unmanaged[Cdecl])funcTable[824])(); #endif } /// /// To be documented. /// public static ImGuiMenuColumnsPtr ImGuiMenuColumns() { ImGuiMenuColumnsPtr ret = ImGuiMenuColumnsNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void UpdateNative(ImGuiMenuColumns* self, float spacing, byte windowReappearing) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[825])(self, spacing, windowReappearing); #else ((delegate* unmanaged[Cdecl])funcTable[825])((nint)self, spacing, windowReappearing); #endif } /// /// To be documented. /// public static void Update(ImGuiMenuColumnsPtr self, float spacing, bool windowReappearing) { UpdateNative(self, spacing, windowReappearing ? (byte)1 : (byte)0); } /// /// To be documented. /// public static void Update(ref ImGuiMenuColumns self, float spacing, bool windowReappearing) { fixed (ImGuiMenuColumns* pself = &self) { UpdateNative((ImGuiMenuColumns*)pself, spacing, windowReappearing ? (byte)1 : (byte)0); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float DeclColumnsNative(ImGuiMenuColumns* self, float wIcon, float wLabel, float wShortcut, float wMark) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[826])(self, wIcon, wLabel, wShortcut, wMark); #else return (float)((delegate* unmanaged[Cdecl])funcTable[826])((nint)self, wIcon, wLabel, wShortcut, wMark); #endif } /// /// To be documented. /// public static float DeclColumns(ImGuiMenuColumnsPtr self, float wIcon, float wLabel, float wShortcut, float wMark) { float ret = DeclColumnsNative(self, wIcon, wLabel, wShortcut, wMark); return ret; } /// /// To be documented. /// public static float DeclColumns(ref ImGuiMenuColumns self, float wIcon, float wLabel, float wShortcut, float wMark) { fixed (ImGuiMenuColumns* pself = &self) { float ret = DeclColumnsNative((ImGuiMenuColumns*)pself, wIcon, wLabel, wShortcut, wMark); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void CalcNextTotalWidthNative(ImGuiMenuColumns* self, byte updateOffsets) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[827])(self, updateOffsets); #else ((delegate* unmanaged[Cdecl])funcTable[827])((nint)self, updateOffsets); #endif } /// /// To be documented. /// public static void CalcNextTotalWidth(ImGuiMenuColumnsPtr self, bool updateOffsets) { CalcNextTotalWidthNative(self, updateOffsets ? (byte)1 : (byte)0); } /// /// To be documented. /// public static void CalcNextTotalWidth(ref ImGuiMenuColumns self, bool updateOffsets) { fixed (ImGuiMenuColumns* pself = &self) { CalcNextTotalWidthNative((ImGuiMenuColumns*)pself, updateOffsets ? (byte)1 : (byte)0); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiInputTextState* ImGuiInputTextStateNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[828])(); #else return (ImGuiInputTextState*)((delegate* unmanaged[Cdecl])funcTable[828])(); #endif } /// /// To be documented. /// public static ImGuiInputTextStatePtr ImGuiInputTextState() { ImGuiInputTextStatePtr ret = ImGuiInputTextStateNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ClearTextNative(ImGuiInputTextState* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[829])(self); #else ((delegate* unmanaged[Cdecl])funcTable[829])((nint)self); #endif } /// /// To be documented. /// public static void ClearText(ImGuiInputTextStatePtr self) { ClearTextNative(self); } /// /// To be documented. /// public static void ClearText(ref ImGuiInputTextState self) { fixed (ImGuiInputTextState* pself = &self) { ClearTextNative((ImGuiInputTextState*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ClearFreeMemoryNative(ImGuiInputTextState* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[830])(self); #else ((delegate* unmanaged[Cdecl])funcTable[830])((nint)self); #endif } /// /// To be documented. /// public static void ClearFreeMemory(ImGuiInputTextStatePtr self) { ClearFreeMemoryNative(self); } /// /// To be documented. /// public static void ClearFreeMemory(ref ImGuiInputTextState self) { fixed (ImGuiInputTextState* pself = &self) { ClearFreeMemoryNative((ImGuiInputTextState*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static int GetUndoAvailCountNative(ImGuiInputTextState* self) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[831])(self); #else return (int)((delegate* unmanaged[Cdecl])funcTable[831])((nint)self); #endif } /// /// To be documented. /// public static int GetUndoAvailCount(ImGuiInputTextStatePtr self) { int ret = GetUndoAvailCountNative(self); return ret; } /// /// To be documented. /// public static int GetUndoAvailCount(ref ImGuiInputTextState self) { fixed (ImGuiInputTextState* pself = &self) { int ret = GetUndoAvailCountNative((ImGuiInputTextState*)pself); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static int GetRedoAvailCountNative(ImGuiInputTextState* self) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[832])(self); #else return (int)((delegate* unmanaged[Cdecl])funcTable[832])((nint)self); #endif } /// /// To be documented. /// public static int GetRedoAvailCount(ImGuiInputTextStatePtr self) { int ret = GetRedoAvailCountNative(self); return ret; } /// /// To be documented. /// public static int GetRedoAvailCount(ref ImGuiInputTextState self) { fixed (ImGuiInputTextState* pself = &self) { int ret = GetRedoAvailCountNative((ImGuiInputTextState*)pself); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void OnKeyPressedNative(ImGuiInputTextState* self, int key) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[833])(self, key); #else ((delegate* unmanaged[Cdecl])funcTable[833])((nint)self, key); #endif } /// /// To be documented. /// public static void OnKeyPressed(ImGuiInputTextStatePtr self, int key) { OnKeyPressedNative(self, key); } /// /// To be documented. /// public static void OnKeyPressed(ref ImGuiInputTextState self, int key) { fixed (ImGuiInputTextState* pself = &self) { OnKeyPressedNative((ImGuiInputTextState*)pself, key); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void CursorAnimResetNative(ImGuiInputTextState* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[834])(self); #else ((delegate* unmanaged[Cdecl])funcTable[834])((nint)self); #endif } /// /// To be documented. /// public static void CursorAnimReset(ImGuiInputTextStatePtr self) { CursorAnimResetNative(self); } /// /// To be documented. /// public static void CursorAnimReset(ref ImGuiInputTextState self) { fixed (ImGuiInputTextState* pself = &self) { CursorAnimResetNative((ImGuiInputTextState*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void CursorClampNative(ImGuiInputTextState* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[835])(self); #else ((delegate* unmanaged[Cdecl])funcTable[835])((nint)self); #endif } /// /// To be documented. /// public static void CursorClamp(ImGuiInputTextStatePtr self) { CursorClampNative(self); } /// /// To be documented. /// public static void CursorClamp(ref ImGuiInputTextState self) { fixed (ImGuiInputTextState* pself = &self) { CursorClampNative((ImGuiInputTextState*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte HasSelectionNative(ImGuiInputTextState* self) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[836])(self); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[836])((nint)self); #endif } /// /// To be documented. /// public static bool HasSelection(ImGuiInputTextStatePtr self) { byte ret = HasSelectionNative(self); return ret != 0; } /// /// To be documented. /// public static bool HasSelection(ref ImGuiInputTextState self) { fixed (ImGuiInputTextState* pself = &self) { byte ret = HasSelectionNative((ImGuiInputTextState*)pself); return ret != 0; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ClearSelectionNative(ImGuiInputTextState* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[837])(self); #else ((delegate* unmanaged[Cdecl])funcTable[837])((nint)self); #endif } /// /// To be documented. /// public static void ClearSelection(ImGuiInputTextStatePtr self) { ClearSelectionNative(self); } /// /// To be documented. /// public static void ClearSelection(ref ImGuiInputTextState self) { fixed (ImGuiInputTextState* pself = &self) { ClearSelectionNative((ImGuiInputTextState*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static int GetCursorPosNative(ImGuiInputTextState* self) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[838])(self); #else return (int)((delegate* unmanaged[Cdecl])funcTable[838])((nint)self); #endif } /// /// To be documented. /// public static int GetCursorPos(ImGuiInputTextStatePtr self) { int ret = GetCursorPosNative(self); return ret; } /// /// To be documented. /// public static int GetCursorPos(ref ImGuiInputTextState self) { fixed (ImGuiInputTextState* pself = &self) { int ret = GetCursorPosNative((ImGuiInputTextState*)pself); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static int GetSelectionStartNative(ImGuiInputTextState* self) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[839])(self); #else return (int)((delegate* unmanaged[Cdecl])funcTable[839])((nint)self); #endif } /// /// To be documented. /// public static int GetSelectionStart(ImGuiInputTextStatePtr self) { int ret = GetSelectionStartNative(self); return ret; } /// /// To be documented. /// public static int GetSelectionStart(ref ImGuiInputTextState self) { fixed (ImGuiInputTextState* pself = &self) { int ret = GetSelectionStartNative((ImGuiInputTextState*)pself); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static int GetSelectionEndNative(ImGuiInputTextState* self) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[840])(self); #else return (int)((delegate* unmanaged[Cdecl])funcTable[840])((nint)self); #endif } /// /// To be documented. /// public static int GetSelectionEnd(ImGuiInputTextStatePtr self) { int ret = GetSelectionEndNative(self); return ret; } /// /// To be documented. /// public static int GetSelectionEnd(ref ImGuiInputTextState self) { fixed (ImGuiInputTextState* pself = &self) { int ret = GetSelectionEndNative((ImGuiInputTextState*)pself); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void SelectAllNative(ImGuiInputTextState* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[841])(self); #else ((delegate* unmanaged[Cdecl])funcTable[841])((nint)self); #endif } /// /// To be documented. /// public static void SelectAll(ImGuiInputTextStatePtr self) { SelectAllNative(self); } /// /// To be documented. /// public static void SelectAll(ref ImGuiInputTextState self) { fixed (ImGuiInputTextState* pself = &self) { SelectAllNative((ImGuiInputTextState*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiPopupData* ImGuiPopupDataNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[842])(); #else return (ImGuiPopupData*)((delegate* unmanaged[Cdecl])funcTable[842])(); #endif } /// /// To be documented. /// public static ImGuiPopupDataPtr ImGuiPopupData() { ImGuiPopupDataPtr ret = ImGuiPopupDataNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiNextWindowData* ImGuiNextWindowDataNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[843])(); #else return (ImGuiNextWindowData*)((delegate* unmanaged[Cdecl])funcTable[843])(); #endif } /// /// To be documented. /// public static ImGuiNextWindowDataPtr ImGuiNextWindowData() { ImGuiNextWindowDataPtr ret = ImGuiNextWindowDataNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ClearFlagsNative(ImGuiNextWindowData* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[844])(self); #else ((delegate* unmanaged[Cdecl])funcTable[844])((nint)self); #endif } /// /// To be documented. /// public static void ClearFlags(ImGuiNextWindowDataPtr self) { ClearFlagsNative(self); } /// /// To be documented. /// public static void ClearFlags(ref ImGuiNextWindowData self) { fixed (ImGuiNextWindowData* pself = &self) { ClearFlagsNative((ImGuiNextWindowData*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiNextItemData* ImGuiNextItemDataNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[845])(); #else return (ImGuiNextItemData*)((delegate* unmanaged[Cdecl])funcTable[845])(); #endif } /// /// To be documented. /// public static ImGuiNextItemDataPtr ImGuiNextItemData() { ImGuiNextItemDataPtr ret = ImGuiNextItemDataNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ClearFlagsNative(ImGuiNextItemData* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[846])(self); #else ((delegate* unmanaged[Cdecl])funcTable[846])((nint)self); #endif } /// /// To be documented. /// public static void ClearFlags(ImGuiNextItemDataPtr self) { ClearFlagsNative(self); } /// /// To be documented. /// public static void ClearFlags(ref ImGuiNextItemData self) { fixed (ImGuiNextItemData* pself = &self) { ClearFlagsNative((ImGuiNextItemData*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiLastItemData* ImGuiLastItemDataNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[847])(); #else return (ImGuiLastItemData*)((delegate* unmanaged[Cdecl])funcTable[847])(); #endif } /// /// To be documented. /// public static ImGuiLastItemDataPtr ImGuiLastItemData() { ImGuiLastItemDataPtr ret = ImGuiLastItemDataNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiPtrOrIndex* ImGuiPtrOrIndexNative(void* ptr) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[848])(ptr); #else return (ImGuiPtrOrIndex*)((delegate* unmanaged[Cdecl])funcTable[848])((nint)ptr); #endif } /// /// To be documented. /// public static ImGuiPtrOrIndexPtr ImGuiPtrOrIndex(void* ptr) { ImGuiPtrOrIndexPtr ret = ImGuiPtrOrIndexNative(ptr); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiPtrOrIndex* ImGuiPtrOrIndexNative(int index) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[849])(index); #else return (ImGuiPtrOrIndex*)((delegate* unmanaged[Cdecl])funcTable[849])(index); #endif } /// /// To be documented. /// public static ImGuiPtrOrIndexPtr ImGuiPtrOrIndex(int index) { ImGuiPtrOrIndexPtr ret = ImGuiPtrOrIndexNative(index); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiInputEvent* ImGuiInputEventNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[850])(); #else return (ImGuiInputEvent*)((delegate* unmanaged[Cdecl])funcTable[850])(); #endif } /// /// To be documented. /// public static ImGuiInputEventPtr ImGuiInputEvent() { ImGuiInputEventPtr ret = ImGuiInputEventNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiListClipperRange FromIndicesNative(int min, int max) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[851])(min, max); #else return (ImGuiListClipperRange)((delegate* unmanaged[Cdecl])funcTable[851])(min, max); #endif } /// /// To be documented. /// public static ImGuiListClipperRange FromIndices(int min, int max) { ImGuiListClipperRange ret = FromIndicesNative(min, max); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiListClipperRange FromPositionsNative(float y1, float y2, int offMin, int offMax) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[852])(y1, y2, offMin, offMax); #else return (ImGuiListClipperRange)((delegate* unmanaged[Cdecl])funcTable[852])(y1, y2, offMin, offMax); #endif } /// /// To be documented. /// public static ImGuiListClipperRange FromPositions(float y1, float y2, int offMin, int offMax) { ImGuiListClipperRange ret = FromPositionsNative(y1, y2, offMin, offMax); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiListClipperData* ImGuiListClipperDataNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[853])(); #else return (ImGuiListClipperData*)((delegate* unmanaged[Cdecl])funcTable[853])(); #endif } /// /// To be documented. /// public static ImGuiListClipperDataPtr ImGuiListClipperData() { ImGuiListClipperDataPtr ret = ImGuiListClipperDataNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ResetNative(ImGuiListClipperData* self, ImGuiListClipper* clipper) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[854])(self, clipper); #else ((delegate* unmanaged[Cdecl])funcTable[854])((nint)self, (nint)clipper); #endif } /// /// To be documented. /// public static void Reset(ImGuiListClipperDataPtr self, ImGuiListClipperPtr clipper) { ResetNative(self, clipper); } /// /// To be documented. /// public static void Reset(ref ImGuiListClipperData self, ImGuiListClipperPtr clipper) { fixed (ImGuiListClipperData* pself = &self) { ResetNative((ImGuiListClipperData*)pself, clipper); } } /// /// To be documented. /// public static void Reset(ImGuiListClipperDataPtr self, ref ImGuiListClipper clipper) { fixed (ImGuiListClipper* pclipper = &clipper) { ResetNative(self, (ImGuiListClipper*)pclipper); } } /// /// To be documented. /// public static void Reset(ref ImGuiListClipperData self, ref ImGuiListClipper clipper) { fixed (ImGuiListClipperData* pself = &self) { fixed (ImGuiListClipper* pclipper = &clipper) { ResetNative((ImGuiListClipperData*)pself, (ImGuiListClipper*)pclipper); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiNavItemData* ImGuiNavItemDataNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[855])(); #else return (ImGuiNavItemData*)((delegate* unmanaged[Cdecl])funcTable[855])(); #endif } /// /// To be documented. /// public static ImGuiNavItemDataPtr ImGuiNavItemData() { ImGuiNavItemDataPtr ret = ImGuiNavItemDataNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ClearNative(ImGuiNavItemData* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[856])(self); #else ((delegate* unmanaged[Cdecl])funcTable[856])((nint)self); #endif } /// /// To be documented. /// public static void Clear(ImGuiNavItemDataPtr self) { ClearNative(self); } /// /// To be documented. /// public static void Clear(ref ImGuiNavItemData self) { fixed (ImGuiNavItemData* pself = &self) { ClearNative((ImGuiNavItemData*)pself); } } } }