Dalamud/imgui/Dalamud.Bindings.ImPlot/Generated/Functions/Functions.116.cs
2025-04-06 21:08:34 +02:00

5023 lines
149 KiB
C#

// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
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
{
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref byte values, int count, int bins, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref byte values, int count, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref byte values, int count, double barScale, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref byte values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, bins, (double)(1.0), range, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref byte values, int count, ImPlotRange range, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref byte values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static double PlotHistogramNative(byte* labelId, short* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl]<byte*, short*, int, int, double, ImPlotRange, ImPlotHistogramFlags, double>)funcTable[229])(labelId, values, count, bins, barScale, range, flags);
#else
return (double)((delegate* unmanaged[Cdecl]<nint, nint, int, int, double, ImPlotRange, ImPlotHistogramFlags, double>)funcTable[229])((nint)labelId, (nint)values, count, bins, barScale, range, flags);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, short* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, flags);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, short* values, int count, int bins, double barScale, ImPlotRange range)
{
double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, short* values, int count, int bins, double barScale)
{
double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, short* values, int count, int bins)
{
double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, short* values, int count)
{
double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, short* values, int count, double barScale)
{
double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, short* values, int count, int bins, ImPlotRange range)
{
double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, short* values, int count, ImPlotRange range)
{
double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, short* values, int count, double barScale, ImPlotRange range)
{
double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, short* values, int count, int bins, double barScale, ImPlotHistogramFlags flags)
{
double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, short* values, int count, int bins, ImPlotHistogramFlags flags)
{
double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, short* values, int count, ImPlotHistogramFlags flags)
{
double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, short* values, int count, double barScale, ImPlotHistogramFlags flags)
{
double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, short* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags)
{
double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, flags);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, short* values, int count, ImPlotRange range, ImPlotHistogramFlags flags)
{
double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, short* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, short* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, short* values, int count, int bins, double barScale, ImPlotRange range)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, short* values, int count, int bins, double barScale)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, short* values, int count, int bins)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, short* values, int count)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, short* values, int count, double barScale)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, short* values, int count, int bins, ImPlotRange range)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, short* values, int count, ImPlotRange range)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, short* values, int count, double barScale, ImPlotRange range)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, short* values, int count, int bins, double barScale, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, short* values, int count, int bins, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, short* values, int count, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, short* values, int count, double barScale, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, short* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, short* values, int count, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, short* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, short* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, short* values, int count, int bins, double barScale, ImPlotRange range)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, short* values, int count, int bins, double barScale)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, short* values, int count, int bins)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, short* values, int count)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, short* values, int count, double barScale)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, short* values, int count, int bins, ImPlotRange range)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, short* values, int count, ImPlotRange range)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, short* values, int count, double barScale, ImPlotRange range)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, short* values, int count, int bins, double barScale, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, short* values, int count, int bins, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, short* values, int count, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, short* values, int count, double barScale, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, short* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, short* values, int count, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, short* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, short* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, short* values, int count, int bins, double barScale, ImPlotRange range)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, short* values, int count, int bins, double barScale)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, short* values, int count, int bins)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, short* values, int count)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, short* values, int count, double barScale)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, short* values, int count, int bins, ImPlotRange range)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, short* values, int count, ImPlotRange range)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, short* values, int count, double barScale, ImPlotRange range)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, short* values, int count, int bins, double barScale, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, short* values, int count, int bins, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, short* values, int count, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, short* values, int count, double barScale, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, short* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, short* values, int count, ImPlotRange range, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, short* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref short values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (short*)pvalues, count, bins, barScale, range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref short values, int count, int bins, double barScale, ImPlotRange range)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (short*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref short values, int count, int bins, double barScale)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (short*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref short values, int count, int bins)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (short*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref short values, int count)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref short values, int count, double barScale)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref short values, int count, int bins, ImPlotRange range)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (short*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref short values, int count, ImPlotRange range)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref short values, int count, double barScale, ImPlotRange range)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref short values, int count, int bins, double barScale, ImPlotHistogramFlags flags)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (short*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref short values, int count, int bins, ImPlotHistogramFlags flags)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (short*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref short values, int count, ImPlotHistogramFlags flags)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref short values, int count, double barScale, ImPlotHistogramFlags flags)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref short values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (short*)pvalues, count, bins, (double)(1.0), range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref short values, int count, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref short values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref short values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, barScale, range, flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref short values, int count, int bins, double barScale, ImPlotRange range)
{
fixed (byte* plabelId = &labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref short values, int count, int bins, double barScale)
{
fixed (byte* plabelId = &labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref short values, int count, int bins)
{
fixed (byte* plabelId = &labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref short values, int count)
{
fixed (byte* plabelId = &labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref short values, int count, double barScale)
{
fixed (byte* plabelId = &labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref short values, int count, int bins, ImPlotRange range)
{
fixed (byte* plabelId = &labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref short values, int count, ImPlotRange range)
{
fixed (byte* plabelId = &labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref short values, int count, double barScale, ImPlotRange range)
{
fixed (byte* plabelId = &labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref short values, int count, int bins, double barScale, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref short values, int count, int bins, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref short values, int count, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref short values, int count, double barScale, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref short values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, (double)(1.0), range, flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref short values, int count, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref short values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref short values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, barScale, range, flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref short values, int count, int bins, double barScale, ImPlotRange range)
{
fixed (byte* plabelId = labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref short values, int count, int bins, double barScale)
{
fixed (byte* plabelId = labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref short values, int count, int bins)
{
fixed (byte* plabelId = labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref short values, int count)
{
fixed (byte* plabelId = labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref short values, int count, double barScale)
{
fixed (byte* plabelId = labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref short values, int count, int bins, ImPlotRange range)
{
fixed (byte* plabelId = labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref short values, int count, ImPlotRange range)
{
fixed (byte* plabelId = labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref short values, int count, double barScale, ImPlotRange range)
{
fixed (byte* plabelId = labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref short values, int count, int bins, double barScale, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref short values, int count, int bins, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref short values, int count, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref short values, int count, double barScale, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref short values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, (double)(1.0), range, flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref short values, int count, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref short values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref short values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, bins, barScale, range, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref short values, int count, int bins, double barScale, ImPlotRange range)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref short values, int count, int bins, double barScale)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref short values, int count, int bins)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref short values, int count)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref short values, int count, double barScale)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref short values, int count, int bins, ImPlotRange range)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref short values, int count, ImPlotRange range)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref short values, int count, double barScale, ImPlotRange range)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref short values, int count, int bins, double barScale, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref short values, int count, int bins, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref short values, int count, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref short values, int count, double barScale, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref short values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, bins, (double)(1.0), range, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref short values, int count, ImPlotRange range, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref short values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (short* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static double PlotHistogramNative(byte* labelId, ushort* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl]<byte*, ushort*, int, int, double, ImPlotRange, ImPlotHistogramFlags, double>)funcTable[230])(labelId, values, count, bins, barScale, range, flags);
#else
return (double)((delegate* unmanaged[Cdecl]<nint, nint, int, int, double, ImPlotRange, ImPlotHistogramFlags, double>)funcTable[230])((nint)labelId, (nint)values, count, bins, barScale, range, flags);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ushort* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, flags);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ushort* values, int count, int bins, double barScale, ImPlotRange range)
{
double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ushort* values, int count, int bins, double barScale)
{
double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ushort* values, int count, int bins)
{
double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ushort* values, int count)
{
double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ushort* values, int count, double barScale)
{
double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ushort* values, int count, int bins, ImPlotRange range)
{
double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ushort* values, int count, ImPlotRange range)
{
double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ushort* values, int count, double barScale, ImPlotRange range)
{
double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ushort* values, int count, int bins, double barScale, ImPlotHistogramFlags flags)
{
double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ushort* values, int count, int bins, ImPlotHistogramFlags flags)
{
double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ushort* values, int count, ImPlotHistogramFlags flags)
{
double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ushort* values, int count, double barScale, ImPlotHistogramFlags flags)
{
double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ushort* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags)
{
double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, flags);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ushort* values, int count, ImPlotRange range, ImPlotHistogramFlags flags)
{
double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ushort* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ushort* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ushort* values, int count, int bins, double barScale, ImPlotRange range)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ushort* values, int count, int bins, double barScale)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ushort* values, int count, int bins)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ushort* values, int count)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ushort* values, int count, double barScale)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ushort* values, int count, int bins, ImPlotRange range)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ushort* values, int count, ImPlotRange range)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ushort* values, int count, double barScale, ImPlotRange range)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ushort* values, int count, int bins, double barScale, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ushort* values, int count, int bins, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ushort* values, int count, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ushort* values, int count, double barScale, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ushort* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ushort* values, int count, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ushort* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ushort* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ushort* values, int count, int bins, double barScale, ImPlotRange range)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ushort* values, int count, int bins, double barScale)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ushort* values, int count, int bins)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ushort* values, int count)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ushort* values, int count, double barScale)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ushort* values, int count, int bins, ImPlotRange range)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ushort* values, int count, ImPlotRange range)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ushort* values, int count, double barScale, ImPlotRange range)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ushort* values, int count, int bins, double barScale, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ushort* values, int count, int bins, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ushort* values, int count, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ushort* values, int count, double barScale, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ushort* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ushort* values, int count, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ushort* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ushort* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ushort* values, int count, int bins, double barScale, ImPlotRange range)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ushort* values, int count, int bins, double barScale)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ushort* values, int count, int bins)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ushort* values, int count)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ushort* values, int count, double barScale)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ushort* values, int count, int bins, ImPlotRange range)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ushort* values, int count, ImPlotRange range)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ushort* values, int count, double barScale, ImPlotRange range)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ushort* values, int count, int bins, double barScale, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ushort* values, int count, int bins, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ushort* values, int count, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ushort* values, int count, double barScale, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ushort* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ushort* values, int count, ImPlotRange range, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ushort* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref ushort values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, bins, barScale, range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref ushort values, int count, int bins, double barScale, ImPlotRange range)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref ushort values, int count, int bins, double barScale)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref ushort values, int count, int bins)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref ushort values, int count)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref ushort values, int count, double barScale)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref ushort values, int count, int bins, ImPlotRange range)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref ushort values, int count, ImPlotRange range)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref ushort values, int count, double barScale, ImPlotRange range)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref ushort values, int count, int bins, double barScale, ImPlotHistogramFlags flags)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref ushort values, int count, int bins, ImPlotHistogramFlags flags)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref ushort values, int count, ImPlotHistogramFlags flags)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref ushort values, int count, double barScale, ImPlotHistogramFlags flags)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref ushort values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, bins, (double)(1.0), range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref ushort values, int count, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, ref ushort values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref ushort values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, barScale, range, flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref ushort values, int count, int bins, double barScale, ImPlotRange range)
{
fixed (byte* plabelId = &labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref ushort values, int count, int bins, double barScale)
{
fixed (byte* plabelId = &labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref ushort values, int count, int bins)
{
fixed (byte* plabelId = &labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref ushort values, int count)
{
fixed (byte* plabelId = &labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref ushort values, int count, double barScale)
{
fixed (byte* plabelId = &labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref ushort values, int count, int bins, ImPlotRange range)
{
fixed (byte* plabelId = &labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref ushort values, int count, ImPlotRange range)
{
fixed (byte* plabelId = &labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref ushort values, int count, double barScale, ImPlotRange range)
{
fixed (byte* plabelId = &labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref ushort values, int count, int bins, double barScale, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref ushort values, int count, int bins, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref ushort values, int count, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref ushort values, int count, double barScale, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref ushort values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, (double)(1.0), range, flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref ushort values, int count, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, ref ushort values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref ushort values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, barScale, range, flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref ushort values, int count, int bins, double barScale, ImPlotRange range)
{
fixed (byte* plabelId = labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref ushort values, int count, int bins, double barScale)
{
fixed (byte* plabelId = labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref ushort values, int count, int bins)
{
fixed (byte* plabelId = labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref ushort values, int count)
{
fixed (byte* plabelId = labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref ushort values, int count, double barScale)
{
fixed (byte* plabelId = labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref ushort values, int count, int bins, ImPlotRange range)
{
fixed (byte* plabelId = labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref ushort values, int count, ImPlotRange range)
{
fixed (byte* plabelId = labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref ushort values, int count, double barScale, ImPlotRange range)
{
fixed (byte* plabelId = labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref ushort values, int count, int bins, double barScale, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref ushort values, int count, int bins, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref ushort values, int count, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref ushort values, int count, double barScale, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref ushort values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, (double)(1.0), range, flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref ushort values, int count, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, ref ushort values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref ushort values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, bins, barScale, range, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref ushort values, int count, int bins, double barScale, ImPlotRange range)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref ushort values, int count, int bins, double barScale)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref ushort values, int count, int bins)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref ushort values, int count)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref ushort values, int count, double barScale)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref ushort values, int count, int bins, ImPlotRange range)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref ushort values, int count, ImPlotRange range)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref ushort values, int count, double barScale, ImPlotRange range)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref ushort values, int count, int bins, double barScale, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref ushort values, int count, int bins, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref ushort values, int count, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref ushort values, int count, double barScale, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref ushort values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, bins, (double)(1.0), range, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref ushort values, int count, ImPlotRange range, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(string labelId, ref ushort values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (ushort* pvalues = &values)
{
double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static double PlotHistogramNative(byte* labelId, int* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl]<byte*, int*, int, int, double, ImPlotRange, ImPlotHistogramFlags, double>)funcTable[231])(labelId, values, count, bins, barScale, range, flags);
#else
return (double)((delegate* unmanaged[Cdecl]<nint, nint, int, int, double, ImPlotRange, ImPlotHistogramFlags, double>)funcTable[231])((nint)labelId, (nint)values, count, bins, barScale, range, flags);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, int* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, flags);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, int* values, int count, int bins, double barScale, ImPlotRange range)
{
double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, int* values, int count, int bins, double barScale)
{
double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, int* values, int count, int bins)
{
double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, int* values, int count)
{
double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, int* values, int count, double barScale)
{
double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, int* values, int count, int bins, ImPlotRange range)
{
double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, int* values, int count, ImPlotRange range)
{
double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, int* values, int count, double barScale, ImPlotRange range)
{
double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, int* values, int count, int bins, double barScale, ImPlotHistogramFlags flags)
{
double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, int* values, int count, int bins, ImPlotHistogramFlags flags)
{
double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, int* values, int count, ImPlotHistogramFlags flags)
{
double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, int* values, int count, double barScale, ImPlotHistogramFlags flags)
{
double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, int* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags)
{
double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, flags);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, int* values, int count, ImPlotRange range, ImPlotHistogramFlags flags)
{
double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(byte* labelId, int* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, int* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, int* values, int count, int bins, double barScale, ImPlotRange range)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, int* values, int count, int bins, double barScale)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, int* values, int count, int bins)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, int* values, int count)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, int* values, int count, double barScale)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, int* values, int count, int bins, ImPlotRange range)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, int* values, int count, ImPlotRange range)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, int* values, int count, double barScale, ImPlotRange range)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0));
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, int* values, int count, int bins, double barScale, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, int* values, int count, int bins, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, int* values, int count, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, int* values, int count, double barScale, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, int* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, int* values, int count, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ref byte labelId, int* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = &labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static double PlotHistogram(ReadOnlySpan<byte> labelId, int* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags)
{
fixed (byte* plabelId = labelId)
{
double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags);
return ret;
}
}
}
}