// ------------------------------------------------------------------------------ // // 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(string labelId, uint* values, 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, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, uint* values, int count, 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, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, uint* values, 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, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, uint* values, int count, 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, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, uint* values, int count, double barSize, double shift, 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, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, uint* values, 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, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, uint* values, int count, 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, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, uint* values, 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, values, count, barSize, (double)(0), flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, uint* values, int count, 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, values, count, (double)(0.67), (double)(0), flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotBarsNative(byte* labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[153])(labelId, values, count, barSize, shift, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[153])((nint)labelId, (nint)values, count, barSize, shift, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotBars(byte* labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) { PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, stride); } /// /// To be documented. /// public static void PlotBars(byte* labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) { PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags) { PlotBarsNative(labelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, long* values, int count, double barSize, double shift) { PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, long* values, int count, double barSize) { PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, long* values, int count) { PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, long* values, int count, double barSize, ImPlotBarsFlags flags) { PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, long* values, int count, ImPlotBarsFlags flags) { PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, long* values, int count, double barSize, double shift, int offset) { PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, long* values, int count, double barSize, int offset) { PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, long* values, int count, int offset) { PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, long* values, int count, double barSize, ImPlotBarsFlags flags, int offset) { PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, long* values, int count, ImPlotBarsFlags flags, int offset) { PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, long* values, int count, double barSize, double shift, int offset, int stride) { PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotBars(byte* labelId, long* values, int count, double barSize, int offset, int stride) { PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotBars(byte* labelId, long* values, int count, int offset, int stride) { PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotBars(byte* labelId, long* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, stride); } /// /// To be documented. /// public static void PlotBars(byte* labelId, long* values, int count, ImPlotBarsFlags flags, int offset, int stride) { PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); } /// /// To be documented. /// public static void PlotBars(ref byte labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, long* values, int count, double barSize, double shift) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, long* values, int count, double barSize) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, long* values, int count) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, long* values, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, long* values, int count, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, long* values, int count, double barSize, double shift, int offset) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, long* values, int count, double barSize, int offset) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, long* values, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, long* values, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, long* values, int count, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, long* values, int count, double barSize, double shift, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, long* values, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, long* values, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, long* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, long* values, int count, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, double shift) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, long* values, int count) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, long* values, int count, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, double shift, int offset) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, int offset) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, long* values, int count, int offset) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, long* values, int count, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, double shift, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, long* values, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, long* values, int count, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(string labelId, long* values, int count, double barSize, double shift, 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, values, count, barSize, shift, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, long* values, int count, double barSize, double shift, 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, values, count, barSize, shift, flags, offset, (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, long* values, int count, double barSize, double shift, 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, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, long* values, int count, double barSize, double shift) { 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, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, long* values, 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, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, long* values, int count) { 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, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, long* values, 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, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, long* values, int count, 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, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, long* values, int count, double barSize, double shift, 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, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, long* values, 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, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, long* values, int count, 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, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, long* values, 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, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, long* values, int count, 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, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, long* values, int count, double barSize, double shift, 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, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, long* values, 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, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, long* values, int count, 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, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, long* values, 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, values, count, barSize, (double)(0), flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, long* values, int count, 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, values, count, (double)(0.67), (double)(0), flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotBarsNative(byte* labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[154])(labelId, values, count, barSize, shift, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[154])((nint)labelId, (nint)values, count, barSize, shift, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) { PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, stride); } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) { PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags) { PlotBarsNative(labelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, double shift) { PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* values, int count, double barSize) { PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* values, int count) { PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags) { PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* values, int count, ImPlotBarsFlags flags) { PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, double shift, int offset) { PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, int offset) { PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* values, int count, int offset) { PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags, int offset) { PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* values, int count, ImPlotBarsFlags flags, int offset) { PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, double shift, int offset, int stride) { PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, int offset, int stride) { PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* values, int count, int offset, int stride) { PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, stride); } /// /// To be documented. /// public static void PlotBars(byte* labelId, ulong* values, int count, ImPlotBarsFlags flags, int offset, int stride) { PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, double shift) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* values, int count) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* values, int count, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, double shift, int offset) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, int offset) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* values, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* values, int count, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, double shift, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* values, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ulong* values, int count, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, double shift) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, double shift, int offset) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, int offset) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, int offset) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, double shift, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* values, int count, double barSize, double shift, 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, values, count, barSize, shift, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* values, int count, double barSize, double shift, 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, values, count, barSize, shift, flags, offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* values, int count, double barSize, double shift, 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, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* values, int count, double barSize, double shift) { 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, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* values, 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, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* values, int count) { 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, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* values, 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, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* values, int count, 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, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* values, int count, double barSize, double shift, 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, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* values, 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, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* values, int count, 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, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* values, 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, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* values, int count, 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, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* values, int count, double barSize, double shift, 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, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* values, 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, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* values, int count, 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, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* values, 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, values, count, barSize, (double)(0), flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, ulong* values, int count, 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, values, count, (double)(0.67), (double)(0), flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotBarsNative(byte* labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[155])(labelId, xs, ys, count, barSize, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[155])((nint)labelId, (nint)xs, (nint)ys, count, barSize, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotBars(byte* labelId, float* xs, float* 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, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags) { PlotBarsNative(labelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, float* xs, float* ys, int count, double barSize) { PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, float* xs, float* ys, int count, double barSize, int offset) { PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, float* xs, float* 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, float* xs, float* 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, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, float* xs, float* ys, int count, double barSize) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, float* xs, float* ys, int count, double barSize, int offset) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, float* xs, float* 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, float* xs, float* 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, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, float* xs, float* ys, int count, double barSize) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, float* xs, float* ys, int count, double barSize, int offset) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, float* xs, float* 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, float* xs, float* 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, float* xs, float* 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(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, float* xs, float* 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(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, float* xs, float* 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(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, float* xs, float* 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(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, float* xs, float* 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 float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (float* pxs = &xs) { PlotBarsNative(labelId, (float*)pxs, ys, count, barSize, flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (float* pxs = &xs) { PlotBarsNative(labelId, (float*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (float* pxs = &xs) { PlotBarsNative(labelId, (float*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref float xs, float* ys, int count, double barSize) { fixed (float* pxs = &xs) { PlotBarsNative(labelId, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref float xs, float* ys, int count, double barSize, int offset) { fixed (float* pxs = &xs) { PlotBarsNative(labelId, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref float xs, float* ys, int count, double barSize, int offset, int stride) { fixed (float* pxs = &xs) { PlotBarsNative(labelId, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref float xs, float* ys, int count, double barSize) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref float xs, float* ys, int count, double barSize, int offset) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref float xs, float* ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref float xs, float* ys, int count, double barSize) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref float xs, float* ys, int count, double barSize, int offset) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref float xs, float* ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref float xs, float* 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 (float* pxs = &xs) { PlotBarsNative(pStr0, (float*)pxs, ys, count, barSize, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref float xs, float* 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 (float* pxs = &xs) { PlotBarsNative(pStr0, (float*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref float xs, float* 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 (float* pxs = &xs) { PlotBarsNative(pStr0, (float*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref float xs, float* 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 (float* pxs = &xs) { PlotBarsNative(pStr0, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref float xs, float* 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 (float* pxs = &xs) { PlotBarsNative(pStr0, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref float xs, float* 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 (float* pxs = &xs) { PlotBarsNative(pStr0, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (float* pys = &ys) { PlotBarsNative(labelId, xs, (float*)pys, count, barSize, flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (float* pys = &ys) { PlotBarsNative(labelId, xs, (float*)pys, count, barSize, flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (float* pys = &ys) { PlotBarsNative(labelId, xs, (float*)pys, count, barSize, flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, float* xs, ref float ys, int count, double barSize) { fixed (float* pys = &ys) { PlotBarsNative(labelId, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, float* xs, ref float ys, int count, double barSize, int offset) { fixed (float* pys = &ys) { PlotBarsNative(labelId, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, float* xs, ref float ys, int count, double barSize, int offset, int stride) { fixed (float* pys = &ys) { PlotBarsNative(labelId, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (float* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (float* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, flags, offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (float* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, flags, (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, float* xs, ref float ys, int count, double barSize) { fixed (byte* plabelId = &labelId) { fixed (float* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, float* xs, ref float ys, int count, double barSize, int offset) { fixed (byte* plabelId = &labelId) { fixed (float* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, float* xs, ref float ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (float* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (float* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (float* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, flags, offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { fixed (float* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, flags, (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, float* xs, ref float ys, int count, double barSize) { fixed (byte* plabelId = labelId) { fixed (float* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, float* xs, ref float ys, int count, double barSize, int offset) { fixed (byte* plabelId = labelId) { fixed (float* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, float* xs, ref float ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (float* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(string labelId, float* xs, ref float 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 (float* pys = &ys) { PlotBarsNative(pStr0, xs, (float*)pys, count, barSize, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, float* xs, ref float 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 (float* pys = &ys) { PlotBarsNative(pStr0, xs, (float*)pys, count, barSize, flags, offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, float* xs, ref float 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 (float* pys = &ys) { PlotBarsNative(pStr0, xs, (float*)pys, count, barSize, flags, (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, float* xs, ref float 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 (float* pys = &ys) { PlotBarsNative(pStr0, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, float* xs, ref float 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 (float* pys = &ys) { PlotBarsNative(pStr0, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, float* xs, ref float 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 (float* pys = &ys) { PlotBarsNative(pStr0, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotBarsNative(labelId, (float*)pxs, (float*)pys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotBarsNative(labelId, (float*)pxs, (float*)pys, count, barSize, flags, offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotBarsNative(labelId, (float*)pxs, (float*)pys, count, barSize, flags, (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref float xs, ref float ys, int count, double barSize) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotBarsNative(labelId, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref float xs, ref float ys, int count, double barSize, int offset) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotBarsNative(labelId, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref float xs, ref float ys, int count, double barSize, int offset, int stride) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotBarsNative(labelId, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, flags, offset, (int)(sizeof(float))); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, flags, (int)(0), (int)(sizeof(float))); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref float xs, ref float ys, int count, double barSize) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref float xs, ref float ys, int count, double barSize, int offset) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref float xs, ref float ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, flags, offset, (int)(sizeof(float))); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, flags, (int)(0), (int)(sizeof(float))); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double barSize) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double barSize, int offset) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref float xs, ref float 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 (float* pxs = &xs) { fixed (float* pys = &ys) { PlotBarsNative(pStr0, (float*)pxs, (float*)pys, count, barSize, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref float xs, ref float 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 (float* pxs = &xs) { fixed (float* pys = &ys) { PlotBarsNative(pStr0, (float*)pxs, (float*)pys, count, barSize, flags, offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref float xs, ref float 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 (float* pxs = &xs) { fixed (float* pys = &ys) { PlotBarsNative(pStr0, (float*)pxs, (float*)pys, count, barSize, flags, (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref float xs, ref float 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 (float* pxs = &xs) { fixed (float* pys = &ys) { PlotBarsNative(pStr0, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref float xs, ref float 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 (float* pxs = &xs) { fixed (float* pys = &ys) { PlotBarsNative(pStr0, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref float xs, ref float 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 (float* pxs = &xs) { fixed (float* pys = &ys) { PlotBarsNative(pStr0, (float*)pxs, (float*)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, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[156])(labelId, xs, ys, count, barSize, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[156])((nint)labelId, (nint)xs, (nint)ys, count, barSize, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotBars(byte* labelId, double* xs, double* 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, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(double))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags) { PlotBarsNative(labelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(double))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, double* xs, double* ys, int count, double barSize) { PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, double* xs, double* ys, int count, double barSize, int offset) { PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, double* xs, double* 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, double* xs, double* 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, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, double* xs, double* ys, int count, double barSize) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, double* xs, double* ys, int count, double barSize, int offset) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, double* xs, double* 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, double* xs, double* 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, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, double* xs, double* ys, int count, double barSize) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, double* xs, double* ys, int count, double barSize, int offset) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, double* xs, double* 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, double* xs, double* 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, double* xs, double* 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(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, double* xs, double* 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(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, double* xs, double* 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(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, double* xs, double* 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(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, double* xs, double* 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 double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (double* pxs = &xs) { PlotBarsNative(labelId, (double*)pxs, ys, count, barSize, flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (double* pxs = &xs) { PlotBarsNative(labelId, (double*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (double* pxs = &xs) { PlotBarsNative(labelId, (double*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref double xs, double* ys, int count, double barSize) { fixed (double* pxs = &xs) { PlotBarsNative(labelId, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref double xs, double* ys, int count, double barSize, int offset) { fixed (double* pxs = &xs) { PlotBarsNative(labelId, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref double xs, double* ys, int count, double barSize, int offset, int stride) { fixed (double* pxs = &xs) { PlotBarsNative(labelId, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref double xs, double* ys, int count, double barSize) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref double xs, double* ys, int count, double barSize, int offset) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref double xs, double* ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref double xs, double* ys, int count, double barSize) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref double xs, double* ys, int count, double barSize, int offset) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref double xs, double* ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref double xs, double* 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 (double* pxs = &xs) { PlotBarsNative(pStr0, (double*)pxs, ys, count, barSize, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref double xs, double* 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 (double* pxs = &xs) { PlotBarsNative(pStr0, (double*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref double xs, double* 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 (double* pxs = &xs) { PlotBarsNative(pStr0, (double*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref double xs, double* 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 (double* pxs = &xs) { PlotBarsNative(pStr0, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref double xs, double* 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 (double* pxs = &xs) { PlotBarsNative(pStr0, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref double xs, double* 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 (double* pxs = &xs) { PlotBarsNative(pStr0, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (double* pys = &ys) { PlotBarsNative(labelId, xs, (double*)pys, count, barSize, flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (double* pys = &ys) { PlotBarsNative(labelId, xs, (double*)pys, count, barSize, flags, offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (double* pys = &ys) { PlotBarsNative(labelId, xs, (double*)pys, count, barSize, flags, (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, double* xs, ref double ys, int count, double barSize) { fixed (double* pys = &ys) { PlotBarsNative(labelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, double* xs, ref double ys, int count, double barSize, int offset) { fixed (double* pys = &ys) { PlotBarsNative(labelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, double* xs, ref double ys, int count, double barSize, int offset, int stride) { fixed (double* pys = &ys) { PlotBarsNative(labelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (double* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, flags, offset, stride); } } } } }