// ------------------------------------------------------------------------------
//
// 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 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[289])();
#else
((delegate* unmanaged[Cdecl])funcTable[289])();
#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[290])(labelId);
#else
return (byte)((delegate* unmanaged[Cdecl])funcTable[290])((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[291])();
#else
return (byte)((delegate* unmanaged[Cdecl])funcTable[291])();
#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[292])(axis);
#else
return (byte)((delegate* unmanaged[Cdecl])funcTable[292])(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[293])();
#else
return (byte)((delegate* unmanaged[Cdecl])funcTable[293])();
#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[294])();
#else
((delegate* unmanaged[Cdecl])funcTable[294])();
#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[295])(flags);
#else
return (byte)((delegate* unmanaged[Cdecl])funcTable[295])(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[296])(axis, flags);
#else
return (byte)((delegate* unmanaged[Cdecl])funcTable[296])(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[297])(labelId, flags);
#else
return (byte)((delegate* unmanaged[Cdecl])funcTable[297])((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[298])();
#else
((delegate* unmanaged[Cdecl])funcTable[298])();
#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[299])();
#else
return (ImPlotStyle*)((delegate* unmanaged[Cdecl])funcTable[299])();
#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[300])(dst);
#else
((delegate* unmanaged[Cdecl])funcTable[300])((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[301])(dst);
#else
((delegate* unmanaged[Cdecl])funcTable[301])((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[302])(dst);
#else
((delegate* unmanaged[Cdecl])funcTable[302])((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[303])(dst);
#else
((delegate* unmanaged[Cdecl])funcTable[303])((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[304])(idx, col);
#else
((delegate* unmanaged[Cdecl])funcTable[304])(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[305])(idx, col);
#else
((delegate* unmanaged[Cdecl])funcTable[305])(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[306])(count);
#else
((delegate* unmanaged[Cdecl])funcTable[306])(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[307])(idx, val);
#else
((delegate* unmanaged[Cdecl])funcTable[307])(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[308])(idx, val);
#else
((delegate* unmanaged[Cdecl])funcTable[308])(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[309])(idx, val);
#else
((delegate* unmanaged[Cdecl])funcTable[309])(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[310])(count);
#else
((delegate* unmanaged[Cdecl])funcTable[310])(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[311])(col, weight);
#else
((delegate* unmanaged[Cdecl])funcTable[311])(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[312])(col, alphaMod);
#else
((delegate* unmanaged[Cdecl])funcTable[312])(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[313])(marker, size, fill, weight, outline);
#else
((delegate* unmanaged[Cdecl])funcTable[313])(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[314])(col, size, weight);
#else
((delegate* unmanaged[Cdecl])funcTable[314])(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[315])(pOut);
#else
((delegate* unmanaged[Cdecl])funcTable[315])((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[316])(idx);
#else
return (byte*)((delegate* unmanaged[Cdecl])funcTable[316])(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[317])(idx);
#else
return (byte*)((delegate* unmanaged[Cdecl])funcTable[317])(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[318])(name, cols, size, qual);
#else
return (ImPlotColormap)((delegate* unmanaged[Cdecl])funcTable[318])((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[319])(name, cols, size, qual);
#else
return (ImPlotColormap)((delegate* unmanaged[Cdecl])funcTable[319])((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.
///
public static ImPlotColormap AddColormap(byte* name, ref uint cols, int size, bool qual)
{
fixed (uint* pcols = &cols)
{
ImPlotColormap ret = AddColormapNative(name, (uint*)pcols, size, qual ? (byte)1 : (byte)0);
return ret;
}
}
///
/// To be documented.
///
public static ImPlotColormap AddColormap(byte* name, ref uint cols, int size)
{
fixed (uint* pcols = &cols)
{
ImPlotColormap ret = AddColormapNative(name, (uint*)pcols, size, (byte)(1));
return ret;
}
}
///
/// To be documented.
///
public static ImPlotColormap AddColormap(ref byte name, ref uint cols, int size, bool qual)
{
fixed (byte* pname = &name)
{
fixed (uint* pcols = &cols)
{
ImPlotColormap ret = AddColormapNative((byte*)pname, (uint*)pcols, size, qual ? (byte)1 : (byte)0);
return ret;
}
}
}
///
/// To be documented.
///
public static ImPlotColormap AddColormap(ref byte name, ref uint cols, int size)
{
fixed (byte* pname = &name)
{
fixed (uint* pcols = &cols)
{
ImPlotColormap ret = AddColormapNative((byte*)pname, (uint*)pcols, size, (byte)(1));
return ret;
}
}
}
///
/// To be documented.
///
public static ImPlotColormap AddColormap(ReadOnlySpan name, ref uint cols, int size, bool qual)
{
fixed (byte* pname = name)
{
fixed (uint* pcols = &cols)
{
ImPlotColormap ret = AddColormapNative((byte*)pname, (uint*)pcols, size, qual ? (byte)1 : (byte)0);
return ret;
}
}
}
///
/// To be documented.
///
public static ImPlotColormap AddColormap(ReadOnlySpan name, ref uint cols, int size)
{
fixed (byte* pname = name)
{
fixed (uint* pcols = &cols)
{
ImPlotColormap ret = AddColormapNative((byte*)pname, (uint*)pcols, size, (byte)(1));
return ret;
}
}
}
///
/// To be documented.
///
public static ImPlotColormap AddColormap(string name, ref 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;
}
fixed (uint* pcols = &cols)
{
ImPlotColormap ret = AddColormapNative(pStr0, (uint*)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 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;
}
fixed (uint* pcols = &cols)
{
ImPlotColormap ret = AddColormapNative(pStr0, (uint*)pcols, 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[320])();
#else
return (int)((delegate* unmanaged[Cdecl])funcTable[320])();
#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[321])(cmap);
#else
return (byte*)((delegate* unmanaged[Cdecl])funcTable[321])(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[322])(name);
#else
return (ImPlotColormap)((delegate* unmanaged[Cdecl])funcTable[322])((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[323])(cmap);
#else
((delegate* unmanaged[Cdecl])funcTable[323])(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[324])(name);
#else
((delegate* unmanaged[Cdecl])funcTable[324])((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[325])(count);
#else
((delegate* unmanaged[Cdecl])funcTable[325])(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[326])(pOut);
#else
((delegate* unmanaged[Cdecl])funcTable[326])((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[327])(cmap);
#else
return (int)((delegate* unmanaged[Cdecl])funcTable[327])(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[328])(pOut, idx, cmap);
#else
((delegate* unmanaged[Cdecl])funcTable[328])((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[329])(pOut, t, cmap);
#else
((delegate* unmanaged[Cdecl])funcTable[329])((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[330])(label, scaleMin, scaleMax, size, format, flags, cmap);
#else
((delegate* unmanaged[Cdecl])funcTable[330])((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);
}
}
}
///
/// To be documented.
///
public static void ColormapScale(ReadOnlySpan 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(ReadOnlySpan 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, 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(ReadOnlySpan 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(ReadOnlySpan 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(ReadOnlySpan 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(ReadOnlySpan 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(ReadOnlySpan 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(ReadOnlySpan 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(ReadOnlySpan 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);
}
}
}
}
}