// ------------------------------------------------------------------------------ // // 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 ImGui { /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte TreeNodeExVNative(byte* strId, ImGuiTreeNodeFlags flags, byte* fmt, nuint args) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[214])(strId, flags, fmt, args); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[214])((nint)strId, flags, (nint)fmt, args); #endif } /// /// To be documented. /// public static bool TreeNodeExV(byte* strId, ImGuiTreeNodeFlags flags, byte* fmt, nuint args) { byte ret = TreeNodeExVNative(strId, flags, fmt, args); return ret != 0; } /// /// To be documented. /// public static bool TreeNodeExV(ref byte strId, ImGuiTreeNodeFlags flags, byte* fmt, nuint args) { fixed (byte* pstrId = &strId) { byte ret = TreeNodeExVNative((byte*)pstrId, flags, fmt, args); return ret != 0; } } /// /// To be documented. /// public static bool TreeNodeExV(ReadOnlySpan strId, ImGuiTreeNodeFlags flags, byte* fmt, nuint args) { fixed (byte* pstrId = strId) { byte ret = TreeNodeExVNative((byte*)pstrId, flags, fmt, args); return ret != 0; } } /// /// To be documented. /// public static bool TreeNodeExV(string strId, ImGuiTreeNodeFlags flags, byte* fmt, nuint args) { byte* pStr0 = null; int pStrSize0 = 0; if (strId != null) { pStrSize0 = Utils.GetByteCountUTF8(strId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = TreeNodeExVNative(pStr0, flags, fmt, args); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool TreeNodeExV(byte* strId, ImGuiTreeNodeFlags flags, ref byte fmt, nuint args) { fixed (byte* pfmt = &fmt) { byte ret = TreeNodeExVNative(strId, flags, (byte*)pfmt, args); return ret != 0; } } /// /// To be documented. /// public static bool TreeNodeExV(byte* strId, ImGuiTreeNodeFlags flags, ReadOnlySpan fmt, nuint args) { fixed (byte* pfmt = fmt) { byte ret = TreeNodeExVNative(strId, flags, (byte*)pfmt, args); return ret != 0; } } /// /// To be documented. /// public static bool TreeNodeExV(byte* strId, ImGuiTreeNodeFlags flags, string fmt, nuint args) { byte* pStr0 = null; int pStrSize0 = 0; if (fmt != null) { pStrSize0 = Utils.GetByteCountUTF8(fmt); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = TreeNodeExVNative(strId, flags, pStr0, args); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool TreeNodeExV(ref byte strId, ImGuiTreeNodeFlags flags, ref byte fmt, nuint args) { fixed (byte* pstrId = &strId) { fixed (byte* pfmt = &fmt) { byte ret = TreeNodeExVNative((byte*)pstrId, flags, (byte*)pfmt, args); return ret != 0; } } } /// /// To be documented. /// public static bool TreeNodeExV(ReadOnlySpan strId, ImGuiTreeNodeFlags flags, ReadOnlySpan fmt, nuint args) { fixed (byte* pstrId = strId) { fixed (byte* pfmt = fmt) { byte ret = TreeNodeExVNative((byte*)pstrId, flags, (byte*)pfmt, args); return ret != 0; } } } /// /// To be documented. /// public static bool TreeNodeExV(string strId, ImGuiTreeNodeFlags flags, string fmt, nuint args) { byte* pStr0 = null; int pStrSize0 = 0; if (strId != null) { pStrSize0 = Utils.GetByteCountUTF8(strId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte* pStr1 = null; int pStrSize1 = 0; if (fmt != null) { pStrSize1 = Utils.GetByteCountUTF8(fmt); if (pStrSize1 >= Utils.MaxStackallocSize) { pStr1 = Utils.Alloc(pStrSize1 + 1); } else { byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; pStr1 = pStrStack1; } int pStrOffset1 = Utils.EncodeStringUTF8(fmt, pStr1, pStrSize1); pStr1[pStrOffset1] = 0; } byte ret = TreeNodeExVNative(pStr0, flags, pStr1, args); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool TreeNodeExV(ref byte strId, ImGuiTreeNodeFlags flags, ReadOnlySpan fmt, nuint args) { fixed (byte* pstrId = &strId) { fixed (byte* pfmt = fmt) { byte ret = TreeNodeExVNative((byte*)pstrId, flags, (byte*)pfmt, args); return ret != 0; } } } /// /// To be documented. /// public static bool TreeNodeExV(ref byte strId, ImGuiTreeNodeFlags flags, string fmt, nuint args) { fixed (byte* pstrId = &strId) { byte* pStr0 = null; int pStrSize0 = 0; if (fmt != null) { pStrSize0 = Utils.GetByteCountUTF8(fmt); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = TreeNodeExVNative((byte*)pstrId, flags, pStr0, args); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool TreeNodeExV(ReadOnlySpan strId, ImGuiTreeNodeFlags flags, ref byte fmt, nuint args) { fixed (byte* pstrId = strId) { fixed (byte* pfmt = &fmt) { byte ret = TreeNodeExVNative((byte*)pstrId, flags, (byte*)pfmt, args); return ret != 0; } } } /// /// To be documented. /// public static bool TreeNodeExV(ReadOnlySpan strId, ImGuiTreeNodeFlags flags, string fmt, nuint args) { fixed (byte* pstrId = strId) { byte* pStr0 = null; int pStrSize0 = 0; if (fmt != null) { pStrSize0 = Utils.GetByteCountUTF8(fmt); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = TreeNodeExVNative((byte*)pstrId, flags, pStr0, args); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool TreeNodeExV(string strId, ImGuiTreeNodeFlags flags, ref byte fmt, nuint args) { byte* pStr0 = null; int pStrSize0 = 0; if (strId != null) { pStrSize0 = Utils.GetByteCountUTF8(strId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (byte* pfmt = &fmt) { byte ret = TreeNodeExVNative(pStr0, flags, (byte*)pfmt, args); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool TreeNodeExV(string strId, ImGuiTreeNodeFlags flags, ReadOnlySpan fmt, nuint args) { byte* pStr0 = null; int pStrSize0 = 0; if (strId != null) { pStrSize0 = Utils.GetByteCountUTF8(strId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (byte* pfmt = fmt) { byte ret = TreeNodeExVNative(pStr0, flags, (byte*)pfmt, args); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte TreeNodeExVNative(void* ptrId, ImGuiTreeNodeFlags flags, byte* fmt, nuint args) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[215])(ptrId, flags, fmt, args); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[215])((nint)ptrId, flags, (nint)fmt, args); #endif } /// /// To be documented. /// public static bool TreeNodeExV(void* ptrId, ImGuiTreeNodeFlags flags, byte* fmt, nuint args) { byte ret = TreeNodeExVNative(ptrId, flags, fmt, args); return ret != 0; } /// /// To be documented. /// public static bool TreeNodeExV(void* ptrId, ImGuiTreeNodeFlags flags, ref byte fmt, nuint args) { fixed (byte* pfmt = &fmt) { byte ret = TreeNodeExVNative(ptrId, flags, (byte*)pfmt, args); return ret != 0; } } /// /// To be documented. /// public static bool TreeNodeExV(void* ptrId, ImGuiTreeNodeFlags flags, ReadOnlySpan fmt, nuint args) { fixed (byte* pfmt = fmt) { byte ret = TreeNodeExVNative(ptrId, flags, (byte*)pfmt, args); return ret != 0; } } /// /// To be documented. /// public static bool TreeNodeExV(void* ptrId, ImGuiTreeNodeFlags flags, string fmt, nuint args) { byte* pStr0 = null; int pStrSize0 = 0; if (fmt != null) { pStrSize0 = Utils.GetByteCountUTF8(fmt); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = TreeNodeExVNative(ptrId, flags, pStr0, args); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void TreePushNative(byte* strId) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[216])(strId); #else ((delegate* unmanaged[Cdecl])funcTable[216])((nint)strId); #endif } /// /// To be documented. /// public static void TreePush(byte* strId) { TreePushNative(strId); } /// /// To be documented. /// public static void TreePush(ref byte strId) { fixed (byte* pstrId = &strId) { TreePushNative((byte*)pstrId); } } /// /// To be documented. /// public static void TreePush(ReadOnlySpan strId) { fixed (byte* pstrId = strId) { TreePushNative((byte*)pstrId); } } /// /// To be documented. /// public static void TreePush(string strId) { byte* pStr0 = null; int pStrSize0 = 0; if (strId != null) { pStrSize0 = Utils.GetByteCountUTF8(strId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } TreePushNative(pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void TreePushNative(void* ptrId) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[217])(ptrId); #else ((delegate* unmanaged[Cdecl])funcTable[217])((nint)ptrId); #endif } /// /// To be documented. /// public static void TreePush(void* ptrId) { TreePushNative(ptrId); } /// /// To be documented. /// public static void TreePush() { TreePushNative((void*)(default)); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void TreePopNative() { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[218])(); #else ((delegate* unmanaged[Cdecl])funcTable[218])(); #endif } /// /// To be documented. /// public static void TreePop() { TreePopNative(); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float GetTreeNodeToLabelSpacingNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[219])(); #else return (float)((delegate* unmanaged[Cdecl])funcTable[219])(); #endif } /// /// To be documented. /// public static float GetTreeNodeToLabelSpacing() { float ret = GetTreeNodeToLabelSpacingNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte CollapsingHeaderNative(byte* label, ImGuiTreeNodeFlags flags) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[220])(label, flags); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[220])((nint)label, flags); #endif } /// /// To be documented. /// public static bool CollapsingHeader(byte* label, ImGuiTreeNodeFlags flags) { byte ret = CollapsingHeaderNative(label, flags); return ret != 0; } /// /// To be documented. /// public static bool CollapsingHeader(byte* label) { byte ret = CollapsingHeaderNative(label, (ImGuiTreeNodeFlags)(0)); return ret != 0; } /// /// To be documented. /// public static bool CollapsingHeader(ref byte label, ImGuiTreeNodeFlags flags) { fixed (byte* plabel = &label) { byte ret = CollapsingHeaderNative((byte*)plabel, flags); return ret != 0; } } /// /// To be documented. /// public static bool CollapsingHeader(ref byte label) { fixed (byte* plabel = &label) { byte ret = CollapsingHeaderNative((byte*)plabel, (ImGuiTreeNodeFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool CollapsingHeader(ReadOnlySpan label, ImGuiTreeNodeFlags flags) { fixed (byte* plabel = label) { byte ret = CollapsingHeaderNative((byte*)plabel, flags); return ret != 0; } } /// /// To be documented. /// public static bool CollapsingHeader(ReadOnlySpan label) { fixed (byte* plabel = label) { byte ret = CollapsingHeaderNative((byte*)plabel, (ImGuiTreeNodeFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool CollapsingHeader(string label, ImGuiTreeNodeFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = CollapsingHeaderNative(pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool CollapsingHeader(string label) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = CollapsingHeaderNative(pStr0, (ImGuiTreeNodeFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte CollapsingHeaderNative(byte* label, bool* pVisible, ImGuiTreeNodeFlags flags) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[221])(label, pVisible, flags); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[221])((nint)label, (nint)pVisible, flags); #endif } /// /// To be documented. /// public static bool CollapsingHeader(byte* label, bool* pVisible, ImGuiTreeNodeFlags flags) { byte ret = CollapsingHeaderNative(label, pVisible, flags); return ret != 0; } /// /// To be documented. /// public static bool CollapsingHeader(byte* label, bool* pVisible) { byte ret = CollapsingHeaderNative(label, pVisible, (ImGuiTreeNodeFlags)(0)); return ret != 0; } /// /// To be documented. /// public static bool CollapsingHeader(ref byte label, bool* pVisible, ImGuiTreeNodeFlags flags) { fixed (byte* plabel = &label) { byte ret = CollapsingHeaderNative((byte*)plabel, pVisible, flags); return ret != 0; } } /// /// To be documented. /// public static bool CollapsingHeader(ref byte label, bool* pVisible) { fixed (byte* plabel = &label) { byte ret = CollapsingHeaderNative((byte*)plabel, pVisible, (ImGuiTreeNodeFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool CollapsingHeader(ReadOnlySpan label, bool* pVisible, ImGuiTreeNodeFlags flags) { fixed (byte* plabel = label) { byte ret = CollapsingHeaderNative((byte*)plabel, pVisible, flags); return ret != 0; } } /// /// To be documented. /// public static bool CollapsingHeader(ReadOnlySpan label, bool* pVisible) { fixed (byte* plabel = label) { byte ret = CollapsingHeaderNative((byte*)plabel, pVisible, (ImGuiTreeNodeFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool CollapsingHeader(string label, bool* pVisible, ImGuiTreeNodeFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = CollapsingHeaderNative(pStr0, pVisible, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool CollapsingHeader(string label, bool* pVisible) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = CollapsingHeaderNative(pStr0, pVisible, (ImGuiTreeNodeFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool CollapsingHeader(byte* label, ref bool pVisible, ImGuiTreeNodeFlags flags) { fixed (bool* ppVisible = &pVisible) { byte ret = CollapsingHeaderNative(label, (bool*)ppVisible, flags); return ret != 0; } } /// /// To be documented. /// public static bool CollapsingHeader(byte* label, ref bool pVisible) { fixed (bool* ppVisible = &pVisible) { byte ret = CollapsingHeaderNative(label, (bool*)ppVisible, (ImGuiTreeNodeFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool CollapsingHeader(ref byte label, ref bool pVisible, ImGuiTreeNodeFlags flags) { fixed (byte* plabel = &label) { fixed (bool* ppVisible = &pVisible) { byte ret = CollapsingHeaderNative((byte*)plabel, (bool*)ppVisible, flags); return ret != 0; } } } /// /// To be documented. /// public static bool CollapsingHeader(ref byte label, ref bool pVisible) { fixed (byte* plabel = &label) { fixed (bool* ppVisible = &pVisible) { byte ret = CollapsingHeaderNative((byte*)plabel, (bool*)ppVisible, (ImGuiTreeNodeFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool CollapsingHeader(ReadOnlySpan label, ref bool pVisible, ImGuiTreeNodeFlags flags) { fixed (byte* plabel = label) { fixed (bool* ppVisible = &pVisible) { byte ret = CollapsingHeaderNative((byte*)plabel, (bool*)ppVisible, flags); return ret != 0; } } } /// /// To be documented. /// public static bool CollapsingHeader(ReadOnlySpan label, ref bool pVisible) { fixed (byte* plabel = label) { fixed (bool* ppVisible = &pVisible) { byte ret = CollapsingHeaderNative((byte*)plabel, (bool*)ppVisible, (ImGuiTreeNodeFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool CollapsingHeader(string label, ref bool pVisible, ImGuiTreeNodeFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (bool* ppVisible = &pVisible) { byte ret = CollapsingHeaderNative(pStr0, (bool*)ppVisible, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool CollapsingHeader(string label, ref bool pVisible) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (bool* ppVisible = &pVisible) { byte ret = CollapsingHeaderNative(pStr0, (bool*)ppVisible, (ImGuiTreeNodeFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void SetNextItemOpenNative(byte isOpen, ImGuiCond cond) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[222])(isOpen, cond); #else ((delegate* unmanaged[Cdecl])funcTable[222])(isOpen, cond); #endif } /// /// To be documented. /// public static void SetNextItemOpen(bool isOpen, ImGuiCond cond) { SetNextItemOpenNative(isOpen ? (byte)1 : (byte)0, cond); } /// /// To be documented. /// public static void SetNextItemOpen(bool isOpen) { SetNextItemOpenNative(isOpen ? (byte)1 : (byte)0, (ImGuiCond)(0)); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte SelectableNative(byte* label, byte selected, ImGuiSelectableFlags flags, Vector2 size) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[223])(label, selected, flags, size); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[223])((nint)label, selected, flags, size); #endif } /// /// To be documented. /// public static bool Selectable(byte* label, bool selected, ImGuiSelectableFlags flags, Vector2 size) { byte ret = SelectableNative(label, selected ? (byte)1 : (byte)0, flags, size); return ret != 0; } /// /// To be documented. /// public static bool Selectable(byte* label, bool selected, ImGuiSelectableFlags flags) { byte ret = SelectableNative(label, selected ? (byte)1 : (byte)0, flags, (Vector2)(new Vector2(0,0))); return ret != 0; } /// /// To be documented. /// public static bool Selectable(byte* label, bool selected) { byte ret = SelectableNative(label, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); return ret != 0; } /// /// To be documented. /// public static bool Selectable(byte* label) { byte ret = SelectableNative(label, (byte)(0), (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); return ret != 0; } /// /// To be documented. /// public static bool Selectable(byte* label, ImGuiSelectableFlags flags) { byte ret = SelectableNative(label, (byte)(0), flags, (Vector2)(new Vector2(0,0))); return ret != 0; } /// /// To be documented. /// public static bool Selectable(byte* label, bool selected, Vector2 size) { byte ret = SelectableNative(label, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), size); return ret != 0; } /// /// To be documented. /// public static bool Selectable(byte* label, Vector2 size) { byte ret = SelectableNative(label, (byte)(0), (ImGuiSelectableFlags)(0), size); return ret != 0; } /// /// To be documented. /// public static bool Selectable(byte* label, ImGuiSelectableFlags flags, Vector2 size) { byte ret = SelectableNative(label, (byte)(0), flags, size); return ret != 0; } /// /// To be documented. /// public static bool Selectable(ref byte label, bool selected, ImGuiSelectableFlags flags, Vector2 size) { fixed (byte* plabel = &label) { byte ret = SelectableNative((byte*)plabel, selected ? (byte)1 : (byte)0, flags, size); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(ref byte label, bool selected, ImGuiSelectableFlags flags) { fixed (byte* plabel = &label) { byte ret = SelectableNative((byte*)plabel, selected ? (byte)1 : (byte)0, flags, (Vector2)(new Vector2(0,0))); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(ref byte label, bool selected) { fixed (byte* plabel = &label) { byte ret = SelectableNative((byte*)plabel, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(ref byte label) { fixed (byte* plabel = &label) { byte ret = SelectableNative((byte*)plabel, (byte)(0), (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(ref byte label, ImGuiSelectableFlags flags) { fixed (byte* plabel = &label) { byte ret = SelectableNative((byte*)plabel, (byte)(0), flags, (Vector2)(new Vector2(0,0))); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(ref byte label, bool selected, Vector2 size) { fixed (byte* plabel = &label) { byte ret = SelectableNative((byte*)plabel, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), size); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(ref byte label, Vector2 size) { fixed (byte* plabel = &label) { byte ret = SelectableNative((byte*)plabel, (byte)(0), (ImGuiSelectableFlags)(0), size); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(ref byte label, ImGuiSelectableFlags flags, Vector2 size) { fixed (byte* plabel = &label) { byte ret = SelectableNative((byte*)plabel, (byte)(0), flags, size); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(ReadOnlySpan label, bool selected, ImGuiSelectableFlags flags, Vector2 size) { fixed (byte* plabel = label) { byte ret = SelectableNative((byte*)plabel, selected ? (byte)1 : (byte)0, flags, size); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(ReadOnlySpan label, bool selected, ImGuiSelectableFlags flags) { fixed (byte* plabel = label) { byte ret = SelectableNative((byte*)plabel, selected ? (byte)1 : (byte)0, flags, (Vector2)(new Vector2(0,0))); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(ReadOnlySpan label, bool selected) { fixed (byte* plabel = label) { byte ret = SelectableNative((byte*)plabel, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(ReadOnlySpan label) { fixed (byte* plabel = label) { byte ret = SelectableNative((byte*)plabel, (byte)(0), (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(ReadOnlySpan label, ImGuiSelectableFlags flags) { fixed (byte* plabel = label) { byte ret = SelectableNative((byte*)plabel, (byte)(0), flags, (Vector2)(new Vector2(0,0))); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(ReadOnlySpan label, bool selected, Vector2 size) { fixed (byte* plabel = label) { byte ret = SelectableNative((byte*)plabel, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), size); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(ReadOnlySpan label, Vector2 size) { fixed (byte* plabel = label) { byte ret = SelectableNative((byte*)plabel, (byte)(0), (ImGuiSelectableFlags)(0), size); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(ReadOnlySpan label, ImGuiSelectableFlags flags, Vector2 size) { fixed (byte* plabel = label) { byte ret = SelectableNative((byte*)plabel, (byte)(0), flags, size); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(string label, bool selected, ImGuiSelectableFlags flags, Vector2 size) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = SelectableNative(pStr0, selected ? (byte)1 : (byte)0, flags, size); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool Selectable(string label, bool selected, ImGuiSelectableFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = SelectableNative(pStr0, selected ? (byte)1 : (byte)0, flags, (Vector2)(new Vector2(0,0))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool Selectable(string label, bool selected) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = SelectableNative(pStr0, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool Selectable(string label) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = SelectableNative(pStr0, (byte)(0), (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool Selectable(string label, ImGuiSelectableFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = SelectableNative(pStr0, (byte)(0), flags, (Vector2)(new Vector2(0,0))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool Selectable(string label, bool selected, Vector2 size) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = SelectableNative(pStr0, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), size); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool Selectable(string label, Vector2 size) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = SelectableNative(pStr0, (byte)(0), (ImGuiSelectableFlags)(0), size); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool Selectable(string label, ImGuiSelectableFlags flags, Vector2 size) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = SelectableNative(pStr0, (byte)(0), flags, size); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte SelectableNative(byte* label, bool* pSelected, ImGuiSelectableFlags flags, Vector2 size) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[224])(label, pSelected, flags, size); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[224])((nint)label, (nint)pSelected, flags, size); #endif } /// /// To be documented. /// public static bool Selectable(byte* label, bool* pSelected, ImGuiSelectableFlags flags, Vector2 size) { byte ret = SelectableNative(label, pSelected, flags, size); return ret != 0; } /// /// To be documented. /// public static bool Selectable(byte* label, bool* pSelected, ImGuiSelectableFlags flags) { byte ret = SelectableNative(label, pSelected, flags, (Vector2)(new Vector2(0,0))); return ret != 0; } /// /// To be documented. /// public static bool Selectable(byte* label, bool* pSelected) { byte ret = SelectableNative(label, pSelected, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); return ret != 0; } /// /// To be documented. /// public static bool Selectable(byte* label, bool* pSelected, Vector2 size) { byte ret = SelectableNative(label, pSelected, (ImGuiSelectableFlags)(0), size); return ret != 0; } /// /// To be documented. /// public static bool Selectable(ref byte label, bool* pSelected, ImGuiSelectableFlags flags, Vector2 size) { fixed (byte* plabel = &label) { byte ret = SelectableNative((byte*)plabel, pSelected, flags, size); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(ref byte label, bool* pSelected, ImGuiSelectableFlags flags) { fixed (byte* plabel = &label) { byte ret = SelectableNative((byte*)plabel, pSelected, flags, (Vector2)(new Vector2(0,0))); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(ref byte label, bool* pSelected) { fixed (byte* plabel = &label) { byte ret = SelectableNative((byte*)plabel, pSelected, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(ref byte label, bool* pSelected, Vector2 size) { fixed (byte* plabel = &label) { byte ret = SelectableNative((byte*)plabel, pSelected, (ImGuiSelectableFlags)(0), size); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(ReadOnlySpan label, bool* pSelected, ImGuiSelectableFlags flags, Vector2 size) { fixed (byte* plabel = label) { byte ret = SelectableNative((byte*)plabel, pSelected, flags, size); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(ReadOnlySpan label, bool* pSelected, ImGuiSelectableFlags flags) { fixed (byte* plabel = label) { byte ret = SelectableNative((byte*)plabel, pSelected, flags, (Vector2)(new Vector2(0,0))); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(ReadOnlySpan label, bool* pSelected) { fixed (byte* plabel = label) { byte ret = SelectableNative((byte*)plabel, pSelected, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(ReadOnlySpan label, bool* pSelected, Vector2 size) { fixed (byte* plabel = label) { byte ret = SelectableNative((byte*)plabel, pSelected, (ImGuiSelectableFlags)(0), size); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(string label, bool* pSelected, ImGuiSelectableFlags flags, Vector2 size) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = SelectableNative(pStr0, pSelected, flags, size); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool Selectable(string label, bool* pSelected, ImGuiSelectableFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = SelectableNative(pStr0, pSelected, flags, (Vector2)(new Vector2(0,0))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool Selectable(string label, bool* pSelected) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = SelectableNative(pStr0, pSelected, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool Selectable(string label, bool* pSelected, Vector2 size) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = SelectableNative(pStr0, pSelected, (ImGuiSelectableFlags)(0), size); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool Selectable(byte* label, ref bool pSelected, ImGuiSelectableFlags flags, Vector2 size) { fixed (bool* ppSelected = &pSelected) { byte ret = SelectableNative(label, (bool*)ppSelected, flags, size); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(byte* label, ref bool pSelected, ImGuiSelectableFlags flags) { fixed (bool* ppSelected = &pSelected) { byte ret = SelectableNative(label, (bool*)ppSelected, flags, (Vector2)(new Vector2(0,0))); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(byte* label, ref bool pSelected) { fixed (bool* ppSelected = &pSelected) { byte ret = SelectableNative(label, (bool*)ppSelected, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(byte* label, ref bool pSelected, Vector2 size) { fixed (bool* ppSelected = &pSelected) { byte ret = SelectableNative(label, (bool*)ppSelected, (ImGuiSelectableFlags)(0), size); return ret != 0; } } /// /// To be documented. /// public static bool Selectable(ref byte label, ref bool pSelected, ImGuiSelectableFlags flags, Vector2 size) { fixed (byte* plabel = &label) { fixed (bool* ppSelected = &pSelected) { byte ret = SelectableNative((byte*)plabel, (bool*)ppSelected, flags, size); return ret != 0; } } } /// /// To be documented. /// public static bool Selectable(ref byte label, ref bool pSelected, ImGuiSelectableFlags flags) { fixed (byte* plabel = &label) { fixed (bool* ppSelected = &pSelected) { byte ret = SelectableNative((byte*)plabel, (bool*)ppSelected, flags, (Vector2)(new Vector2(0,0))); return ret != 0; } } } /// /// To be documented. /// public static bool Selectable(ref byte label, ref bool pSelected) { fixed (byte* plabel = &label) { fixed (bool* ppSelected = &pSelected) { byte ret = SelectableNative((byte*)plabel, (bool*)ppSelected, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); return ret != 0; } } } /// /// To be documented. /// public static bool Selectable(ref byte label, ref bool pSelected, Vector2 size) { fixed (byte* plabel = &label) { fixed (bool* ppSelected = &pSelected) { byte ret = SelectableNative((byte*)plabel, (bool*)ppSelected, (ImGuiSelectableFlags)(0), size); return ret != 0; } } } /// /// To be documented. /// public static bool Selectable(ReadOnlySpan label, ref bool pSelected, ImGuiSelectableFlags flags, Vector2 size) { fixed (byte* plabel = label) { fixed (bool* ppSelected = &pSelected) { byte ret = SelectableNative((byte*)plabel, (bool*)ppSelected, flags, size); return ret != 0; } } } /// /// To be documented. /// public static bool Selectable(ReadOnlySpan label, ref bool pSelected, ImGuiSelectableFlags flags) { fixed (byte* plabel = label) { fixed (bool* ppSelected = &pSelected) { byte ret = SelectableNative((byte*)plabel, (bool*)ppSelected, flags, (Vector2)(new Vector2(0,0))); return ret != 0; } } } /// /// To be documented. /// public static bool Selectable(ReadOnlySpan label, ref bool pSelected) { fixed (byte* plabel = label) { fixed (bool* ppSelected = &pSelected) { byte ret = SelectableNative((byte*)plabel, (bool*)ppSelected, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); return ret != 0; } } } /// /// To be documented. /// public static bool Selectable(ReadOnlySpan label, ref bool pSelected, Vector2 size) { fixed (byte* plabel = label) { fixed (bool* ppSelected = &pSelected) { byte ret = SelectableNative((byte*)plabel, (bool*)ppSelected, (ImGuiSelectableFlags)(0), size); return ret != 0; } } } /// /// To be documented. /// public static bool Selectable(string label, ref bool pSelected, ImGuiSelectableFlags flags, Vector2 size) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (bool* ppSelected = &pSelected) { byte ret = SelectableNative(pStr0, (bool*)ppSelected, flags, size); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool Selectable(string label, ref bool pSelected, ImGuiSelectableFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (bool* ppSelected = &pSelected) { byte ret = SelectableNative(pStr0, (bool*)ppSelected, flags, (Vector2)(new Vector2(0,0))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool Selectable(string label, ref bool pSelected) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (bool* ppSelected = &pSelected) { byte ret = SelectableNative(pStr0, (bool*)ppSelected, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool Selectable(string label, ref bool pSelected, Vector2 size) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (bool* ppSelected = &pSelected) { byte ret = SelectableNative(pStr0, (bool*)ppSelected, (ImGuiSelectableFlags)(0), size); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte BeginListBoxNative(byte* label, Vector2 size) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[225])(label, size); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[225])((nint)label, size); #endif } /// /// To be documented. /// public static bool BeginListBox(byte* label, Vector2 size) { byte ret = BeginListBoxNative(label, size); return ret != 0; } /// /// To be documented. /// public static bool BeginListBox(byte* label) { byte ret = BeginListBoxNative(label, (Vector2)(new Vector2(0,0))); return ret != 0; } /// /// To be documented. /// public static bool BeginListBox(ref byte label, Vector2 size) { fixed (byte* plabel = &label) { byte ret = BeginListBoxNative((byte*)plabel, size); return ret != 0; } } /// /// To be documented. /// public static bool BeginListBox(ref byte label) { fixed (byte* plabel = &label) { byte ret = BeginListBoxNative((byte*)plabel, (Vector2)(new Vector2(0,0))); return ret != 0; } } /// /// To be documented. /// public static bool BeginListBox(ReadOnlySpan label, Vector2 size) { fixed (byte* plabel = label) { byte ret = BeginListBoxNative((byte*)plabel, size); return ret != 0; } } /// /// To be documented. /// public static bool BeginListBox(ReadOnlySpan label) { fixed (byte* plabel = label) { byte ret = BeginListBoxNative((byte*)plabel, (Vector2)(new Vector2(0,0))); return ret != 0; } } /// /// To be documented. /// public static bool BeginListBox(string label, Vector2 size) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = BeginListBoxNative(pStr0, size); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool BeginListBox(string label) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = BeginListBoxNative(pStr0, (Vector2)(new Vector2(0,0))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void EndListBoxNative() { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[226])(); #else ((delegate* unmanaged[Cdecl])funcTable[226])(); #endif } /// /// To be documented. /// public static void EndListBox() { EndListBoxNative(); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte ListBoxNative(byte* label, int* currentItem, byte** items, int itemsCount, int heightInItems) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[227])(label, currentItem, items, itemsCount, heightInItems); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[227])((nint)label, (nint)currentItem, (nint)items, itemsCount, heightInItems); #endif } /// /// To be documented. /// public static bool ListBox(byte* label, int* currentItem, byte** items, int itemsCount, int heightInItems) { byte ret = ListBoxNative(label, currentItem, items, itemsCount, heightInItems); return ret != 0; } /// /// To be documented. /// public static bool ListBox(byte* label, int* currentItem, byte** items, int itemsCount) { byte ret = ListBoxNative(label, currentItem, items, itemsCount, (int)(-1)); return ret != 0; } /// /// To be documented. /// public static bool ListBox(ref byte label, int* currentItem, byte** items, int itemsCount, int heightInItems) { fixed (byte* plabel = &label) { byte ret = ListBoxNative((byte*)plabel, currentItem, items, itemsCount, heightInItems); return ret != 0; } } /// /// To be documented. /// public static bool ListBox(ref byte label, int* currentItem, byte** items, int itemsCount) { fixed (byte* plabel = &label) { byte ret = ListBoxNative((byte*)plabel, currentItem, items, itemsCount, (int)(-1)); return ret != 0; } } /// /// To be documented. /// public static bool ListBox(ReadOnlySpan label, int* currentItem, byte** items, int itemsCount, int heightInItems) { fixed (byte* plabel = label) { byte ret = ListBoxNative((byte*)plabel, currentItem, items, itemsCount, heightInItems); return ret != 0; } } /// /// To be documented. /// public static bool ListBox(ReadOnlySpan label, int* currentItem, byte** items, int itemsCount) { fixed (byte* plabel = label) { byte ret = ListBoxNative((byte*)plabel, currentItem, items, itemsCount, (int)(-1)); return ret != 0; } } /// /// To be documented. /// public static bool ListBox(string label, int* currentItem, byte** items, int itemsCount, int heightInItems) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = ListBoxNative(pStr0, currentItem, items, itemsCount, heightInItems); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool ListBox(string label, int* currentItem, byte** items, int itemsCount) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = ListBoxNative(pStr0, currentItem, items, itemsCount, (int)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool ListBox(byte* label, ref int currentItem, byte** items, int itemsCount, int heightInItems) { fixed (int* pcurrentItem = ¤tItem) { byte ret = ListBoxNative(label, (int*)pcurrentItem, items, itemsCount, heightInItems); return ret != 0; } } /// /// To be documented. /// public static bool ListBox(byte* label, ref int currentItem, byte** items, int itemsCount) { fixed (int* pcurrentItem = ¤tItem) { byte ret = ListBoxNative(label, (int*)pcurrentItem, items, itemsCount, (int)(-1)); return ret != 0; } } /// /// To be documented. /// public static bool ListBox(ref byte label, ref int currentItem, byte** items, int itemsCount, int heightInItems) { fixed (byte* plabel = &label) { fixed (int* pcurrentItem = ¤tItem) { byte ret = ListBoxNative((byte*)plabel, (int*)pcurrentItem, items, itemsCount, heightInItems); return ret != 0; } } } /// /// To be documented. /// public static bool ListBox(ref byte label, ref int currentItem, byte** items, int itemsCount) { fixed (byte* plabel = &label) { fixed (int* pcurrentItem = ¤tItem) { byte ret = ListBoxNative((byte*)plabel, (int*)pcurrentItem, items, itemsCount, (int)(-1)); return ret != 0; } } } /// /// To be documented. /// public static bool ListBox(ReadOnlySpan label, ref int currentItem, byte** items, int itemsCount, int heightInItems) { fixed (byte* plabel = label) { fixed (int* pcurrentItem = ¤tItem) { byte ret = ListBoxNative((byte*)plabel, (int*)pcurrentItem, items, itemsCount, heightInItems); return ret != 0; } } } /// /// To be documented. /// public static bool ListBox(ReadOnlySpan label, ref int currentItem, byte** items, int itemsCount) { fixed (byte* plabel = label) { fixed (int* pcurrentItem = ¤tItem) { byte ret = ListBoxNative((byte*)plabel, (int*)pcurrentItem, items, itemsCount, (int)(-1)); return ret != 0; } } } /// /// To be documented. /// public static bool ListBox(string label, ref int currentItem, byte** items, int itemsCount, int heightInItems) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (int* pcurrentItem = ¤tItem) { byte ret = ListBoxNative(pStr0, (int*)pcurrentItem, items, itemsCount, heightInItems); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool ListBox(string label, ref int currentItem, byte** items, int itemsCount) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (int* pcurrentItem = ¤tItem) { byte ret = ListBoxNative(pStr0, (int*)pcurrentItem, items, itemsCount, (int)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool ListBox(byte* label, int* currentItem, string[] items, int itemsCount, int heightInItems) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(items); if (items != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < items.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); } byte ret = ListBoxNative(label, currentItem, pStrArray0, itemsCount, heightInItems); for (int i = 0; i < items.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } return ret != 0; } /// /// To be documented. /// public static bool ListBox(byte* label, int* currentItem, string[] items, int itemsCount) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(items); if (items != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < items.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); } byte ret = ListBoxNative(label, currentItem, pStrArray0, itemsCount, (int)(-1)); for (int i = 0; i < items.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } return ret != 0; } /// /// To be documented. /// public static bool ListBox(string label, int* currentItem, string[] items, int itemsCount, int heightInItems) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(items); if (items != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < items.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); } byte ret = ListBoxNative(pStr0, currentItem, pStrArray0, itemsCount, heightInItems); for (int i = 0; i < items.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool ListBox(string label, int* currentItem, string[] items, int itemsCount) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(items); if (items != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < items.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); } byte ret = ListBoxNative(pStr0, currentItem, pStrArray0, itemsCount, (int)(-1)); for (int i = 0; i < items.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool ListBox(byte* label, ref int currentItem, string[] items, int itemsCount, int heightInItems) { fixed (int* pcurrentItem = ¤tItem) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(items); if (items != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < items.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); } byte ret = ListBoxNative(label, (int*)pcurrentItem, pStrArray0, itemsCount, heightInItems); for (int i = 0; i < items.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } return ret != 0; } } /// /// To be documented. /// public static bool ListBox(byte* label, ref int currentItem, string[] items, int itemsCount) { fixed (int* pcurrentItem = ¤tItem) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(items); if (items != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < items.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); } byte ret = ListBoxNative(label, (int*)pcurrentItem, pStrArray0, itemsCount, (int)(-1)); for (int i = 0; i < items.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } return ret != 0; } } /// /// To be documented. /// public static bool ListBox(string label, ref int currentItem, string[] items, int itemsCount, int heightInItems) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (int* pcurrentItem = ¤tItem) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(items); if (items != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < items.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); } byte ret = ListBoxNative(pStr0, (int*)pcurrentItem, pStrArray0, itemsCount, heightInItems); for (int i = 0; i < items.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool ListBox(string label, ref int currentItem, string[] items, int itemsCount) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (int* pcurrentItem = ¤tItem) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(items); if (items != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < items.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); } byte ret = ListBoxNative(pStr0, (int*)pcurrentItem, pStrArray0, itemsCount, (int)(-1)); for (int i = 0; i < items.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte ListBoxNative(byte* label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int heightInItems) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl], void*, int, int, bool>, void*, int, int, byte>)funcTable[228])(label, currentItem, itemsGetter, data, itemsCount, heightInItems); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[228])((nint)label, (nint)currentItem, (nint)itemsGetter, (nint)data, itemsCount, heightInItems); #endif } /// /// To be documented. /// public static bool ListBox(byte* label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int heightInItems) { byte ret = ListBoxNative(label, currentItem, itemsGetter, data, itemsCount, heightInItems); return ret != 0; } /// /// To be documented. /// public static bool ListBox(byte* label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount) { byte ret = ListBoxNative(label, currentItem, itemsGetter, data, itemsCount, (int)(-1)); return ret != 0; } /// /// To be documented. /// public static bool ListBox(ref byte label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int heightInItems) { fixed (byte* plabel = &label) { byte ret = ListBoxNative((byte*)plabel, currentItem, itemsGetter, data, itemsCount, heightInItems); return ret != 0; } } /// /// To be documented. /// public static bool ListBox(ref byte label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount) { fixed (byte* plabel = &label) { byte ret = ListBoxNative((byte*)plabel, currentItem, itemsGetter, data, itemsCount, (int)(-1)); return ret != 0; } } /// /// To be documented. /// public static bool ListBox(ReadOnlySpan label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int heightInItems) { fixed (byte* plabel = label) { byte ret = ListBoxNative((byte*)plabel, currentItem, itemsGetter, data, itemsCount, heightInItems); return ret != 0; } } /// /// To be documented. /// public static bool ListBox(ReadOnlySpan label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount) { fixed (byte* plabel = label) { byte ret = ListBoxNative((byte*)plabel, currentItem, itemsGetter, data, itemsCount, (int)(-1)); return ret != 0; } } /// /// To be documented. /// public static bool ListBox(string label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int heightInItems) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = ListBoxNative(pStr0, currentItem, itemsGetter, data, itemsCount, heightInItems); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool ListBox(string label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = ListBoxNative(pStr0, currentItem, itemsGetter, data, itemsCount, (int)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool ListBox(byte* label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int heightInItems) { fixed (int* pcurrentItem = ¤tItem) { byte ret = ListBoxNative(label, (int*)pcurrentItem, itemsGetter, data, itemsCount, heightInItems); return ret != 0; } } /// /// To be documented. /// public static bool ListBox(byte* label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount) { fixed (int* pcurrentItem = ¤tItem) { byte ret = ListBoxNative(label, (int*)pcurrentItem, itemsGetter, data, itemsCount, (int)(-1)); return ret != 0; } } /// /// To be documented. /// public static bool ListBox(ref byte label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int heightInItems) { fixed (byte* plabel = &label) { fixed (int* pcurrentItem = ¤tItem) { byte ret = ListBoxNative((byte*)plabel, (int*)pcurrentItem, itemsGetter, data, itemsCount, heightInItems); return ret != 0; } } } /// /// To be documented. /// public static bool ListBox(ref byte label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount) { fixed (byte* plabel = &label) { fixed (int* pcurrentItem = ¤tItem) { byte ret = ListBoxNative((byte*)plabel, (int*)pcurrentItem, itemsGetter, data, itemsCount, (int)(-1)); return ret != 0; } } } /// /// To be documented. /// public static bool ListBox(ReadOnlySpan label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int heightInItems) { fixed (byte* plabel = label) { fixed (int* pcurrentItem = ¤tItem) { byte ret = ListBoxNative((byte*)plabel, (int*)pcurrentItem, itemsGetter, data, itemsCount, heightInItems); return ret != 0; } } } /// /// To be documented. /// public static bool ListBox(ReadOnlySpan label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount) { fixed (byte* plabel = label) { fixed (int* pcurrentItem = ¤tItem) { byte ret = ListBoxNative((byte*)plabel, (int*)pcurrentItem, itemsGetter, data, itemsCount, (int)(-1)); return ret != 0; } } } /// /// To be documented. /// public static bool ListBox(string label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int heightInItems) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (int* pcurrentItem = ¤tItem) { byte ret = ListBoxNative(pStr0, (int*)pcurrentItem, itemsGetter, data, itemsCount, heightInItems); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool ListBox(string label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (int* pcurrentItem = ¤tItem) { byte ret = ListBoxNative(pStr0, (int*)pcurrentItem, itemsGetter, data, itemsCount, (int)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotLinesNative(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[229])(label, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); #else ((delegate* unmanaged[Cdecl])funcTable[229])((nint)label, (nint)values, valuesCount, valuesOffset, (nint)overlayText, scaleMin, scaleMax, graphSize, stride); #endif } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) { PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) { PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) { PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) { PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText) { PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset) { PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount) { PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText) { PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin) { PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, float scaleMin) { PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin) { PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) { PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, float scaleMin, float scaleMax) { PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) { PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) { PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) { PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize) { PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, Vector2 graphSize) { PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize) { PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) { PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, float scaleMin, Vector2 graphSize) { PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) { PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) { PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) { PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) { PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) { PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) { PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, int stride) { PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, int stride) { PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, int stride) { PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, int stride) { PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, float scaleMin, int stride) { PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, int stride) { PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) { PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, float scaleMin, float scaleMax, int stride) { PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) { PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) { PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) { PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) { PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, Vector2 graphSize, int stride) { PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) { PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) { PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) { PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) { PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) { PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) { PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); } /// /// To be documented. /// public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) { PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, float scaleMin) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, float scaleMin, float scaleMax) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, Vector2 graphSize) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, float scaleMin, Vector2 graphSize) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, int stride) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, int stride) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, int stride) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, int stride) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, float scaleMin, int stride) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, int stride) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, float scaleMin, float scaleMax, int stride) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, Vector2 graphSize, int stride) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); } } /// /// To be documented. /// public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) { fixed (byte* plabel = &label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, float scaleMin) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, float scaleMax) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, Vector2 graphSize) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, Vector2 graphSize) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, int stride) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, int stride) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, int stride) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, int stride) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, int stride) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, int stride) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, float scaleMax, int stride) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, Vector2 graphSize, int stride) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); } } /// /// To be documented. /// public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) { fixed (byte* plabel = label) { PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); } } /// /// To be documented. /// public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLines(string label, float* values, int valuesCount) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLines(string label, float* values, int valuesCount, byte* overlayText) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLinesNative(pStr0, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, float scaleMin) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLines(string label, float* values, int valuesCount, float scaleMin) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLines(string label, float* values, int valuesCount, byte* overlayText, float scaleMin) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLinesNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } }