// ------------------------------------------------------------------------------ // // 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 bool IsAxisHovered(ImAxis axis) { byte ret = IsAxisHoveredNative(axis); return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte IsSubplotsHoveredNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[303])(); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[303])(); #endif } /// /// To be documented. /// public static bool IsSubplotsHovered() { byte ret = IsSubplotsHoveredNative(); return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte IsPlotSelectedNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[304])(); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[304])(); #endif } /// /// To be documented. /// public static bool IsPlotSelected() { byte ret = IsPlotSelectedNative(); return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImPlotRect GetPlotSelectionNative(ImAxis xAxis, ImAxis yAxis) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[305])(xAxis, yAxis); #else return (ImPlotRect)((delegate* unmanaged[Cdecl])funcTable[305])(xAxis, yAxis); #endif } /// /// To be documented. /// public static ImPlotRect GetPlotSelection(ImAxis xAxis, ImAxis yAxis) { ImPlotRect ret = GetPlotSelectionNative(xAxis, yAxis); return ret; } /// /// To be documented. /// public static ImPlotRect GetPlotSelection(ImAxis xAxis) { ImPlotRect ret = GetPlotSelectionNative(xAxis, (ImAxis)(-1)); return ret; } /// /// To be documented. /// public static ImPlotRect GetPlotSelection() { ImPlotRect ret = GetPlotSelectionNative((ImAxis)(-1), (ImAxis)(-1)); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void CancelPlotSelectionNative() { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[306])(); #else ((delegate* unmanaged[Cdecl])funcTable[306])(); #endif } /// /// To be documented. /// public static void CancelPlotSelection() { CancelPlotSelectionNative(); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void HideNextItemNative(byte hidden, ImPlotCond cond) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[307])(hidden, cond); #else ((delegate* unmanaged[Cdecl])funcTable[307])(hidden, cond); #endif } /// /// To be documented. /// public static void HideNextItem(bool hidden, ImPlotCond cond) { HideNextItemNative(hidden ? (byte)1 : (byte)0, cond); } /// /// To be documented. /// public static void HideNextItem(bool hidden) { HideNextItemNative(hidden ? (byte)1 : (byte)0, (ImPlotCond)(ImPlotCond.Once)); } /// /// To be documented. /// public static void HideNextItem() { HideNextItemNative((byte)(1), (ImPlotCond)(ImPlotCond.Once)); } /// /// To be documented. /// public static void HideNextItem(ImPlotCond cond) { HideNextItemNative((byte)(1), cond); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte BeginAlignedPlotsNative(byte* groupId, byte vertical) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[308])(groupId, vertical); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[308])((nint)groupId, vertical); #endif } /// /// To be documented. /// public static bool BeginAlignedPlots(byte* groupId, bool vertical) { byte ret = BeginAlignedPlotsNative(groupId, vertical ? (byte)1 : (byte)0); return ret != 0; } /// /// To be documented. /// public static bool BeginAlignedPlots(byte* groupId) { byte ret = BeginAlignedPlotsNative(groupId, (byte)(1)); return ret != 0; } /// /// To be documented. /// public static bool BeginAlignedPlots(ref byte groupId, bool vertical) { fixed (byte* pgroupId = &groupId) { byte ret = BeginAlignedPlotsNative((byte*)pgroupId, vertical ? (byte)1 : (byte)0); return ret != 0; } } /// /// To be documented. /// public static bool BeginAlignedPlots(ref byte groupId) { fixed (byte* pgroupId = &groupId) { byte ret = BeginAlignedPlotsNative((byte*)pgroupId, (byte)(1)); return ret != 0; } } /// /// To be documented. /// public static bool BeginAlignedPlots(ReadOnlySpan groupId, bool vertical) { fixed (byte* pgroupId = groupId) { byte ret = BeginAlignedPlotsNative((byte*)pgroupId, vertical ? (byte)1 : (byte)0); return ret != 0; } } /// /// To be documented. /// public static bool BeginAlignedPlots(ReadOnlySpan groupId) { fixed (byte* pgroupId = groupId) { byte ret = BeginAlignedPlotsNative((byte*)pgroupId, (byte)(1)); return ret != 0; } } /// /// To be documented. /// public static bool BeginAlignedPlots(string groupId, bool vertical) { byte* pStr0 = null; int pStrSize0 = 0; if (groupId != null) { pStrSize0 = Utils.GetByteCountUTF8(groupId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(groupId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = BeginAlignedPlotsNative(pStr0, vertical ? (byte)1 : (byte)0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool BeginAlignedPlots(string groupId) { byte* pStr0 = null; int pStrSize0 = 0; if (groupId != null) { pStrSize0 = Utils.GetByteCountUTF8(groupId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(groupId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = BeginAlignedPlotsNative(pStr0, (byte)(1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void EndAlignedPlotsNative() { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[309])(); #else ((delegate* unmanaged[Cdecl])funcTable[309])(); #endif } /// /// To be documented. /// public static void EndAlignedPlots() { EndAlignedPlotsNative(); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte BeginLegendPopupNative(byte* labelId, ImGuiMouseButton mouseButton) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[310])(labelId, mouseButton); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[310])((nint)labelId, mouseButton); #endif } /// /// To be documented. /// public static bool BeginLegendPopup(byte* labelId, ImGuiMouseButton mouseButton) { byte ret = BeginLegendPopupNative(labelId, mouseButton); return ret != 0; } /// /// To be documented. /// public static bool BeginLegendPopup(byte* labelId) { byte ret = BeginLegendPopupNative(labelId, (ImGuiMouseButton)(1)); return ret != 0; } /// /// To be documented. /// public static bool BeginLegendPopup(ref byte labelId, ImGuiMouseButton mouseButton) { fixed (byte* plabelId = &labelId) { byte ret = BeginLegendPopupNative((byte*)plabelId, mouseButton); return ret != 0; } } /// /// To be documented. /// public static bool BeginLegendPopup(ref byte labelId) { fixed (byte* plabelId = &labelId) { byte ret = BeginLegendPopupNative((byte*)plabelId, (ImGuiMouseButton)(1)); return ret != 0; } } /// /// To be documented. /// public static bool BeginLegendPopup(ReadOnlySpan labelId, ImGuiMouseButton mouseButton) { fixed (byte* plabelId = labelId) { byte ret = BeginLegendPopupNative((byte*)plabelId, mouseButton); return ret != 0; } } /// /// To be documented. /// public static bool BeginLegendPopup(ReadOnlySpan labelId) { fixed (byte* plabelId = labelId) { byte ret = BeginLegendPopupNative((byte*)plabelId, (ImGuiMouseButton)(1)); return ret != 0; } } /// /// To be documented. /// public static bool BeginLegendPopup(string labelId, ImGuiMouseButton mouseButton) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = BeginLegendPopupNative(pStr0, mouseButton); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool BeginLegendPopup(string labelId) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = BeginLegendPopupNative(pStr0, (ImGuiMouseButton)(1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void EndLegendPopupNative() { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[311])(); #else ((delegate* unmanaged[Cdecl])funcTable[311])(); #endif } /// /// To be documented. /// public static void EndLegendPopup() { EndLegendPopupNative(); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte IsLegendEntryHoveredNative(byte* labelId) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[312])(labelId); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[312])((nint)labelId); #endif } /// /// To be documented. /// public static bool IsLegendEntryHovered(byte* labelId) { byte ret = IsLegendEntryHoveredNative(labelId); return ret != 0; } /// /// To be documented. /// public static bool IsLegendEntryHovered(ref byte labelId) { fixed (byte* plabelId = &labelId) { byte ret = IsLegendEntryHoveredNative((byte*)plabelId); return ret != 0; } } /// /// To be documented. /// public static bool IsLegendEntryHovered(ReadOnlySpan labelId) { fixed (byte* plabelId = labelId) { byte ret = IsLegendEntryHoveredNative((byte*)plabelId); return ret != 0; } } /// /// To be documented. /// public static bool IsLegendEntryHovered(string labelId) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = IsLegendEntryHoveredNative(pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte BeginDragDropTargetPlotNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[313])(); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[313])(); #endif } /// /// To be documented. /// public static bool BeginDragDropTargetPlot() { byte ret = BeginDragDropTargetPlotNative(); return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte BeginDragDropTargetAxisNative(ImAxis axis) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[314])(axis); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[314])(axis); #endif } /// /// To be documented. /// public static bool BeginDragDropTargetAxis(ImAxis axis) { byte ret = BeginDragDropTargetAxisNative(axis); return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte BeginDragDropTargetLegendNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[315])(); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[315])(); #endif } /// /// To be documented. /// public static bool BeginDragDropTargetLegend() { byte ret = BeginDragDropTargetLegendNative(); return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void EndDragDropTargetNative() { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[316])(); #else ((delegate* unmanaged[Cdecl])funcTable[316])(); #endif } /// /// To be documented. /// public static void EndDragDropTarget() { EndDragDropTargetNative(); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte BeginDragDropSourcePlotNative(ImGuiDragDropFlags flags) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[317])(flags); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[317])(flags); #endif } /// /// To be documented. /// public static bool BeginDragDropSourcePlot(ImGuiDragDropFlags flags) { byte ret = BeginDragDropSourcePlotNative(flags); return ret != 0; } /// /// To be documented. /// public static bool BeginDragDropSourcePlot() { byte ret = BeginDragDropSourcePlotNative((ImGuiDragDropFlags)(0)); return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte BeginDragDropSourceAxisNative(ImAxis axis, ImGuiDragDropFlags flags) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[318])(axis, flags); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[318])(axis, flags); #endif } /// /// To be documented. /// public static bool BeginDragDropSourceAxis(ImAxis axis, ImGuiDragDropFlags flags) { byte ret = BeginDragDropSourceAxisNative(axis, flags); return ret != 0; } /// /// To be documented. /// public static bool BeginDragDropSourceAxis(ImAxis axis) { byte ret = BeginDragDropSourceAxisNative(axis, (ImGuiDragDropFlags)(0)); return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte BeginDragDropSourceItemNative(byte* labelId, ImGuiDragDropFlags flags) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[319])(labelId, flags); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[319])((nint)labelId, flags); #endif } /// /// To be documented. /// public static bool BeginDragDropSourceItem(byte* labelId, ImGuiDragDropFlags flags) { byte ret = BeginDragDropSourceItemNative(labelId, flags); return ret != 0; } /// /// To be documented. /// public static bool BeginDragDropSourceItem(byte* labelId) { byte ret = BeginDragDropSourceItemNative(labelId, (ImGuiDragDropFlags)(0)); return ret != 0; } /// /// To be documented. /// public static bool BeginDragDropSourceItem(ref byte labelId, ImGuiDragDropFlags flags) { fixed (byte* plabelId = &labelId) { byte ret = BeginDragDropSourceItemNative((byte*)plabelId, flags); return ret != 0; } } /// /// To be documented. /// public static bool BeginDragDropSourceItem(ref byte labelId) { fixed (byte* plabelId = &labelId) { byte ret = BeginDragDropSourceItemNative((byte*)plabelId, (ImGuiDragDropFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool BeginDragDropSourceItem(ReadOnlySpan labelId, ImGuiDragDropFlags flags) { fixed (byte* plabelId = labelId) { byte ret = BeginDragDropSourceItemNative((byte*)plabelId, flags); return ret != 0; } } /// /// To be documented. /// public static bool BeginDragDropSourceItem(ReadOnlySpan labelId) { fixed (byte* plabelId = labelId) { byte ret = BeginDragDropSourceItemNative((byte*)plabelId, (ImGuiDragDropFlags)(0)); return ret != 0; } } /// /// To be documented. /// public static bool BeginDragDropSourceItem(string labelId, ImGuiDragDropFlags 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; } byte ret = BeginDragDropSourceItemNative(pStr0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool BeginDragDropSourceItem(string labelId) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = BeginDragDropSourceItemNative(pStr0, (ImGuiDragDropFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void EndDragDropSourceNative() { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[320])(); #else ((delegate* unmanaged[Cdecl])funcTable[320])(); #endif } /// /// To be documented. /// public static void EndDragDropSource() { EndDragDropSourceNative(); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImPlotStyle* GetStyleNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[321])(); #else return (ImPlotStyle*)((delegate* unmanaged[Cdecl])funcTable[321])(); #endif } /// /// To be documented. /// public static ImPlotStylePtr GetStyle() { ImPlotStylePtr ret = GetStyleNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void StyleColorsAutoNative(ImPlotStyle* dst) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[322])(dst); #else ((delegate* unmanaged[Cdecl])funcTable[322])((nint)dst); #endif } /// /// To be documented. /// public static void StyleColorsAuto(ImPlotStylePtr dst) { StyleColorsAutoNative(dst); } /// /// To be documented. /// public static void StyleColorsAuto() { StyleColorsAutoNative((ImPlotStyle*)(((void*)0))); } /// /// To be documented. /// public static void StyleColorsAuto(ref ImPlotStyle dst) { fixed (ImPlotStyle* pdst = &dst) { StyleColorsAutoNative((ImPlotStyle*)pdst); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void StyleColorsClassicNative(ImPlotStyle* dst) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[323])(dst); #else ((delegate* unmanaged[Cdecl])funcTable[323])((nint)dst); #endif } /// /// To be documented. /// public static void StyleColorsClassic(ImPlotStylePtr dst) { StyleColorsClassicNative(dst); } /// /// To be documented. /// public static void StyleColorsClassic() { StyleColorsClassicNative((ImPlotStyle*)(((void*)0))); } /// /// To be documented. /// public static void StyleColorsClassic(ref ImPlotStyle dst) { fixed (ImPlotStyle* pdst = &dst) { StyleColorsClassicNative((ImPlotStyle*)pdst); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void StyleColorsDarkNative(ImPlotStyle* dst) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[324])(dst); #else ((delegate* unmanaged[Cdecl])funcTable[324])((nint)dst); #endif } /// /// To be documented. /// public static void StyleColorsDark(ImPlotStylePtr dst) { StyleColorsDarkNative(dst); } /// /// To be documented. /// public static void StyleColorsDark() { StyleColorsDarkNative((ImPlotStyle*)(((void*)0))); } /// /// To be documented. /// public static void StyleColorsDark(ref ImPlotStyle dst) { fixed (ImPlotStyle* pdst = &dst) { StyleColorsDarkNative((ImPlotStyle*)pdst); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void StyleColorsLightNative(ImPlotStyle* dst) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[325])(dst); #else ((delegate* unmanaged[Cdecl])funcTable[325])((nint)dst); #endif } /// /// To be documented. /// public static void StyleColorsLight(ImPlotStylePtr dst) { StyleColorsLightNative(dst); } /// /// To be documented. /// public static void StyleColorsLight() { StyleColorsLightNative((ImPlotStyle*)(((void*)0))); } /// /// To be documented. /// public static void StyleColorsLight(ref ImPlotStyle dst) { fixed (ImPlotStyle* pdst = &dst) { StyleColorsLightNative((ImPlotStyle*)pdst); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PushStyleColorNative(ImPlotCol idx, uint col) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[326])(idx, col); #else ((delegate* unmanaged[Cdecl])funcTable[326])(idx, col); #endif } /// /// To be documented. /// public static void PushStyleColor(ImPlotCol idx, uint col) { PushStyleColorNative(idx, col); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PushStyleColorNative(ImPlotCol idx, Vector4 col) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[327])(idx, col); #else ((delegate* unmanaged[Cdecl])funcTable[327])(idx, col); #endif } /// /// To be documented. /// public static void PushStyleColor(ImPlotCol idx, Vector4 col) { PushStyleColorNative(idx, col); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PopStyleColorNative(int count) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[328])(count); #else ((delegate* unmanaged[Cdecl])funcTable[328])(count); #endif } /// /// To be documented. /// public static void PopStyleColor(int count) { PopStyleColorNative(count); } /// /// To be documented. /// public static void PopStyleColor() { PopStyleColorNative((int)(1)); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PushStyleVarNative(ImPlotStyleVar idx, float val) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[329])(idx, val); #else ((delegate* unmanaged[Cdecl])funcTable[329])(idx, val); #endif } /// /// To be documented. /// public static void PushStyleVar(ImPlotStyleVar idx, float val) { PushStyleVarNative(idx, val); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PushStyleVarNative(ImPlotStyleVar idx, int val) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[330])(idx, val); #else ((delegate* unmanaged[Cdecl])funcTable[330])(idx, val); #endif } /// /// To be documented. /// public static void PushStyleVar(ImPlotStyleVar idx, int val) { PushStyleVarNative(idx, val); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PushStyleVarNative(ImPlotStyleVar idx, Vector2 val) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[331])(idx, val); #else ((delegate* unmanaged[Cdecl])funcTable[331])(idx, val); #endif } /// /// To be documented. /// public static void PushStyleVar(ImPlotStyleVar idx, Vector2 val) { PushStyleVarNative(idx, val); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PopStyleVarNative(int count) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[332])(count); #else ((delegate* unmanaged[Cdecl])funcTable[332])(count); #endif } /// /// To be documented. /// public static void PopStyleVar(int count) { PopStyleVarNative(count); } /// /// To be documented. /// public static void PopStyleVar() { PopStyleVarNative((int)(1)); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void SetNextLineStyleNative(Vector4 col, float weight) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[333])(col, weight); #else ((delegate* unmanaged[Cdecl])funcTable[333])(col, weight); #endif } /// /// To be documented. /// public static void SetNextLineStyle(Vector4 col, float weight) { SetNextLineStyleNative(col, weight); } /// /// To be documented. /// public static void SetNextLineStyle(Vector4 col) { SetNextLineStyleNative(col, (float)(-1)); } /// /// To be documented. /// public static void SetNextLineStyle() { SetNextLineStyleNative((Vector4)(new Vector4(0,0,0,-1)), (float)(-1)); } /// /// To be documented. /// public static void SetNextLineStyle(float weight) { SetNextLineStyleNative((Vector4)(new Vector4(0,0,0,-1)), weight); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void SetNextFillStyleNative(Vector4 col, float alphaMod) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[334])(col, alphaMod); #else ((delegate* unmanaged[Cdecl])funcTable[334])(col, alphaMod); #endif } /// /// To be documented. /// public static void SetNextFillStyle(Vector4 col, float alphaMod) { SetNextFillStyleNative(col, alphaMod); } /// /// To be documented. /// public static void SetNextFillStyle(Vector4 col) { SetNextFillStyleNative(col, (float)(-1)); } /// /// To be documented. /// public static void SetNextFillStyle() { SetNextFillStyleNative((Vector4)(new Vector4(0,0,0,-1)), (float)(-1)); } /// /// To be documented. /// public static void SetNextFillStyle(float alphaMod) { SetNextFillStyleNative((Vector4)(new Vector4(0,0,0,-1)), alphaMod); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void SetNextMarkerStyleNative(ImPlotMarker marker, float size, Vector4 fill, float weight, Vector4 outline) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[335])(marker, size, fill, weight, outline); #else ((delegate* unmanaged[Cdecl])funcTable[335])(marker, size, fill, weight, outline); #endif } /// /// To be documented. /// public static void SetNextMarkerStyle(ImPlotMarker marker, float size, Vector4 fill, float weight, Vector4 outline) { SetNextMarkerStyleNative(marker, size, fill, weight, outline); } /// /// To be documented. /// public static void SetNextMarkerStyle(ImPlotMarker marker, float size, Vector4 fill, float weight) { SetNextMarkerStyleNative(marker, size, fill, weight, (Vector4)(new Vector4(0,0,0,-1))); } /// /// To be documented. /// public static void SetNextMarkerStyle(ImPlotMarker marker, float size, Vector4 fill) { SetNextMarkerStyleNative(marker, size, fill, (float)(-1), (Vector4)(new Vector4(0,0,0,-1))); } /// /// To be documented. /// public static void SetNextMarkerStyle(ImPlotMarker marker, float size) { SetNextMarkerStyleNative(marker, size, (Vector4)(new Vector4(0,0,0,-1)), (float)(-1), (Vector4)(new Vector4(0,0,0,-1))); } /// /// To be documented. /// public static void SetNextMarkerStyle(ImPlotMarker marker) { SetNextMarkerStyleNative(marker, (float)(-1), (Vector4)(new Vector4(0,0,0,-1)), (float)(-1), (Vector4)(new Vector4(0,0,0,-1))); } /// /// To be documented. /// public static void SetNextMarkerStyle() { SetNextMarkerStyleNative((ImPlotMarker)(-1), (float)(-1), (Vector4)(new Vector4(0,0,0,-1)), (float)(-1), (Vector4)(new Vector4(0,0,0,-1))); } /// /// To be documented. /// public static void SetNextMarkerStyle(float size) { SetNextMarkerStyleNative((ImPlotMarker)(-1), size, (Vector4)(new Vector4(0,0,0,-1)), (float)(-1), (Vector4)(new Vector4(0,0,0,-1))); } /// /// To be documented. /// public static void SetNextMarkerStyle(ImPlotMarker marker, Vector4 fill) { SetNextMarkerStyleNative(marker, (float)(-1), fill, (float)(-1), (Vector4)(new Vector4(0,0,0,-1))); } /// /// To be documented. /// public static void SetNextMarkerStyle(Vector4 fill) { SetNextMarkerStyleNative((ImPlotMarker)(-1), (float)(-1), fill, (float)(-1), (Vector4)(new Vector4(0,0,0,-1))); } /// /// To be documented. /// public static void SetNextMarkerStyle(float size, Vector4 fill) { SetNextMarkerStyleNative((ImPlotMarker)(-1), size, fill, (float)(-1), (Vector4)(new Vector4(0,0,0,-1))); } /// /// To be documented. /// public static void SetNextMarkerStyle(ImPlotMarker marker, float size, float weight) { SetNextMarkerStyleNative(marker, size, (Vector4)(new Vector4(0,0,0,-1)), weight, (Vector4)(new Vector4(0,0,0,-1))); } /// /// To be documented. /// public static void SetNextMarkerStyle(float size, float weight) { SetNextMarkerStyleNative((ImPlotMarker)(-1), size, (Vector4)(new Vector4(0,0,0,-1)), weight, (Vector4)(new Vector4(0,0,0,-1))); } /// /// To be documented. /// public static void SetNextMarkerStyle(ImPlotMarker marker, Vector4 fill, float weight) { SetNextMarkerStyleNative(marker, (float)(-1), fill, weight, (Vector4)(new Vector4(0,0,0,-1))); } /// /// To be documented. /// public static void SetNextMarkerStyle(Vector4 fill, float weight) { SetNextMarkerStyleNative((ImPlotMarker)(-1), (float)(-1), fill, weight, (Vector4)(new Vector4(0,0,0,-1))); } /// /// To be documented. /// public static void SetNextMarkerStyle(float size, Vector4 fill, float weight) { SetNextMarkerStyleNative((ImPlotMarker)(-1), size, fill, weight, (Vector4)(new Vector4(0,0,0,-1))); } /// /// To be documented. /// public static void SetNextMarkerStyle(ImPlotMarker marker, float size, Vector4 fill, Vector4 outline) { SetNextMarkerStyleNative(marker, size, fill, (float)(-1), outline); } /// /// To be documented. /// public static void SetNextMarkerStyle(ImPlotMarker marker, Vector4 fill, Vector4 outline) { SetNextMarkerStyleNative(marker, (float)(-1), fill, (float)(-1), outline); } /// /// To be documented. /// public static void SetNextMarkerStyle(Vector4 fill, Vector4 outline) { SetNextMarkerStyleNative((ImPlotMarker)(-1), (float)(-1), fill, (float)(-1), outline); } /// /// To be documented. /// public static void SetNextMarkerStyle(float size, Vector4 fill, Vector4 outline) { SetNextMarkerStyleNative((ImPlotMarker)(-1), size, fill, (float)(-1), outline); } /// /// To be documented. /// public static void SetNextMarkerStyle(ImPlotMarker marker, float size, float weight, Vector4 outline) { SetNextMarkerStyleNative(marker, size, (Vector4)(new Vector4(0,0,0,-1)), weight, outline); } /// /// To be documented. /// public static void SetNextMarkerStyle(float size, float weight, Vector4 outline) { SetNextMarkerStyleNative((ImPlotMarker)(-1), size, (Vector4)(new Vector4(0,0,0,-1)), weight, outline); } /// /// To be documented. /// public static void SetNextMarkerStyle(ImPlotMarker marker, Vector4 fill, float weight, Vector4 outline) { SetNextMarkerStyleNative(marker, (float)(-1), fill, weight, outline); } /// /// To be documented. /// public static void SetNextMarkerStyle(Vector4 fill, float weight, Vector4 outline) { SetNextMarkerStyleNative((ImPlotMarker)(-1), (float)(-1), fill, weight, outline); } /// /// To be documented. /// public static void SetNextMarkerStyle(float size, Vector4 fill, float weight, Vector4 outline) { SetNextMarkerStyleNative((ImPlotMarker)(-1), size, fill, weight, outline); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void SetNextErrorBarStyleNative(Vector4 col, float size, float weight) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[336])(col, size, weight); #else ((delegate* unmanaged[Cdecl])funcTable[336])(col, size, weight); #endif } /// /// To be documented. /// public static void SetNextErrorBarStyle(Vector4 col, float size, float weight) { SetNextErrorBarStyleNative(col, size, weight); } /// /// To be documented. /// public static void SetNextErrorBarStyle(Vector4 col, float size) { SetNextErrorBarStyleNative(col, size, (float)(-1)); } /// /// To be documented. /// public static void SetNextErrorBarStyle(Vector4 col) { SetNextErrorBarStyleNative(col, (float)(-1), (float)(-1)); } /// /// To be documented. /// public static void SetNextErrorBarStyle() { SetNextErrorBarStyleNative((Vector4)(new Vector4(0,0,0,-1)), (float)(-1), (float)(-1)); } /// /// To be documented. /// public static void SetNextErrorBarStyle(float size) { SetNextErrorBarStyleNative((Vector4)(new Vector4(0,0,0,-1)), size, (float)(-1)); } /// /// To be documented. /// public static void SetNextErrorBarStyle(float size, float weight) { SetNextErrorBarStyleNative((Vector4)(new Vector4(0,0,0,-1)), size, weight); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void GetLastItemColorNative(Vector4* pOut) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[337])(pOut); #else ((delegate* unmanaged[Cdecl])funcTable[337])((nint)pOut); #endif } /// /// To be documented. /// public static Vector4 GetLastItemColor() { Vector4 ret; GetLastItemColorNative(&ret); return ret; } /// /// To be documented. /// public static void GetLastItemColor(Vector4* pOut) { GetLastItemColorNative(pOut); } /// /// To be documented. /// public static void GetLastItemColor(ref Vector4 pOut) { fixed (Vector4* ppOut = &pOut) { GetLastItemColorNative((Vector4*)ppOut); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte* GetStyleColorNameNative(ImPlotCol idx) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[338])(idx); #else return (byte*)((delegate* unmanaged[Cdecl])funcTable[338])(idx); #endif } /// /// To be documented. /// public static byte* GetStyleColorName(ImPlotCol idx) { byte* ret = GetStyleColorNameNative(idx); return ret; } /// /// To be documented. /// public static string GetStyleColorNameS(ImPlotCol idx) { string ret = Utils.DecodeStringUTF8(GetStyleColorNameNative(idx)); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte* GetMarkerNameNative(ImPlotMarker idx) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[339])(idx); #else return (byte*)((delegate* unmanaged[Cdecl])funcTable[339])(idx); #endif } /// /// To be documented. /// public static byte* GetMarkerName(ImPlotMarker idx) { byte* ret = GetMarkerNameNative(idx); return ret; } /// /// To be documented. /// public static string GetMarkerNameS(ImPlotMarker idx) { string ret = Utils.DecodeStringUTF8(GetMarkerNameNative(idx)); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImPlotColormap AddColormapNative(byte* name, Vector4* cols, int size, byte qual) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[340])(name, cols, size, qual); #else return (ImPlotColormap)((delegate* unmanaged[Cdecl])funcTable[340])((nint)name, (nint)cols, size, qual); #endif } /// /// To be documented. /// public static ImPlotColormap AddColormap(byte* name, Vector4* cols, int size, bool qual) { ImPlotColormap ret = AddColormapNative(name, cols, size, qual ? (byte)1 : (byte)0); return ret; } /// /// To be documented. /// public static ImPlotColormap AddColormap(byte* name, Vector4* cols, int size) { ImPlotColormap ret = AddColormapNative(name, cols, size, (byte)(1)); return ret; } /// /// To be documented. /// public static ImPlotColormap AddColormap(ref byte name, Vector4* cols, int size, bool qual) { fixed (byte* pname = &name) { ImPlotColormap ret = AddColormapNative((byte*)pname, cols, size, qual ? (byte)1 : (byte)0); return ret; } } /// /// To be documented. /// public static ImPlotColormap AddColormap(ref byte name, Vector4* cols, int size) { fixed (byte* pname = &name) { ImPlotColormap ret = AddColormapNative((byte*)pname, cols, size, (byte)(1)); return ret; } } /// /// To be documented. /// public static ImPlotColormap AddColormap(ReadOnlySpan name, Vector4* cols, int size, bool qual) { fixed (byte* pname = name) { ImPlotColormap ret = AddColormapNative((byte*)pname, cols, size, qual ? (byte)1 : (byte)0); return ret; } } /// /// To be documented. /// public static ImPlotColormap AddColormap(ReadOnlySpan name, Vector4* cols, int size) { fixed (byte* pname = name) { ImPlotColormap ret = AddColormapNative((byte*)pname, cols, size, (byte)(1)); return ret; } } /// /// To be documented. /// public static ImPlotColormap AddColormap(string name, Vector4* cols, int size, bool qual) { byte* pStr0 = null; int pStrSize0 = 0; if (name != null) { pStrSize0 = Utils.GetByteCountUTF8(name); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ImPlotColormap ret = AddColormapNative(pStr0, cols, size, qual ? (byte)1 : (byte)0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static ImPlotColormap AddColormap(string name, Vector4* cols, int size) { byte* pStr0 = null; int pStrSize0 = 0; if (name != null) { pStrSize0 = Utils.GetByteCountUTF8(name); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ImPlotColormap ret = AddColormapNative(pStr0, cols, size, (byte)(1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static ImPlotColormap AddColormap(byte* name, ref Vector4 cols, int size, bool qual) { fixed (Vector4* pcols = &cols) { ImPlotColormap ret = AddColormapNative(name, (Vector4*)pcols, size, qual ? (byte)1 : (byte)0); return ret; } } /// /// To be documented. /// public static ImPlotColormap AddColormap(byte* name, ref Vector4 cols, int size) { fixed (Vector4* pcols = &cols) { ImPlotColormap ret = AddColormapNative(name, (Vector4*)pcols, size, (byte)(1)); return ret; } } /// /// To be documented. /// public static ImPlotColormap AddColormap(ref byte name, ref Vector4 cols, int size, bool qual) { fixed (byte* pname = &name) { fixed (Vector4* pcols = &cols) { ImPlotColormap ret = AddColormapNative((byte*)pname, (Vector4*)pcols, size, qual ? (byte)1 : (byte)0); return ret; } } } /// /// To be documented. /// public static ImPlotColormap AddColormap(ref byte name, ref Vector4 cols, int size) { fixed (byte* pname = &name) { fixed (Vector4* pcols = &cols) { ImPlotColormap ret = AddColormapNative((byte*)pname, (Vector4*)pcols, size, (byte)(1)); return ret; } } } /// /// To be documented. /// public static ImPlotColormap AddColormap(ReadOnlySpan name, ref Vector4 cols, int size, bool qual) { fixed (byte* pname = name) { fixed (Vector4* pcols = &cols) { ImPlotColormap ret = AddColormapNative((byte*)pname, (Vector4*)pcols, size, qual ? (byte)1 : (byte)0); return ret; } } } /// /// To be documented. /// public static ImPlotColormap AddColormap(ReadOnlySpan name, ref Vector4 cols, int size) { fixed (byte* pname = name) { fixed (Vector4* pcols = &cols) { ImPlotColormap ret = AddColormapNative((byte*)pname, (Vector4*)pcols, size, (byte)(1)); return ret; } } } /// /// To be documented. /// public static ImPlotColormap AddColormap(string name, ref Vector4 cols, int size, bool qual) { byte* pStr0 = null; int pStrSize0 = 0; if (name != null) { pStrSize0 = Utils.GetByteCountUTF8(name); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (Vector4* pcols = &cols) { ImPlotColormap ret = AddColormapNative(pStr0, (Vector4*)pcols, size, qual ? (byte)1 : (byte)0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public static ImPlotColormap AddColormap(string name, ref Vector4 cols, int size) { byte* pStr0 = null; int pStrSize0 = 0; if (name != null) { pStrSize0 = Utils.GetByteCountUTF8(name); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (Vector4* pcols = &cols) { ImPlotColormap ret = AddColormapNative(pStr0, (Vector4*)pcols, size, (byte)(1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImPlotColormap AddColormapNative(byte* name, uint* cols, int size, byte qual) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[341])(name, cols, size, qual); #else return (ImPlotColormap)((delegate* unmanaged[Cdecl])funcTable[341])((nint)name, (nint)cols, size, qual); #endif } /// /// To be documented. /// public static ImPlotColormap AddColormap(byte* name, uint* cols, int size, bool qual) { ImPlotColormap ret = AddColormapNative(name, cols, size, qual ? (byte)1 : (byte)0); return ret; } /// /// To be documented. /// public static ImPlotColormap AddColormap(byte* name, uint* cols, int size) { ImPlotColormap ret = AddColormapNative(name, cols, size, (byte)(1)); return ret; } /// /// To be documented. /// public static ImPlotColormap AddColormap(ref byte name, uint* cols, int size, bool qual) { fixed (byte* pname = &name) { ImPlotColormap ret = AddColormapNative((byte*)pname, cols, size, qual ? (byte)1 : (byte)0); return ret; } } /// /// To be documented. /// public static ImPlotColormap AddColormap(ref byte name, uint* cols, int size) { fixed (byte* pname = &name) { ImPlotColormap ret = AddColormapNative((byte*)pname, cols, size, (byte)(1)); return ret; } } /// /// To be documented. /// public static ImPlotColormap AddColormap(ReadOnlySpan name, uint* cols, int size, bool qual) { fixed (byte* pname = name) { ImPlotColormap ret = AddColormapNative((byte*)pname, cols, size, qual ? (byte)1 : (byte)0); return ret; } } /// /// To be documented. /// public static ImPlotColormap AddColormap(ReadOnlySpan name, uint* cols, int size) { fixed (byte* pname = name) { ImPlotColormap ret = AddColormapNative((byte*)pname, cols, size, (byte)(1)); return ret; } } /// /// To be documented. /// public static ImPlotColormap AddColormap(string name, uint* cols, int size, bool qual) { byte* pStr0 = null; int pStrSize0 = 0; if (name != null) { pStrSize0 = Utils.GetByteCountUTF8(name); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ImPlotColormap ret = AddColormapNative(pStr0, cols, size, qual ? (byte)1 : (byte)0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static ImPlotColormap AddColormap(string name, uint* cols, int size) { byte* pStr0 = null; int pStrSize0 = 0; if (name != null) { pStrSize0 = Utils.GetByteCountUTF8(name); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ImPlotColormap ret = AddColormapNative(pStr0, cols, size, (byte)(1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static int GetColormapCountNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[342])(); #else return (int)((delegate* unmanaged[Cdecl])funcTable[342])(); #endif } /// /// To be documented. /// public static int GetColormapCount() { int ret = GetColormapCountNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte* GetColormapNameNative(ImPlotColormap cmap) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[343])(cmap); #else return (byte*)((delegate* unmanaged[Cdecl])funcTable[343])(cmap); #endif } /// /// To be documented. /// public static byte* GetColormapName(ImPlotColormap cmap) { byte* ret = GetColormapNameNative(cmap); return ret; } /// /// To be documented. /// public static string GetColormapNameS(ImPlotColormap cmap) { string ret = Utils.DecodeStringUTF8(GetColormapNameNative(cmap)); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImPlotColormap GetColormapIndexNative(byte* name) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[344])(name); #else return (ImPlotColormap)((delegate* unmanaged[Cdecl])funcTable[344])((nint)name); #endif } /// /// To be documented. /// public static ImPlotColormap GetColormapIndex(byte* name) { ImPlotColormap ret = GetColormapIndexNative(name); return ret; } /// /// To be documented. /// public static ImPlotColormap GetColormapIndex(ref byte name) { fixed (byte* pname = &name) { ImPlotColormap ret = GetColormapIndexNative((byte*)pname); return ret; } } /// /// To be documented. /// public static ImPlotColormap GetColormapIndex(ReadOnlySpan name) { fixed (byte* pname = name) { ImPlotColormap ret = GetColormapIndexNative((byte*)pname); return ret; } } /// /// To be documented. /// public static ImPlotColormap GetColormapIndex(string name) { byte* pStr0 = null; int pStrSize0 = 0; if (name != null) { pStrSize0 = Utils.GetByteCountUTF8(name); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ImPlotColormap ret = GetColormapIndexNative(pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PushColormapNative(ImPlotColormap cmap) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[345])(cmap); #else ((delegate* unmanaged[Cdecl])funcTable[345])(cmap); #endif } /// /// To be documented. /// public static void PushColormap(ImPlotColormap cmap) { PushColormapNative(cmap); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PushColormapNative(byte* name) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[346])(name); #else ((delegate* unmanaged[Cdecl])funcTable[346])((nint)name); #endif } /// /// To be documented. /// public static void PushColormap(byte* name) { PushColormapNative(name); } /// /// To be documented. /// public static void PushColormap(ref byte name) { fixed (byte* pname = &name) { PushColormapNative((byte*)pname); } } /// /// To be documented. /// public static void PushColormap(ReadOnlySpan name) { fixed (byte* pname = name) { PushColormapNative((byte*)pname); } } /// /// To be documented. /// public static void PushColormap(string name) { byte* pStr0 = null; int pStrSize0 = 0; if (name != null) { pStrSize0 = Utils.GetByteCountUTF8(name); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PushColormapNative(pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PopColormapNative(int count) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[347])(count); #else ((delegate* unmanaged[Cdecl])funcTable[347])(count); #endif } /// /// To be documented. /// public static void PopColormap(int count) { PopColormapNative(count); } /// /// To be documented. /// public static void PopColormap() { PopColormapNative((int)(1)); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void NextColormapColorNative(Vector4* pOut) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[348])(pOut); #else ((delegate* unmanaged[Cdecl])funcTable[348])((nint)pOut); #endif } /// /// To be documented. /// public static Vector4 NextColormapColor() { Vector4 ret; NextColormapColorNative(&ret); return ret; } /// /// To be documented. /// public static void NextColormapColor(Vector4* pOut) { NextColormapColorNative(pOut); } /// /// To be documented. /// public static void NextColormapColor(ref Vector4 pOut) { fixed (Vector4* ppOut = &pOut) { NextColormapColorNative((Vector4*)ppOut); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static int GetColormapSizeNative(ImPlotColormap cmap) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[349])(cmap); #else return (int)((delegate* unmanaged[Cdecl])funcTable[349])(cmap); #endif } /// /// To be documented. /// public static int GetColormapSize(ImPlotColormap cmap) { int ret = GetColormapSizeNative(cmap); return ret; } /// /// To be documented. /// public static int GetColormapSize() { int ret = GetColormapSizeNative((ImPlotColormap)(-1)); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void GetColormapColorNative(Vector4* pOut, int idx, ImPlotColormap cmap) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[350])(pOut, idx, cmap); #else ((delegate* unmanaged[Cdecl])funcTable[350])((nint)pOut, idx, cmap); #endif } /// /// To be documented. /// public static Vector4 GetColormapColor(int idx) { Vector4 ret; GetColormapColorNative(&ret, idx, (ImPlotColormap)(-1)); return ret; } /// /// To be documented. /// public static Vector4 GetColormapColor(int idx, ImPlotColormap cmap) { Vector4 ret; GetColormapColorNative(&ret, idx, cmap); return ret; } /// /// To be documented. /// public static void GetColormapColor(Vector4* pOut, int idx, ImPlotColormap cmap) { GetColormapColorNative(pOut, idx, cmap); } /// /// To be documented. /// public static void GetColormapColor(Vector4* pOut, int idx) { GetColormapColorNative(pOut, idx, (ImPlotColormap)(-1)); } /// /// To be documented. /// public static void GetColormapColor(ref Vector4 pOut, int idx, ImPlotColormap cmap) { fixed (Vector4* ppOut = &pOut) { GetColormapColorNative((Vector4*)ppOut, idx, cmap); } } /// /// To be documented. /// public static void GetColormapColor(ref Vector4 pOut, int idx) { fixed (Vector4* ppOut = &pOut) { GetColormapColorNative((Vector4*)ppOut, idx, (ImPlotColormap)(-1)); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void SampleColormapNative(Vector4* pOut, float t, ImPlotColormap cmap) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[351])(pOut, t, cmap); #else ((delegate* unmanaged[Cdecl])funcTable[351])((nint)pOut, t, cmap); #endif } /// /// To be documented. /// public static Vector4 SampleColormap(float t) { Vector4 ret; SampleColormapNative(&ret, t, (ImPlotColormap)(-1)); return ret; } /// /// To be documented. /// public static Vector4 SampleColormap(float t, ImPlotColormap cmap) { Vector4 ret; SampleColormapNative(&ret, t, cmap); return ret; } /// /// To be documented. /// public static void SampleColormap(Vector4* pOut, float t, ImPlotColormap cmap) { SampleColormapNative(pOut, t, cmap); } /// /// To be documented. /// public static void SampleColormap(Vector4* pOut, float t) { SampleColormapNative(pOut, t, (ImPlotColormap)(-1)); } /// /// To be documented. /// public static void SampleColormap(ref Vector4 pOut, float t, ImPlotColormap cmap) { fixed (Vector4* ppOut = &pOut) { SampleColormapNative((Vector4*)ppOut, t, cmap); } } /// /// To be documented. /// public static void SampleColormap(ref Vector4 pOut, float t) { fixed (Vector4* ppOut = &pOut) { SampleColormapNative((Vector4*)ppOut, t, (ImPlotColormap)(-1)); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ColormapScaleNative(byte* label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[352])(label, scaleMin, scaleMax, size, format, flags, cmap); #else ((delegate* unmanaged[Cdecl])funcTable[352])((nint)label, scaleMin, scaleMax, size, (nint)format, flags, cmap); #endif } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { ColormapScaleNative(label, scaleMin, scaleMax, size, format, flags, cmap); } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormapScaleFlags flags) { ColormapScaleNative(label, scaleMin, scaleMax, size, format, flags, (ImPlotColormap)(-1)); } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, byte* format) { ColormapScaleNative(label, scaleMin, scaleMax, size, format, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size) { ColormapScale(label, scaleMin, scaleMax, size, (string)"%g", (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax) { ColormapScale(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, byte* format) { ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormapScaleFlags flags) { ColormapScale(label, scaleMin, scaleMax, size, (string)"%g", flags, (ImPlotColormap)(-1)); } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ImPlotColormapScaleFlags flags) { ColormapScale(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", flags, (ImPlotColormap)(-1)); } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, byte* format, ImPlotColormapScaleFlags flags) { ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, flags, (ImPlotColormap)(-1)); } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormap cmap) { ColormapScaleNative(label, scaleMin, scaleMax, size, format, (ImPlotColormapScaleFlags)(0), cmap); } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormap cmap) { ColormapScale(label, scaleMin, scaleMax, size, (string)"%g", (ImPlotColormapScaleFlags)(0), cmap); } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ImPlotColormap cmap) { ColormapScale(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", (ImPlotColormapScaleFlags)(0), cmap); } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, byte* format, ImPlotColormap cmap) { ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, (ImPlotColormapScaleFlags)(0), cmap); } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { ColormapScale(label, scaleMin, scaleMax, size, (string)"%g", flags, cmap); } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { ColormapScale(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", flags, cmap); } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, byte* format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, flags, cmap); } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { fixed (byte* plabel = &label) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, format, flags, cmap); } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormapScaleFlags flags) { fixed (byte* plabel = &label) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, format, flags, (ImPlotColormap)(-1)); } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, byte* format) { fixed (byte* plabel = &label) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, format, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size) { fixed (byte* plabel = &label) { ColormapScale((byte*)plabel, scaleMin, scaleMax, size, (string)"%g", (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax) { fixed (byte* plabel = &label) { ColormapScale((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, byte* format) { fixed (byte* plabel = &label) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormapScaleFlags flags) { fixed (byte* plabel = &label) { ColormapScale((byte*)plabel, scaleMin, scaleMax, size, (string)"%g", flags, (ImPlotColormap)(-1)); } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ImPlotColormapScaleFlags flags) { fixed (byte* plabel = &label) { ColormapScale((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", flags, (ImPlotColormap)(-1)); } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, byte* format, ImPlotColormapScaleFlags flags) { fixed (byte* plabel = &label) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, flags, (ImPlotColormap)(-1)); } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormap cmap) { fixed (byte* plabel = &label) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, format, (ImPlotColormapScaleFlags)(0), cmap); } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormap cmap) { fixed (byte* plabel = &label) { ColormapScale((byte*)plabel, scaleMin, scaleMax, size, (string)"%g", (ImPlotColormapScaleFlags)(0), cmap); } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ImPlotColormap cmap) { fixed (byte* plabel = &label) { ColormapScale((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", (ImPlotColormapScaleFlags)(0), cmap); } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, byte* format, ImPlotColormap cmap) { fixed (byte* plabel = &label) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, (ImPlotColormapScaleFlags)(0), cmap); } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { fixed (byte* plabel = &label) { ColormapScale((byte*)plabel, scaleMin, scaleMax, size, (string)"%g", flags, cmap); } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { fixed (byte* plabel = &label) { ColormapScale((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", flags, cmap); } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, byte* format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { fixed (byte* plabel = &label) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, flags, cmap); } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { fixed (byte* plabel = label) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, format, flags, cmap); } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormapScaleFlags flags) { fixed (byte* plabel = label) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, format, flags, (ImPlotColormap)(-1)); } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, byte* format) { fixed (byte* plabel = label) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, format, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size) { fixed (byte* plabel = label) { ColormapScale((byte*)plabel, scaleMin, scaleMax, size, (string)"%g", (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax) { fixed (byte* plabel = label) { ColormapScale((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, byte* format) { fixed (byte* plabel = label) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormapScaleFlags flags) { fixed (byte* plabel = label) { ColormapScale((byte*)plabel, scaleMin, scaleMax, size, (string)"%g", flags, (ImPlotColormap)(-1)); } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ImPlotColormapScaleFlags flags) { fixed (byte* plabel = label) { ColormapScale((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", flags, (ImPlotColormap)(-1)); } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, byte* format, ImPlotColormapScaleFlags flags) { fixed (byte* plabel = label) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, flags, (ImPlotColormap)(-1)); } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormap cmap) { fixed (byte* plabel = label) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, format, (ImPlotColormapScaleFlags)(0), cmap); } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormap cmap) { fixed (byte* plabel = label) { ColormapScale((byte*)plabel, scaleMin, scaleMax, size, (string)"%g", (ImPlotColormapScaleFlags)(0), cmap); } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ImPlotColormap cmap) { fixed (byte* plabel = label) { ColormapScale((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", (ImPlotColormapScaleFlags)(0), cmap); } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, byte* format, ImPlotColormap cmap) { fixed (byte* plabel = label) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, (ImPlotColormapScaleFlags)(0), cmap); } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { fixed (byte* plabel = label) { ColormapScale((byte*)plabel, scaleMin, scaleMax, size, (string)"%g", flags, cmap); } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { fixed (byte* plabel = label) { ColormapScale((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", flags, cmap); } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, byte* format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { fixed (byte* plabel = label) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, flags, cmap); } } /// /// To be documented. /// public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScaleNative(pStr0, scaleMin, scaleMax, size, format, flags, cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormapScaleFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScaleNative(pStr0, scaleMin, scaleMax, size, format, flags, (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, byte* format) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScaleNative(pStr0, scaleMin, scaleMax, size, format, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScale(pStr0, scaleMin, scaleMax, size, (string)"%g", (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(string label, double scaleMin, double scaleMax) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScale(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(string label, double scaleMin, double scaleMax, byte* format) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormapScaleFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScale(pStr0, scaleMin, scaleMax, size, (string)"%g", flags, (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(string label, double scaleMin, double scaleMax, ImPlotColormapScaleFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScale(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", flags, (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(string label, double scaleMin, double scaleMax, byte* format, ImPlotColormapScaleFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, flags, (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormap cmap) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScaleNative(pStr0, scaleMin, scaleMax, size, format, (ImPlotColormapScaleFlags)(0), cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormap cmap) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScale(pStr0, scaleMin, scaleMax, size, (string)"%g", (ImPlotColormapScaleFlags)(0), cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(string label, double scaleMin, double scaleMax, ImPlotColormap cmap) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScale(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", (ImPlotColormapScaleFlags)(0), cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(string label, double scaleMin, double scaleMax, byte* format, ImPlotColormap cmap) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, (ImPlotColormapScaleFlags)(0), cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScale(pStr0, scaleMin, scaleMax, size, (string)"%g", flags, cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(string label, double scaleMin, double scaleMax, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScale(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", flags, cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(string label, double scaleMin, double scaleMax, byte* format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, flags, cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { fixed (byte* pformat = &format) { ColormapScaleNative(label, scaleMin, scaleMax, size, (byte*)pformat, flags, cmap); } } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormapScaleFlags flags) { fixed (byte* pformat = &format) { ColormapScaleNative(label, scaleMin, scaleMax, size, (byte*)pformat, flags, (ImPlotColormap)(-1)); } } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ref byte format) { fixed (byte* pformat = &format) { ColormapScaleNative(label, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); } } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ref byte format) { fixed (byte* pformat = &format) { ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); } } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ref byte format, ImPlotColormapScaleFlags flags) { fixed (byte* pformat = &format) { ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, (ImPlotColormap)(-1)); } } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormap cmap) { fixed (byte* pformat = &format) { ColormapScaleNative(label, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); } } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ref byte format, ImPlotColormap cmap) { fixed (byte* pformat = &format) { ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); } } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ref byte format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { fixed (byte* pformat = &format) { ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, cmap); } } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { fixed (byte* pformat = format) { ColormapScaleNative(label, scaleMin, scaleMax, size, (byte*)pformat, flags, cmap); } } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormapScaleFlags flags) { fixed (byte* pformat = format) { ColormapScaleNative(label, scaleMin, scaleMax, size, (byte*)pformat, flags, (ImPlotColormap)(-1)); } } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format) { fixed (byte* pformat = format) { ColormapScaleNative(label, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); } } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ReadOnlySpan format) { fixed (byte* pformat = format) { ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); } } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormapScaleFlags flags) { fixed (byte* pformat = format) { ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, (ImPlotColormap)(-1)); } } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormap cmap) { fixed (byte* pformat = format) { ColormapScaleNative(label, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); } } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormap cmap) { fixed (byte* pformat = format) { ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); } } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { fixed (byte* pformat = format) { ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, cmap); } } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScaleNative(label, scaleMin, scaleMax, size, pStr0, flags, cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormapScaleFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScaleNative(label, scaleMin, scaleMax, size, pStr0, flags, (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, string format) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScaleNative(label, scaleMin, scaleMax, size, pStr0, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, string format) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, string format, ImPlotColormapScaleFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, flags, (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormap cmap) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScaleNative(label, scaleMin, scaleMax, size, pStr0, (ImPlotColormapScaleFlags)(0), cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, string format, ImPlotColormap cmap) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, (ImPlotColormapScaleFlags)(0), cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(byte* label, double scaleMin, double scaleMax, string format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, flags, cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { fixed (byte* plabel = &label) { fixed (byte* pformat = &format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, flags, cmap); } } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormapScaleFlags flags) { fixed (byte* plabel = &label) { fixed (byte* pformat = &format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, flags, (ImPlotColormap)(-1)); } } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ref byte format) { fixed (byte* plabel = &label) { fixed (byte* pformat = &format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); } } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ref byte format) { fixed (byte* plabel = &label) { fixed (byte* pformat = &format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); } } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ref byte format, ImPlotColormapScaleFlags flags) { fixed (byte* plabel = &label) { fixed (byte* pformat = &format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, (ImPlotColormap)(-1)); } } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormap cmap) { fixed (byte* plabel = &label) { fixed (byte* pformat = &format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); } } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ref byte format, ImPlotColormap cmap) { fixed (byte* plabel = &label) { fixed (byte* pformat = &format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); } } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ref byte format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { fixed (byte* plabel = &label) { fixed (byte* pformat = &format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, cmap); } } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { fixed (byte* plabel = label) { fixed (byte* pformat = format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, flags, cmap); } } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormapScaleFlags flags) { fixed (byte* plabel = label) { fixed (byte* pformat = format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, flags, (ImPlotColormap)(-1)); } } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format) { fixed (byte* plabel = label) { fixed (byte* pformat = format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); } } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ReadOnlySpan format) { fixed (byte* plabel = label) { fixed (byte* pformat = format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); } } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormapScaleFlags flags) { fixed (byte* plabel = label) { fixed (byte* pformat = format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, (ImPlotColormap)(-1)); } } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormap cmap) { fixed (byte* plabel = label) { fixed (byte* pformat = format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); } } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormap cmap) { fixed (byte* plabel = label) { fixed (byte* pformat = format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); } } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { fixed (byte* plabel = label) { fixed (byte* pformat = format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, cmap); } } } /// /// To be documented. /// public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte* pStr1 = null; int pStrSize1 = 0; if (format != null) { pStrSize1 = Utils.GetByteCountUTF8(format); if (pStrSize1 >= Utils.MaxStackallocSize) { pStr1 = Utils.Alloc(pStrSize1 + 1); } else { byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; pStr1 = pStrStack1; } int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); pStr1[pStrOffset1] = 0; } ColormapScaleNative(pStr0, scaleMin, scaleMax, size, pStr1, flags, cmap); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormapScaleFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte* pStr1 = null; int pStrSize1 = 0; if (format != null) { pStrSize1 = Utils.GetByteCountUTF8(format); if (pStrSize1 >= Utils.MaxStackallocSize) { pStr1 = Utils.Alloc(pStrSize1 + 1); } else { byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; pStr1 = pStrStack1; } int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); pStr1[pStrOffset1] = 0; } ColormapScaleNative(pStr0, scaleMin, scaleMax, size, pStr1, flags, (ImPlotColormap)(-1)); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, string format) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte* pStr1 = null; int pStrSize1 = 0; if (format != null) { pStrSize1 = Utils.GetByteCountUTF8(format); if (pStrSize1 >= Utils.MaxStackallocSize) { pStr1 = Utils.Alloc(pStrSize1 + 1); } else { byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; pStr1 = pStrStack1; } int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); pStr1[pStrOffset1] = 0; } ColormapScaleNative(pStr0, scaleMin, scaleMax, size, pStr1, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(string label, double scaleMin, double scaleMax, string format) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte* pStr1 = null; int pStrSize1 = 0; if (format != null) { pStrSize1 = Utils.GetByteCountUTF8(format); if (pStrSize1 >= Utils.MaxStackallocSize) { pStr1 = Utils.Alloc(pStrSize1 + 1); } else { byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; pStr1 = pStrStack1; } int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); pStr1[pStrOffset1] = 0; } ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr1, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(string label, double scaleMin, double scaleMax, string format, ImPlotColormapScaleFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte* pStr1 = null; int pStrSize1 = 0; if (format != null) { pStrSize1 = Utils.GetByteCountUTF8(format); if (pStrSize1 >= Utils.MaxStackallocSize) { pStr1 = Utils.Alloc(pStrSize1 + 1); } else { byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; pStr1 = pStrStack1; } int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); pStr1[pStrOffset1] = 0; } ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr1, flags, (ImPlotColormap)(-1)); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormap cmap) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte* pStr1 = null; int pStrSize1 = 0; if (format != null) { pStrSize1 = Utils.GetByteCountUTF8(format); if (pStrSize1 >= Utils.MaxStackallocSize) { pStr1 = Utils.Alloc(pStrSize1 + 1); } else { byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; pStr1 = pStrStack1; } int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); pStr1[pStrOffset1] = 0; } ColormapScaleNative(pStr0, scaleMin, scaleMax, size, pStr1, (ImPlotColormapScaleFlags)(0), cmap); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(string label, double scaleMin, double scaleMax, string format, ImPlotColormap cmap) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte* pStr1 = null; int pStrSize1 = 0; if (format != null) { pStrSize1 = Utils.GetByteCountUTF8(format); if (pStrSize1 >= Utils.MaxStackallocSize) { pStr1 = Utils.Alloc(pStrSize1 + 1); } else { byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; pStr1 = pStrStack1; } int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); pStr1[pStrOffset1] = 0; } ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr1, (ImPlotColormapScaleFlags)(0), cmap); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(string label, double scaleMin, double scaleMax, string format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { byte* pStr0 = null; int pStrSize0 = 0; if (label != null) { pStrSize0 = Utils.GetByteCountUTF8(label); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte* pStr1 = null; int pStrSize1 = 0; if (format != null) { pStrSize1 = Utils.GetByteCountUTF8(format); if (pStrSize1 >= Utils.MaxStackallocSize) { pStr1 = Utils.Alloc(pStrSize1 + 1); } else { byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; pStr1 = pStrStack1; } int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); pStr1[pStrOffset1] = 0; } ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr1, flags, cmap); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { fixed (byte* plabel = &label) { fixed (byte* pformat = format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, flags, cmap); } } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormapScaleFlags flags) { fixed (byte* plabel = &label) { fixed (byte* pformat = format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, flags, (ImPlotColormap)(-1)); } } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format) { fixed (byte* plabel = &label) { fixed (byte* pformat = format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); } } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ReadOnlySpan format) { fixed (byte* plabel = &label) { fixed (byte* pformat = format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); } } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormapScaleFlags flags) { fixed (byte* plabel = &label) { fixed (byte* pformat = format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, (ImPlotColormap)(-1)); } } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormap cmap) { fixed (byte* plabel = &label) { fixed (byte* pformat = format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); } } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormap cmap) { fixed (byte* plabel = &label) { fixed (byte* pformat = format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); } } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { fixed (byte* plabel = &label) { fixed (byte* pformat = format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, cmap); } } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { fixed (byte* plabel = &label) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, pStr0, flags, cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormapScaleFlags flags) { fixed (byte* plabel = &label) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, pStr0, flags, (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, string format) { fixed (byte* plabel = &label) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, pStr0, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, string format) { fixed (byte* plabel = &label) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, string format, ImPlotColormapScaleFlags flags) { fixed (byte* plabel = &label) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, flags, (ImPlotColormap)(-1)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormap cmap) { fixed (byte* plabel = &label) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, pStr0, (ImPlotColormapScaleFlags)(0), cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, string format, ImPlotColormap cmap) { fixed (byte* plabel = &label) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, (ImPlotColormapScaleFlags)(0), cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, string format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { fixed (byte* plabel = &label) { byte* pStr0 = null; int pStrSize0 = 0; if (format != null) { pStrSize0 = Utils.GetByteCountUTF8(format); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, flags, cmap); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { fixed (byte* plabel = label) { fixed (byte* pformat = &format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, flags, cmap); } } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormapScaleFlags flags) { fixed (byte* plabel = label) { fixed (byte* pformat = &format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, flags, (ImPlotColormap)(-1)); } } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ref byte format) { fixed (byte* plabel = label) { fixed (byte* pformat = &format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); } } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ref byte format) { fixed (byte* plabel = label) { fixed (byte* pformat = &format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); } } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ref byte format, ImPlotColormapScaleFlags flags) { fixed (byte* plabel = label) { fixed (byte* pformat = &format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, (ImPlotColormap)(-1)); } } } /// /// To be documented. /// public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormap cmap) { fixed (byte* plabel = label) { fixed (byte* pformat = &format) { ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); } } } } }