// ------------------------------------------------------------------------------ // // 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 PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags) { fixed (ulong* pys = &ys) { PlotStemsNative(labelId, xs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, double reference, int offset) { fixed (ulong* pys = &ys) { PlotStemsNative(labelId, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, int offset) { fixed (ulong* pys = &ys) { PlotStemsNative(labelId, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset) { fixed (ulong* pys = &ys) { PlotStemsNative(labelId, xs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, double reference, int offset, int stride) { fixed (ulong* pys = &ys) { PlotStemsNative(labelId, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) { fixed (ulong* pys = &ys) { PlotStemsNative(labelId, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset, int stride) { fixed (ulong* pys = &ys) { PlotStemsNative(labelId, xs, (ulong*)pys, count, (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, flags, offset, (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, double reference) { fixed (byte* plabelId = &labelId) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count) { fixed (byte* plabelId = &labelId) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, double reference, int offset) { fixed (byte* plabelId = &labelId) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, double reference, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, offset, stride); } } } /// /// To be documented. /// public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, flags, offset, (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags) { fixed (byte* plabelId = labelId) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double reference) { fixed (byte* plabelId = labelId) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count) { fixed (byte* plabelId = labelId) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags) { fixed (byte* plabelId = labelId) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double reference, int offset) { fixed (byte* plabelId = labelId) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double reference, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, offset, stride); } } } /// /// To be documented. /// public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pys = &ys) { PlotStemsNative(pStr0, xs, (ulong*)pys, count, reference, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pys = &ys) { PlotStemsNative(pStr0, xs, (ulong*)pys, count, reference, flags, offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pys = &ys) { PlotStemsNative(pStr0, xs, (ulong*)pys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, double reference) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pys = &ys) { PlotStemsNative(pStr0, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStems(string labelId, ulong* xs, ref ulong ys, 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; } fixed (ulong* pys = &ys) { PlotStemsNative(pStr0, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pys = &ys) { PlotStemsNative(pStr0, xs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, double reference, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pys = &ys) { PlotStemsNative(pStr0, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStems(string labelId, ulong* xs, ref ulong ys, 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; } fixed (ulong* pys = &ys) { PlotStemsNative(pStr0, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pys = &ys) { PlotStemsNative(pStr0, xs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, double reference, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pys = &ys) { PlotStemsNative(pStr0, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStems(string labelId, ulong* xs, ref ulong ys, 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; } fixed (ulong* pys = &ys) { PlotStemsNative(pStr0, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pys = &ys) { PlotStemsNative(pStr0, xs, (ulong*)pys, count, (double)(0), flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, reference, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, reference, flags, offset, (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, double reference) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, double reference, int offset) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, int offset) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, double reference, int offset, int stride) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset, int stride) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, stride); } } } /// /// To be documented. /// public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, flags, offset, (int)(sizeof(ulong))); } } } } /// /// To be documented. /// public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); } } } } /// /// To be documented. /// public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, double reference) { fixed (byte* plabelId = &labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } } } /// /// To be documented. /// public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count) { fixed (byte* plabelId = &labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } } } /// /// To be documented. /// public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); } } } } /// /// To be documented. /// public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, double reference, int offset) { fixed (byte* plabelId = &labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); } } } } /// /// To be documented. /// public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); } } } } /// /// To be documented. /// public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); } } } } /// /// To be documented. /// public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, double reference, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, flags, offset, (int)(sizeof(ulong))); } } } } /// /// To be documented. /// public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags) { fixed (byte* plabelId = labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); } } } } /// /// To be documented. /// public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double reference) { fixed (byte* plabelId = labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } } } /// /// To be documented. /// public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count) { fixed (byte* plabelId = labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } } } /// /// To be documented. /// public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags) { fixed (byte* plabelId = labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); } } } } /// /// To be documented. /// public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double reference, int offset) { fixed (byte* plabelId = labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); } } } } /// /// To be documented. /// public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); } } } } /// /// To be documented. /// public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); } } } } /// /// To be documented. /// public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double reference, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, reference, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, reference, flags, offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, double reference) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, 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; } fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, double reference, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, 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; } fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, double reference, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, 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; } fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pxs = &xs) { fixed (ulong* pys = &ys) { PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotInfLinesNative(byte* labelId, float* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[199])(labelId, values, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[199])((nint)labelId, (nint)values, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, float* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { PlotInfLinesNative(labelId, values, count, flags, offset, stride); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, float* values, int count, ImPlotInfLinesFlags flags, int offset) { PlotInfLinesNative(labelId, values, count, flags, offset, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, float* values, int count, ImPlotInfLinesFlags flags) { PlotInfLinesNative(labelId, values, count, flags, (int)(0), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, float* values, int count) { PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, float* values, int count, int offset) { PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, float* values, int count, int offset, int stride) { PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, float* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, float* values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, float* values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, float* values, int count) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, float* values, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, float* values, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, float* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, float* values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, float* values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, float* values, int count) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, float* values, int count, int offset) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, float* values, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, float* values, int count, ImPlotInfLinesFlags 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; } PlotInfLinesNative(pStr0, values, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, float* values, int count, ImPlotInfLinesFlags 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; } PlotInfLinesNative(pStr0, values, count, flags, offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, float* values, int count, ImPlotInfLinesFlags 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; } PlotInfLinesNative(pStr0, values, count, flags, (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, float* 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; } PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, float* 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; } PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, float* 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; } PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref float values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (float* pvalues = &values) { PlotInfLinesNative(labelId, (float*)pvalues, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref float values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (float* pvalues = &values) { PlotInfLinesNative(labelId, (float*)pvalues, count, flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref float values, int count, ImPlotInfLinesFlags flags) { fixed (float* pvalues = &values) { PlotInfLinesNative(labelId, (float*)pvalues, count, flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref float values, int count) { fixed (float* pvalues = &values) { PlotInfLinesNative(labelId, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref float values, int count, int offset) { fixed (float* pvalues = &values) { PlotInfLinesNative(labelId, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref float values, int count, int offset, int stride) { fixed (float* pvalues = &values) { PlotInfLinesNative(labelId, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref float values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (float* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref float values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (float* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, flags, offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref float values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = &labelId) { fixed (float* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, flags, (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref float values, int count) { fixed (byte* plabelId = &labelId) { fixed (float* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref float values, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (float* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref float values, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (float* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref float values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (float* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref float values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (float* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, flags, offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref float values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = labelId) { fixed (float* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, flags, (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref float values, int count) { fixed (byte* plabelId = labelId) { fixed (float* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref float values, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (float* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref float values, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (float* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref float values, int count, ImPlotInfLinesFlags 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* pvalues = &values) { PlotInfLinesNative(pStr0, (float*)pvalues, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref float values, int count, ImPlotInfLinesFlags 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* pvalues = &values) { PlotInfLinesNative(pStr0, (float*)pvalues, count, flags, offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref float values, int count, ImPlotInfLinesFlags 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* pvalues = &values) { PlotInfLinesNative(pStr0, (float*)pvalues, count, flags, (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref float 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; } fixed (float* pvalues = &values) { PlotInfLinesNative(pStr0, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref float 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; } fixed (float* pvalues = &values) { PlotInfLinesNative(pStr0, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref float 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; } fixed (float* pvalues = &values) { PlotInfLinesNative(pStr0, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotInfLinesNative(byte* labelId, double* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[200])(labelId, values, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[200])((nint)labelId, (nint)values, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, double* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { PlotInfLinesNative(labelId, values, count, flags, offset, stride); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, double* values, int count, ImPlotInfLinesFlags flags, int offset) { PlotInfLinesNative(labelId, values, count, flags, offset, (int)(sizeof(double))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, double* values, int count, ImPlotInfLinesFlags flags) { PlotInfLinesNative(labelId, values, count, flags, (int)(0), (int)(sizeof(double))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, double* values, int count) { PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(double))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, double* values, int count, int offset) { PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(double))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, double* values, int count, int offset, int stride) { PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, double* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, double* values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, double* values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, double* values, int count) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, double* values, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, double* values, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, double* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, double* values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, double* values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, double* values, int count) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, double* values, int count, int offset) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, double* values, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, double* values, int count, ImPlotInfLinesFlags 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; } PlotInfLinesNative(pStr0, values, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, double* values, int count, ImPlotInfLinesFlags 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; } PlotInfLinesNative(pStr0, values, count, flags, offset, (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, double* values, int count, ImPlotInfLinesFlags 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; } PlotInfLinesNative(pStr0, values, count, flags, (int)(0), (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, double* 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; } PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, double* 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; } PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, double* 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; } PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref double values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (double* pvalues = &values) { PlotInfLinesNative(labelId, (double*)pvalues, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref double values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (double* pvalues = &values) { PlotInfLinesNative(labelId, (double*)pvalues, count, flags, offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref double values, int count, ImPlotInfLinesFlags flags) { fixed (double* pvalues = &values) { PlotInfLinesNative(labelId, (double*)pvalues, count, flags, (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref double values, int count) { fixed (double* pvalues = &values) { PlotInfLinesNative(labelId, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref double values, int count, int offset) { fixed (double* pvalues = &values) { PlotInfLinesNative(labelId, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref double values, int count, int offset, int stride) { fixed (double* pvalues = &values) { PlotInfLinesNative(labelId, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref double values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (double* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref double values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (double* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, flags, offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref double values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = &labelId) { fixed (double* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, flags, (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref double values, int count) { fixed (byte* plabelId = &labelId) { fixed (double* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref double values, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (double* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref double values, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (double* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref double values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (double* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref double values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (double* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, flags, offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref double values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = labelId) { fixed (double* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, flags, (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref double values, int count) { fixed (byte* plabelId = labelId) { fixed (double* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref double values, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (double* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref double values, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (double* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref double values, int count, ImPlotInfLinesFlags 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* pvalues = &values) { PlotInfLinesNative(pStr0, (double*)pvalues, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref double values, int count, ImPlotInfLinesFlags 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* pvalues = &values) { PlotInfLinesNative(pStr0, (double*)pvalues, count, flags, offset, (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref double values, int count, ImPlotInfLinesFlags 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* pvalues = &values) { PlotInfLinesNative(pStr0, (double*)pvalues, count, flags, (int)(0), (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref double 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; } fixed (double* pvalues = &values) { PlotInfLinesNative(pStr0, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref double 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; } fixed (double* pvalues = &values) { PlotInfLinesNative(pStr0, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref double 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; } fixed (double* pvalues = &values) { PlotInfLinesNative(pStr0, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotInfLinesNative(byte* labelId, byte* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[201])(labelId, values, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[201])((nint)labelId, (nint)values, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, byte* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { PlotInfLinesNative(labelId, values, count, flags, offset, stride); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, byte* values, int count, ImPlotInfLinesFlags flags, int offset) { PlotInfLinesNative(labelId, values, count, flags, offset, (int)(sizeof(sbyte))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, byte* values, int count, ImPlotInfLinesFlags flags) { PlotInfLinesNative(labelId, values, count, flags, (int)(0), (int)(sizeof(sbyte))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, byte* values, int count) { PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(sbyte))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, byte* values, int count, int offset) { PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(sbyte))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, byte* values, int count, int offset, int stride) { PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, byte* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, byte* values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, byte* values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, byte* values, int count) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, byte* values, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, byte* values, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, byte* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, byte* values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, byte* values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, byte* values, int count) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, byte* values, int count, int offset) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, byte* values, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, byte* values, int count, ImPlotInfLinesFlags 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; } PlotInfLinesNative(pStr0, values, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, byte* values, int count, ImPlotInfLinesFlags 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; } PlotInfLinesNative(pStr0, values, count, flags, offset, (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, byte* values, int count, ImPlotInfLinesFlags 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; } PlotInfLinesNative(pStr0, values, count, flags, (int)(0), (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, byte* 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; } PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, byte* 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; } PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, byte* 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; } PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref byte values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* pvalues = &values) { PlotInfLinesNative(labelId, (byte*)pvalues, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref byte values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* pvalues = &values) { PlotInfLinesNative(labelId, (byte*)pvalues, count, flags, offset, (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref byte values, int count, ImPlotInfLinesFlags flags) { fixed (byte* pvalues = &values) { PlotInfLinesNative(labelId, (byte*)pvalues, count, flags, (int)(0), (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref byte values, int count) { fixed (byte* pvalues = &values) { PlotInfLinesNative(labelId, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref byte values, int count, int offset) { fixed (byte* pvalues = &values) { PlotInfLinesNative(labelId, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref byte values, int count, int offset, int stride) { fixed (byte* pvalues = &values) { PlotInfLinesNative(labelId, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref byte values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (byte* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref byte values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (byte* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, flags, offset, (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref byte values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = &labelId) { fixed (byte* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, flags, (int)(0), (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref byte values, int count) { fixed (byte* plabelId = &labelId) { fixed (byte* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref byte values, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (byte* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref byte values, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (byte* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref byte values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (byte* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref byte values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (byte* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, flags, offset, (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref byte values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = labelId) { fixed (byte* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, flags, (int)(0), (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref byte values, int count) { fixed (byte* plabelId = labelId) { fixed (byte* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref byte values, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (byte* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref byte values, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (byte* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref byte values, int count, ImPlotInfLinesFlags 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 (byte* pvalues = &values) { PlotInfLinesNative(pStr0, (byte*)pvalues, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref byte values, int count, ImPlotInfLinesFlags 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 (byte* pvalues = &values) { PlotInfLinesNative(pStr0, (byte*)pvalues, count, flags, offset, (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref byte values, int count, ImPlotInfLinesFlags 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 (byte* pvalues = &values) { PlotInfLinesNative(pStr0, (byte*)pvalues, count, flags, (int)(0), (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref byte 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; } fixed (byte* pvalues = &values) { PlotInfLinesNative(pStr0, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref byte 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; } fixed (byte* pvalues = &values) { PlotInfLinesNative(pStr0, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref byte 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; } fixed (byte* pvalues = &values) { PlotInfLinesNative(pStr0, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotInfLinesNative(byte* labelId, short* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[202])(labelId, values, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[202])((nint)labelId, (nint)values, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, short* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { PlotInfLinesNative(labelId, values, count, flags, offset, stride); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, short* values, int count, ImPlotInfLinesFlags flags, int offset) { PlotInfLinesNative(labelId, values, count, flags, offset, (int)(sizeof(short))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, short* values, int count, ImPlotInfLinesFlags flags) { PlotInfLinesNative(labelId, values, count, flags, (int)(0), (int)(sizeof(short))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, short* values, int count) { PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(short))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, short* values, int count, int offset) { PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(short))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, short* values, int count, int offset, int stride) { PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, short* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, short* values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, short* values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, short* values, int count) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, short* values, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, short* values, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, short* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, short* values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, short* values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, short* values, int count) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, short* values, int count, int offset) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, short* values, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, short* values, int count, ImPlotInfLinesFlags 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; } PlotInfLinesNative(pStr0, values, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, short* values, int count, ImPlotInfLinesFlags 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; } PlotInfLinesNative(pStr0, values, count, flags, offset, (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, short* values, int count, ImPlotInfLinesFlags 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; } PlotInfLinesNative(pStr0, values, count, flags, (int)(0), (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, short* 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; } PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, short* 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; } PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, short* 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; } PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref short values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (short* pvalues = &values) { PlotInfLinesNative(labelId, (short*)pvalues, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref short values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (short* pvalues = &values) { PlotInfLinesNative(labelId, (short*)pvalues, count, flags, offset, (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref short values, int count, ImPlotInfLinesFlags flags) { fixed (short* pvalues = &values) { PlotInfLinesNative(labelId, (short*)pvalues, count, flags, (int)(0), (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref short values, int count) { fixed (short* pvalues = &values) { PlotInfLinesNative(labelId, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref short values, int count, int offset) { fixed (short* pvalues = &values) { PlotInfLinesNative(labelId, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref short values, int count, int offset, int stride) { fixed (short* pvalues = &values) { PlotInfLinesNative(labelId, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref short values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (short* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref short values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (short* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, flags, offset, (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref short values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = &labelId) { fixed (short* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, flags, (int)(0), (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref short values, int count) { fixed (byte* plabelId = &labelId) { fixed (short* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref short values, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (short* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref short values, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (short* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref short values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (short* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref short values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (short* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, flags, offset, (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref short values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = labelId) { fixed (short* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, flags, (int)(0), (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref short values, int count) { fixed (byte* plabelId = labelId) { fixed (short* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref short values, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (short* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref short values, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (short* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref short values, int count, ImPlotInfLinesFlags 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 (short* pvalues = &values) { PlotInfLinesNative(pStr0, (short*)pvalues, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref short values, int count, ImPlotInfLinesFlags 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 (short* pvalues = &values) { PlotInfLinesNative(pStr0, (short*)pvalues, count, flags, offset, (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref short values, int count, ImPlotInfLinesFlags 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 (short* pvalues = &values) { PlotInfLinesNative(pStr0, (short*)pvalues, count, flags, (int)(0), (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref short 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; } fixed (short* pvalues = &values) { PlotInfLinesNative(pStr0, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref short 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; } fixed (short* pvalues = &values) { PlotInfLinesNative(pStr0, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref short 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; } fixed (short* pvalues = &values) { PlotInfLinesNative(pStr0, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotInfLinesNative(byte* labelId, ushort* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[203])(labelId, values, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[203])((nint)labelId, (nint)values, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ushort* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { PlotInfLinesNative(labelId, values, count, flags, offset, stride); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ushort* values, int count, ImPlotInfLinesFlags flags, int offset) { PlotInfLinesNative(labelId, values, count, flags, offset, (int)(sizeof(ushort))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ushort* values, int count, ImPlotInfLinesFlags flags) { PlotInfLinesNative(labelId, values, count, flags, (int)(0), (int)(sizeof(ushort))); } } }