// ------------------------------------------------------------------------------ // // 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 void PlotBars(ref byte labelId, ref long xs, long* ys, int count, double barSize, int offset) { fixed (byte* plabelId = &labelId) { fixed (long* pxs = &xs) { PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref long xs, long* ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (long* pxs = &xs) { PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (long* pxs = &xs) { PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (long* pxs = &xs) { PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(long))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { fixed (long* pxs = &xs) { PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(long))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref long xs, long* ys, int count, double barSize) { fixed (byte* plabelId = labelId) { fixed (long* pxs = &xs) { PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref long xs, long* ys, int count, double barSize, int offset) { fixed (byte* plabelId = labelId) { fixed (long* pxs = &xs) { PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref long xs, long* ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (long* pxs = &xs) { PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (long* pxs = &xs) { PlotBarsNative(pStr0, (long*)pxs, ys, count, barSize, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (long* pxs = &xs) { PlotBarsNative(pStr0, (long*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (long* pxs = &xs) { PlotBarsNative(pStr0, (long*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref long xs, long* ys, int count, double barSize) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (long* pxs = &xs) { PlotBarsNative(pStr0, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref long xs, long* ys, int count, double barSize, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (long* pxs = &xs) { PlotBarsNative(pStr0, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref long xs, long* ys, int count, double barSize, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (long* pxs = &xs) { PlotBarsNative(pStr0, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (long* pys = &ys) { PlotBarsNative(labelId, xs, (long*)pys, count, barSize, flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (long* pys = &ys) { PlotBarsNative(labelId, xs, (long*)pys, count, barSize, flags, offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (long* pys = &ys) { PlotBarsNative(labelId, xs, (long*)pys, count, barSize, flags, (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, long* xs, ref long ys, int count, double barSize) { fixed (long* pys = &ys) { PlotBarsNative(labelId, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, long* xs, ref long ys, int count, double barSize, int offset) { fixed (long* pys = &ys) { PlotBarsNative(labelId, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, long* xs, ref long ys, int count, double barSize, int offset, int stride) { fixed (long* pys = &ys) { PlotBarsNative(labelId, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (long* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (long* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, flags, offset, (int)(sizeof(long))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (long* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, flags, (int)(0), (int)(sizeof(long))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, long* xs, ref long ys, int count, double barSize) { fixed (byte* plabelId = &labelId) { fixed (long* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, long* xs, ref long ys, int count, double barSize, int offset) { fixed (byte* plabelId = &labelId) { fixed (long* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, long* xs, ref long ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (long* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (long* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (long* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, flags, offset, (int)(sizeof(long))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { fixed (long* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, flags, (int)(0), (int)(sizeof(long))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, long* xs, ref long ys, int count, double barSize) { fixed (byte* plabelId = labelId) { fixed (long* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, long* xs, ref long ys, int count, double barSize, int offset) { fixed (byte* plabelId = labelId) { fixed (long* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, long* xs, ref long ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (long* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(string labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (long* pys = &ys) { PlotBarsNative(pStr0, xs, (long*)pys, count, barSize, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (long* pys = &ys) { PlotBarsNative(pStr0, xs, (long*)pys, count, barSize, flags, offset, (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (long* pys = &ys) { PlotBarsNative(pStr0, xs, (long*)pys, count, barSize, flags, (int)(0), (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, long* xs, ref long ys, int count, double barSize) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (long* pys = &ys) { PlotBarsNative(pStr0, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, long* xs, ref long ys, int count, double barSize, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (long* pys = &ys) { PlotBarsNative(pStr0, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, long* xs, ref long ys, int count, double barSize, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (long* pys = &ys) { PlotBarsNative(pStr0, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (long* pxs = &xs) { fixed (long* pys = &ys) { PlotBarsNative(labelId, (long*)pxs, (long*)pys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (long* pxs = &xs) { fixed (long* pys = &ys) { PlotBarsNative(labelId, (long*)pxs, (long*)pys, count, barSize, flags, offset, (int)(sizeof(long))); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (long* pxs = &xs) { fixed (long* pys = &ys) { PlotBarsNative(labelId, (long*)pxs, (long*)pys, count, barSize, flags, (int)(0), (int)(sizeof(long))); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref long xs, ref long ys, int count, double barSize) { fixed (long* pxs = &xs) { fixed (long* pys = &ys) { PlotBarsNative(labelId, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref long xs, ref long ys, int count, double barSize, int offset) { fixed (long* pxs = &xs) { fixed (long* pys = &ys) { PlotBarsNative(labelId, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref long xs, ref long ys, int count, double barSize, int offset, int stride) { fixed (long* pxs = &xs) { fixed (long* pys = &ys) { PlotBarsNative(labelId, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (long* pxs = &xs) { fixed (long* pys = &ys) { PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (long* pxs = &xs) { fixed (long* pys = &ys) { PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, flags, offset, (int)(sizeof(long))); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (long* pxs = &xs) { fixed (long* pys = &ys) { PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, flags, (int)(0), (int)(sizeof(long))); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref long xs, ref long ys, int count, double barSize) { fixed (byte* plabelId = &labelId) { fixed (long* pxs = &xs) { fixed (long* pys = &ys) { PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref long xs, ref long ys, int count, double barSize, int offset) { fixed (byte* plabelId = &labelId) { fixed (long* pxs = &xs) { fixed (long* pys = &ys) { PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref long xs, ref long ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (long* pxs = &xs) { fixed (long* pys = &ys) { PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (long* pxs = &xs) { fixed (long* pys = &ys) { PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (long* pxs = &xs) { fixed (long* pys = &ys) { PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, flags, offset, (int)(sizeof(long))); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { fixed (long* pxs = &xs) { fixed (long* pys = &ys) { PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, flags, (int)(0), (int)(sizeof(long))); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double barSize) { fixed (byte* plabelId = labelId) { fixed (long* pxs = &xs) { fixed (long* pys = &ys) { PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double barSize, int offset) { fixed (byte* plabelId = labelId) { fixed (long* pxs = &xs) { fixed (long* pys = &ys) { PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (long* pxs = &xs) { fixed (long* pys = &ys) { PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (long* pxs = &xs) { fixed (long* pys = &ys) { PlotBarsNative(pStr0, (long*)pxs, (long*)pys, count, barSize, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (long* pxs = &xs) { fixed (long* pys = &ys) { PlotBarsNative(pStr0, (long*)pxs, (long*)pys, count, barSize, flags, offset, (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (long* pxs = &xs) { fixed (long* pys = &ys) { PlotBarsNative(pStr0, (long*)pxs, (long*)pys, count, barSize, flags, (int)(0), (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref long xs, ref long ys, int count, double barSize) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (long* pxs = &xs) { fixed (long* pys = &ys) { PlotBarsNative(pStr0, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref long xs, ref long ys, int count, double barSize, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (long* pxs = &xs) { fixed (long* pys = &ys) { PlotBarsNative(pStr0, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref long xs, ref long ys, int count, double barSize, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (long* pxs = &xs) { fixed (long* pys = &ys) { PlotBarsNative(pStr0, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotBarsNative(byte* labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[153])(labelId, xs, ys, count, barSize, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[153])((nint)labelId, (nint)xs, (nint)ys, count, barSize, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, stride); } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags) { PlotBarsNative(labelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* xs, ulong* ys, int count, double barSize) { PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* xs, ulong* ys, int count, double barSize, int offset) { PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* xs, ulong* ys, int count, double barSize, int offset, int stride) { PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* xs, ulong* ys, int count, double barSize) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* xs, ulong* ys, int count, double barSize, int offset) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* xs, ulong* ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double barSize) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double barSize, int offset) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotBarsNative(pStr0, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* xs, ulong* ys, int count, double barSize) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* xs, ulong* ys, int count, double barSize, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* xs, ulong* ys, int count, double barSize, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (ulong* pxs = &xs) { PlotBarsNative(labelId, (ulong*)pxs, ys, count, barSize, flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (ulong* pxs = &xs) { PlotBarsNative(labelId, (ulong*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (ulong* pxs = &xs) { PlotBarsNative(labelId, (ulong*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref ulong xs, ulong* ys, int count, double barSize) { fixed (ulong* pxs = &xs) { PlotBarsNative(labelId, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref ulong xs, ulong* ys, int count, double barSize, int offset) { fixed (ulong* pxs = &xs) { PlotBarsNative(labelId, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref ulong xs, ulong* ys, int count, double barSize, int offset, int stride) { fixed (ulong* pxs = &xs) { PlotBarsNative(labelId, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (ulong* pxs = &xs) { PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (ulong* pxs = &xs) { PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (ulong* pxs = &xs) { PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref ulong xs, ulong* ys, int count, double barSize) { fixed (byte* plabelId = &labelId) { fixed (ulong* pxs = &xs) { PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref ulong xs, ulong* ys, int count, double barSize, int offset) { fixed (byte* plabelId = &labelId) { fixed (ulong* pxs = &xs) { PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref ulong xs, ulong* ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (ulong* pxs = &xs) { PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (ulong* pxs = &xs) { PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (ulong* pxs = &xs) { PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { fixed (ulong* pxs = &xs) { PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double barSize) { fixed (byte* plabelId = labelId) { fixed (ulong* pxs = &xs) { PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double barSize, int offset) { fixed (byte* plabelId = labelId) { fixed (ulong* pxs = &xs) { PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (ulong* pxs = &xs) { PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pxs = &xs) { PlotBarsNative(pStr0, (ulong*)pxs, ys, count, barSize, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pxs = &xs) { PlotBarsNative(pStr0, (ulong*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pxs = &xs) { PlotBarsNative(pStr0, (ulong*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref ulong xs, ulong* ys, int count, double barSize) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pxs = &xs) { PlotBarsNative(pStr0, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref ulong xs, ulong* ys, int count, double barSize, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pxs = &xs) { PlotBarsNative(pStr0, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref ulong xs, ulong* ys, int count, double barSize, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pxs = &xs) { PlotBarsNative(pStr0, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (ulong* pys = &ys) { PlotBarsNative(labelId, xs, (ulong*)pys, count, barSize, flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (ulong* pys = &ys) { PlotBarsNative(labelId, xs, (ulong*)pys, count, barSize, flags, offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (ulong* pys = &ys) { PlotBarsNative(labelId, xs, (ulong*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* xs, ref ulong ys, int count, double barSize) { fixed (ulong* pys = &ys) { PlotBarsNative(labelId, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* xs, ref ulong ys, int count, double barSize, int offset) { fixed (ulong* pys = &ys) { PlotBarsNative(labelId, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* xs, ref ulong ys, int count, double barSize, int offset, int stride) { fixed (ulong* pys = &ys) { PlotBarsNative(labelId, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (ulong* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (ulong* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, flags, offset, (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (ulong* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* xs, ref ulong ys, int count, double barSize) { fixed (byte* plabelId = &labelId) { fixed (ulong* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* xs, ref ulong ys, int count, double barSize, int offset) { fixed (byte* plabelId = &labelId) { fixed (ulong* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* xs, ref ulong ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (ulong* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (ulong* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (ulong* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, flags, offset, (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { fixed (ulong* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double barSize) { fixed (byte* plabelId = labelId) { fixed (ulong* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double barSize, int offset) { fixed (byte* plabelId = labelId) { fixed (ulong* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (ulong* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pys = &ys) { PlotBarsNative(pStr0, xs, (ulong*)pys, count, barSize, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pys = &ys) { PlotBarsNative(pStr0, xs, (ulong*)pys, count, barSize, flags, offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pys = &ys) { PlotBarsNative(pStr0, xs, (ulong*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* xs, ref ulong ys, int count, double barSize) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pys = &ys) { PlotBarsNative(pStr0, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* xs, ref ulong ys, int count, double barSize, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pys = &ys) { PlotBarsNative(pStr0, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* xs, ref ulong ys, int count, double barSize, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pys = &ys) { PlotBarsNative(pStr0, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotBarsNative(labelId, (ulong*)pxs, (ulong*)pys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotBarsNative(labelId, (ulong*)pxs, (ulong*)pys, count, barSize, flags, offset, (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotBarsNative(labelId, (ulong*)pxs, (ulong*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref ulong xs, ref ulong ys, int count, double barSize) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotBarsNative(labelId, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref ulong xs, ref ulong ys, int count, double barSize, int offset) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotBarsNative(labelId, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref ulong xs, ref ulong ys, int count, double barSize, int offset, int stride) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotBarsNative(labelId, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, flags, offset, (int)(sizeof(ulong))); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref ulong xs, ref ulong ys, int count, double barSize) { fixed (byte* plabelId = &labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref ulong xs, ref ulong ys, int count, double barSize, int offset) { fixed (byte* plabelId = &labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref ulong xs, ref ulong ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, flags, offset, (int)(sizeof(ulong))); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double barSize) { fixed (byte* plabelId = labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double barSize, int offset) { fixed (byte* plabelId = labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, barSize, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, barSize, flags, offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref ulong xs, ref ulong ys, int count, double barSize) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref ulong xs, ref ulong ys, int count, double barSize, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref ulong xs, ref ulong ys, int count, double barSize, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotBarGroupsNative(byte** labelIds, float* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[154])(labelIds, values, itemCount, groupCount, groupSize, shift, flags); #else ((delegate* unmanaged[Cdecl])funcTable[154])((nint)labelIds, (nint)values, itemCount, groupCount, groupSize, shift, flags); #endif } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, float* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) { PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, flags); } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, float* values, int itemCount, int groupCount, double groupSize, double shift) { PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, float* values, int itemCount, int groupCount, double groupSize) { PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, float* values, int itemCount, int groupCount) { PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, float* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) { PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), flags); } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, float* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) { PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, float* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, float* values, int itemCount, int groupCount, double groupSize, double shift) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, float* values, int itemCount, int groupCount, double groupSize) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, float* values, int itemCount, int groupCount) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, float* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, float* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, ref float values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) { fixed (float* pvalues = &values) { PlotBarGroupsNative(labelIds, (float*)pvalues, itemCount, groupCount, groupSize, shift, flags); } } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, ref float values, int itemCount, int groupCount, double groupSize, double shift) { fixed (float* pvalues = &values) { PlotBarGroupsNative(labelIds, (float*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); } } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, ref float values, int itemCount, int groupCount, double groupSize) { fixed (float* pvalues = &values) { PlotBarGroupsNative(labelIds, (float*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); } } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, ref float values, int itemCount, int groupCount) { fixed (float* pvalues = &values) { PlotBarGroupsNative(labelIds, (float*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); } } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, ref float values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) { fixed (float* pvalues = &values) { PlotBarGroupsNative(labelIds, (float*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); } } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, ref float values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) { fixed (float* pvalues = &values) { PlotBarGroupsNative(labelIds, (float*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, ref float values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (float* pvalues = &values) { PlotBarGroupsNative(pStrArray0, (float*)pvalues, itemCount, groupCount, groupSize, shift, flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, ref float values, int itemCount, int groupCount, double groupSize, double shift) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (float* pvalues = &values) { PlotBarGroupsNative(pStrArray0, (float*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, ref float values, int itemCount, int groupCount, double groupSize) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (float* pvalues = &values) { PlotBarGroupsNative(pStrArray0, (float*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, ref float values, int itemCount, int groupCount) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (float* pvalues = &values) { PlotBarGroupsNative(pStrArray0, (float*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, ref float values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (float* pvalues = &values) { PlotBarGroupsNative(pStrArray0, (float*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, ref float values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (float* pvalues = &values) { PlotBarGroupsNative(pStrArray0, (float*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotBarGroupsNative(byte** labelIds, double* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[155])(labelIds, values, itemCount, groupCount, groupSize, shift, flags); #else ((delegate* unmanaged[Cdecl])funcTable[155])((nint)labelIds, (nint)values, itemCount, groupCount, groupSize, shift, flags); #endif } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, double* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) { PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, flags); } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, double* values, int itemCount, int groupCount, double groupSize, double shift) { PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, double* values, int itemCount, int groupCount, double groupSize) { PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, double* values, int itemCount, int groupCount) { PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, double* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) { PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), flags); } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, double* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) { PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, double* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, double* values, int itemCount, int groupCount, double groupSize, double shift) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, double* values, int itemCount, int groupCount, double groupSize) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, double* values, int itemCount, int groupCount) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, double* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, double* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, ref double values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) { fixed (double* pvalues = &values) { PlotBarGroupsNative(labelIds, (double*)pvalues, itemCount, groupCount, groupSize, shift, flags); } } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, ref double values, int itemCount, int groupCount, double groupSize, double shift) { fixed (double* pvalues = &values) { PlotBarGroupsNative(labelIds, (double*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); } } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, ref double values, int itemCount, int groupCount, double groupSize) { fixed (double* pvalues = &values) { PlotBarGroupsNative(labelIds, (double*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); } } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, ref double values, int itemCount, int groupCount) { fixed (double* pvalues = &values) { PlotBarGroupsNative(labelIds, (double*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); } } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, ref double values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) { fixed (double* pvalues = &values) { PlotBarGroupsNative(labelIds, (double*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); } } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, ref double values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) { fixed (double* pvalues = &values) { PlotBarGroupsNative(labelIds, (double*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, ref double values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (double* pvalues = &values) { PlotBarGroupsNative(pStrArray0, (double*)pvalues, itemCount, groupCount, groupSize, shift, flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, ref double values, int itemCount, int groupCount, double groupSize, double shift) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (double* pvalues = &values) { PlotBarGroupsNative(pStrArray0, (double*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, ref double values, int itemCount, int groupCount, double groupSize) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (double* pvalues = &values) { PlotBarGroupsNative(pStrArray0, (double*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, ref double values, int itemCount, int groupCount) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (double* pvalues = &values) { PlotBarGroupsNative(pStrArray0, (double*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, ref double values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (double* pvalues = &values) { PlotBarGroupsNative(pStrArray0, (double*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, ref double values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (double* pvalues = &values) { PlotBarGroupsNative(pStrArray0, (double*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotBarGroupsNative(byte** labelIds, byte* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[156])(labelIds, values, itemCount, groupCount, groupSize, shift, flags); #else ((delegate* unmanaged[Cdecl])funcTable[156])((nint)labelIds, (nint)values, itemCount, groupCount, groupSize, shift, flags); #endif } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, byte* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) { PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, flags); } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, byte* values, int itemCount, int groupCount, double groupSize, double shift) { PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, byte* values, int itemCount, int groupCount, double groupSize) { PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, byte* values, int itemCount, int groupCount) { PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, byte* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) { PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), flags); } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, byte* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) { PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, byte* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, byte* values, int itemCount, int groupCount, double groupSize, double shift) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, byte* values, int itemCount, int groupCount, double groupSize) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, byte* values, int itemCount, int groupCount) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, byte* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, byte* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, ref byte values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) { fixed (byte* pvalues = &values) { PlotBarGroupsNative(labelIds, (byte*)pvalues, itemCount, groupCount, groupSize, shift, flags); } } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, ref byte values, int itemCount, int groupCount, double groupSize, double shift) { fixed (byte* pvalues = &values) { PlotBarGroupsNative(labelIds, (byte*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); } } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, ref byte values, int itemCount, int groupCount, double groupSize) { fixed (byte* pvalues = &values) { PlotBarGroupsNative(labelIds, (byte*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); } } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, ref byte values, int itemCount, int groupCount) { fixed (byte* pvalues = &values) { PlotBarGroupsNative(labelIds, (byte*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); } } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, ref byte values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) { fixed (byte* pvalues = &values) { PlotBarGroupsNative(labelIds, (byte*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); } } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, ref byte values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) { fixed (byte* pvalues = &values) { PlotBarGroupsNative(labelIds, (byte*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, ref byte values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (byte* pvalues = &values) { PlotBarGroupsNative(pStrArray0, (byte*)pvalues, itemCount, groupCount, groupSize, shift, flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, ref byte values, int itemCount, int groupCount, double groupSize, double shift) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (byte* pvalues = &values) { PlotBarGroupsNative(pStrArray0, (byte*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, ref byte values, int itemCount, int groupCount, double groupSize) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (byte* pvalues = &values) { PlotBarGroupsNative(pStrArray0, (byte*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, ref byte values, int itemCount, int groupCount) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (byte* pvalues = &values) { PlotBarGroupsNative(pStrArray0, (byte*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, ref byte values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (byte* pvalues = &values) { PlotBarGroupsNative(pStrArray0, (byte*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, ref byte values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (byte* pvalues = &values) { PlotBarGroupsNative(pStrArray0, (byte*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotBarGroupsNative(byte** labelIds, short* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[157])(labelIds, values, itemCount, groupCount, groupSize, shift, flags); #else ((delegate* unmanaged[Cdecl])funcTable[157])((nint)labelIds, (nint)values, itemCount, groupCount, groupSize, shift, flags); #endif } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, short* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) { PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, flags); } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, short* values, int itemCount, int groupCount, double groupSize, double shift) { PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, short* values, int itemCount, int groupCount, double groupSize) { PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, short* values, int itemCount, int groupCount) { PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, short* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) { PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), flags); } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, short* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) { PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, short* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, short* values, int itemCount, int groupCount, double groupSize, double shift) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, short* values, int itemCount, int groupCount, double groupSize) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, short* values, int itemCount, int groupCount) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, short* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, short* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, ref short values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) { fixed (short* pvalues = &values) { PlotBarGroupsNative(labelIds, (short*)pvalues, itemCount, groupCount, groupSize, shift, flags); } } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, ref short values, int itemCount, int groupCount, double groupSize, double shift) { fixed (short* pvalues = &values) { PlotBarGroupsNative(labelIds, (short*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); } } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, ref short values, int itemCount, int groupCount, double groupSize) { fixed (short* pvalues = &values) { PlotBarGroupsNative(labelIds, (short*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); } } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, ref short values, int itemCount, int groupCount) { fixed (short* pvalues = &values) { PlotBarGroupsNative(labelIds, (short*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); } } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, ref short values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) { fixed (short* pvalues = &values) { PlotBarGroupsNative(labelIds, (short*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); } } /// /// To be documented. /// public static void PlotBarGroups(byte** labelIds, ref short values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) { fixed (short* pvalues = &values) { PlotBarGroupsNative(labelIds, (short*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, ref short values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (short* pvalues = &values) { PlotBarGroupsNative(pStrArray0, (short*)pvalues, itemCount, groupCount, groupSize, shift, flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } /// /// To be documented. /// public static void PlotBarGroups(string[] labelIds, ref short values, int itemCount, int groupCount, double groupSize, double shift) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (short* pvalues = &values) { PlotBarGroupsNative(pStrArray0, (short*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } } }