// ------------------------------------------------------------------------------ // // 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(string labelId, short* xs, ref 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; } fixed (short* pys = &ys) { PlotStairsNative(pStr0, xs, (short*)pys, 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, ref 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; } fixed (short* pys = &ys) { PlotStairsNative(pStr0, xs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotStairsNative(labelId, (short*)pxs, (short*)pys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotStairsNative(labelId, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotStairsNative(labelId, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref short xs, ref short ys, int count) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotStairsNative(labelId, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref short xs, ref short ys, int count, int offset) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotStairsNative(labelId, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref short xs, ref short ys, int count, int offset, int stride) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotStairsNative(labelId, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); } } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); } } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref short xs, ref short ys, int count) { fixed (byte* plabelId = &labelId) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); } } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref short xs, ref short ys, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); } } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref short xs, ref short ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); } } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = labelId) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); } } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref short xs, ref short ys, int count) { fixed (byte* plabelId = labelId) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); } } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); } } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref short xs, ref 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; } fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotStairsNative(pStr0, (short*)pxs, (short*)pys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref short xs, ref 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; } fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotStairsNative(pStr0, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref short xs, ref 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; } fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotStairsNative(pStr0, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref short xs, ref 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; } fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotStairsNative(pStr0, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref short xs, ref 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; } fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotStairsNative(pStr0, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref short xs, ref 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; } fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotStairsNative(pStr0, (short*)pxs, (short*)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, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[103])(labelId, xs, ys, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[103])((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. /// public static void PlotStairs(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (ushort* pxs = &xs) { PlotStairsNative(labelId, (ushort*)pxs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset) { fixed (ushort* pxs = &xs) { PlotStairsNative(labelId, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags) { fixed (ushort* pxs = &xs) { PlotStairsNative(labelId, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref ushort xs, ushort* ys, int count) { fixed (ushort* pxs = &xs) { PlotStairsNative(labelId, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref ushort xs, ushort* ys, int count, int offset) { fixed (ushort* pxs = &xs) { PlotStairsNative(labelId, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) { fixed (ushort* pxs = &xs) { PlotStairsNative(labelId, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (ushort* pxs = &xs) { PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (ushort* pxs = &xs) { PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (ushort* pxs = &xs) { PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref ushort xs, ushort* ys, int count) { fixed (byte* plabelId = &labelId) { fixed (ushort* pxs = &xs) { PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref ushort xs, ushort* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (ushort* pxs = &xs) { PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (ushort* pxs = &xs) { PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (ushort* pxs = &xs) { PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (ushort* pxs = &xs) { PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = labelId) { fixed (ushort* pxs = &xs) { PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count) { fixed (byte* plabelId = labelId) { fixed (ushort* pxs = &xs) { PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (ushort* pxs = &xs) { PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (ushort* pxs = &xs) { PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref 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; } fixed (ushort* pxs = &xs) { PlotStairsNative(pStr0, (ushort*)pxs, ys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref 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; } fixed (ushort* pxs = &xs) { PlotStairsNative(pStr0, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref 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; } fixed (ushort* pxs = &xs) { PlotStairsNative(pStr0, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref 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; } fixed (ushort* pxs = &xs) { PlotStairsNative(pStr0, (ushort*)pxs, 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, ref 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; } fixed (ushort* pxs = &xs) { PlotStairsNative(pStr0, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref 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; } fixed (ushort* pxs = &xs) { PlotStairsNative(pStr0, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (ushort* pys = &ys) { PlotStairsNative(labelId, xs, (ushort*)pys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset) { fixed (ushort* pys = &ys) { PlotStairsNative(labelId, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags) { fixed (ushort* pys = &ys) { PlotStairsNative(labelId, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ushort* xs, ref ushort ys, int count) { fixed (ushort* pys = &ys) { PlotStairsNative(labelId, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ushort* xs, ref ushort ys, int count, int offset) { fixed (ushort* pys = &ys) { PlotStairsNative(labelId, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) { fixed (ushort* pys = &ys) { PlotStairsNative(labelId, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (ushort* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (ushort* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (ushort* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ushort* xs, ref ushort ys, int count) { fixed (byte* plabelId = &labelId) { fixed (ushort* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ushort* xs, ref ushort ys, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (ushort* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (ushort* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (ushort* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (ushort* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = labelId) { fixed (ushort* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count) { fixed (byte* plabelId = labelId) { fixed (ushort* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (ushort* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (ushort* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ushort* xs, ref 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; } fixed (ushort* pys = &ys) { PlotStairsNative(pStr0, xs, (ushort*)pys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ushort* xs, ref 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; } fixed (ushort* pys = &ys) { PlotStairsNative(pStr0, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ushort* xs, ref 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; } fixed (ushort* pys = &ys) { PlotStairsNative(pStr0, xs, (ushort*)pys, 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, ref 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; } fixed (ushort* pys = &ys) { PlotStairsNative(pStr0, xs, (ushort*)pys, 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, ref 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; } fixed (ushort* pys = &ys) { PlotStairsNative(pStr0, xs, (ushort*)pys, 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, ref 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; } fixed (ushort* pys = &ys) { PlotStairsNative(pStr0, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (ushort* pxs = &xs) { fixed (ushort* pys = &ys) { PlotStairsNative(labelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset) { fixed (ushort* pxs = &xs) { fixed (ushort* pys = &ys) { PlotStairsNative(labelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags) { fixed (ushort* pxs = &xs) { fixed (ushort* pys = &ys) { PlotStairsNative(labelId, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref ushort xs, ref ushort ys, int count) { fixed (ushort* pxs = &xs) { fixed (ushort* pys = &ys) { PlotStairsNative(labelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref ushort xs, ref ushort ys, int count, int offset) { fixed (ushort* pxs = &xs) { fixed (ushort* pys = &ys) { PlotStairsNative(labelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) { fixed (ushort* pxs = &xs) { fixed (ushort* pys = &ys) { PlotStairsNative(labelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (ushort* pxs = &xs) { fixed (ushort* pys = &ys) { PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (ushort* pxs = &xs) { fixed (ushort* pys = &ys) { PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); } } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (ushort* pxs = &xs) { fixed (ushort* pys = &ys) { PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); } } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref ushort xs, ref ushort ys, int count) { fixed (byte* plabelId = &labelId) { fixed (ushort* pxs = &xs) { fixed (ushort* pys = &ys) { PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); } } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref ushort xs, ref ushort ys, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (ushort* pxs = &xs) { fixed (ushort* pys = &ys) { PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); } } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (ushort* pxs = &xs) { fixed (ushort* pys = &ys) { PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (ushort* pxs = &xs) { fixed (ushort* pys = &ys) { PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (ushort* pxs = &xs) { fixed (ushort* pys = &ys) { PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); } } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = labelId) { fixed (ushort* pxs = &xs) { fixed (ushort* pys = &ys) { PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); } } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count) { fixed (byte* plabelId = labelId) { fixed (ushort* pxs = &xs) { fixed (ushort* pys = &ys) { PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); } } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (ushort* pxs = &xs) { fixed (ushort* pys = &ys) { PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); } } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (ushort* pxs = &xs) { fixed (ushort* pys = &ys) { PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref ushort xs, ref 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; } fixed (ushort* pxs = &xs) { fixed (ushort* pys = &ys) { PlotStairsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref ushort xs, ref 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; } fixed (ushort* pxs = &xs) { fixed (ushort* pys = &ys) { PlotStairsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref ushort xs, ref 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; } fixed (ushort* pxs = &xs) { fixed (ushort* pys = &ys) { PlotStairsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref ushort xs, ref 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; } fixed (ushort* pxs = &xs) { fixed (ushort* pys = &ys) { PlotStairsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref ushort xs, ref 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; } fixed (ushort* pxs = &xs) { fixed (ushort* pys = &ys) { PlotStairsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref ushort xs, ref 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; } fixed (ushort* pxs = &xs) { fixed (ushort* pys = &ys) { PlotStairsNative(pStr0, (ushort*)pxs, (ushort*)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, int* xs, int* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[104])(labelId, xs, ys, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[104])((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. /// public static void PlotStairs(byte* labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (int* pxs = &xs) { PlotStairsNative(labelId, (int*)pxs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags, int offset) { fixed (int* pxs = &xs) { PlotStairsNative(labelId, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags) { fixed (int* pxs = &xs) { PlotStairsNative(labelId, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref int xs, int* ys, int count) { fixed (int* pxs = &xs) { PlotStairsNative(labelId, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref int xs, int* ys, int count, int offset) { fixed (int* pxs = &xs) { PlotStairsNative(labelId, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref int xs, int* ys, int count, int offset, int stride) { fixed (int* pxs = &xs) { PlotStairsNative(labelId, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (int* pxs = &xs) { PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (int* pxs = &xs) { PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (int* pxs = &xs) { PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref int xs, int* ys, int count) { fixed (byte* plabelId = &labelId) { fixed (int* pxs = &xs) { PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref int xs, int* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (int* pxs = &xs) { PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref int xs, int* ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (int* pxs = &xs) { PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (int* pxs = &xs) { PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (int* pxs = &xs) { PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = labelId) { fixed (int* pxs = &xs) { PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref int xs, int* ys, int count) { fixed (byte* plabelId = labelId) { fixed (int* pxs = &xs) { PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref int xs, int* ys, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (int* pxs = &xs) { PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref int xs, int* ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (int* pxs = &xs) { PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref 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; } fixed (int* pxs = &xs) { PlotStairsNative(pStr0, (int*)pxs, ys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref 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; } fixed (int* pxs = &xs) { PlotStairsNative(pStr0, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref 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; } fixed (int* pxs = &xs) { PlotStairsNative(pStr0, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref 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; } fixed (int* pxs = &xs) { PlotStairsNative(pStr0, (int*)pxs, 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, ref 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; } fixed (int* pxs = &xs) { PlotStairsNative(pStr0, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref 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; } fixed (int* pxs = &xs) { PlotStairsNative(pStr0, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (int* pys = &ys) { PlotStairsNative(labelId, xs, (int*)pys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags, int offset) { fixed (int* pys = &ys) { PlotStairsNative(labelId, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags) { fixed (int* pys = &ys) { PlotStairsNative(labelId, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, int* xs, ref int ys, int count) { fixed (int* pys = &ys) { PlotStairsNative(labelId, xs, (int*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, int* xs, ref int ys, int count, int offset) { fixed (int* pys = &ys) { PlotStairsNative(labelId, xs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, int* xs, ref int ys, int count, int offset, int stride) { fixed (int* pys = &ys) { PlotStairsNative(labelId, xs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (int* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (int* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (int* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, int* xs, ref int ys, int count) { fixed (byte* plabelId = &labelId) { fixed (int* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, int* xs, ref int ys, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (int* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, int* xs, ref int ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (int* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (int* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (int* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = labelId) { fixed (int* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, int* xs, ref int ys, int count) { fixed (byte* plabelId = labelId) { fixed (int* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, int* xs, ref int ys, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (int* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, int* xs, ref int ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (int* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(string labelId, int* xs, ref 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; } fixed (int* pys = &ys) { PlotStairsNative(pStr0, xs, (int*)pys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStairs(string labelId, int* xs, ref 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; } fixed (int* pys = &ys) { PlotStairsNative(pStr0, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStairs(string labelId, int* xs, ref 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; } fixed (int* pys = &ys) { PlotStairsNative(pStr0, xs, (int*)pys, 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, ref 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; } fixed (int* pys = &ys) { PlotStairsNative(pStr0, xs, (int*)pys, 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, ref 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; } fixed (int* pys = &ys) { PlotStairsNative(pStr0, xs, (int*)pys, 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, ref 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; } fixed (int* pys = &ys) { PlotStairsNative(pStr0, xs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (int* pxs = &xs) { fixed (int* pys = &ys) { PlotStairsNative(labelId, (int*)pxs, (int*)pys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset) { fixed (int* pxs = &xs) { fixed (int* pys = &ys) { PlotStairsNative(labelId, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags) { fixed (int* pxs = &xs) { fixed (int* pys = &ys) { PlotStairsNative(labelId, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref int xs, ref int ys, int count) { fixed (int* pxs = &xs) { fixed (int* pys = &ys) { PlotStairsNative(labelId, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref int xs, ref int ys, int count, int offset) { fixed (int* pxs = &xs) { fixed (int* pys = &ys) { PlotStairsNative(labelId, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref int xs, ref int ys, int count, int offset, int stride) { fixed (int* pxs = &xs) { fixed (int* pys = &ys) { PlotStairsNative(labelId, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (int* pxs = &xs) { fixed (int* pys = &ys) { PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (int* pxs = &xs) { fixed (int* pys = &ys) { PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); } } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (int* pxs = &xs) { fixed (int* pys = &ys) { PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); } } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref int xs, ref int ys, int count) { fixed (byte* plabelId = &labelId) { fixed (int* pxs = &xs) { fixed (int* pys = &ys) { PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); } } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref int xs, ref int ys, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (int* pxs = &xs) { fixed (int* pys = &ys) { PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); } } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref int xs, ref int ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (int* pxs = &xs) { fixed (int* pys = &ys) { PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (int* pxs = &xs) { fixed (int* pys = &ys) { PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (int* pxs = &xs) { fixed (int* pys = &ys) { PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); } } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = labelId) { fixed (int* pxs = &xs) { fixed (int* pys = &ys) { PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); } } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref int xs, ref int ys, int count) { fixed (byte* plabelId = labelId) { fixed (int* pxs = &xs) { fixed (int* pys = &ys) { PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); } } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (int* pxs = &xs) { fixed (int* pys = &ys) { PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); } } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (int* pxs = &xs) { fixed (int* pys = &ys) { PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref int xs, ref 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; } fixed (int* pxs = &xs) { fixed (int* pys = &ys) { PlotStairsNative(pStr0, (int*)pxs, (int*)pys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref int xs, ref 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; } fixed (int* pxs = &xs) { fixed (int* pys = &ys) { PlotStairsNative(pStr0, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref int xs, ref 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; } fixed (int* pxs = &xs) { fixed (int* pys = &ys) { PlotStairsNative(pStr0, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref int xs, ref 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; } fixed (int* pxs = &xs) { fixed (int* pys = &ys) { PlotStairsNative(pStr0, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref int xs, ref 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; } fixed (int* pxs = &xs) { fixed (int* pys = &ys) { PlotStairsNative(pStr0, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref int xs, ref 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; } fixed (int* pxs = &xs) { fixed (int* pys = &ys) { PlotStairsNative(pStr0, (int*)pxs, (int*)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, uint* xs, uint* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[105])(labelId, xs, ys, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[105])((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. /// public static void PlotStairs(byte* labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (uint* pxs = &xs) { PlotStairsNative(labelId, (uint*)pxs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags, int offset) { fixed (uint* pxs = &xs) { PlotStairsNative(labelId, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags) { fixed (uint* pxs = &xs) { PlotStairsNative(labelId, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref uint xs, uint* ys, int count) { fixed (uint* pxs = &xs) { PlotStairsNative(labelId, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref uint xs, uint* ys, int count, int offset) { fixed (uint* pxs = &xs) { PlotStairsNative(labelId, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, ref uint xs, uint* ys, int count, int offset, int stride) { fixed (uint* pxs = &xs) { PlotStairsNative(labelId, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (uint* pxs = &xs) { PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (uint* pxs = &xs) { PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (uint* pxs = &xs) { PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref uint xs, uint* ys, int count) { fixed (byte* plabelId = &labelId) { fixed (uint* pxs = &xs) { PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref uint xs, uint* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (uint* pxs = &xs) { PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, ref uint xs, uint* ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (uint* pxs = &xs) { PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (uint* pxs = &xs) { PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (uint* pxs = &xs) { PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = labelId) { fixed (uint* pxs = &xs) { PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, uint* ys, int count) { fixed (byte* plabelId = labelId) { fixed (uint* pxs = &xs) { PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (uint* pxs = &xs) { PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (uint* pxs = &xs) { PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref 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; } fixed (uint* pxs = &xs) { PlotStairsNative(pStr0, (uint*)pxs, ys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref 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; } fixed (uint* pxs = &xs) { PlotStairsNative(pStr0, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref 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; } fixed (uint* pxs = &xs) { PlotStairsNative(pStr0, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref 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; } fixed (uint* pxs = &xs) { PlotStairsNative(pStr0, (uint*)pxs, 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, ref 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; } fixed (uint* pxs = &xs) { PlotStairsNative(pStr0, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStairs(string labelId, ref 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; } fixed (uint* pxs = &xs) { PlotStairsNative(pStr0, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (uint* pys = &ys) { PlotStairsNative(labelId, xs, (uint*)pys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset) { fixed (uint* pys = &ys) { PlotStairsNative(labelId, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags) { fixed (uint* pys = &ys) { PlotStairsNative(labelId, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, uint* xs, ref uint ys, int count) { fixed (uint* pys = &ys) { PlotStairsNative(labelId, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, uint* xs, ref uint ys, int count, int offset) { fixed (uint* pys = &ys) { PlotStairsNative(labelId, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotStairs(byte* labelId, uint* xs, ref uint ys, int count, int offset, int stride) { fixed (uint* pys = &ys) { PlotStairsNative(labelId, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (uint* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (uint* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (uint* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, uint* xs, ref uint ys, int count) { fixed (byte* plabelId = &labelId) { fixed (uint* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, uint* xs, ref uint ys, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (uint* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); } } } /// /// To be documented. /// public static void PlotStairs(ref byte labelId, uint* xs, ref uint ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (uint* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (uint* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (uint* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags) { fixed (byte* plabelId = labelId) { fixed (uint* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, uint* xs, ref uint ys, int count) { fixed (byte* plabelId = labelId) { fixed (uint* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); } } } /// /// To be documented. /// public static void PlotStairs(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (uint* pys = &ys) { PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); } } } } }