// ------------------------------------------------------------------------------ // // 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; using Dalamud.Bindings.ImGui; namespace Dalamud.Bindings.ImPlot { public unsafe partial class ImPlot { /// /// To be documented. /// public static bool ColormapSlider(string label, ref float t, ReadOnlySpan format) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pt = &t) { fixed (byte* pformat = format) { byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)(((void*)0)), (byte*)pformat, (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool ColormapSlider(string label, ref float t, ReadOnlySpan format, ImPlotColormap cmap) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pt = &t) { fixed (byte* pformat = format) { byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)(((void*)0)), (byte*)pformat, cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool ColormapSlider(byte* label, float* t, ref Vector4 output, ref byte format, ImPlotColormap cmap) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = &format) { byte ret = ColormapSliderNative(label, t, (Vector4*)poutput, (byte*)pformat, cmap); return ret != 0; } } } /// /// To be documented. /// public static bool ColormapSlider(byte* label, float* t, ref Vector4 output, ref byte format) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = &format) { byte ret = ColormapSliderNative(label, t, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); return ret != 0; } } } /// /// To be documented. /// public static bool ColormapSlider(byte* label, float* t, ref Vector4 output, ReadOnlySpan format, ImPlotColormap cmap) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = format) { byte ret = ColormapSliderNative(label, t, (Vector4*)poutput, (byte*)pformat, cmap); return ret != 0; } } } /// /// To be documented. /// public static bool ColormapSlider(byte* label, float* t, ref Vector4 output, ReadOnlySpan format) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = format) { byte ret = ColormapSliderNative(label, t, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); return ret != 0; } } } /// /// To be documented. /// public static bool ColormapSlider(byte* label, float* t, ref Vector4 output, string format, ImPlotColormap cmap) { fixed (Vector4* poutput = &output) { 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 = ColormapSliderNative(label, t, (Vector4*)poutput, pStr0, cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool ColormapSlider(byte* label, float* t, ref Vector4 output, string format) { fixed (Vector4* poutput = &output) { 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 = ColormapSliderNative(label, t, (Vector4*)poutput, pStr0, (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool ColormapSlider(ref byte label, float* t, ref Vector4 output, ref byte format, ImPlotColormap cmap) { fixed (byte* plabel = &label) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = &format) { byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, (byte*)pformat, cmap); return ret != 0; } } } } /// /// To be documented. /// public static bool ColormapSlider(ref byte label, float* t, ref Vector4 output, ref byte format) { fixed (byte* plabel = &label) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = &format) { byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); return ret != 0; } } } } /// /// To be documented. /// public static bool ColormapSlider(ReadOnlySpan label, float* t, ref Vector4 output, ReadOnlySpan format, ImPlotColormap cmap) { fixed (byte* plabel = label) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = format) { byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, (byte*)pformat, cmap); return ret != 0; } } } } /// /// To be documented. /// public static bool ColormapSlider(ReadOnlySpan label, float* t, ref Vector4 output, ReadOnlySpan format) { fixed (byte* plabel = label) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = format) { byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); return ret != 0; } } } } /// /// To be documented. /// public static bool ColormapSlider(string label, float* t, ref Vector4 output, string format, ImPlotColormap cmap) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (Vector4* poutput = &output) { 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 = ColormapSliderNative(pStr0, t, (Vector4*)poutput, pStr1, cmap); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool ColormapSlider(string label, float* t, ref Vector4 output, string format) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (Vector4* poutput = &output) { 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 = ColormapSliderNative(pStr0, t, (Vector4*)poutput, pStr1, (ImPlotColormap)(-1)); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool ColormapSlider(ref byte label, float* t, ref Vector4 output, ReadOnlySpan format, ImPlotColormap cmap) { fixed (byte* plabel = &label) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = format) { byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, (byte*)pformat, cmap); return ret != 0; } } } } /// /// To be documented. /// public static bool ColormapSlider(ref byte label, float* t, ref Vector4 output, ReadOnlySpan format) { fixed (byte* plabel = &label) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = format) { byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); return ret != 0; } } } } /// /// To be documented. /// public static bool ColormapSlider(ref byte label, float* t, ref Vector4 output, string format, ImPlotColormap cmap) { fixed (byte* plabel = &label) { fixed (Vector4* poutput = &output) { 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 = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, pStr0, cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool ColormapSlider(ref byte label, float* t, ref Vector4 output, string format) { fixed (byte* plabel = &label) { fixed (Vector4* poutput = &output) { 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 = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, pStr0, (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool ColormapSlider(ReadOnlySpan label, float* t, ref Vector4 output, ref byte format, ImPlotColormap cmap) { fixed (byte* plabel = label) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = &format) { byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, (byte*)pformat, cmap); return ret != 0; } } } } /// /// To be documented. /// public static bool ColormapSlider(ReadOnlySpan label, float* t, ref Vector4 output, ref byte format) { fixed (byte* plabel = label) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = &format) { byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); return ret != 0; } } } } /// /// To be documented. /// public static bool ColormapSlider(ReadOnlySpan label, float* t, ref Vector4 output, string format, ImPlotColormap cmap) { fixed (byte* plabel = label) { fixed (Vector4* poutput = &output) { 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 = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, pStr0, cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool ColormapSlider(ReadOnlySpan label, float* t, ref Vector4 output, string format) { fixed (byte* plabel = label) { fixed (Vector4* poutput = &output) { 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 = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, pStr0, (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool ColormapSlider(string label, float* t, ref Vector4 output, ref byte format, ImPlotColormap cmap) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (Vector4* poutput = &output) { fixed (byte* pformat = &format) { byte ret = ColormapSliderNative(pStr0, t, (Vector4*)poutput, (byte*)pformat, cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool ColormapSlider(string label, float* t, ref Vector4 output, 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 (Vector4* poutput = &output) { fixed (byte* pformat = &format) { byte ret = ColormapSliderNative(pStr0, t, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool ColormapSlider(string label, float* t, ref Vector4 output, ReadOnlySpan format, ImPlotColormap cmap) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (Vector4* poutput = &output) { fixed (byte* pformat = format) { byte ret = ColormapSliderNative(pStr0, t, (Vector4*)poutput, (byte*)pformat, cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool ColormapSlider(string label, float* t, ref Vector4 output, 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 (Vector4* poutput = &output) { fixed (byte* pformat = format) { byte ret = ColormapSliderNative(pStr0, t, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool ColormapSlider(byte* label, ref float t, ref Vector4 output, ref byte format, ImPlotColormap cmap) { fixed (float* pt = &t) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = &format) { byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)poutput, (byte*)pformat, cmap); return ret != 0; } } } } /// /// To be documented. /// public static bool ColormapSlider(byte* label, ref float t, ref Vector4 output, ref byte format) { fixed (float* pt = &t) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = &format) { byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); return ret != 0; } } } } /// /// To be documented. /// public static bool ColormapSlider(byte* label, ref float t, ref Vector4 output, ReadOnlySpan format, ImPlotColormap cmap) { fixed (float* pt = &t) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = format) { byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)poutput, (byte*)pformat, cmap); return ret != 0; } } } } /// /// To be documented. /// public static bool ColormapSlider(byte* label, ref float t, ref Vector4 output, ReadOnlySpan format) { fixed (float* pt = &t) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = format) { byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); return ret != 0; } } } } /// /// To be documented. /// public static bool ColormapSlider(byte* label, ref float t, ref Vector4 output, string format, ImPlotColormap cmap) { fixed (float* pt = &t) { fixed (Vector4* poutput = &output) { 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 = ColormapSliderNative(label, (float*)pt, (Vector4*)poutput, pStr0, cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool ColormapSlider(byte* label, ref float t, ref Vector4 output, string format) { fixed (float* pt = &t) { fixed (Vector4* poutput = &output) { 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 = ColormapSliderNative(label, (float*)pt, (Vector4*)poutput, pStr0, (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool ColormapSlider(ref byte label, ref float t, ref Vector4 output, ref byte format, ImPlotColormap cmap) { fixed (byte* plabel = &label) { fixed (float* pt = &t) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = &format) { byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, (byte*)pformat, cmap); return ret != 0; } } } } } /// /// To be documented. /// public static bool ColormapSlider(ref byte label, ref float t, ref Vector4 output, ref byte format) { fixed (byte* plabel = &label) { fixed (float* pt = &t) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = &format) { byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); return ret != 0; } } } } } /// /// To be documented. /// public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref Vector4 output, ReadOnlySpan format, ImPlotColormap cmap) { fixed (byte* plabel = label) { fixed (float* pt = &t) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = format) { byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, (byte*)pformat, cmap); return ret != 0; } } } } } /// /// To be documented. /// public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref Vector4 output, ReadOnlySpan format) { fixed (byte* plabel = label) { fixed (float* pt = &t) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = format) { byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); return ret != 0; } } } } } /// /// To be documented. /// public static bool ColormapSlider(string label, ref float t, ref Vector4 output, string format, ImPlotColormap cmap) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pt = &t) { fixed (Vector4* poutput = &output) { 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 = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)poutput, pStr1, cmap); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool ColormapSlider(string label, ref float t, ref Vector4 output, string format) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pt = &t) { fixed (Vector4* poutput = &output) { 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 = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)poutput, pStr1, (ImPlotColormap)(-1)); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool ColormapSlider(ref byte label, ref float t, ref Vector4 output, ReadOnlySpan format, ImPlotColormap cmap) { fixed (byte* plabel = &label) { fixed (float* pt = &t) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = format) { byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, (byte*)pformat, cmap); return ret != 0; } } } } } /// /// To be documented. /// public static bool ColormapSlider(ref byte label, ref float t, ref Vector4 output, ReadOnlySpan format) { fixed (byte* plabel = &label) { fixed (float* pt = &t) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = format) { byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); return ret != 0; } } } } } /// /// To be documented. /// public static bool ColormapSlider(ref byte label, ref float t, ref Vector4 output, string format, ImPlotColormap cmap) { fixed (byte* plabel = &label) { fixed (float* pt = &t) { fixed (Vector4* poutput = &output) { 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 = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, pStr0, cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } } /// /// To be documented. /// public static bool ColormapSlider(ref byte label, ref float t, ref Vector4 output, string format) { fixed (byte* plabel = &label) { fixed (float* pt = &t) { fixed (Vector4* poutput = &output) { 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 = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, pStr0, (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } } /// /// To be documented. /// public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref Vector4 output, ref byte format, ImPlotColormap cmap) { fixed (byte* plabel = label) { fixed (float* pt = &t) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = &format) { byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, (byte*)pformat, cmap); return ret != 0; } } } } } /// /// To be documented. /// public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref Vector4 output, ref byte format) { fixed (byte* plabel = label) { fixed (float* pt = &t) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = &format) { byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); return ret != 0; } } } } } /// /// To be documented. /// public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref Vector4 output, string format, ImPlotColormap cmap) { fixed (byte* plabel = label) { fixed (float* pt = &t) { fixed (Vector4* poutput = &output) { 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 = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, pStr0, cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } } /// /// To be documented. /// public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref Vector4 output, string format) { fixed (byte* plabel = label) { fixed (float* pt = &t) { fixed (Vector4* poutput = &output) { 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 = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, pStr0, (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } } /// /// To be documented. /// public static bool ColormapSlider(string label, ref float t, ref Vector4 output, ref byte format, ImPlotColormap cmap) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pt = &t) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = &format) { byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)poutput, (byte*)pformat, cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } } /// /// To be documented. /// public static bool ColormapSlider(string label, ref float t, ref Vector4 output, ref byte format) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pt = &t) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = &format) { byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } } /// /// To be documented. /// public static bool ColormapSlider(string label, ref float t, ref Vector4 output, ReadOnlySpan format, ImPlotColormap cmap) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pt = &t) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = format) { byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)poutput, (byte*)pformat, cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } } /// /// To be documented. /// public static bool ColormapSlider(string label, ref float t, ref Vector4 output, ReadOnlySpan format) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pt = &t) { fixed (Vector4* poutput = &output) { fixed (byte* pformat = format) { byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte ColormapButtonNative(byte* label, Vector2 size, ImPlotColormap cmap) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[354])(label, size, cmap); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[354])((nint)label, size, cmap); #endif } /// /// To be documented. /// public static bool ColormapButton(byte* label, Vector2 size, ImPlotColormap cmap) { byte ret = ColormapButtonNative(label, size, cmap); return ret != 0; } /// /// To be documented. /// public static bool ColormapButton(byte* label, Vector2 size) { byte ret = ColormapButtonNative(label, size, (ImPlotColormap)(-1)); return ret != 0; } /// /// To be documented. /// public static bool ColormapButton(byte* label) { byte ret = ColormapButtonNative(label, (Vector2)(new Vector2(0,0)), (ImPlotColormap)(-1)); return ret != 0; } /// /// To be documented. /// public static bool ColormapButton(byte* label, ImPlotColormap cmap) { byte ret = ColormapButtonNative(label, (Vector2)(new Vector2(0,0)), cmap); return ret != 0; } /// /// To be documented. /// public static bool ColormapButton(ref byte label, Vector2 size, ImPlotColormap cmap) { fixed (byte* plabel = &label) { byte ret = ColormapButtonNative((byte*)plabel, size, cmap); return ret != 0; } } /// /// To be documented. /// public static bool ColormapButton(ref byte label, Vector2 size) { fixed (byte* plabel = &label) { byte ret = ColormapButtonNative((byte*)plabel, size, (ImPlotColormap)(-1)); return ret != 0; } } /// /// To be documented. /// public static bool ColormapButton(ref byte label) { fixed (byte* plabel = &label) { byte ret = ColormapButtonNative((byte*)plabel, (Vector2)(new Vector2(0,0)), (ImPlotColormap)(-1)); return ret != 0; } } /// /// To be documented. /// public static bool ColormapButton(ref byte label, ImPlotColormap cmap) { fixed (byte* plabel = &label) { byte ret = ColormapButtonNative((byte*)plabel, (Vector2)(new Vector2(0,0)), cmap); return ret != 0; } } /// /// To be documented. /// public static bool ColormapButton(ReadOnlySpan label, Vector2 size, ImPlotColormap cmap) { fixed (byte* plabel = label) { byte ret = ColormapButtonNative((byte*)plabel, size, cmap); return ret != 0; } } /// /// To be documented. /// public static bool ColormapButton(ReadOnlySpan label, Vector2 size) { fixed (byte* plabel = label) { byte ret = ColormapButtonNative((byte*)plabel, size, (ImPlotColormap)(-1)); return ret != 0; } } /// /// To be documented. /// public static bool ColormapButton(ReadOnlySpan label) { fixed (byte* plabel = label) { byte ret = ColormapButtonNative((byte*)plabel, (Vector2)(new Vector2(0,0)), (ImPlotColormap)(-1)); return ret != 0; } } /// /// To be documented. /// public static bool ColormapButton(ReadOnlySpan label, ImPlotColormap cmap) { fixed (byte* plabel = label) { byte ret = ColormapButtonNative((byte*)plabel, (Vector2)(new Vector2(0,0)), cmap); return ret != 0; } } /// /// To be documented. /// public static bool ColormapButton(string label, Vector2 size, ImPlotColormap cmap) { 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 = ColormapButtonNative(pStr0, size, cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool ColormapButton(string label, Vector2 size) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = ColormapButtonNative(pStr0, size, (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool ColormapButton(string label) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = ColormapButtonNative(pStr0, (Vector2)(new Vector2(0,0)), (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool ColormapButton(string label, ImPlotColormap cmap) { 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 = ColormapButtonNative(pStr0, (Vector2)(new Vector2(0,0)), cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void BustColorCacheNative(byte* plotTitleId) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[355])(plotTitleId); #else ((delegate* unmanaged[Cdecl])funcTable[355])((nint)plotTitleId); #endif } /// /// To be documented. /// public static void BustColorCache(byte* plotTitleId) { BustColorCacheNative(plotTitleId); } /// /// To be documented. /// public static void BustColorCache() { BustColorCacheNative((byte*)(((void*)0))); } /// /// To be documented. /// public static void BustColorCache(ref byte plotTitleId) { fixed (byte* pplotTitleId = &plotTitleId) { BustColorCacheNative((byte*)pplotTitleId); } } /// /// To be documented. /// public static void BustColorCache(ReadOnlySpan plotTitleId) { fixed (byte* pplotTitleId = plotTitleId) { BustColorCacheNative((byte*)pplotTitleId); } } /// /// To be documented. /// public static void BustColorCache(string plotTitleId) { byte* pStr0 = null; int pStrSize0 = 0; if (plotTitleId != null) { pStrSize0 = Utils.GetByteCountUTF8(plotTitleId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(plotTitleId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } BustColorCacheNative(pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImPlotInputMap* GetInputMapNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[356])(); #else return (ImPlotInputMap*)((delegate* unmanaged[Cdecl])funcTable[356])(); #endif } /// /// To be documented. /// public static ImPlotInputMapPtr GetInputMap() { ImPlotInputMapPtr ret = GetInputMapNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void MapInputDefaultNative(ImPlotInputMap* dst) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[357])(dst); #else ((delegate* unmanaged[Cdecl])funcTable[357])((nint)dst); #endif } /// /// To be documented. /// public static void MapInputDefault(ImPlotInputMapPtr dst) { MapInputDefaultNative(dst); } /// /// To be documented. /// public static void MapInputDefault() { MapInputDefaultNative((ImPlotInputMap*)(((void*)0))); } /// /// To be documented. /// public static void MapInputDefault(ref ImPlotInputMap dst) { fixed (ImPlotInputMap* pdst = &dst) { MapInputDefaultNative((ImPlotInputMap*)pdst); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void MapInputReverseNative(ImPlotInputMap* dst) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[358])(dst); #else ((delegate* unmanaged[Cdecl])funcTable[358])((nint)dst); #endif } /// /// To be documented. /// public static void MapInputReverse(ImPlotInputMapPtr dst) { MapInputReverseNative(dst); } /// /// To be documented. /// public static void MapInputReverse() { MapInputReverseNative((ImPlotInputMap*)(((void*)0))); } /// /// To be documented. /// public static void MapInputReverse(ref ImPlotInputMap dst) { fixed (ImPlotInputMap* pdst = &dst) { MapInputReverseNative((ImPlotInputMap*)pdst); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ItemIconNative(Vector4 col) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[359])(col); #else ((delegate* unmanaged[Cdecl])funcTable[359])(col); #endif } /// /// To be documented. /// public static void ItemIcon(Vector4 col) { ItemIconNative(col); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ItemIconNative(uint col) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[360])(col); #else ((delegate* unmanaged[Cdecl])funcTable[360])(col); #endif } /// /// To be documented. /// public static void ItemIcon(uint col) { ItemIconNative(col); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ColormapIconNative(ImPlotColormap cmap) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[361])(cmap); #else ((delegate* unmanaged[Cdecl])funcTable[361])(cmap); #endif } /// /// To be documented. /// public static void ColormapIcon(ImPlotColormap cmap) { ColormapIconNative(cmap); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImDrawList* GetPlotDrawListNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[362])(); #else return (ImDrawList*)((delegate* unmanaged[Cdecl])funcTable[362])(); #endif } /// /// To be documented. /// public static ImDrawListPtr GetPlotDrawList() { ImDrawListPtr ret = GetPlotDrawListNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PushPlotClipRectNative(float expand) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[363])(expand); #else ((delegate* unmanaged[Cdecl])funcTable[363])(expand); #endif } /// /// To be documented. /// public static void PushPlotClipRect(float expand) { PushPlotClipRectNative(expand); } /// /// To be documented. /// public static void PushPlotClipRect() { PushPlotClipRectNative((float)(0)); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PopPlotClipRectNative() { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[364])(); #else ((delegate* unmanaged[Cdecl])funcTable[364])(); #endif } /// /// To be documented. /// public static void PopPlotClipRect() { PopPlotClipRectNative(); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte ShowStyleSelectorNative(byte* label) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[365])(label); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[365])((nint)label); #endif } /// /// To be documented. /// public static bool ShowStyleSelector(byte* label) { byte ret = ShowStyleSelectorNative(label); return ret != 0; } /// /// To be documented. /// public static bool ShowStyleSelector(ref byte label) { fixed (byte* plabel = &label) { byte ret = ShowStyleSelectorNative((byte*)plabel); return ret != 0; } } /// /// To be documented. /// public static bool ShowStyleSelector(ReadOnlySpan label) { fixed (byte* plabel = label) { byte ret = ShowStyleSelectorNative((byte*)plabel); return ret != 0; } } /// /// To be documented. /// public static bool ShowStyleSelector(string label) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = ShowStyleSelectorNative(pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte ShowColormapSelectorNative(byte* label) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[366])(label); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[366])((nint)label); #endif } /// /// To be documented. /// public static bool ShowColormapSelector(byte* label) { byte ret = ShowColormapSelectorNative(label); return ret != 0; } /// /// To be documented. /// public static bool ShowColormapSelector(ref byte label) { fixed (byte* plabel = &label) { byte ret = ShowColormapSelectorNative((byte*)plabel); return ret != 0; } } /// /// To be documented. /// public static bool ShowColormapSelector(ReadOnlySpan label) { fixed (byte* plabel = label) { byte ret = ShowColormapSelectorNative((byte*)plabel); return ret != 0; } } /// /// To be documented. /// public static bool ShowColormapSelector(string label) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = ShowColormapSelectorNative(pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte ShowInputMapSelectorNative(byte* label) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[367])(label); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[367])((nint)label); #endif } /// /// To be documented. /// public static bool ShowInputMapSelector(byte* label) { byte ret = ShowInputMapSelectorNative(label); return ret != 0; } /// /// To be documented. /// public static bool ShowInputMapSelector(ref byte label) { fixed (byte* plabel = &label) { byte ret = ShowInputMapSelectorNative((byte*)plabel); return ret != 0; } } /// /// To be documented. /// public static bool ShowInputMapSelector(ReadOnlySpan label) { fixed (byte* plabel = label) { byte ret = ShowInputMapSelectorNative((byte*)plabel); return ret != 0; } } /// /// To be documented. /// public static bool ShowInputMapSelector(string label) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = ShowInputMapSelectorNative(pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ShowStyleEditorNative(ImPlotStyle* reference) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[368])(reference); #else ((delegate* unmanaged[Cdecl])funcTable[368])((nint)reference); #endif } /// /// To be documented. /// public static void ShowStyleEditor(ImPlotStylePtr reference) { ShowStyleEditorNative(reference); } /// /// To be documented. /// public static void ShowStyleEditor() { ShowStyleEditorNative((ImPlotStyle*)(((void*)0))); } /// /// To be documented. /// public static void ShowStyleEditor(ref ImPlotStyle reference) { fixed (ImPlotStyle* preference = &reference) { ShowStyleEditorNative((ImPlotStyle*)preference); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ShowUserGuideNative() { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[369])(); #else ((delegate* unmanaged[Cdecl])funcTable[369])(); #endif } /// /// To be documented. /// public static void ShowUserGuide() { ShowUserGuideNative(); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ShowMetricsWindowNative(bool* pPopen) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[370])(pPopen); #else ((delegate* unmanaged[Cdecl])funcTable[370])((nint)pPopen); #endif } /// /// To be documented. /// public static void ShowMetricsWindow(bool* pPopen) { ShowMetricsWindowNative(pPopen); } /// /// To be documented. /// public static void ShowMetricsWindow() { ShowMetricsWindowNative((bool*)(((void*)0))); } /// /// To be documented. /// public static void ShowMetricsWindow(ref bool pPopen) { fixed (bool* ppPopen = &pPopen) { ShowMetricsWindowNative((bool*)ppPopen); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ShowDemoWindowNative(bool* pOpen) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[371])(pOpen); #else ((delegate* unmanaged[Cdecl])funcTable[371])((nint)pOpen); #endif } /// /// To be documented. /// public static void ShowDemoWindow(bool* pOpen) { ShowDemoWindowNative(pOpen); } /// /// To be documented. /// public static void ShowDemoWindow() { ShowDemoWindowNative((bool*)(((void*)0))); } /// /// To be documented. /// public static void ShowDemoWindow(ref bool pOpen) { fixed (bool* ppOpen = &pOpen) { ShowDemoWindowNative((bool*)ppOpen); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float ImLog10Native(float x) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[372])(x); #else return (float)((delegate* unmanaged[Cdecl])funcTable[372])(x); #endif } /// /// To be documented. /// public static float ImLog10(float x) { float ret = ImLog10Native(x); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImLog10Native(double x) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[373])(x); #else return (double)((delegate* unmanaged[Cdecl])funcTable[373])(x); #endif } /// /// To be documented. /// public static double ImLog10(double x) { double ret = ImLog10Native(x); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float ImSinhNative(float x) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[374])(x); #else return (float)((delegate* unmanaged[Cdecl])funcTable[374])(x); #endif } /// /// To be documented. /// public static float ImSinh(float x) { float ret = ImSinhNative(x); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImSinhNative(double x) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[375])(x); #else return (double)((delegate* unmanaged[Cdecl])funcTable[375])(x); #endif } /// /// To be documented. /// public static double ImSinh(double x) { double ret = ImSinhNative(x); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float ImAsinhNative(float x) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[376])(x); #else return (float)((delegate* unmanaged[Cdecl])funcTable[376])(x); #endif } /// /// To be documented. /// public static float ImAsinh(float x) { float ret = ImAsinhNative(x); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImAsinhNative(double x) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[377])(x); #else return (double)((delegate* unmanaged[Cdecl])funcTable[377])(x); #endif } /// /// To be documented. /// public static double ImAsinh(double x) { double ret = ImAsinhNative(x); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float ImRemapNative(float x, float x0, float x1, float y0, float y1) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[378])(x, x0, x1, y0, y1); #else return (float)((delegate* unmanaged[Cdecl])funcTable[378])(x, x0, x1, y0, y1); #endif } /// /// To be documented. /// public static float ImRemap(float x, float x0, float x1, float y0, float y1) { float ret = ImRemapNative(x, x0, x1, y0, y1); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImRemapNative(double x, double x0, double x1, double y0, double y1) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[379])(x, x0, x1, y0, y1); #else return (double)((delegate* unmanaged[Cdecl])funcTable[379])(x, x0, x1, y0, y1); #endif } /// /// To be documented. /// public static double ImRemap(double x, double x0, double x1, double y0, double y1) { double ret = ImRemapNative(x, x0, x1, y0, y1); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static sbyte ImRemapNative(sbyte x, sbyte x0, sbyte x1, sbyte y0, sbyte y1) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[380])(x, x0, x1, y0, y1); #else return (sbyte)((delegate* unmanaged[Cdecl])funcTable[380])(x, x0, x1, y0, y1); #endif } /// /// To be documented. /// public static sbyte ImRemap(sbyte x, sbyte x0, sbyte x1, sbyte y0, sbyte y1) { sbyte ret = ImRemapNative(x, x0, x1, y0, y1); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte ImRemapNative(byte x, byte x0, byte x1, byte y0, byte y1) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[381])(x, x0, x1, y0, y1); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[381])(x, x0, x1, y0, y1); #endif } /// /// To be documented. /// public static byte ImRemap(byte x, byte x0, byte x1, byte y0, byte y1) { byte ret = ImRemapNative(x, x0, x1, y0, y1); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static short ImRemapNative(short x, short x0, short x1, short y0, short y1) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[382])(x, x0, x1, y0, y1); #else return (short)((delegate* unmanaged[Cdecl])funcTable[382])(x, x0, x1, y0, y1); #endif } /// /// To be documented. /// public static short ImRemap(short x, short x0, short x1, short y0, short y1) { short ret = ImRemapNative(x, x0, x1, y0, y1); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ushort ImRemapNative(ushort x, ushort x0, ushort x1, ushort y0, ushort y1) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[383])(x, x0, x1, y0, y1); #else return (ushort)((delegate* unmanaged[Cdecl])funcTable[383])(x, x0, x1, y0, y1); #endif } /// /// To be documented. /// public static ushort ImRemap(ushort x, ushort x0, ushort x1, ushort y0, ushort y1) { ushort ret = ImRemapNative(x, x0, x1, y0, y1); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static int ImRemapNative(int x, int x0, int x1, int y0, int y1) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[384])(x, x0, x1, y0, y1); #else return (int)((delegate* unmanaged[Cdecl])funcTable[384])(x, x0, x1, y0, y1); #endif } /// /// To be documented. /// public static int ImRemap(int x, int x0, int x1, int y0, int y1) { int ret = ImRemapNative(x, x0, x1, y0, y1); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static uint ImRemapNative(uint x, uint x0, uint x1, uint y0, uint y1) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[385])(x, x0, x1, y0, y1); #else return (uint)((delegate* unmanaged[Cdecl])funcTable[385])(x, x0, x1, y0, y1); #endif } /// /// To be documented. /// public static uint ImRemap(uint x, uint x0, uint x1, uint y0, uint y1) { uint ret = ImRemapNative(x, x0, x1, y0, y1); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static long ImRemapNative(long x, long x0, long x1, long y0, long y1) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[386])(x, x0, x1, y0, y1); #else return (long)((delegate* unmanaged[Cdecl])funcTable[386])(x, x0, x1, y0, y1); #endif } /// /// To be documented. /// public static long ImRemap(long x, long x0, long x1, long y0, long y1) { long ret = ImRemapNative(x, x0, x1, y0, y1); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ulong ImRemapNative(ulong x, ulong x0, ulong x1, ulong y0, ulong y1) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[387])(x, x0, x1, y0, y1); #else return (ulong)((delegate* unmanaged[Cdecl])funcTable[387])(x, x0, x1, y0, y1); #endif } /// /// To be documented. /// public static ulong ImRemap(ulong x, ulong x0, ulong x1, ulong y0, ulong y1) { ulong ret = ImRemapNative(x, x0, x1, y0, y1); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float ImRemap01Native(float x, float x0, float x1) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[388])(x, x0, x1); #else return (float)((delegate* unmanaged[Cdecl])funcTable[388])(x, x0, x1); #endif } /// /// To be documented. /// public static float ImRemap01(float x, float x0, float x1) { float ret = ImRemap01Native(x, x0, x1); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImRemap01Native(double x, double x0, double x1) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[389])(x, x0, x1); #else return (double)((delegate* unmanaged[Cdecl])funcTable[389])(x, x0, x1); #endif } /// /// To be documented. /// public static double ImRemap01(double x, double x0, double x1) { double ret = ImRemap01Native(x, x0, x1); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static sbyte ImRemap01Native(sbyte x, sbyte x0, sbyte x1) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[390])(x, x0, x1); #else return (sbyte)((delegate* unmanaged[Cdecl])funcTable[390])(x, x0, x1); #endif } /// /// To be documented. /// public static sbyte ImRemap01(sbyte x, sbyte x0, sbyte x1) { sbyte ret = ImRemap01Native(x, x0, x1); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte ImRemap01Native(byte x, byte x0, byte x1) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[391])(x, x0, x1); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[391])(x, x0, x1); #endif } /// /// To be documented. /// public static byte ImRemap01(byte x, byte x0, byte x1) { byte ret = ImRemap01Native(x, x0, x1); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static short ImRemap01Native(short x, short x0, short x1) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[392])(x, x0, x1); #else return (short)((delegate* unmanaged[Cdecl])funcTable[392])(x, x0, x1); #endif } /// /// To be documented. /// public static short ImRemap01(short x, short x0, short x1) { short ret = ImRemap01Native(x, x0, x1); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ushort ImRemap01Native(ushort x, ushort x0, ushort x1) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[393])(x, x0, x1); #else return (ushort)((delegate* unmanaged[Cdecl])funcTable[393])(x, x0, x1); #endif } /// /// To be documented. /// public static ushort ImRemap01(ushort x, ushort x0, ushort x1) { ushort ret = ImRemap01Native(x, x0, x1); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static int ImRemap01Native(int x, int x0, int x1) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[394])(x, x0, x1); #else return (int)((delegate* unmanaged[Cdecl])funcTable[394])(x, x0, x1); #endif } /// /// To be documented. /// public static int ImRemap01(int x, int x0, int x1) { int ret = ImRemap01Native(x, x0, x1); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static uint ImRemap01Native(uint x, uint x0, uint x1) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[395])(x, x0, x1); #else return (uint)((delegate* unmanaged[Cdecl])funcTable[395])(x, x0, x1); #endif } /// /// To be documented. /// public static uint ImRemap01(uint x, uint x0, uint x1) { uint ret = ImRemap01Native(x, x0, x1); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static long ImRemap01Native(long x, long x0, long x1) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[396])(x, x0, x1); #else return (long)((delegate* unmanaged[Cdecl])funcTable[396])(x, x0, x1); #endif } /// /// To be documented. /// public static long ImRemap01(long x, long x0, long x1) { long ret = ImRemap01Native(x, x0, x1); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ulong ImRemap01Native(ulong x, ulong x0, ulong x1) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[397])(x, x0, x1); #else return (ulong)((delegate* unmanaged[Cdecl])funcTable[397])(x, x0, x1); #endif } /// /// To be documented. /// public static ulong ImRemap01(ulong x, ulong x0, ulong x1) { ulong ret = ImRemap01Native(x, x0, x1); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static int ImPosModNative(int l, int r) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[398])(l, r); #else return (int)((delegate* unmanaged[Cdecl])funcTable[398])(l, r); #endif } /// /// To be documented. /// public static int ImPosMod(int l, int r) { int ret = ImPosModNative(l, r); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte ImNanNative(double val) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[399])(val); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[399])(val); #endif } /// /// To be documented. /// public static bool ImNan(double val) { byte ret = ImNanNative(val); return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte ImNanOrInfNative(double val) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[400])(val); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[400])(val); #endif } /// /// To be documented. /// public static bool ImNanOrInf(double val) { byte ret = ImNanOrInfNative(val); return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImConstrainNanNative(double val) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[401])(val); #else return (double)((delegate* unmanaged[Cdecl])funcTable[401])(val); #endif } /// /// To be documented. /// public static double ImConstrainNan(double val) { double ret = ImConstrainNanNative(val); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImConstrainInfNative(double val) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[402])(val); #else return (double)((delegate* unmanaged[Cdecl])funcTable[402])(val); #endif } /// /// To be documented. /// public static double ImConstrainInf(double val) { double ret = ImConstrainInfNative(val); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImConstrainLogNative(double val) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[403])(val); #else return (double)((delegate* unmanaged[Cdecl])funcTable[403])(val); #endif } /// /// To be documented. /// public static double ImConstrainLog(double val) { double ret = ImConstrainLogNative(val); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImConstrainTimeNative(double val) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[404])(val); #else return (double)((delegate* unmanaged[Cdecl])funcTable[404])(val); #endif } /// /// To be documented. /// public static double ImConstrainTime(double val) { double ret = ImConstrainTimeNative(val); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte ImAlmostEqualNative(double v1, double v2, int ulp) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[405])(v1, v2, ulp); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[405])(v1, v2, ulp); #endif } /// /// To be documented. /// public static bool ImAlmostEqual(double v1, double v2, int ulp) { byte ret = ImAlmostEqualNative(v1, v2, ulp); return ret != 0; } /// /// To be documented. /// public static bool ImAlmostEqual(double v1, double v2) { byte ret = ImAlmostEqualNative(v1, v2, (int)(2)); return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float ImMinArrayNative(float* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[406])(values, count); #else return (float)((delegate* unmanaged[Cdecl])funcTable[406])((nint)values, count); #endif } /// /// To be documented. /// public static float ImMinArray(float* values, int count) { float ret = ImMinArrayNative(values, count); return ret; } /// /// To be documented. /// public static float ImMinArray(ref float values, int count) { fixed (float* pvalues = &values) { float ret = ImMinArrayNative((float*)pvalues, count); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImMinArrayNative(double* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[407])(values, count); #else return (double)((delegate* unmanaged[Cdecl])funcTable[407])((nint)values, count); #endif } /// /// To be documented. /// public static double ImMinArray(double* values, int count) { double ret = ImMinArrayNative(values, count); return ret; } /// /// To be documented. /// public static double ImMinArray(ref double values, int count) { fixed (double* pvalues = &values) { double ret = ImMinArrayNative((double*)pvalues, count); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static sbyte ImMinArrayNative(sbyte* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[408])(values, count); #else return (sbyte)((delegate* unmanaged[Cdecl])funcTable[408])((nint)values, count); #endif } /// /// To be documented. /// public static sbyte ImMinArray(sbyte* values, int count) { sbyte ret = ImMinArrayNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte ImMinArrayNative(byte* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[409])(values, count); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[409])((nint)values, count); #endif } /// /// To be documented. /// public static byte ImMinArray(byte* values, int count) { byte ret = ImMinArrayNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static short ImMinArrayNative(short* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[410])(values, count); #else return (short)((delegate* unmanaged[Cdecl])funcTable[410])((nint)values, count); #endif } /// /// To be documented. /// public static short ImMinArray(short* values, int count) { short ret = ImMinArrayNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ushort ImMinArrayNative(ushort* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[411])(values, count); #else return (ushort)((delegate* unmanaged[Cdecl])funcTable[411])((nint)values, count); #endif } /// /// To be documented. /// public static ushort ImMinArray(ushort* values, int count) { ushort ret = ImMinArrayNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static int ImMinArrayNative(int* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[412])(values, count); #else return (int)((delegate* unmanaged[Cdecl])funcTable[412])((nint)values, count); #endif } /// /// To be documented. /// public static int ImMinArray(int* values, int count) { int ret = ImMinArrayNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static uint ImMinArrayNative(uint* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[413])(values, count); #else return (uint)((delegate* unmanaged[Cdecl])funcTable[413])((nint)values, count); #endif } /// /// To be documented. /// public static uint ImMinArray(uint* values, int count) { uint ret = ImMinArrayNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static long ImMinArrayNative(long* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[414])(values, count); #else return (long)((delegate* unmanaged[Cdecl])funcTable[414])((nint)values, count); #endif } /// /// To be documented. /// public static long ImMinArray(long* values, int count) { long ret = ImMinArrayNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ulong ImMinArrayNative(ulong* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[415])(values, count); #else return (ulong)((delegate* unmanaged[Cdecl])funcTable[415])((nint)values, count); #endif } /// /// To be documented. /// public static ulong ImMinArray(ulong* values, int count) { ulong ret = ImMinArrayNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float ImMaxArrayNative(float* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[416])(values, count); #else return (float)((delegate* unmanaged[Cdecl])funcTable[416])((nint)values, count); #endif } /// /// To be documented. /// public static float ImMaxArray(float* values, int count) { float ret = ImMaxArrayNative(values, count); return ret; } /// /// To be documented. /// public static float ImMaxArray(ref float values, int count) { fixed (float* pvalues = &values) { float ret = ImMaxArrayNative((float*)pvalues, count); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImMaxArrayNative(double* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[417])(values, count); #else return (double)((delegate* unmanaged[Cdecl])funcTable[417])((nint)values, count); #endif } /// /// To be documented. /// public static double ImMaxArray(double* values, int count) { double ret = ImMaxArrayNative(values, count); return ret; } /// /// To be documented. /// public static double ImMaxArray(ref double values, int count) { fixed (double* pvalues = &values) { double ret = ImMaxArrayNative((double*)pvalues, count); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static sbyte ImMaxArrayNative(sbyte* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[418])(values, count); #else return (sbyte)((delegate* unmanaged[Cdecl])funcTable[418])((nint)values, count); #endif } /// /// To be documented. /// public static sbyte ImMaxArray(sbyte* values, int count) { sbyte ret = ImMaxArrayNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte ImMaxArrayNative(byte* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[419])(values, count); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[419])((nint)values, count); #endif } /// /// To be documented. /// public static byte ImMaxArray(byte* values, int count) { byte ret = ImMaxArrayNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static short ImMaxArrayNative(short* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[420])(values, count); #else return (short)((delegate* unmanaged[Cdecl])funcTable[420])((nint)values, count); #endif } /// /// To be documented. /// public static short ImMaxArray(short* values, int count) { short ret = ImMaxArrayNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ushort ImMaxArrayNative(ushort* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[421])(values, count); #else return (ushort)((delegate* unmanaged[Cdecl])funcTable[421])((nint)values, count); #endif } /// /// To be documented. /// public static ushort ImMaxArray(ushort* values, int count) { ushort ret = ImMaxArrayNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static int ImMaxArrayNative(int* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[422])(values, count); #else return (int)((delegate* unmanaged[Cdecl])funcTable[422])((nint)values, count); #endif } /// /// To be documented. /// public static int ImMaxArray(int* values, int count) { int ret = ImMaxArrayNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static uint ImMaxArrayNative(uint* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[423])(values, count); #else return (uint)((delegate* unmanaged[Cdecl])funcTable[423])((nint)values, count); #endif } /// /// To be documented. /// public static uint ImMaxArray(uint* values, int count) { uint ret = ImMaxArrayNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static long ImMaxArrayNative(long* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[424])(values, count); #else return (long)((delegate* unmanaged[Cdecl])funcTable[424])((nint)values, count); #endif } /// /// To be documented. /// public static long ImMaxArray(long* values, int count) { long ret = ImMaxArrayNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ulong ImMaxArrayNative(ulong* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[425])(values, count); #else return (ulong)((delegate* unmanaged[Cdecl])funcTable[425])((nint)values, count); #endif } /// /// To be documented. /// public static ulong ImMaxArray(ulong* values, int count) { ulong ret = ImMaxArrayNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImMinMaxArrayNative(float* values, int count, float* minOut, float* maxOut) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[426])(values, count, minOut, maxOut); #else ((delegate* unmanaged[Cdecl])funcTable[426])((nint)values, count, (nint)minOut, (nint)maxOut); #endif } /// /// To be documented. /// public static void ImMinMaxArray(float* values, int count, float* minOut, float* maxOut) { ImMinMaxArrayNative(values, count, minOut, maxOut); } /// /// To be documented. /// public static void ImMinMaxArray(ref float values, int count, float* minOut, float* maxOut) { fixed (float* pvalues = &values) { ImMinMaxArrayNative((float*)pvalues, count, minOut, maxOut); } } /// /// To be documented. /// public static void ImMinMaxArray(float* values, int count, ref float minOut, float* maxOut) { fixed (float* pminOut = &minOut) { ImMinMaxArrayNative(values, count, (float*)pminOut, maxOut); } } /// /// To be documented. /// public static void ImMinMaxArray(ref float values, int count, ref float minOut, float* maxOut) { fixed (float* pvalues = &values) { fixed (float* pminOut = &minOut) { ImMinMaxArrayNative((float*)pvalues, count, (float*)pminOut, maxOut); } } } /// /// To be documented. /// public static void ImMinMaxArray(float* values, int count, float* minOut, ref float maxOut) { fixed (float* pmaxOut = &maxOut) { ImMinMaxArrayNative(values, count, minOut, (float*)pmaxOut); } } /// /// To be documented. /// public static void ImMinMaxArray(ref float values, int count, float* minOut, ref float maxOut) { fixed (float* pvalues = &values) { fixed (float* pmaxOut = &maxOut) { ImMinMaxArrayNative((float*)pvalues, count, minOut, (float*)pmaxOut); } } } /// /// To be documented. /// public static void ImMinMaxArray(float* values, int count, ref float minOut, ref float maxOut) { fixed (float* pminOut = &minOut) { fixed (float* pmaxOut = &maxOut) { ImMinMaxArrayNative(values, count, (float*)pminOut, (float*)pmaxOut); } } } /// /// To be documented. /// public static void ImMinMaxArray(ref float values, int count, ref float minOut, ref float maxOut) { fixed (float* pvalues = &values) { fixed (float* pminOut = &minOut) { fixed (float* pmaxOut = &maxOut) { ImMinMaxArrayNative((float*)pvalues, count, (float*)pminOut, (float*)pmaxOut); } } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImMinMaxArrayNative(double* values, int count, double* minOut, double* maxOut) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[427])(values, count, minOut, maxOut); #else ((delegate* unmanaged[Cdecl])funcTable[427])((nint)values, count, (nint)minOut, (nint)maxOut); #endif } /// /// To be documented. /// public static void ImMinMaxArray(double* values, int count, double* minOut, double* maxOut) { ImMinMaxArrayNative(values, count, minOut, maxOut); } /// /// To be documented. /// public static void ImMinMaxArray(ref double values, int count, double* minOut, double* maxOut) { fixed (double* pvalues = &values) { ImMinMaxArrayNative((double*)pvalues, count, minOut, maxOut); } } /// /// To be documented. /// public static void ImMinMaxArray(double* values, int count, ref double minOut, double* maxOut) { fixed (double* pminOut = &minOut) { ImMinMaxArrayNative(values, count, (double*)pminOut, maxOut); } } /// /// To be documented. /// public static void ImMinMaxArray(ref double values, int count, ref double minOut, double* maxOut) { fixed (double* pvalues = &values) { fixed (double* pminOut = &minOut) { ImMinMaxArrayNative((double*)pvalues, count, (double*)pminOut, maxOut); } } } /// /// To be documented. /// public static void ImMinMaxArray(double* values, int count, double* minOut, ref double maxOut) { fixed (double* pmaxOut = &maxOut) { ImMinMaxArrayNative(values, count, minOut, (double*)pmaxOut); } } /// /// To be documented. /// public static void ImMinMaxArray(ref double values, int count, double* minOut, ref double maxOut) { fixed (double* pvalues = &values) { fixed (double* pmaxOut = &maxOut) { ImMinMaxArrayNative((double*)pvalues, count, minOut, (double*)pmaxOut); } } } /// /// To be documented. /// public static void ImMinMaxArray(double* values, int count, ref double minOut, ref double maxOut) { fixed (double* pminOut = &minOut) { fixed (double* pmaxOut = &maxOut) { ImMinMaxArrayNative(values, count, (double*)pminOut, (double*)pmaxOut); } } } /// /// To be documented. /// public static void ImMinMaxArray(ref double values, int count, ref double minOut, ref double maxOut) { fixed (double* pvalues = &values) { fixed (double* pminOut = &minOut) { fixed (double* pmaxOut = &maxOut) { ImMinMaxArrayNative((double*)pvalues, count, (double*)pminOut, (double*)pmaxOut); } } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImMinMaxArrayNative(sbyte* values, int count, sbyte* minOut, sbyte* maxOut) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[428])(values, count, minOut, maxOut); #else ((delegate* unmanaged[Cdecl])funcTable[428])((nint)values, count, (nint)minOut, (nint)maxOut); #endif } /// /// To be documented. /// public static void ImMinMaxArray(sbyte* values, int count, sbyte* minOut, sbyte* maxOut) { ImMinMaxArrayNative(values, count, minOut, maxOut); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImMinMaxArrayNative(byte* values, int count, byte* minOut, byte* maxOut) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[429])(values, count, minOut, maxOut); #else ((delegate* unmanaged[Cdecl])funcTable[429])((nint)values, count, (nint)minOut, (nint)maxOut); #endif } /// /// To be documented. /// public static void ImMinMaxArray(byte* values, int count, byte* minOut, byte* maxOut) { ImMinMaxArrayNative(values, count, minOut, maxOut); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImMinMaxArrayNative(short* values, int count, short* minOut, short* maxOut) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[430])(values, count, minOut, maxOut); #else ((delegate* unmanaged[Cdecl])funcTable[430])((nint)values, count, (nint)minOut, (nint)maxOut); #endif } /// /// To be documented. /// public static void ImMinMaxArray(short* values, int count, short* minOut, short* maxOut) { ImMinMaxArrayNative(values, count, minOut, maxOut); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImMinMaxArrayNative(ushort* values, int count, ushort* minOut, ushort* maxOut) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[431])(values, count, minOut, maxOut); #else ((delegate* unmanaged[Cdecl])funcTable[431])((nint)values, count, (nint)minOut, (nint)maxOut); #endif } /// /// To be documented. /// public static void ImMinMaxArray(ushort* values, int count, ushort* minOut, ushort* maxOut) { ImMinMaxArrayNative(values, count, minOut, maxOut); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImMinMaxArrayNative(int* values, int count, int* minOut, int* maxOut) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[432])(values, count, minOut, maxOut); #else ((delegate* unmanaged[Cdecl])funcTable[432])((nint)values, count, (nint)minOut, (nint)maxOut); #endif } /// /// To be documented. /// public static void ImMinMaxArray(int* values, int count, int* minOut, int* maxOut) { ImMinMaxArrayNative(values, count, minOut, maxOut); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImMinMaxArrayNative(uint* values, int count, uint* minOut, uint* maxOut) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[433])(values, count, minOut, maxOut); #else ((delegate* unmanaged[Cdecl])funcTable[433])((nint)values, count, (nint)minOut, (nint)maxOut); #endif } /// /// To be documented. /// public static void ImMinMaxArray(uint* values, int count, uint* minOut, uint* maxOut) { ImMinMaxArrayNative(values, count, minOut, maxOut); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImMinMaxArrayNative(long* values, int count, long* minOut, long* maxOut) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[434])(values, count, minOut, maxOut); #else ((delegate* unmanaged[Cdecl])funcTable[434])((nint)values, count, (nint)minOut, (nint)maxOut); #endif } /// /// To be documented. /// public static void ImMinMaxArray(long* values, int count, long* minOut, long* maxOut) { ImMinMaxArrayNative(values, count, minOut, maxOut); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImMinMaxArrayNative(ulong* values, int count, ulong* minOut, ulong* maxOut) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[435])(values, count, minOut, maxOut); #else ((delegate* unmanaged[Cdecl])funcTable[435])((nint)values, count, (nint)minOut, (nint)maxOut); #endif } /// /// To be documented. /// public static void ImMinMaxArray(ulong* values, int count, ulong* minOut, ulong* maxOut) { ImMinMaxArrayNative(values, count, minOut, maxOut); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float ImSumNative(float* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[436])(values, count); #else return (float)((delegate* unmanaged[Cdecl])funcTable[436])((nint)values, count); #endif } /// /// To be documented. /// public static float ImSum(float* values, int count) { float ret = ImSumNative(values, count); return ret; } /// /// To be documented. /// public static float ImSum(ref float values, int count) { fixed (float* pvalues = &values) { float ret = ImSumNative((float*)pvalues, count); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImSumNative(double* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[437])(values, count); #else return (double)((delegate* unmanaged[Cdecl])funcTable[437])((nint)values, count); #endif } /// /// To be documented. /// public static double ImSum(double* values, int count) { double ret = ImSumNative(values, count); return ret; } /// /// To be documented. /// public static double ImSum(ref double values, int count) { fixed (double* pvalues = &values) { double ret = ImSumNative((double*)pvalues, count); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static sbyte ImSumNative(sbyte* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[438])(values, count); #else return (sbyte)((delegate* unmanaged[Cdecl])funcTable[438])((nint)values, count); #endif } /// /// To be documented. /// public static sbyte ImSum(sbyte* values, int count) { sbyte ret = ImSumNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte ImSumNative(byte* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[439])(values, count); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[439])((nint)values, count); #endif } /// /// To be documented. /// public static byte ImSum(byte* values, int count) { byte ret = ImSumNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static short ImSumNative(short* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[440])(values, count); #else return (short)((delegate* unmanaged[Cdecl])funcTable[440])((nint)values, count); #endif } /// /// To be documented. /// public static short ImSum(short* values, int count) { short ret = ImSumNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ushort ImSumNative(ushort* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[441])(values, count); #else return (ushort)((delegate* unmanaged[Cdecl])funcTable[441])((nint)values, count); #endif } /// /// To be documented. /// public static ushort ImSum(ushort* values, int count) { ushort ret = ImSumNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static int ImSumNative(int* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[442])(values, count); #else return (int)((delegate* unmanaged[Cdecl])funcTable[442])((nint)values, count); #endif } /// /// To be documented. /// public static int ImSum(int* values, int count) { int ret = ImSumNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static uint ImSumNative(uint* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[443])(values, count); #else return (uint)((delegate* unmanaged[Cdecl])funcTable[443])((nint)values, count); #endif } /// /// To be documented. /// public static uint ImSum(uint* values, int count) { uint ret = ImSumNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static long ImSumNative(long* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[444])(values, count); #else return (long)((delegate* unmanaged[Cdecl])funcTable[444])((nint)values, count); #endif } /// /// To be documented. /// public static long ImSum(long* values, int count) { long ret = ImSumNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ulong ImSumNative(ulong* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[445])(values, count); #else return (ulong)((delegate* unmanaged[Cdecl])funcTable[445])((nint)values, count); #endif } /// /// To be documented. /// public static ulong ImSum(ulong* values, int count) { ulong ret = ImSumNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImMeanNative(float* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[446])(values, count); #else return (double)((delegate* unmanaged[Cdecl])funcTable[446])((nint)values, count); #endif } /// /// To be documented. /// public static double ImMean(float* values, int count) { double ret = ImMeanNative(values, count); return ret; } /// /// To be documented. /// public static double ImMean(ref float values, int count) { fixed (float* pvalues = &values) { double ret = ImMeanNative((float*)pvalues, count); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImMeanNative(double* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[447])(values, count); #else return (double)((delegate* unmanaged[Cdecl])funcTable[447])((nint)values, count); #endif } /// /// To be documented. /// public static double ImMean(double* values, int count) { double ret = ImMeanNative(values, count); return ret; } /// /// To be documented. /// public static double ImMean(ref double values, int count) { fixed (double* pvalues = &values) { double ret = ImMeanNative((double*)pvalues, count); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImMeanNative(sbyte* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[448])(values, count); #else return (double)((delegate* unmanaged[Cdecl])funcTable[448])((nint)values, count); #endif } /// /// To be documented. /// public static double ImMean(sbyte* values, int count) { double ret = ImMeanNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImMeanNative(byte* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[449])(values, count); #else return (double)((delegate* unmanaged[Cdecl])funcTable[449])((nint)values, count); #endif } /// /// To be documented. /// public static double ImMean(byte* values, int count) { double ret = ImMeanNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImMeanNative(short* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[450])(values, count); #else return (double)((delegate* unmanaged[Cdecl])funcTable[450])((nint)values, count); #endif } /// /// To be documented. /// public static double ImMean(short* values, int count) { double ret = ImMeanNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImMeanNative(ushort* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[451])(values, count); #else return (double)((delegate* unmanaged[Cdecl])funcTable[451])((nint)values, count); #endif } /// /// To be documented. /// public static double ImMean(ushort* values, int count) { double ret = ImMeanNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImMeanNative(int* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[452])(values, count); #else return (double)((delegate* unmanaged[Cdecl])funcTable[452])((nint)values, count); #endif } /// /// To be documented. /// public static double ImMean(int* values, int count) { double ret = ImMeanNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImMeanNative(uint* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[453])(values, count); #else return (double)((delegate* unmanaged[Cdecl])funcTable[453])((nint)values, count); #endif } /// /// To be documented. /// public static double ImMean(uint* values, int count) { double ret = ImMeanNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImMeanNative(long* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[454])(values, count); #else return (double)((delegate* unmanaged[Cdecl])funcTable[454])((nint)values, count); #endif } /// /// To be documented. /// public static double ImMean(long* values, int count) { double ret = ImMeanNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImMeanNative(ulong* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[455])(values, count); #else return (double)((delegate* unmanaged[Cdecl])funcTable[455])((nint)values, count); #endif } /// /// To be documented. /// public static double ImMean(ulong* values, int count) { double ret = ImMeanNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImStdDevNative(float* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[456])(values, count); #else return (double)((delegate* unmanaged[Cdecl])funcTable[456])((nint)values, count); #endif } /// /// To be documented. /// public static double ImStdDev(float* values, int count) { double ret = ImStdDevNative(values, count); return ret; } /// /// To be documented. /// public static double ImStdDev(ref float values, int count) { fixed (float* pvalues = &values) { double ret = ImStdDevNative((float*)pvalues, count); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImStdDevNative(double* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[457])(values, count); #else return (double)((delegate* unmanaged[Cdecl])funcTable[457])((nint)values, count); #endif } /// /// To be documented. /// public static double ImStdDev(double* values, int count) { double ret = ImStdDevNative(values, count); return ret; } /// /// To be documented. /// public static double ImStdDev(ref double values, int count) { fixed (double* pvalues = &values) { double ret = ImStdDevNative((double*)pvalues, count); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImStdDevNative(sbyte* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[458])(values, count); #else return (double)((delegate* unmanaged[Cdecl])funcTable[458])((nint)values, count); #endif } /// /// To be documented. /// public static double ImStdDev(sbyte* values, int count) { double ret = ImStdDevNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImStdDevNative(byte* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[459])(values, count); #else return (double)((delegate* unmanaged[Cdecl])funcTable[459])((nint)values, count); #endif } /// /// To be documented. /// public static double ImStdDev(byte* values, int count) { double ret = ImStdDevNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImStdDevNative(short* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[460])(values, count); #else return (double)((delegate* unmanaged[Cdecl])funcTable[460])((nint)values, count); #endif } /// /// To be documented. /// public static double ImStdDev(short* values, int count) { double ret = ImStdDevNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImStdDevNative(ushort* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[461])(values, count); #else return (double)((delegate* unmanaged[Cdecl])funcTable[461])((nint)values, count); #endif } /// /// To be documented. /// public static double ImStdDev(ushort* values, int count) { double ret = ImStdDevNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImStdDevNative(int* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[462])(values, count); #else return (double)((delegate* unmanaged[Cdecl])funcTable[462])((nint)values, count); #endif } /// /// To be documented. /// public static double ImStdDev(int* values, int count) { double ret = ImStdDevNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImStdDevNative(uint* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[463])(values, count); #else return (double)((delegate* unmanaged[Cdecl])funcTable[463])((nint)values, count); #endif } /// /// To be documented. /// public static double ImStdDev(uint* values, int count) { double ret = ImStdDevNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImStdDevNative(long* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[464])(values, count); #else return (double)((delegate* unmanaged[Cdecl])funcTable[464])((nint)values, count); #endif } /// /// To be documented. /// public static double ImStdDev(long* values, int count) { double ret = ImStdDevNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double ImStdDevNative(ulong* values, int count) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[465])(values, count); #else return (double)((delegate* unmanaged[Cdecl])funcTable[465])((nint)values, count); #endif } /// /// To be documented. /// public static double ImStdDev(ulong* values, int count) { double ret = ImStdDevNative(values, count); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static uint ImMixU32Native(uint a, uint b, uint s) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[466])(a, b, s); #else return (uint)((delegate* unmanaged[Cdecl])funcTable[466])(a, b, s); #endif } /// /// To be documented. /// public static uint ImMixU32(uint a, uint b, uint s) { uint ret = ImMixU32Native(a, b, s); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static uint ImLerpU32Native(uint* colors, int size, float t) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[467])(colors, size, t); #else return (uint)((delegate* unmanaged[Cdecl])funcTable[467])((nint)colors, size, t); #endif } /// /// To be documented. /// public static uint ImLerpU32(uint* colors, int size, float t) { uint ret = ImLerpU32Native(colors, size, t); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static uint ImAlphaU32Native(uint col, float alpha) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[468])(col, alpha); #else return (uint)((delegate* unmanaged[Cdecl])funcTable[468])(col, alpha); #endif } /// /// To be documented. /// public static uint ImAlphaU32(uint col, float alpha) { uint ret = ImAlphaU32Native(col, alpha); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte ImOverlapsNative(float minA, float maxA, float minB, float maxB) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[469])(minA, maxA, minB, maxB); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[469])(minA, maxA, minB, maxB); #endif } /// /// To be documented. /// public static bool ImOverlaps(float minA, float maxA, float minB, float maxB) { byte ret = ImOverlapsNative(minA, maxA, minB, maxB); return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte ImOverlapsNative(double minA, double maxA, double minB, double maxB) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[470])(minA, maxA, minB, maxB); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[470])(minA, maxA, minB, maxB); #endif } /// /// To be documented. /// public static bool ImOverlaps(double minA, double maxA, double minB, double maxB) { byte ret = ImOverlapsNative(minA, maxA, minB, maxB); return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte ImOverlapsNative(sbyte minA, sbyte maxA, sbyte minB, sbyte maxB) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[471])(minA, maxA, minB, maxB); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[471])(minA, maxA, minB, maxB); #endif } /// /// To be documented. /// public static bool ImOverlaps(sbyte minA, sbyte maxA, sbyte minB, sbyte maxB) { byte ret = ImOverlapsNative(minA, maxA, minB, maxB); return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte ImOverlapsNative(byte minA, byte maxA, byte minB, byte maxB) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[472])(minA, maxA, minB, maxB); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[472])(minA, maxA, minB, maxB); #endif } /// /// To be documented. /// public static bool ImOverlaps(byte minA, byte maxA, byte minB, byte maxB) { byte ret = ImOverlapsNative(minA, maxA, minB, maxB); return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte ImOverlapsNative(short minA, short maxA, short minB, short maxB) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[473])(minA, maxA, minB, maxB); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[473])(minA, maxA, minB, maxB); #endif } /// /// To be documented. /// public static bool ImOverlaps(short minA, short maxA, short minB, short maxB) { byte ret = ImOverlapsNative(minA, maxA, minB, maxB); return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte ImOverlapsNative(ushort minA, ushort maxA, ushort minB, ushort maxB) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[474])(minA, maxA, minB, maxB); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[474])(minA, maxA, minB, maxB); #endif } /// /// To be documented. /// public static bool ImOverlaps(ushort minA, ushort maxA, ushort minB, ushort maxB) { byte ret = ImOverlapsNative(minA, maxA, minB, maxB); return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte ImOverlapsNative(int minA, int maxA, int minB, int maxB) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[475])(minA, maxA, minB, maxB); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[475])(minA, maxA, minB, maxB); #endif } } }