// ------------------------------------------------------------------------------ // // 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. /// public static bool InputFloat3(byte* label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (float* pv = &v) { fixed (byte* pformat = format) { byte ret = InputFloat3Native(label, (float*)pv, (byte*)pformat, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat3(byte* label, ref float v, ReadOnlySpan format) { fixed (float* pv = &v) { fixed (byte* pformat = format) { byte ret = InputFloat3Native(label, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat3(byte* label, ref float v, string format, ImGuiInputTextFlags flags) { fixed (float* pv = &v) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = InputFloat3Native(label, (float*)pv, pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputFloat3(byte* label, ref float v, string format) { fixed (float* pv = &v) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = InputFloat3Native(label, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputFloat3(ref byte label, ref float v, ref byte format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (float* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); return ret != 0; } } } } /// /// To be documented. /// public static bool InputFloat3(ref byte label, ref float v, ref byte format) { fixed (byte* plabel = &label) { fixed (float* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } } /// /// To be documented. /// public static bool InputFloat3(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (float* pv = v) { fixed (byte* pformat = format) { byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); return ret != 0; } } } } /// /// To be documented. /// public static bool InputFloat3(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format) { fixed (byte* plabel = label) { fixed (float* pv = v) { fixed (byte* pformat = format) { byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } } /// /// To be documented. /// public static bool InputFloat3(string label, ref Vector3 v, string format, ImGuiInputTextFlags 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 (Vector3* pv = &v) { byte* pStr1 = null; int pStrSize1 = 0; if (format != null) { pStrSize1 = Utils.GetByteCountUTF8(format); if (pStrSize1 >= Utils.MaxStackallocSize) { pStr1 = Utils.Alloc(pStrSize1 + 1); } else { byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; pStr1 = pStrStack1; } int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); pStr1[pStrOffset1] = 0; } byte ret = InputFloat3Native(pStr0, (float*)pv, pStr1, flags); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputFloat3(string label, ref Vector3 v, string format) { 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 (Vector3* pv = &v) { byte* pStr1 = null; int pStrSize1 = 0; if (format != null) { pStrSize1 = Utils.GetByteCountUTF8(format); if (pStrSize1 >= Utils.MaxStackallocSize) { pStr1 = Utils.Alloc(pStrSize1 + 1); } else { byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; pStr1 = pStrStack1; } int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); pStr1[pStrOffset1] = 0; } byte ret = InputFloat3Native(pStr0, (float*)pv, pStr1, (ImGuiInputTextFlags)(0)); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputFloat3(ref byte label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (float* pv = &v) { fixed (byte* pformat = format) { byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); return ret != 0; } } } } /// /// To be documented. /// public static bool InputFloat3(ref byte label, ref float v, ReadOnlySpan format) { fixed (byte* plabel = &label) { fixed (float* pv = &v) { fixed (byte* pformat = format) { byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } } /// /// To be documented. /// public static bool InputFloat3(ref byte label, ref float v, string format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (float* pv = &v) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = InputFloat3Native((byte*)plabel, (float*)pv, pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat3(ref byte label, ref float v, string format) { fixed (byte* plabel = &label) { fixed (float* pv = &v) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = InputFloat3Native((byte*)plabel, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat3(ReadOnlySpan label, ref float v, ref byte format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (float* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); return ret != 0; } } } } /// /// To be documented. /// public static bool InputFloat3(ReadOnlySpan label, ref float v, ref byte format) { fixed (byte* plabel = label) { fixed (float* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } } /// /// To be documented. /// public static bool InputFloat3(ReadOnlySpan label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (float* pv = &v) { fixed (byte* pformat = format) { byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); return ret != 0; } } } } /// /// To be documented. /// public static bool InputFloat3(ReadOnlySpan label, ref float v, ReadOnlySpan format) { fixed (byte* plabel = label) { fixed (float* pv = &v) { fixed (byte* pformat = format) { byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } } /// /// To be documented. /// public static bool InputFloat3(ReadOnlySpan label, ref float v, string format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (float* pv = &v) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = InputFloat3Native((byte*)plabel, (float*)pv, pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat3(ReadOnlySpan label, ref float v, string format) { fixed (byte* plabel = label) { fixed (float* pv = &v) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = InputFloat3Native((byte*)plabel, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat3(string label, ref float v, ref byte format, ImGuiInputTextFlags 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 (float* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputFloat3Native(pStr0, (float*)pv, (byte*)pformat, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat3(string label, ref float v, ref byte format) { 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 (float* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputFloat3Native(pStr0, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat3(string label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags 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 (float* pv = &v) { fixed (byte* pformat = format) { byte ret = InputFloat3Native(pStr0, (float*)pv, (byte*)pformat, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat3(string label, ref float v, ReadOnlySpan format) { 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 (float* pv = &v) { fixed (byte* pformat = format) { byte ret = InputFloat3Native(pStr0, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat3(string label, ref float v, string format, ImGuiInputTextFlags 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 (float* pv = &v) { byte* pStr1 = null; int pStrSize1 = 0; if (format != null) { pStrSize1 = Utils.GetByteCountUTF8(format); if (pStrSize1 >= Utils.MaxStackallocSize) { pStr1 = Utils.Alloc(pStrSize1 + 1); } else { byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; pStr1 = pStrStack1; } int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); pStr1[pStrOffset1] = 0; } byte ret = InputFloat3Native(pStr0, (float*)pv, pStr1, flags); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputFloat3(string label, ref float v, string format) { 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 (float* pv = &v) { byte* pStr1 = null; int pStrSize1 = 0; if (format != null) { pStrSize1 = Utils.GetByteCountUTF8(format); if (pStrSize1 >= Utils.MaxStackallocSize) { pStr1 = Utils.Alloc(pStrSize1 + 1); } else { byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; pStr1 = pStrStack1; } int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); pStr1[pStrOffset1] = 0; } byte ret = InputFloat3Native(pStr0, (float*)pv, pStr1, (ImGuiInputTextFlags)(0)); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte InputFloat4Native(byte* label, float* v, byte* format, ImGuiInputTextFlags flags) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[193])(label, v, format, flags); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[193])((nint)label, (nint)v, (nint)format, flags); #endif } /// /// To be documented. /// public static bool InputFloat4(byte* label, float* v, byte* format, ImGuiInputTextFlags flags) { byte ret = InputFloat4Native(label, v, format, flags); return ret != 0; } /// /// To be documented. /// public static bool InputFloat4(byte* label, float* v, byte* format) { byte ret = InputFloat4Native(label, v, format, (ImGuiInputTextFlags)(0)); return ret != 0; } /// /// To be documented. /// public static bool InputFloat4(byte* label, float* v) { bool ret = InputFloat4(label, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); return ret; } /// /// To be documented. /// public static bool InputFloat4(byte* label, float* v, ImGuiInputTextFlags flags) { bool ret = InputFloat4(label, v, (string)"%.3f", flags); return ret; } /// /// To be documented. /// public static bool InputFloat4(ref byte label, float* v, byte* format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { byte ret = InputFloat4Native((byte*)plabel, v, format, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(ref byte label, float* v, byte* format) { fixed (byte* plabel = &label) { byte ret = InputFloat4Native((byte*)plabel, v, format, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(ref byte label, float* v) { fixed (byte* plabel = &label) { bool ret = InputFloat4((byte*)plabel, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); return ret; } } /// /// To be documented. /// public static bool InputFloat4(ref byte label, float* v, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { bool ret = InputFloat4((byte*)plabel, v, (string)"%.3f", flags); return ret; } } /// /// To be documented. /// public static bool InputFloat4(ReadOnlySpan label, float* v, byte* format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { byte ret = InputFloat4Native((byte*)plabel, v, format, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(ReadOnlySpan label, float* v, byte* format) { fixed (byte* plabel = label) { byte ret = InputFloat4Native((byte*)plabel, v, format, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(ReadOnlySpan label, float* v) { fixed (byte* plabel = label) { bool ret = InputFloat4((byte*)plabel, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); return ret; } } /// /// To be documented. /// public static bool InputFloat4(ReadOnlySpan label, float* v, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { bool ret = InputFloat4((byte*)plabel, v, (string)"%.3f", flags); return ret; } } /// /// To be documented. /// public static bool InputFloat4(string label, float* v, byte* format, ImGuiInputTextFlags 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 = InputFloat4Native(pStr0, v, format, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputFloat4(string label, float* v, byte* format) { 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 = InputFloat4Native(pStr0, v, format, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputFloat4(string label, float* v) { 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; } bool ret = InputFloat4(pStr0, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static bool InputFloat4(string label, float* v, ImGuiInputTextFlags 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; } bool ret = InputFloat4(pStr0, v, (string)"%.3f", flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static bool InputFloat4(byte* label, ref float v, byte* format, ImGuiInputTextFlags flags) { fixed (float* pv = &v) { byte ret = InputFloat4Native(label, (float*)pv, format, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(byte* label, ref float v, byte* format) { fixed (float* pv = &v) { byte ret = InputFloat4Native(label, (float*)pv, format, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(byte* label, ref float v) { fixed (float* pv = &v) { bool ret = InputFloat4(label, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); return ret; } } /// /// To be documented. /// public static bool InputFloat4(byte* label, ref float v, ImGuiInputTextFlags flags) { fixed (float* pv = &v) { bool ret = InputFloat4(label, (float*)pv, (string)"%.3f", flags); return ret; } } /// /// To be documented. /// public static bool InputFloat4(byte* label, ReadOnlySpan v, byte* format, ImGuiInputTextFlags flags) { fixed (float* pv = v) { byte ret = InputFloat4Native(label, (float*)pv, format, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(byte* label, ReadOnlySpan v, byte* format) { fixed (float* pv = v) { byte ret = InputFloat4Native(label, (float*)pv, format, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(byte* label, ReadOnlySpan v) { fixed (float* pv = v) { bool ret = InputFloat4(label, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); return ret; } } /// /// To be documented. /// public static bool InputFloat4(byte* label, ReadOnlySpan v, ImGuiInputTextFlags flags) { fixed (float* pv = v) { bool ret = InputFloat4(label, (float*)pv, (string)"%.3f", flags); return ret; } } /// /// To be documented. /// public static bool InputFloat4(byte* label, ref Vector4 v, byte* format, ImGuiInputTextFlags flags) { fixed (Vector4* pv = &v) { byte ret = InputFloat4Native(label, (float*)pv, format, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(byte* label, ref Vector4 v, byte* format) { fixed (Vector4* pv = &v) { byte ret = InputFloat4Native(label, (float*)pv, format, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(byte* label, ref Vector4 v) { fixed (Vector4* pv = &v) { bool ret = InputFloat4(label, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); return ret; } } /// /// To be documented. /// public static bool InputFloat4(byte* label, ref Vector4 v, ImGuiInputTextFlags flags) { fixed (Vector4* pv = &v) { bool ret = InputFloat4(label, (float*)pv, (string)"%.3f", flags); return ret; } } /// /// To be documented. /// public static bool InputFloat4(ref byte label, ref float v, byte* format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (float* pv = &v) { byte ret = InputFloat4Native((byte*)plabel, (float*)pv, format, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(ref byte label, ref float v, byte* format) { fixed (byte* plabel = &label) { fixed (float* pv = &v) { byte ret = InputFloat4Native((byte*)plabel, (float*)pv, format, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(ref byte label, ref float v) { fixed (byte* plabel = &label) { fixed (float* pv = &v) { bool ret = InputFloat4((byte*)plabel, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); return ret; } } } /// /// To be documented. /// public static bool InputFloat4(ref byte label, ref float v, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (float* pv = &v) { bool ret = InputFloat4((byte*)plabel, (float*)pv, (string)"%.3f", flags); return ret; } } } /// /// To be documented. /// public static bool InputFloat4(ReadOnlySpan label, ReadOnlySpan v, byte* format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (float* pv = v) { byte ret = InputFloat4Native((byte*)plabel, (float*)pv, format, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(ReadOnlySpan label, ReadOnlySpan v, byte* format) { fixed (byte* plabel = label) { fixed (float* pv = v) { byte ret = InputFloat4Native((byte*)plabel, (float*)pv, format, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(ReadOnlySpan label, ReadOnlySpan v) { fixed (byte* plabel = label) { fixed (float* pv = v) { bool ret = InputFloat4((byte*)plabel, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); return ret; } } } /// /// To be documented. /// public static bool InputFloat4(ReadOnlySpan label, ReadOnlySpan v, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (float* pv = v) { bool ret = InputFloat4((byte*)plabel, (float*)pv, (string)"%.3f", flags); return ret; } } } /// /// To be documented. /// public static bool InputFloat4(string label, ref Vector4 v, byte* format, ImGuiInputTextFlags 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 (Vector4* pv = &v) { byte ret = InputFloat4Native(pStr0, (float*)pv, format, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(string label, ref Vector4 v, byte* format) { 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 (Vector4* pv = &v) { byte ret = InputFloat4Native(pStr0, (float*)pv, format, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(string label, ref Vector4 v) { 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 (Vector4* pv = &v) { bool ret = InputFloat4(pStr0, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public static bool InputFloat4(string label, ref Vector4 v, ImGuiInputTextFlags 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 (Vector4* pv = &v) { bool ret = InputFloat4(pStr0, (float*)pv, (string)"%.3f", flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public static bool InputFloat4(ReadOnlySpan label, ref float v, byte* format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (float* pv = &v) { byte ret = InputFloat4Native((byte*)plabel, (float*)pv, format, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(ReadOnlySpan label, ref float v, byte* format) { fixed (byte* plabel = label) { fixed (float* pv = &v) { byte ret = InputFloat4Native((byte*)plabel, (float*)pv, format, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(ReadOnlySpan label, ref float v) { fixed (byte* plabel = label) { fixed (float* pv = &v) { bool ret = InputFloat4((byte*)plabel, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); return ret; } } } /// /// To be documented. /// public static bool InputFloat4(ReadOnlySpan label, ref float v, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (float* pv = &v) { bool ret = InputFloat4((byte*)plabel, (float*)pv, (string)"%.3f", flags); return ret; } } } /// /// To be documented. /// public static bool InputFloat4(string label, ref float v, byte* format, ImGuiInputTextFlags 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 (float* pv = &v) { byte ret = InputFloat4Native(pStr0, (float*)pv, format, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(string label, ref float v, byte* format) { 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 (float* pv = &v) { byte ret = InputFloat4Native(pStr0, (float*)pv, format, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(string label, ref float v) { 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 (float* pv = &v) { bool ret = InputFloat4(pStr0, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public static bool InputFloat4(string label, ref float v, ImGuiInputTextFlags 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 (float* pv = &v) { bool ret = InputFloat4(pStr0, (float*)pv, (string)"%.3f", flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public static bool InputFloat4(byte* label, float* v, ref byte format, ImGuiInputTextFlags flags) { fixed (byte* pformat = &format) { byte ret = InputFloat4Native(label, v, (byte*)pformat, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(byte* label, float* v, ref byte format) { fixed (byte* pformat = &format) { byte ret = InputFloat4Native(label, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(byte* label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (byte* pformat = format) { byte ret = InputFloat4Native(label, v, (byte*)pformat, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(byte* label, float* v, ReadOnlySpan format) { fixed (byte* pformat = format) { byte ret = InputFloat4Native(label, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(byte* label, float* v, string format, ImGuiInputTextFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = InputFloat4Native(label, v, pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputFloat4(byte* label, float* v, string format) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = InputFloat4Native(label, v, pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputFloat4(ref byte label, float* v, ref byte format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (byte* pformat = &format) { byte ret = InputFloat4Native((byte*)plabel, v, (byte*)pformat, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(ref byte label, float* v, ref byte format) { fixed (byte* plabel = &label) { fixed (byte* pformat = &format) { byte ret = InputFloat4Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(ReadOnlySpan label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (byte* pformat = format) { byte ret = InputFloat4Native((byte*)plabel, v, (byte*)pformat, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(ReadOnlySpan label, float* v, ReadOnlySpan format) { fixed (byte* plabel = label) { fixed (byte* pformat = format) { byte ret = InputFloat4Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(string label, float* v, string format, ImGuiInputTextFlags 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* pStr1 = null; int pStrSize1 = 0; if (format != null) { pStrSize1 = Utils.GetByteCountUTF8(format); if (pStrSize1 >= Utils.MaxStackallocSize) { pStr1 = Utils.Alloc(pStrSize1 + 1); } else { byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; pStr1 = pStrStack1; } int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); pStr1[pStrOffset1] = 0; } byte ret = InputFloat4Native(pStr0, v, pStr1, flags); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputFloat4(string label, float* v, string format) { 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* pStr1 = null; int pStrSize1 = 0; if (format != null) { pStrSize1 = Utils.GetByteCountUTF8(format); if (pStrSize1 >= Utils.MaxStackallocSize) { pStr1 = Utils.Alloc(pStrSize1 + 1); } else { byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; pStr1 = pStrStack1; } int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); pStr1[pStrOffset1] = 0; } byte ret = InputFloat4Native(pStr0, v, pStr1, (ImGuiInputTextFlags)(0)); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputFloat4(ref byte label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (byte* pformat = format) { byte ret = InputFloat4Native((byte*)plabel, v, (byte*)pformat, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(ref byte label, float* v, ReadOnlySpan format) { fixed (byte* plabel = &label) { fixed (byte* pformat = format) { byte ret = InputFloat4Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(ref byte label, float* v, string format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = InputFloat4Native((byte*)plabel, v, pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(ref byte label, float* v, string format) { fixed (byte* plabel = &label) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = InputFloat4Native((byte*)plabel, v, pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(ReadOnlySpan label, float* v, ref byte format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (byte* pformat = &format) { byte ret = InputFloat4Native((byte*)plabel, v, (byte*)pformat, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(ReadOnlySpan label, float* v, ref byte format) { fixed (byte* plabel = label) { fixed (byte* pformat = &format) { byte ret = InputFloat4Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(ReadOnlySpan label, float* v, string format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = InputFloat4Native((byte*)plabel, v, pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(ReadOnlySpan label, float* v, string format) { fixed (byte* plabel = label) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = InputFloat4Native((byte*)plabel, v, pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(string label, float* v, ref byte format, ImGuiInputTextFlags 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 (byte* pformat = &format) { byte ret = InputFloat4Native(pStr0, v, (byte*)pformat, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(string label, float* v, ref byte format) { 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 (byte* pformat = &format) { byte ret = InputFloat4Native(pStr0, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(string label, float* v, ReadOnlySpan format, ImGuiInputTextFlags 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 (byte* pformat = format) { byte ret = InputFloat4Native(pStr0, v, (byte*)pformat, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(string label, float* v, ReadOnlySpan format) { 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 (byte* pformat = format) { byte ret = InputFloat4Native(pStr0, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(byte* label, ref float v, ref byte format, ImGuiInputTextFlags flags) { fixed (float* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputFloat4Native(label, (float*)pv, (byte*)pformat, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(byte* label, ref float v, ref byte format) { fixed (float* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputFloat4Native(label, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(byte* label, ReadOnlySpan v, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (float* pv = v) { fixed (byte* pformat = format) { byte ret = InputFloat4Native(label, (float*)pv, (byte*)pformat, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(byte* label, ReadOnlySpan v, ReadOnlySpan format) { fixed (float* pv = v) { fixed (byte* pformat = format) { byte ret = InputFloat4Native(label, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(byte* label, ref Vector4 v, string format, ImGuiInputTextFlags flags) { fixed (Vector4* pv = &v) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = InputFloat4Native(label, (float*)pv, pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(byte* label, ref Vector4 v, string format) { fixed (Vector4* pv = &v) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = InputFloat4Native(label, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(byte* label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (float* pv = &v) { fixed (byte* pformat = format) { byte ret = InputFloat4Native(label, (float*)pv, (byte*)pformat, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(byte* label, ref float v, ReadOnlySpan format) { fixed (float* pv = &v) { fixed (byte* pformat = format) { byte ret = InputFloat4Native(label, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(byte* label, ref float v, string format, ImGuiInputTextFlags flags) { fixed (float* pv = &v) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = InputFloat4Native(label, (float*)pv, pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(byte* label, ref float v, string format) { fixed (float* pv = &v) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = InputFloat4Native(label, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(ref byte label, ref float v, ref byte format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (float* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); return ret != 0; } } } } /// /// To be documented. /// public static bool InputFloat4(ref byte label, ref float v, ref byte format) { fixed (byte* plabel = &label) { fixed (float* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } } /// /// To be documented. /// public static bool InputFloat4(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (float* pv = v) { fixed (byte* pformat = format) { byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); return ret != 0; } } } } /// /// To be documented. /// public static bool InputFloat4(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format) { fixed (byte* plabel = label) { fixed (float* pv = v) { fixed (byte* pformat = format) { byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } } /// /// To be documented. /// public static bool InputFloat4(string label, ref Vector4 v, string format, ImGuiInputTextFlags 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 (Vector4* pv = &v) { byte* pStr1 = null; int pStrSize1 = 0; if (format != null) { pStrSize1 = Utils.GetByteCountUTF8(format); if (pStrSize1 >= Utils.MaxStackallocSize) { pStr1 = Utils.Alloc(pStrSize1 + 1); } else { byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; pStr1 = pStrStack1; } int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); pStr1[pStrOffset1] = 0; } byte ret = InputFloat4Native(pStr0, (float*)pv, pStr1, flags); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(string label, ref Vector4 v, string format) { 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 (Vector4* pv = &v) { byte* pStr1 = null; int pStrSize1 = 0; if (format != null) { pStrSize1 = Utils.GetByteCountUTF8(format); if (pStrSize1 >= Utils.MaxStackallocSize) { pStr1 = Utils.Alloc(pStrSize1 + 1); } else { byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; pStr1 = pStrStack1; } int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); pStr1[pStrOffset1] = 0; } byte ret = InputFloat4Native(pStr0, (float*)pv, pStr1, (ImGuiInputTextFlags)(0)); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(ref byte label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (float* pv = &v) { fixed (byte* pformat = format) { byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); return ret != 0; } } } } /// /// To be documented. /// public static bool InputFloat4(ref byte label, ref float v, ReadOnlySpan format) { fixed (byte* plabel = &label) { fixed (float* pv = &v) { fixed (byte* pformat = format) { byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } } /// /// To be documented. /// public static bool InputFloat4(ref byte label, ref float v, string format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (float* pv = &v) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = InputFloat4Native((byte*)plabel, (float*)pv, pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(ref byte label, ref float v, string format) { fixed (byte* plabel = &label) { fixed (float* pv = &v) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = InputFloat4Native((byte*)plabel, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(ReadOnlySpan label, ref float v, ref byte format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (float* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); return ret != 0; } } } } /// /// To be documented. /// public static bool InputFloat4(ReadOnlySpan label, ref float v, ref byte format) { fixed (byte* plabel = label) { fixed (float* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } } /// /// To be documented. /// public static bool InputFloat4(ReadOnlySpan label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (float* pv = &v) { fixed (byte* pformat = format) { byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); return ret != 0; } } } } /// /// To be documented. /// public static bool InputFloat4(ReadOnlySpan label, ref float v, ReadOnlySpan format) { fixed (byte* plabel = label) { fixed (float* pv = &v) { fixed (byte* pformat = format) { byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } } /// /// To be documented. /// public static bool InputFloat4(ReadOnlySpan label, ref float v, string format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (float* pv = &v) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = InputFloat4Native((byte*)plabel, (float*)pv, pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(ReadOnlySpan label, ref float v, string format) { fixed (byte* plabel = label) { fixed (float* pv = &v) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = InputFloat4Native((byte*)plabel, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(string label, ref float v, ref byte format, ImGuiInputTextFlags 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 (float* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputFloat4Native(pStr0, (float*)pv, (byte*)pformat, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(string label, ref float v, ref byte format) { 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 (float* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputFloat4Native(pStr0, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(string label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags 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 (float* pv = &v) { fixed (byte* pformat = format) { byte ret = InputFloat4Native(pStr0, (float*)pv, (byte*)pformat, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(string label, ref float v, ReadOnlySpan format) { 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 (float* pv = &v) { fixed (byte* pformat = format) { byte ret = InputFloat4Native(pStr0, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool InputFloat4(string label, ref float v, string format, ImGuiInputTextFlags 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 (float* pv = &v) { byte* pStr1 = null; int pStrSize1 = 0; if (format != null) { pStrSize1 = Utils.GetByteCountUTF8(format); if (pStrSize1 >= Utils.MaxStackallocSize) { pStr1 = Utils.Alloc(pStrSize1 + 1); } else { byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; pStr1 = pStrStack1; } int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); pStr1[pStrOffset1] = 0; } byte ret = InputFloat4Native(pStr0, (float*)pv, pStr1, flags); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputFloat4(string label, ref float v, string format) { 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 (float* pv = &v) { byte* pStr1 = null; int pStrSize1 = 0; if (format != null) { pStrSize1 = Utils.GetByteCountUTF8(format); if (pStrSize1 >= Utils.MaxStackallocSize) { pStr1 = Utils.Alloc(pStrSize1 + 1); } else { byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; pStr1 = pStrStack1; } int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); pStr1[pStrOffset1] = 0; } byte ret = InputFloat4Native(pStr0, (float*)pv, pStr1, (ImGuiInputTextFlags)(0)); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte InputIntNative(byte* label, int* v, int step, int stepFast, ImGuiInputTextFlags flags) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[194])(label, v, step, stepFast, flags); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[194])((nint)label, (nint)v, step, stepFast, flags); #endif } /// /// To be documented. /// public static bool InputInt(byte* label, int* v, int step, int stepFast, ImGuiInputTextFlags flags) { byte ret = InputIntNative(label, v, step, stepFast, flags); return ret != 0; } /// /// To be documented. /// public static bool InputInt(byte* label, int* v, int step, int stepFast) { byte ret = InputIntNative(label, v, step, stepFast, (ImGuiInputTextFlags)(0)); return ret != 0; } /// /// To be documented. /// public static bool InputInt(byte* label, int* v, int step) { byte ret = InputIntNative(label, v, step, (int)(100), (ImGuiInputTextFlags)(0)); return ret != 0; } /// /// To be documented. /// public static bool InputInt(byte* label, int* v) { byte ret = InputIntNative(label, v, (int)(1), (int)(100), (ImGuiInputTextFlags)(0)); return ret != 0; } /// /// To be documented. /// public static bool InputInt(byte* label, int* v, int step, ImGuiInputTextFlags flags) { byte ret = InputIntNative(label, v, step, (int)(100), flags); return ret != 0; } /// /// To be documented. /// public static bool InputInt(byte* label, int* v, ImGuiInputTextFlags flags) { byte ret = InputIntNative(label, v, (int)(1), (int)(100), flags); return ret != 0; } /// /// To be documented. /// public static bool InputInt(ref byte label, int* v, int step, int stepFast, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { byte ret = InputIntNative((byte*)plabel, v, step, stepFast, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputInt(ref byte label, int* v, int step, int stepFast) { fixed (byte* plabel = &label) { byte ret = InputIntNative((byte*)plabel, v, step, stepFast, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputInt(ref byte label, int* v, int step) { fixed (byte* plabel = &label) { byte ret = InputIntNative((byte*)plabel, v, step, (int)(100), (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputInt(ref byte label, int* v) { fixed (byte* plabel = &label) { byte ret = InputIntNative((byte*)plabel, v, (int)(1), (int)(100), (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputInt(ref byte label, int* v, int step, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { byte ret = InputIntNative((byte*)plabel, v, step, (int)(100), flags); return ret != 0; } } /// /// To be documented. /// public static bool InputInt(ref byte label, int* v, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { byte ret = InputIntNative((byte*)plabel, v, (int)(1), (int)(100), flags); return ret != 0; } } /// /// To be documented. /// public static bool InputInt(ReadOnlySpan label, int* v, int step, int stepFast, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { byte ret = InputIntNative((byte*)plabel, v, step, stepFast, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputInt(ReadOnlySpan label, int* v, int step, int stepFast) { fixed (byte* plabel = label) { byte ret = InputIntNative((byte*)plabel, v, step, stepFast, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputInt(ReadOnlySpan label, int* v, int step) { fixed (byte* plabel = label) { byte ret = InputIntNative((byte*)plabel, v, step, (int)(100), (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputInt(ReadOnlySpan label, int* v) { fixed (byte* plabel = label) { byte ret = InputIntNative((byte*)plabel, v, (int)(1), (int)(100), (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputInt(ReadOnlySpan label, int* v, int step, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { byte ret = InputIntNative((byte*)plabel, v, step, (int)(100), flags); return ret != 0; } } /// /// To be documented. /// public static bool InputInt(ReadOnlySpan label, int* v, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { byte ret = InputIntNative((byte*)plabel, v, (int)(1), (int)(100), flags); return ret != 0; } } /// /// To be documented. /// public static bool InputInt(string label, int* v, int step, int stepFast, ImGuiInputTextFlags 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 = InputIntNative(pStr0, v, step, stepFast, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputInt(string label, int* v, int step, int stepFast) { 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 = InputIntNative(pStr0, v, step, stepFast, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputInt(string label, int* v, int step) { 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 = InputIntNative(pStr0, v, step, (int)(100), (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputInt(string label, int* v) { 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 = InputIntNative(pStr0, v, (int)(1), (int)(100), (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputInt(string label, int* v, int step, ImGuiInputTextFlags 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 = InputIntNative(pStr0, v, step, (int)(100), flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputInt(string label, int* v, ImGuiInputTextFlags 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 = InputIntNative(pStr0, v, (int)(1), (int)(100), flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputInt(byte* label, ref int v, int step, int stepFast, ImGuiInputTextFlags flags) { fixed (int* pv = &v) { byte ret = InputIntNative(label, (int*)pv, step, stepFast, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputInt(byte* label, ref int v, int step, int stepFast) { fixed (int* pv = &v) { byte ret = InputIntNative(label, (int*)pv, step, stepFast, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputInt(byte* label, ref int v, int step) { fixed (int* pv = &v) { byte ret = InputIntNative(label, (int*)pv, step, (int)(100), (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputInt(byte* label, ref int v) { fixed (int* pv = &v) { byte ret = InputIntNative(label, (int*)pv, (int)(1), (int)(100), (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputInt(byte* label, ref int v, int step, ImGuiInputTextFlags flags) { fixed (int* pv = &v) { byte ret = InputIntNative(label, (int*)pv, step, (int)(100), flags); return ret != 0; } } /// /// To be documented. /// public static bool InputInt(byte* label, ref int v, ImGuiInputTextFlags flags) { fixed (int* pv = &v) { byte ret = InputIntNative(label, (int*)pv, (int)(1), (int)(100), flags); return ret != 0; } } /// /// To be documented. /// public static bool InputInt(ref byte label, ref int v, int step, int stepFast, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (int* pv = &v) { byte ret = InputIntNative((byte*)plabel, (int*)pv, step, stepFast, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputInt(ref byte label, ref int v, int step, int stepFast) { fixed (byte* plabel = &label) { fixed (int* pv = &v) { byte ret = InputIntNative((byte*)plabel, (int*)pv, step, stepFast, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputInt(ref byte label, ref int v, int step) { fixed (byte* plabel = &label) { fixed (int* pv = &v) { byte ret = InputIntNative((byte*)plabel, (int*)pv, step, (int)(100), (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputInt(ref byte label, ref int v) { fixed (byte* plabel = &label) { fixed (int* pv = &v) { byte ret = InputIntNative((byte*)plabel, (int*)pv, (int)(1), (int)(100), (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputInt(ref byte label, ref int v, int step, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (int* pv = &v) { byte ret = InputIntNative((byte*)plabel, (int*)pv, step, (int)(100), flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputInt(ref byte label, ref int v, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (int* pv = &v) { byte ret = InputIntNative((byte*)plabel, (int*)pv, (int)(1), (int)(100), flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputInt(ReadOnlySpan label, ref int v, int step, int stepFast, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (int* pv = &v) { byte ret = InputIntNative((byte*)plabel, (int*)pv, step, stepFast, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputInt(ReadOnlySpan label, ref int v, int step, int stepFast) { fixed (byte* plabel = label) { fixed (int* pv = &v) { byte ret = InputIntNative((byte*)plabel, (int*)pv, step, stepFast, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputInt(ReadOnlySpan label, ref int v, int step) { fixed (byte* plabel = label) { fixed (int* pv = &v) { byte ret = InputIntNative((byte*)plabel, (int*)pv, step, (int)(100), (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputInt(ReadOnlySpan label, ref int v) { fixed (byte* plabel = label) { fixed (int* pv = &v) { byte ret = InputIntNative((byte*)plabel, (int*)pv, (int)(1), (int)(100), (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputInt(ReadOnlySpan label, ref int v, int step, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (int* pv = &v) { byte ret = InputIntNative((byte*)plabel, (int*)pv, step, (int)(100), flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputInt(ReadOnlySpan label, ref int v, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (int* pv = &v) { byte ret = InputIntNative((byte*)plabel, (int*)pv, (int)(1), (int)(100), flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputInt(string label, ref int v, int step, int stepFast, ImGuiInputTextFlags 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 (int* pv = &v) { byte ret = InputIntNative(pStr0, (int*)pv, step, stepFast, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputInt(string label, ref int v, int step, int stepFast) { 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* pv = &v) { byte ret = InputIntNative(pStr0, (int*)pv, step, stepFast, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputInt(string label, ref int v, int step) { 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* pv = &v) { byte ret = InputIntNative(pStr0, (int*)pv, step, (int)(100), (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputInt(string label, ref int v) { 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* pv = &v) { byte ret = InputIntNative(pStr0, (int*)pv, (int)(1), (int)(100), (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputInt(string label, ref int v, int step, ImGuiInputTextFlags 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 (int* pv = &v) { byte ret = InputIntNative(pStr0, (int*)pv, step, (int)(100), flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputInt(string label, ref int v, ImGuiInputTextFlags 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 (int* pv = &v) { byte ret = InputIntNative(pStr0, (int*)pv, (int)(1), (int)(100), flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte InputInt2Native(byte* label, int* v, ImGuiInputTextFlags flags) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[195])(label, v, flags); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[195])((nint)label, (nint)v, flags); #endif } /// /// To be documented. /// public static bool InputInt2(byte* label, int* v, ImGuiInputTextFlags flags) { byte ret = InputInt2Native(label, v, flags); return ret != 0; } /// /// To be documented. /// public static bool InputInt2(byte* label, int* v) { byte ret = InputInt2Native(label, v, (ImGuiInputTextFlags)(0)); return ret != 0; } /// /// To be documented. /// public static bool InputInt2(ref byte label, int* v, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { byte ret = InputInt2Native((byte*)plabel, v, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputInt2(ref byte label, int* v) { fixed (byte* plabel = &label) { byte ret = InputInt2Native((byte*)plabel, v, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputInt2(ReadOnlySpan label, int* v, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { byte ret = InputInt2Native((byte*)plabel, v, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputInt2(ReadOnlySpan label, int* v) { fixed (byte* plabel = label) { byte ret = InputInt2Native((byte*)plabel, v, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputInt2(string label, int* v, ImGuiInputTextFlags 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 = InputInt2Native(pStr0, v, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputInt2(string label, int* v) { 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 = InputInt2Native(pStr0, v, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputInt2(byte* label, ref int v, ImGuiInputTextFlags flags) { fixed (int* pv = &v) { byte ret = InputInt2Native(label, (int*)pv, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputInt2(byte* label, ref int v) { fixed (int* pv = &v) { byte ret = InputInt2Native(label, (int*)pv, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputInt2(byte* label, ReadOnlySpan v, ImGuiInputTextFlags flags) { fixed (int* pv = v) { byte ret = InputInt2Native(label, (int*)pv, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputInt2(byte* label, ReadOnlySpan v) { fixed (int* pv = v) { byte ret = InputInt2Native(label, (int*)pv, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputInt2(ref byte label, ref int v, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (int* pv = &v) { byte ret = InputInt2Native((byte*)plabel, (int*)pv, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputInt2(ref byte label, ref int v) { fixed (byte* plabel = &label) { fixed (int* pv = &v) { byte ret = InputInt2Native((byte*)plabel, (int*)pv, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputInt2(ReadOnlySpan label, ReadOnlySpan v, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (int* pv = v) { byte ret = InputInt2Native((byte*)plabel, (int*)pv, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputInt2(ReadOnlySpan label, ReadOnlySpan v) { fixed (byte* plabel = label) { fixed (int* pv = v) { byte ret = InputInt2Native((byte*)plabel, (int*)pv, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputInt2(string label, ref int v, ImGuiInputTextFlags 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 (int* pv = &v) { byte ret = InputInt2Native(pStr0, (int*)pv, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputInt2(string label, ref int v) { 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* pv = &v) { byte ret = InputInt2Native(pStr0, (int*)pv, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputInt2(ReadOnlySpan label, ref int v, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (int* pv = &v) { byte ret = InputInt2Native((byte*)plabel, (int*)pv, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputInt2(ReadOnlySpan label, ref int v) { fixed (byte* plabel = label) { fixed (int* pv = &v) { byte ret = InputInt2Native((byte*)plabel, (int*)pv, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte InputInt3Native(byte* label, int* v, ImGuiInputTextFlags flags) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[196])(label, v, flags); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[196])((nint)label, (nint)v, flags); #endif } /// /// To be documented. /// public static bool InputInt3(byte* label, int* v, ImGuiInputTextFlags flags) { byte ret = InputInt3Native(label, v, flags); return ret != 0; } /// /// To be documented. /// public static bool InputInt3(byte* label, int* v) { byte ret = InputInt3Native(label, v, (ImGuiInputTextFlags)(0)); return ret != 0; } /// /// To be documented. /// public static bool InputInt3(ref byte label, int* v, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { byte ret = InputInt3Native((byte*)plabel, v, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputInt3(ref byte label, int* v) { fixed (byte* plabel = &label) { byte ret = InputInt3Native((byte*)plabel, v, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputInt3(ReadOnlySpan label, int* v, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { byte ret = InputInt3Native((byte*)plabel, v, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputInt3(ReadOnlySpan label, int* v) { fixed (byte* plabel = label) { byte ret = InputInt3Native((byte*)plabel, v, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputInt3(string label, int* v, ImGuiInputTextFlags 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 = InputInt3Native(pStr0, v, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputInt3(string label, int* v) { 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 = InputInt3Native(pStr0, v, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputInt3(byte* label, ref int v, ImGuiInputTextFlags flags) { fixed (int* pv = &v) { byte ret = InputInt3Native(label, (int*)pv, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputInt3(byte* label, ref int v) { fixed (int* pv = &v) { byte ret = InputInt3Native(label, (int*)pv, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputInt3(byte* label, ReadOnlySpan v, ImGuiInputTextFlags flags) { fixed (int* pv = v) { byte ret = InputInt3Native(label, (int*)pv, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputInt3(byte* label, ReadOnlySpan v) { fixed (int* pv = v) { byte ret = InputInt3Native(label, (int*)pv, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputInt3(ref byte label, ref int v, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (int* pv = &v) { byte ret = InputInt3Native((byte*)plabel, (int*)pv, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputInt3(ref byte label, ref int v) { fixed (byte* plabel = &label) { fixed (int* pv = &v) { byte ret = InputInt3Native((byte*)plabel, (int*)pv, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputInt3(ReadOnlySpan label, ReadOnlySpan v, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (int* pv = v) { byte ret = InputInt3Native((byte*)plabel, (int*)pv, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputInt3(ReadOnlySpan label, ReadOnlySpan v) { fixed (byte* plabel = label) { fixed (int* pv = v) { byte ret = InputInt3Native((byte*)plabel, (int*)pv, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputInt3(string label, ref int v, ImGuiInputTextFlags 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 (int* pv = &v) { byte ret = InputInt3Native(pStr0, (int*)pv, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputInt3(string label, ref int v) { 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* pv = &v) { byte ret = InputInt3Native(pStr0, (int*)pv, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputInt3(ReadOnlySpan label, ref int v, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (int* pv = &v) { byte ret = InputInt3Native((byte*)plabel, (int*)pv, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputInt3(ReadOnlySpan label, ref int v) { fixed (byte* plabel = label) { fixed (int* pv = &v) { byte ret = InputInt3Native((byte*)plabel, (int*)pv, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte InputInt4Native(byte* label, int* v, ImGuiInputTextFlags flags) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[197])(label, v, flags); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[197])((nint)label, (nint)v, flags); #endif } /// /// To be documented. /// public static bool InputInt4(byte* label, int* v, ImGuiInputTextFlags flags) { byte ret = InputInt4Native(label, v, flags); return ret != 0; } /// /// To be documented. /// public static bool InputInt4(byte* label, int* v) { byte ret = InputInt4Native(label, v, (ImGuiInputTextFlags)(0)); return ret != 0; } /// /// To be documented. /// public static bool InputInt4(ref byte label, int* v, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { byte ret = InputInt4Native((byte*)plabel, v, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputInt4(ref byte label, int* v) { fixed (byte* plabel = &label) { byte ret = InputInt4Native((byte*)plabel, v, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputInt4(ReadOnlySpan label, int* v, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { byte ret = InputInt4Native((byte*)plabel, v, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputInt4(ReadOnlySpan label, int* v) { fixed (byte* plabel = label) { byte ret = InputInt4Native((byte*)plabel, v, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputInt4(string label, int* v, ImGuiInputTextFlags 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 = InputInt4Native(pStr0, v, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputInt4(string label, int* v) { 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 = InputInt4Native(pStr0, v, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputInt4(byte* label, ref int v, ImGuiInputTextFlags flags) { fixed (int* pv = &v) { byte ret = InputInt4Native(label, (int*)pv, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputInt4(byte* label, ref int v) { fixed (int* pv = &v) { byte ret = InputInt4Native(label, (int*)pv, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputInt4(byte* label, ReadOnlySpan v, ImGuiInputTextFlags flags) { fixed (int* pv = v) { byte ret = InputInt4Native(label, (int*)pv, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputInt4(byte* label, ReadOnlySpan v) { fixed (int* pv = v) { byte ret = InputInt4Native(label, (int*)pv, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputInt4(ref byte label, ref int v, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (int* pv = &v) { byte ret = InputInt4Native((byte*)plabel, (int*)pv, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputInt4(ref byte label, ref int v) { fixed (byte* plabel = &label) { fixed (int* pv = &v) { byte ret = InputInt4Native((byte*)plabel, (int*)pv, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputInt4(ReadOnlySpan label, ReadOnlySpan v, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (int* pv = v) { byte ret = InputInt4Native((byte*)plabel, (int*)pv, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputInt4(ReadOnlySpan label, ReadOnlySpan v) { fixed (byte* plabel = label) { fixed (int* pv = v) { byte ret = InputInt4Native((byte*)plabel, (int*)pv, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputInt4(string label, ref int v, ImGuiInputTextFlags 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 (int* pv = &v) { byte ret = InputInt4Native(pStr0, (int*)pv, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputInt4(string label, ref int v) { 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* pv = &v) { byte ret = InputInt4Native(pStr0, (int*)pv, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputInt4(ReadOnlySpan label, ref int v, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (int* pv = &v) { byte ret = InputInt4Native((byte*)plabel, (int*)pv, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputInt4(ReadOnlySpan label, ref int v) { fixed (byte* plabel = label) { fixed (int* pv = &v) { byte ret = InputInt4Native((byte*)plabel, (int*)pv, (ImGuiInputTextFlags)(0)); return ret != 0; } } } } }