// ------------------------------------------------------------------------------ // // 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 PlotStairs(byte* labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotStairsNative(labelId, (double*)pxs, (double*)pys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotStairsNative(labelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotStairsNative(labelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref double xs, ref double ys, int count) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotStairsNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref double xs, ref double ys, int count, int offset) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotStairsNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref double xs, ref double ys, int count, int offset, int stride) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotStairsNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref double xs, ref double ys, int count) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref double xs, ref double ys, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref double xs, ref double ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref double xs, ref double ys, int count) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotStairsNative(pStr0, (double*)pxs, (double*)pys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotStairsNative(pStr0, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotStairsNative(pStr0, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref double xs, ref double 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 (double* pxs = &xs) { fixed (double* pys = &ys) { PlotStairsNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref double xs, ref double 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 (double* pxs = &xs) { fixed (double* pys = &ys) { PlotStairsNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref double xs, ref double 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 (double* pxs = &xs) { fixed (double* pys = &ys) { PlotStairsNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotStairsNative(byte* labelId, sbyte* xs, sbyte* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[106])(labelId, xs, ys, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[106])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotStairs(byte* labelId, sbyte* xs, sbyte* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { PlotStairsNative(labelId, xs, ys, count, flags, offset, stride); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, sbyte* xs, sbyte* ys, int count, ImPlotStairsFlags flags, int offset) { PlotStairsNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, sbyte* xs, sbyte* ys, int count, ImPlotStairsFlags flags) { PlotStairsNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, sbyte* xs, sbyte* ys, int count) { PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, sbyte* xs, sbyte* ys, int count, int offset) { PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, sbyte* xs, sbyte* ys, int count, int offset, int stride) { PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, sbyte* xs, sbyte* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, sbyte* xs, sbyte* ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, sbyte* xs, sbyte* ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, sbyte* xs, sbyte* ys, int count) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, sbyte* xs, sbyte* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, sbyte* xs, sbyte* ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, sbyte* xs, sbyte* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, sbyte* xs, sbyte* ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, sbyte* xs, sbyte* ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, sbyte* xs, sbyte* ys, int count) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, sbyte* xs, sbyte* ys, int count, int offset) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, sbyte* xs, sbyte* ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotStairs(string labelId, sbyte* xs, sbyte* ys, int count, ImPlotStairsFlags 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; } PlotStairsNative(pStr0, xs, ys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, sbyte* xs, sbyte* ys, int count, ImPlotStairsFlags 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; } PlotStairsNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, sbyte* xs, sbyte* ys, int count, ImPlotStairsFlags 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; } PlotStairsNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, sbyte* xs, sbyte* 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; } PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, sbyte* xs, sbyte* 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; } PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, sbyte* xs, sbyte* 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; } PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotStairsNative(byte* labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[107])(labelId, xs, ys, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[107])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotStairs(byte* labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { PlotStairsNative(labelId, xs, ys, count, flags, offset, stride); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags, int offset) { PlotStairsNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(byte))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags) { PlotStairsNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(byte))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, byte* xs, byte* ys, int count) { PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(byte))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, byte* xs, byte* ys, int count, int offset) { PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(byte))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, byte* xs, byte* ys, int count, int offset, int stride) { PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(byte))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(byte))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, byte* xs, byte* ys, int count) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(byte))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, byte* xs, byte* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(byte))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, byte* xs, byte* ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(byte))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(byte))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, byte* xs, byte* ys, int count) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(byte))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(byte))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotStairs(string labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags 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; } PlotStairsNative(pStr0, xs, ys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags 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; } PlotStairsNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(byte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags 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; } PlotStairsNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(byte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, byte* xs, byte* 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; } PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(byte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, byte* xs, byte* 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; } PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(byte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, byte* xs, byte* 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; } PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotStairsNative(byte* labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[108])(labelId, xs, ys, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[108])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotStairs(byte* labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { PlotStairsNative(labelId, xs, ys, count, flags, offset, stride); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags, int offset) { PlotStairsNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(short))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags) { PlotStairsNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, short* xs, short* ys, int count) { PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, short* xs, short* ys, int count, int offset) { PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, short* xs, short* ys, int count, int offset, int stride) { PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, short* xs, short* ys, int count) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, short* xs, short* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, short* xs, short* ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, short* xs, short* ys, int count) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotStairs(string labelId, short* xs, short* ys, int count, ImPlotStairsFlags 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; } PlotStairsNative(pStr0, xs, ys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, short* xs, short* ys, int count, ImPlotStairsFlags 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; } PlotStairsNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, short* xs, short* ys, int count, ImPlotStairsFlags 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; } PlotStairsNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, short* xs, short* 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; } PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, short* xs, short* 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; } PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, short* xs, short* 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; } PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotStairsNative(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[109])(labelId, xs, ys, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[109])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { PlotStairsNative(labelId, xs, ys, count, flags, offset, stride); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset) { PlotStairsNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags) { PlotStairsNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ushort* xs, ushort* ys, int count) { PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ushort* xs, ushort* ys, int count, int offset) { PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ushort* xs, ushort* ys, int count, int offset, int stride) { PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ushort* xs, ushort* ys, int count) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ushort* xs, ushort* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ushort* xs, ushort* ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int offset) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotStairs(string labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags 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; } PlotStairsNative(pStr0, xs, ys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags 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; } PlotStairsNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags 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; } PlotStairsNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, ushort* xs, ushort* 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; } PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, ushort* xs, ushort* 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; } PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, ushort* xs, ushort* 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; } PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotStairsNative(byte* labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[110])(labelId, xs, ys, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[110])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotStairs(byte* labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { PlotStairsNative(labelId, xs, ys, count, flags, offset, stride); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags, int offset) { PlotStairsNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(int))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags) { PlotStairsNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, int* xs, int* ys, int count) { PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, int* xs, int* ys, int count, int offset) { PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, int* xs, int* ys, int count, int offset, int stride) { PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, int* xs, int* ys, int count) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, int* xs, int* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, int* xs, int* ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, int* xs, int* ys, int count) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, int* xs, int* ys, int count, int offset) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, int* xs, int* ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotStairs(string labelId, int* xs, int* ys, int count, ImPlotStairsFlags 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; } PlotStairsNative(pStr0, xs, ys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, int* xs, int* ys, int count, ImPlotStairsFlags 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; } PlotStairsNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(int))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, int* xs, int* ys, int count, ImPlotStairsFlags 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; } PlotStairsNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, int* xs, int* 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; } PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, int* xs, int* 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; } PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, int* xs, int* 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; } PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotStairsNative(byte* labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[111])(labelId, xs, ys, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[111])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotStairs(byte* labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { PlotStairsNative(labelId, xs, ys, count, flags, offset, stride); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags, int offset) { PlotStairsNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags) { PlotStairsNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, uint* xs, uint* ys, int count) { PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, uint* xs, uint* ys, int count, int offset) { PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, uint* xs, uint* ys, int count, int offset, int stride) { PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, uint* xs, uint* ys, int count) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, uint* xs, uint* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, uint* xs, uint* ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, uint* xs, uint* ys, int count) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int offset) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotStairs(string labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags 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; } PlotStairsNative(pStr0, xs, ys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags 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; } PlotStairsNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags 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; } PlotStairsNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, uint* xs, uint* 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; } PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, uint* xs, uint* 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; } PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, uint* xs, uint* 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; } PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotStairsNative(byte* labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[112])(labelId, xs, ys, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[112])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotStairs(byte* labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { PlotStairsNative(labelId, xs, ys, count, flags, offset, stride); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags, int offset) { PlotStairsNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags) { PlotStairsNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, long* xs, long* ys, int count) { PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, long* xs, long* ys, int count, int offset) { PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, long* xs, long* ys, int count, int offset, int stride) { PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, long* xs, long* ys, int count) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, long* xs, long* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, long* xs, long* ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, long* xs, long* ys, int count) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, long* xs, long* ys, int count, int offset) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, long* xs, long* ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotStairs(string labelId, long* xs, long* ys, int count, ImPlotStairsFlags 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; } PlotStairsNative(pStr0, xs, ys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, long* xs, long* ys, int count, ImPlotStairsFlags 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; } PlotStairsNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, long* xs, long* ys, int count, ImPlotStairsFlags 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; } PlotStairsNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, long* xs, long* 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; } PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, long* xs, long* 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; } PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, long* xs, long* 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; } PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotStairsNative(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[113])(labelId, xs, ys, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[113])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { PlotStairsNative(labelId, xs, ys, count, flags, offset, stride); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset) { PlotStairsNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags) { PlotStairsNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ulong* xs, ulong* ys, int count) { PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ulong* xs, ulong* ys, int count, int offset) { PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ulong* xs, ulong* ys, int count, int offset, int stride) { PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ulong* xs, ulong* ys, int count) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ulong* xs, ulong* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ulong* xs, ulong* ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int offset) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotStairs(string labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags 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; } PlotStairsNative(pStr0, xs, ys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags 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; } PlotStairsNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags 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; } PlotStairsNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, ulong* xs, 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; } PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, ulong* xs, 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; } PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairs(string labelId, ulong* xs, 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; } PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotStairsGNative(byte* labelId, ImPlotGetter getter, void* data, int count, ImPlotStairsFlags flags) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl], void*, int, ImPlotStairsFlags, void>)funcTable[114])(labelId, (delegate*)Utils.GetFunctionPointerForDelegate(getter), data, count, flags); #else ((delegate* unmanaged[Cdecl])funcTable[114])((nint)labelId, (nint)Utils.GetFunctionPointerForDelegate(getter), (nint)data, count, flags); #endif } /// /// To be documented. /// public static void PlotStairsG(byte* labelId, ImPlotGetter getter, void* data, int count, ImPlotStairsFlags flags) { PlotStairsGNative(labelId, getter, data, count, flags); } /// /// To be documented. /// public static void PlotStairsG(byte* labelId, ImPlotGetter getter, void* data, int count) { PlotStairsGNative(labelId, getter, data, count, (ImPlotStairsFlags)(0)); } /// /// To be documented. /// public static void PlotStairsG(ref byte labelId, ImPlotGetter getter, void* data, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = &labelId) { PlotStairsGNative((byte*)plabelId, getter, data, count, flags); } } /// /// To be documented. /// public static void PlotStairsG(ref byte labelId, ImPlotGetter getter, void* data, int count) { fixed (byte* plabelId = &labelId) { PlotStairsGNative((byte*)plabelId, getter, data, count, (ImPlotStairsFlags)(0)); } } /// /// To be documented. /// public static void PlotStairsG(ReadOnlySpan labelId, ImPlotGetter getter, void* data, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = labelId) { PlotStairsGNative((byte*)plabelId, getter, data, count, flags); } } /// /// To be documented. /// public static void PlotStairsG(ReadOnlySpan labelId, ImPlotGetter getter, void* data, int count) { fixed (byte* plabelId = labelId) { PlotStairsGNative((byte*)plabelId, getter, data, count, (ImPlotStairsFlags)(0)); } } /// /// To be documented. /// public static void PlotStairsG(string labelId, ImPlotGetter getter, void* data, int count, ImPlotStairsFlags 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; } PlotStairsGNative(pStr0, getter, data, count, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotStairsG(string labelId, ImPlotGetter getter, void* data, 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; } PlotStairsGNative(pStr0, getter, data, count, (ImPlotStairsFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotShadedNative(byte* labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[115])(labelId, values, count, yref, xscale, xstart, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[115])((nint)labelId, (nint)values, count, yref, xscale, xstart, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) { PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, stride); } /// /// To be documented. /// public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) { PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) { PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, double xstart) { PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale) { PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotShaded(byte* labelId, float* values, int count, double yref) { PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotShaded(byte* labelId, float* values, int count) { PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags) { PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotShaded(byte* labelId, float* values, int count, double yref, ImPlotShadedFlags flags) { PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotShaded(byte* labelId, float* values, int count, ImPlotShadedFlags flags) { PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, double xstart, int offset) { PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, int offset) { PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotShaded(byte* labelId, float* values, int count, double yref, int offset) { PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotShaded(byte* labelId, float* values, int count, int offset) { PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) { PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotShaded(byte* labelId, float* values, int count, double yref, ImPlotShadedFlags flags, int offset) { PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotShaded(byte* labelId, float* values, int count, ImPlotShadedFlags flags, int offset) { PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, double xstart, int offset, int stride) { PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, int offset, int stride) { PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotShaded(byte* labelId, float* values, int count, double yref, int offset, int stride) { PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotShaded(byte* labelId, float* values, int count, int offset, int stride) { PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) { PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, stride); } /// /// To be documented. /// public static void PlotShaded(byte* labelId, float* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) { PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); } /// /// To be documented. /// public static void PlotShaded(byte* labelId, float* values, int count, ImPlotShadedFlags flags, int offset, int stride) { PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); } /// /// To be documented. /// public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); } } /// /// To be documented. /// public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) { fixed (byte* plabelId = &labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, double xstart) { fixed (byte* plabelId = &labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale) { fixed (byte* plabelId = &labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ref byte labelId, float* values, int count, double yref) { fixed (byte* plabelId = &labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ref byte labelId, float* values, int count) { fixed (byte* plabelId = &labelId) { PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags) { fixed (byte* plabelId = &labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ref byte labelId, float* values, int count, double yref, ImPlotShadedFlags flags) { fixed (byte* plabelId = &labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ref byte labelId, float* values, int count, ImPlotShadedFlags flags) { fixed (byte* plabelId = &labelId) { PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, double xstart, int offset) { fixed (byte* plabelId = &labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, int offset) { fixed (byte* plabelId = &labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ref byte labelId, float* values, int count, double yref, int offset) { fixed (byte* plabelId = &labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ref byte labelId, float* values, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ref byte labelId, float* values, int count, double yref, ImPlotShadedFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ref byte labelId, float* values, int count, ImPlotShadedFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, double xstart, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotShaded(ref byte labelId, float* values, int count, double yref, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotShaded(ref byte labelId, float* values, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotShaded(ref byte labelId, float* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotShaded(ref byte labelId, float* values, int count, ImPlotShadedFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); } } /// /// To be documented. /// public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) { fixed (byte* plabelId = labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, double xstart) { fixed (byte* plabelId = labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale) { fixed (byte* plabelId = labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref) { fixed (byte* plabelId = labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ReadOnlySpan labelId, float* values, int count) { fixed (byte* plabelId = labelId) { PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags) { fixed (byte* plabelId = labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, ImPlotShadedFlags flags) { fixed (byte* plabelId = labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, ImPlotShadedFlags flags) { fixed (byte* plabelId = labelId) { PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, double xstart, int offset) { fixed (byte* plabelId = labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, int offset) { fixed (byte* plabelId = labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, int offset) { fixed (byte* plabelId = labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, int offset) { fixed (byte* plabelId = labelId) { PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, ImPlotShadedFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, ImPlotShadedFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, double xstart, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, ImPlotShadedFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags 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; } PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags 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; } PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags 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; } PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, double xstart) { 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; } PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale) { 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; } PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotShaded(string labelId, float* values, int count, double yref) { 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; } PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotShaded(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; } PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags 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; } PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotShaded(string labelId, float* values, int count, double yref, ImPlotShadedFlags 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; } PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotShaded(string labelId, float* values, int count, ImPlotShadedFlags 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; } PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, double xstart, 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; } PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, 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; } PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotShaded(string labelId, float* values, int count, double yref, 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; } PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotShaded(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; } PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags 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; } PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotShaded(string labelId, float* values, int count, double yref, ImPlotShadedFlags 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; } PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotShaded(string labelId, float* values, int count, ImPlotShadedFlags 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; } PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, double xstart, 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; } PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, 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; } PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotShaded(string labelId, float* values, int count, double yref, 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; } PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotShaded(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; } PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags 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; } PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotShaded(string labelId, float* values, int count, double yref, ImPlotShadedFlags 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; } PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotShaded(string labelId, float* values, int count, ImPlotShadedFlags 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; } PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotShaded(byte* labelId, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) { fixed (float* pvalues = &values) { PlotShadedNative(labelId, (float*)pvalues, count, yref, xscale, xstart, flags, offset, stride); } } } }