// ------------------------------------------------------------------------------ // // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // // ------------------------------------------------------------------------------ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using HexaGen.Runtime; using System.Numerics; namespace Dalamud.Bindings.ImGui { public unsafe partial class ImGui { /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte InputDoubleNative(byte* label, double* v, double step, double stepFast, byte* format, ImGuiInputTextFlags flags) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[198])(label, v, step, stepFast, format, flags); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[198])((nint)label, (nint)v, step, stepFast, (nint)format, flags); #endif } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v, double step, double stepFast, byte* format, ImGuiInputTextFlags flags) { byte ret = InputDoubleNative(label, v, step, stepFast, format, flags); return ret != 0; } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v, double step, double stepFast, byte* format) { byte ret = InputDoubleNative(label, v, step, stepFast, format, (ImGuiInputTextFlags)(0)); return ret != 0; } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v, double step, double stepFast) { bool ret = InputDouble(label, v, step, stepFast, (string)"%.6f", (ImGuiInputTextFlags)(0)); return ret; } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v, double step) { bool ret = InputDouble(label, v, step, (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); return ret; } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v) { bool ret = InputDouble(label, v, (double)(0.0), (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); return ret; } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v, double step, byte* format) { byte ret = InputDoubleNative(label, v, step, (double)(0.0), format, (ImGuiInputTextFlags)(0)); return ret != 0; } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v, byte* format) { byte ret = InputDoubleNative(label, v, (double)(0.0), (double)(0.0), format, (ImGuiInputTextFlags)(0)); return ret != 0; } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v, double step, double stepFast, ImGuiInputTextFlags flags) { bool ret = InputDouble(label, v, step, stepFast, (string)"%.6f", flags); return ret; } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v, double step, ImGuiInputTextFlags flags) { bool ret = InputDouble(label, v, step, (double)(0.0), (string)"%.6f", flags); return ret; } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v, ImGuiInputTextFlags flags) { bool ret = InputDouble(label, v, (double)(0.0), (double)(0.0), (string)"%.6f", flags); return ret; } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v, double step, byte* format, ImGuiInputTextFlags flags) { byte ret = InputDoubleNative(label, v, step, (double)(0.0), format, flags); return ret != 0; } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v, byte* format, ImGuiInputTextFlags flags) { byte ret = InputDoubleNative(label, v, (double)(0.0), (double)(0.0), format, flags); return ret != 0; } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* v, double step, double stepFast, byte* format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, format, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* v, double step, double stepFast, byte* format) { fixed (byte* plabel = &label) { byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, format, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* v, double step, double stepFast) { fixed (byte* plabel = &label) { bool ret = InputDouble((byte*)plabel, v, step, stepFast, (string)"%.6f", (ImGuiInputTextFlags)(0)); return ret; } } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* v, double step) { fixed (byte* plabel = &label) { bool ret = InputDouble((byte*)plabel, v, step, (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); return ret; } } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* v) { fixed (byte* plabel = &label) { bool ret = InputDouble((byte*)plabel, v, (double)(0.0), (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); return ret; } } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* v, double step, byte* format) { fixed (byte* plabel = &label) { byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), format, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* v, byte* format) { fixed (byte* plabel = &label) { byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), format, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* v, double step, double stepFast, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { bool ret = InputDouble((byte*)plabel, v, step, stepFast, (string)"%.6f", flags); return ret; } } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* v, double step, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { bool ret = InputDouble((byte*)plabel, v, step, (double)(0.0), (string)"%.6f", flags); return ret; } } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* v, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { bool ret = InputDouble((byte*)plabel, v, (double)(0.0), (double)(0.0), (string)"%.6f", flags); return ret; } } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* v, double step, byte* format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), format, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* v, byte* format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), format, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast, byte* format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, format, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast, byte* format) { fixed (byte* plabel = label) { byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, format, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast) { fixed (byte* plabel = label) { bool ret = InputDouble((byte*)plabel, v, step, stepFast, (string)"%.6f", (ImGuiInputTextFlags)(0)); return ret; } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v, double step) { fixed (byte* plabel = label) { bool ret = InputDouble((byte*)plabel, v, step, (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); return ret; } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v) { fixed (byte* plabel = label) { bool ret = InputDouble((byte*)plabel, v, (double)(0.0), (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); return ret; } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v, double step, byte* format) { fixed (byte* plabel = label) { byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), format, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v, byte* format) { fixed (byte* plabel = label) { byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), format, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { bool ret = InputDouble((byte*)plabel, v, step, stepFast, (string)"%.6f", flags); return ret; } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v, double step, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { bool ret = InputDouble((byte*)plabel, v, step, (double)(0.0), (string)"%.6f", flags); return ret; } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { bool ret = InputDouble((byte*)plabel, v, (double)(0.0), (double)(0.0), (string)"%.6f", flags); return ret; } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v, double step, byte* format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), format, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v, byte* format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), format, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(string label, double* v, double step, double stepFast, 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 = InputDoubleNative(pStr0, v, step, stepFast, format, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputDouble(string label, double* v, double step, double stepFast, 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 = InputDoubleNative(pStr0, v, step, stepFast, format, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputDouble(string label, double* v, double step, double 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; } bool ret = InputDouble(pStr0, v, step, stepFast, (string)"%.6f", (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static bool InputDouble(string label, double* v, double 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; } bool ret = InputDouble(pStr0, v, step, (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static bool InputDouble(string label, double* 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 = InputDouble(pStr0, v, (double)(0.0), (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static bool InputDouble(string label, double* v, double step, 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 = InputDoubleNative(pStr0, v, step, (double)(0.0), format, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputDouble(string label, double* 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 = InputDoubleNative(pStr0, v, (double)(0.0), (double)(0.0), format, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputDouble(string label, double* v, double step, double 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; } bool ret = InputDouble(pStr0, v, step, stepFast, (string)"%.6f", flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static bool InputDouble(string label, double* v, double 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; } bool ret = InputDouble(pStr0, v, step, (double)(0.0), (string)"%.6f", flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static bool InputDouble(string label, double* 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 = InputDouble(pStr0, v, (double)(0.0), (double)(0.0), (string)"%.6f", flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static bool InputDouble(string label, double* v, double step, 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 = InputDoubleNative(pStr0, v, step, (double)(0.0), format, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputDouble(string label, double* 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 = InputDoubleNative(pStr0, v, (double)(0.0), (double)(0.0), format, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, double step, double stepFast, byte* format, ImGuiInputTextFlags flags) { fixed (double* pv = &v) { byte ret = InputDoubleNative(label, (double*)pv, step, stepFast, format, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, double step, double stepFast, byte* format) { fixed (double* pv = &v) { byte ret = InputDoubleNative(label, (double*)pv, step, stepFast, format, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, double step, double stepFast) { fixed (double* pv = &v) { bool ret = InputDouble(label, (double*)pv, step, stepFast, (string)"%.6f", (ImGuiInputTextFlags)(0)); return ret; } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, double step) { fixed (double* pv = &v) { bool ret = InputDouble(label, (double*)pv, step, (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); return ret; } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v) { fixed (double* pv = &v) { bool ret = InputDouble(label, (double*)pv, (double)(0.0), (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); return ret; } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, double step, byte* format) { fixed (double* pv = &v) { byte ret = InputDoubleNative(label, (double*)pv, step, (double)(0.0), format, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, byte* format) { fixed (double* pv = &v) { byte ret = InputDoubleNative(label, (double*)pv, (double)(0.0), (double)(0.0), format, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, double step, double stepFast, ImGuiInputTextFlags flags) { fixed (double* pv = &v) { bool ret = InputDouble(label, (double*)pv, step, stepFast, (string)"%.6f", flags); return ret; } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, double step, ImGuiInputTextFlags flags) { fixed (double* pv = &v) { bool ret = InputDouble(label, (double*)pv, step, (double)(0.0), (string)"%.6f", flags); return ret; } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, ImGuiInputTextFlags flags) { fixed (double* pv = &v) { bool ret = InputDouble(label, (double*)pv, (double)(0.0), (double)(0.0), (string)"%.6f", flags); return ret; } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, double step, byte* format, ImGuiInputTextFlags flags) { fixed (double* pv = &v) { byte ret = InputDoubleNative(label, (double*)pv, step, (double)(0.0), format, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, byte* format, ImGuiInputTextFlags flags) { fixed (double* pv = &v) { byte ret = InputDoubleNative(label, (double*)pv, (double)(0.0), (double)(0.0), format, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, double step, double stepFast, byte* format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (double* pv = &v) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, format, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, double step, double stepFast, byte* format) { fixed (byte* plabel = &label) { fixed (double* pv = &v) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, format, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, double step, double stepFast) { fixed (byte* plabel = &label) { fixed (double* pv = &v) { bool ret = InputDouble((byte*)plabel, (double*)pv, step, stepFast, (string)"%.6f", (ImGuiInputTextFlags)(0)); return ret; } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, double step) { fixed (byte* plabel = &label) { fixed (double* pv = &v) { bool ret = InputDouble((byte*)plabel, (double*)pv, step, (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); return ret; } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v) { fixed (byte* plabel = &label) { fixed (double* pv = &v) { bool ret = InputDouble((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); return ret; } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, double step, byte* format) { fixed (byte* plabel = &label) { fixed (double* pv = &v) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), format, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, byte* format) { fixed (byte* plabel = &label) { fixed (double* pv = &v) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), format, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, double step, double stepFast, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (double* pv = &v) { bool ret = InputDouble((byte*)plabel, (double*)pv, step, stepFast, (string)"%.6f", flags); return ret; } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, double step, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (double* pv = &v) { bool ret = InputDouble((byte*)plabel, (double*)pv, step, (double)(0.0), (string)"%.6f", flags); return ret; } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (double* pv = &v) { bool ret = InputDouble((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (string)"%.6f", flags); return ret; } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, double step, byte* format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (double* pv = &v) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), format, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, byte* format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (double* pv = &v) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), format, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast, byte* format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (double* pv = &v) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, format, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast, byte* format) { fixed (byte* plabel = label) { fixed (double* pv = &v) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, format, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast) { fixed (byte* plabel = label) { fixed (double* pv = &v) { bool ret = InputDouble((byte*)plabel, (double*)pv, step, stepFast, (string)"%.6f", (ImGuiInputTextFlags)(0)); return ret; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, double step) { fixed (byte* plabel = label) { fixed (double* pv = &v) { bool ret = InputDouble((byte*)plabel, (double*)pv, step, (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); return ret; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v) { fixed (byte* plabel = label) { fixed (double* pv = &v) { bool ret = InputDouble((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); return ret; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, double step, byte* format) { fixed (byte* plabel = label) { fixed (double* pv = &v) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), format, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, byte* format) { fixed (byte* plabel = label) { fixed (double* pv = &v) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), format, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (double* pv = &v) { bool ret = InputDouble((byte*)plabel, (double*)pv, step, stepFast, (string)"%.6f", flags); return ret; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, double step, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (double* pv = &v) { bool ret = InputDouble((byte*)plabel, (double*)pv, step, (double)(0.0), (string)"%.6f", flags); return ret; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (double* pv = &v) { bool ret = InputDouble((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (string)"%.6f", flags); return ret; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, double step, byte* format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (double* pv = &v) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), format, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, byte* format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (double* pv = &v) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), format, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(string label, ref double v, double step, double stepFast, 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 (double* pv = &v) { byte ret = InputDoubleNative(pStr0, (double*)pv, step, stepFast, format, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(string label, ref double v, double step, double stepFast, 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 (double* pv = &v) { byte ret = InputDoubleNative(pStr0, (double*)pv, step, stepFast, format, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(string label, ref double v, double step, double 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 (double* pv = &v) { bool ret = InputDouble(pStr0, (double*)pv, step, stepFast, (string)"%.6f", (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public static bool InputDouble(string label, ref double v, double 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 (double* pv = &v) { bool ret = InputDouble(pStr0, (double*)pv, step, (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public static bool InputDouble(string label, ref double 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 (double* pv = &v) { bool ret = InputDouble(pStr0, (double*)pv, (double)(0.0), (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public static bool InputDouble(string label, ref double v, double step, 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 (double* pv = &v) { byte ret = InputDoubleNative(pStr0, (double*)pv, step, (double)(0.0), format, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(string label, ref double 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 (double* pv = &v) { byte ret = InputDoubleNative(pStr0, (double*)pv, (double)(0.0), (double)(0.0), format, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(string label, ref double v, double step, double 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 (double* pv = &v) { bool ret = InputDouble(pStr0, (double*)pv, step, stepFast, (string)"%.6f", flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public static bool InputDouble(string label, ref double v, double 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 (double* pv = &v) { bool ret = InputDouble(pStr0, (double*)pv, step, (double)(0.0), (string)"%.6f", flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public static bool InputDouble(string label, ref double 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 (double* pv = &v) { bool ret = InputDouble(pStr0, (double*)pv, (double)(0.0), (double)(0.0), (string)"%.6f", flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public static bool InputDouble(string label, ref double v, double step, 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 (double* pv = &v) { byte ret = InputDoubleNative(pStr0, (double*)pv, step, (double)(0.0), format, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(string label, ref double 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 (double* pv = &v) { byte ret = InputDoubleNative(pStr0, (double*)pv, (double)(0.0), (double)(0.0), format, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v, double step, double stepFast, ref byte format, ImGuiInputTextFlags flags) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative(label, v, step, stepFast, (byte*)pformat, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v, double step, double stepFast, ref byte format) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative(label, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v, double step, ref byte format) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative(label, v, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v, ref byte format) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative(label, v, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v, double step, ref byte format, ImGuiInputTextFlags flags) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative(label, v, step, (double)(0.0), (byte*)pformat, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v, ref byte format, ImGuiInputTextFlags flags) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative(label, v, (double)(0.0), (double)(0.0), (byte*)pformat, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v, double step, double stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (byte* pformat = format) { byte ret = InputDoubleNative(label, v, step, stepFast, (byte*)pformat, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v, double step, double stepFast, ReadOnlySpan format) { fixed (byte* pformat = format) { byte ret = InputDoubleNative(label, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v, double step, ReadOnlySpan format) { fixed (byte* pformat = format) { byte ret = InputDoubleNative(label, v, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v, ReadOnlySpan format) { fixed (byte* pformat = format) { byte ret = InputDoubleNative(label, v, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v, double step, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (byte* pformat = format) { byte ret = InputDoubleNative(label, v, step, (double)(0.0), (byte*)pformat, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (byte* pformat = format) { byte ret = InputDoubleNative(label, v, (double)(0.0), (double)(0.0), (byte*)pformat, flags); return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v, double step, double stepFast, 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 = InputDoubleNative(label, v, step, stepFast, pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v, double step, double stepFast, 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 = InputDoubleNative(label, v, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v, double step, 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 = InputDoubleNative(label, v, step, (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputDouble(byte* label, double* 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 = InputDoubleNative(label, v, (double)(0.0), (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputDouble(byte* label, double* v, double step, 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 = InputDoubleNative(label, v, step, (double)(0.0), pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputDouble(byte* label, double* 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 = InputDoubleNative(label, v, (double)(0.0), (double)(0.0), pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* v, double step, double stepFast, ref byte format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, (byte*)pformat, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* v, double step, double stepFast, ref byte format) { fixed (byte* plabel = &label) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* v, double step, ref byte format) { fixed (byte* plabel = &label) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* v, ref byte format) { fixed (byte* plabel = &label) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* v, double step, ref byte format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), (byte*)pformat, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* v, ref byte format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), (byte*)pformat, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (byte* pformat = format) { byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, (byte*)pformat, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast, ReadOnlySpan format) { fixed (byte* plabel = label) { fixed (byte* pformat = format) { byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v, double step, ReadOnlySpan format) { fixed (byte* plabel = label) { fixed (byte* pformat = format) { byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v, ReadOnlySpan format) { fixed (byte* plabel = label) { fixed (byte* pformat = format) { byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v, double step, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (byte* pformat = format) { byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), (byte*)pformat, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (byte* pformat = format) { byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), (byte*)pformat, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(string label, double* v, double step, double stepFast, 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 = InputDoubleNative(pStr0, v, step, stepFast, 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 InputDouble(string label, double* v, double step, double stepFast, 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 = InputDoubleNative(pStr0, v, step, stepFast, 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 InputDouble(string label, double* v, double step, 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 = InputDoubleNative(pStr0, v, step, (double)(0.0), 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 InputDouble(string label, double* 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 = InputDoubleNative(pStr0, v, (double)(0.0), (double)(0.0), 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 InputDouble(string label, double* v, double step, 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 = InputDoubleNative(pStr0, v, step, (double)(0.0), 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 InputDouble(string label, double* 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 = InputDoubleNative(pStr0, v, (double)(0.0), (double)(0.0), 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 InputDouble(ref byte label, double* v, double step, double stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (byte* pformat = format) { byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, (byte*)pformat, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* v, double step, double stepFast, ReadOnlySpan format) { fixed (byte* plabel = &label) { fixed (byte* pformat = format) { byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* v, double step, ReadOnlySpan format) { fixed (byte* plabel = &label) { fixed (byte* pformat = format) { byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* v, ReadOnlySpan format) { fixed (byte* plabel = &label) { fixed (byte* pformat = format) { byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* v, double step, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (byte* pformat = format) { byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), (byte*)pformat, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* v, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (byte* pformat = format) { byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), (byte*)pformat, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* v, double step, double stepFast, 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 = InputDoubleNative((byte*)plabel, v, step, stepFast, pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* v, double step, double stepFast, 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 = InputDoubleNative((byte*)plabel, v, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* v, double step, 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 = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* 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 = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* v, double step, 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 = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(ref byte label, double* 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 = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast, ref byte format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, (byte*)pformat, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast, ref byte format) { fixed (byte* plabel = label) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v, double step, ref byte format) { fixed (byte* plabel = label) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v, ref byte format) { fixed (byte* plabel = label) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v, double step, ref byte format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), (byte*)pformat, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v, ref byte format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), (byte*)pformat, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast, 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 = InputDoubleNative((byte*)plabel, v, step, stepFast, pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast, 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 = InputDoubleNative((byte*)plabel, v, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v, double step, 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 = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* 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 = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* v, double step, 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 = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, double* 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 = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(string label, double* v, double step, double stepFast, 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 = InputDoubleNative(pStr0, v, step, stepFast, (byte*)pformat, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(string label, double* v, double step, double stepFast, 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 = InputDoubleNative(pStr0, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(string label, double* v, double step, 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 = InputDoubleNative(pStr0, v, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(string label, double* 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 = InputDoubleNative(pStr0, v, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(string label, double* v, double step, 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 = InputDoubleNative(pStr0, v, step, (double)(0.0), (byte*)pformat, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(string label, double* 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 = InputDoubleNative(pStr0, v, (double)(0.0), (double)(0.0), (byte*)pformat, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(string label, double* v, double step, double stepFast, 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 = InputDoubleNative(pStr0, v, step, stepFast, (byte*)pformat, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(string label, double* v, double step, double stepFast, 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 = InputDoubleNative(pStr0, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(string label, double* v, double step, 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 = InputDoubleNative(pStr0, v, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(string label, double* 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 = InputDoubleNative(pStr0, v, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(string label, double* v, double step, 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 = InputDoubleNative(pStr0, v, step, (double)(0.0), (byte*)pformat, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(string label, double* 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 = InputDoubleNative(pStr0, v, (double)(0.0), (double)(0.0), (byte*)pformat, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, double step, double stepFast, ref byte format, ImGuiInputTextFlags flags) { fixed (double* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative(label, (double*)pv, step, stepFast, (byte*)pformat, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, double step, double stepFast, ref byte format) { fixed (double* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative(label, (double*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, double step, ref byte format) { fixed (double* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative(label, (double*)pv, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, ref byte format) { fixed (double* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative(label, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, double step, ref byte format, ImGuiInputTextFlags flags) { fixed (double* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative(label, (double*)pv, step, (double)(0.0), (byte*)pformat, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, ref byte format, ImGuiInputTextFlags flags) { fixed (double* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative(label, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, double step, double stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (double* pv = &v) { fixed (byte* pformat = format) { byte ret = InputDoubleNative(label, (double*)pv, step, stepFast, (byte*)pformat, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, double step, double stepFast, ReadOnlySpan format) { fixed (double* pv = &v) { fixed (byte* pformat = format) { byte ret = InputDoubleNative(label, (double*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, double step, ReadOnlySpan format) { fixed (double* pv = &v) { fixed (byte* pformat = format) { byte ret = InputDoubleNative(label, (double*)pv, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, ReadOnlySpan format) { fixed (double* pv = &v) { fixed (byte* pformat = format) { byte ret = InputDoubleNative(label, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, double step, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (double* pv = &v) { fixed (byte* pformat = format) { byte ret = InputDoubleNative(label, (double*)pv, step, (double)(0.0), (byte*)pformat, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (double* pv = &v) { fixed (byte* pformat = format) { byte ret = InputDoubleNative(label, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, flags); return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, double step, double stepFast, string format, ImGuiInputTextFlags flags) { fixed (double* 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 = InputDoubleNative(label, (double*)pv, step, stepFast, pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, double step, double stepFast, string format) { fixed (double* 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 = InputDoubleNative(label, (double*)pv, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, double step, string format) { fixed (double* 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 = InputDoubleNative(label, (double*)pv, step, (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, string format) { fixed (double* 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 = InputDoubleNative(label, (double*)pv, (double)(0.0), (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, double step, string format, ImGuiInputTextFlags flags) { fixed (double* 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 = InputDoubleNative(label, (double*)pv, step, (double)(0.0), pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(byte* label, ref double v, string format, ImGuiInputTextFlags flags) { fixed (double* 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 = InputDoubleNative(label, (double*)pv, (double)(0.0), (double)(0.0), pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, double step, double stepFast, ref byte format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (double* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, (byte*)pformat, flags); return ret != 0; } } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, double step, double stepFast, ref byte format) { fixed (byte* plabel = &label) { fixed (double* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, double step, ref byte format) { fixed (byte* plabel = &label) { fixed (double* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, ref byte format) { fixed (byte* plabel = &label) { fixed (double* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, double step, ref byte format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (double* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), (byte*)pformat, flags); return ret != 0; } } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, ref byte format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (double* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, flags); return ret != 0; } } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (double* pv = &v) { fixed (byte* pformat = format) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, (byte*)pformat, flags); return ret != 0; } } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast, ReadOnlySpan format) { fixed (byte* plabel = label) { fixed (double* pv = &v) { fixed (byte* pformat = format) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, double step, ReadOnlySpan format) { fixed (byte* plabel = label) { fixed (double* pv = &v) { fixed (byte* pformat = format) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, ReadOnlySpan format) { fixed (byte* plabel = label) { fixed (double* pv = &v) { fixed (byte* pformat = format) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, double step, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (double* pv = &v) { fixed (byte* pformat = format) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), (byte*)pformat, flags); return ret != 0; } } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (double* pv = &v) { fixed (byte* pformat = format) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, flags); return ret != 0; } } } } /// /// To be documented. /// public static bool InputDouble(string label, ref double v, double step, double stepFast, 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 (double* 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 = InputDoubleNative(pStr0, (double*)pv, step, stepFast, 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 InputDouble(string label, ref double v, double step, double stepFast, 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 (double* 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 = InputDoubleNative(pStr0, (double*)pv, step, stepFast, 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 InputDouble(string label, ref double v, double step, 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 (double* 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 = InputDoubleNative(pStr0, (double*)pv, step, (double)(0.0), 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 InputDouble(string label, ref double 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 (double* 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 = InputDoubleNative(pStr0, (double*)pv, (double)(0.0), (double)(0.0), 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 InputDouble(string label, ref double v, double step, 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 (double* 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 = InputDoubleNative(pStr0, (double*)pv, step, (double)(0.0), 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 InputDouble(string label, ref double 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 (double* 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 = InputDoubleNative(pStr0, (double*)pv, (double)(0.0), (double)(0.0), 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 InputDouble(ref byte label, ref double v, double step, double stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (double* pv = &v) { fixed (byte* pformat = format) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, (byte*)pformat, flags); return ret != 0; } } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, double step, double stepFast, ReadOnlySpan format) { fixed (byte* plabel = &label) { fixed (double* pv = &v) { fixed (byte* pformat = format) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, double step, ReadOnlySpan format) { fixed (byte* plabel = &label) { fixed (double* pv = &v) { fixed (byte* pformat = format) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, ReadOnlySpan format) { fixed (byte* plabel = &label) { fixed (double* pv = &v) { fixed (byte* pformat = format) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, double step, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (double* pv = &v) { fixed (byte* pformat = format) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), (byte*)pformat, flags); return ret != 0; } } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, ReadOnlySpan format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (double* pv = &v) { fixed (byte* pformat = format) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, flags); return ret != 0; } } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, double step, double stepFast, string format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (double* 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 = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, double step, double stepFast, string format) { fixed (byte* plabel = &label) { fixed (double* 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 = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, double step, string format) { fixed (byte* plabel = &label) { fixed (double* 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 = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, string format) { fixed (byte* plabel = &label) { fixed (double* 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 = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, double step, string format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (double* 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 = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ref byte label, ref double v, string format, ImGuiInputTextFlags flags) { fixed (byte* plabel = &label) { fixed (double* 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 = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast, ref byte format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (double* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, (byte*)pformat, flags); return ret != 0; } } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast, ref byte format) { fixed (byte* plabel = label) { fixed (double* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, double step, ref byte format) { fixed (byte* plabel = label) { fixed (double* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, ref byte format) { fixed (byte* plabel = label) { fixed (double* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); return ret != 0; } } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, double step, ref byte format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (double* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), (byte*)pformat, flags); return ret != 0; } } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, ref byte format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (double* pv = &v) { fixed (byte* pformat = &format) { byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, flags); return ret != 0; } } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast, string format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (double* 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 = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast, string format) { fixed (byte* plabel = label) { fixed (double* 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 = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, double step, string format) { fixed (byte* plabel = label) { fixed (double* 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 = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, string format) { fixed (byte* plabel = label) { fixed (double* 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 = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, double step, string format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (double* 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 = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool InputDouble(ReadOnlySpan label, ref double v, string format, ImGuiInputTextFlags flags) { fixed (byte* plabel = label) { fixed (double* 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 = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } } }