// ------------------------------------------------------------------------------ // // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // // ------------------------------------------------------------------------------ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using HexaGen.Runtime; using System.Numerics; using Dalamud.Bindings.ImGui; namespace Dalamud.Bindings.ImPlot { public unsafe partial class ImPlot { /// /// To be documented. /// public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, byte* textBegin, ref byte textEnd) { fixed (ImDrawList* pdrawList = &drawList) { fixed (byte* ptextEnd = &textEnd) { AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, textBegin, (byte*)ptextEnd); } } } /// /// To be documented. /// public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, byte* textBegin, ReadOnlySpan textEnd) { fixed (ImDrawList* pdrawList = &drawList) { fixed (byte* ptextEnd = textEnd) { AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, textBegin, (byte*)ptextEnd); } } } /// /// To be documented. /// public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, byte* textBegin, string textEnd) { fixed (ImDrawList* pdrawList = &drawList) { byte* pStr0 = null; int pStrSize0 = 0; if (textEnd != null) { pStrSize0 = Utils.GetByteCountUTF8(textEnd); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, textBegin, pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, ref byte textBegin, ref byte textEnd) { fixed (byte* ptextBegin = &textBegin) { fixed (byte* ptextEnd = &textEnd) { AddTextCenteredNative(drawList, topCenter, col, (byte*)ptextBegin, (byte*)ptextEnd); } } } /// /// To be documented. /// public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) { fixed (byte* ptextBegin = textBegin) { fixed (byte* ptextEnd = textEnd) { AddTextCenteredNative(drawList, topCenter, col, (byte*)ptextBegin, (byte*)ptextEnd); } } } /// /// To be documented. /// public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, string textBegin, string textEnd) { byte* pStr0 = null; int pStrSize0 = 0; if (textBegin != null) { pStrSize0 = Utils.GetByteCountUTF8(textBegin); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte* pStr1 = null; int pStrSize1 = 0; if (textEnd != null) { pStrSize1 = Utils.GetByteCountUTF8(textEnd); if (pStrSize1 >= Utils.MaxStackallocSize) { pStr1 = Utils.Alloc(pStrSize1 + 1); } else { byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; pStr1 = pStrStack1; } int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); pStr1[pStrOffset1] = 0; } AddTextCenteredNative(drawList, topCenter, col, pStr0, pStr1); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, ref byte textBegin, ReadOnlySpan textEnd) { fixed (byte* ptextBegin = &textBegin) { fixed (byte* ptextEnd = textEnd) { AddTextCenteredNative(drawList, topCenter, col, (byte*)ptextBegin, (byte*)ptextEnd); } } } /// /// To be documented. /// public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, ref byte textBegin, string textEnd) { fixed (byte* ptextBegin = &textBegin) { byte* pStr0 = null; int pStrSize0 = 0; if (textEnd != null) { pStrSize0 = Utils.GetByteCountUTF8(textEnd); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } AddTextCenteredNative(drawList, topCenter, col, (byte*)ptextBegin, pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, ReadOnlySpan textBegin, ref byte textEnd) { fixed (byte* ptextBegin = textBegin) { fixed (byte* ptextEnd = &textEnd) { AddTextCenteredNative(drawList, topCenter, col, (byte*)ptextBegin, (byte*)ptextEnd); } } } /// /// To be documented. /// public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, ReadOnlySpan textBegin, string textEnd) { fixed (byte* ptextBegin = textBegin) { byte* pStr0 = null; int pStrSize0 = 0; if (textEnd != null) { pStrSize0 = Utils.GetByteCountUTF8(textEnd); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } AddTextCenteredNative(drawList, topCenter, col, (byte*)ptextBegin, pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, string textBegin, ref byte textEnd) { byte* pStr0 = null; int pStrSize0 = 0; if (textBegin != null) { pStrSize0 = Utils.GetByteCountUTF8(textBegin); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (byte* ptextEnd = &textEnd) { AddTextCenteredNative(drawList, topCenter, col, pStr0, (byte*)ptextEnd); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, string textBegin, ReadOnlySpan textEnd) { byte* pStr0 = null; int pStrSize0 = 0; if (textBegin != null) { pStrSize0 = Utils.GetByteCountUTF8(textBegin); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (byte* ptextEnd = textEnd) { AddTextCenteredNative(drawList, topCenter, col, pStr0, (byte*)ptextEnd); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, ref byte textBegin, ref byte textEnd) { fixed (ImDrawList* pdrawList = &drawList) { fixed (byte* ptextBegin = &textBegin) { fixed (byte* ptextEnd = &textEnd) { AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, (byte*)ptextBegin, (byte*)ptextEnd); } } } } /// /// To be documented. /// public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) { fixed (ImDrawList* pdrawList = &drawList) { fixed (byte* ptextBegin = textBegin) { fixed (byte* ptextEnd = textEnd) { AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, (byte*)ptextBegin, (byte*)ptextEnd); } } } } /// /// To be documented. /// public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, string textBegin, string textEnd) { fixed (ImDrawList* pdrawList = &drawList) { byte* pStr0 = null; int pStrSize0 = 0; if (textBegin != null) { pStrSize0 = Utils.GetByteCountUTF8(textBegin); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte* pStr1 = null; int pStrSize1 = 0; if (textEnd != null) { pStrSize1 = Utils.GetByteCountUTF8(textEnd); if (pStrSize1 >= Utils.MaxStackallocSize) { pStr1 = Utils.Alloc(pStrSize1 + 1); } else { byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; pStr1 = pStrStack1; } int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); pStr1[pStrOffset1] = 0; } AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, pStr0, pStr1); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, ref byte textBegin, ReadOnlySpan textEnd) { fixed (ImDrawList* pdrawList = &drawList) { fixed (byte* ptextBegin = &textBegin) { fixed (byte* ptextEnd = textEnd) { AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, (byte*)ptextBegin, (byte*)ptextEnd); } } } } /// /// To be documented. /// public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, ref byte textBegin, string textEnd) { fixed (ImDrawList* pdrawList = &drawList) { fixed (byte* ptextBegin = &textBegin) { byte* pStr0 = null; int pStrSize0 = 0; if (textEnd != null) { pStrSize0 = Utils.GetByteCountUTF8(textEnd); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, (byte*)ptextBegin, pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, ReadOnlySpan textBegin, ref byte textEnd) { fixed (ImDrawList* pdrawList = &drawList) { fixed (byte* ptextBegin = textBegin) { fixed (byte* ptextEnd = &textEnd) { AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, (byte*)ptextBegin, (byte*)ptextEnd); } } } } /// /// To be documented. /// public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, ReadOnlySpan textBegin, string textEnd) { fixed (ImDrawList* pdrawList = &drawList) { fixed (byte* ptextBegin = textBegin) { byte* pStr0 = null; int pStrSize0 = 0; if (textEnd != null) { pStrSize0 = Utils.GetByteCountUTF8(textEnd); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, (byte*)ptextBegin, pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, string textBegin, ref byte textEnd) { fixed (ImDrawList* pdrawList = &drawList) { byte* pStr0 = null; int pStrSize0 = 0; if (textBegin != null) { pStrSize0 = Utils.GetByteCountUTF8(textBegin); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (byte* ptextEnd = &textEnd) { AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, pStr0, (byte*)ptextEnd); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, string textBegin, ReadOnlySpan textEnd) { fixed (ImDrawList* pdrawList = &drawList) { byte* pStr0 = null; int pStrSize0 = 0; if (textBegin != null) { pStrSize0 = Utils.GetByteCountUTF8(textBegin); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (byte* ptextEnd = textEnd) { AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, pStr0, (byte*)ptextEnd); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void CalcTextSizeVerticalNative(Vector2* pOut, byte* text) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[656])(pOut, text); #else ((delegate* unmanaged[Cdecl])funcTable[656])((nint)pOut, (nint)text); #endif } /// /// To be documented. /// public static Vector2 CalcTextSizeVertical(byte* text) { Vector2 ret; CalcTextSizeVerticalNative(&ret, text); return ret; } /// /// To be documented. /// public static void CalcTextSizeVertical(Vector2* pOut, byte* text) { CalcTextSizeVerticalNative(pOut, text); } /// /// To be documented. /// public static void CalcTextSizeVertical(ref Vector2 pOut, byte* text) { fixed (Vector2* ppOut = &pOut) { CalcTextSizeVerticalNative((Vector2*)ppOut, text); } } /// /// To be documented. /// public static Vector2 CalcTextSizeVertical(ref byte text) { fixed (byte* ptext = &text) { Vector2 ret; CalcTextSizeVerticalNative(&ret, (byte*)ptext); return ret; } } /// /// To be documented. /// public static Vector2 CalcTextSizeVertical(ReadOnlySpan text) { fixed (byte* ptext = text) { Vector2 ret; CalcTextSizeVerticalNative(&ret, (byte*)ptext); return ret; } } /// /// To be documented. /// public static Vector2 CalcTextSizeVertical(string text) { byte* pStr0 = null; int pStrSize0 = 0; if (text != null) { pStrSize0 = Utils.GetByteCountUTF8(text); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } Vector2 ret; CalcTextSizeVerticalNative(&ret, pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static void CalcTextSizeVertical(ref Vector2 pOut, ref byte text) { fixed (Vector2* ppOut = &pOut) { fixed (byte* ptext = &text) { CalcTextSizeVerticalNative((Vector2*)ppOut, (byte*)ptext); } } } /// /// To be documented. /// public static void CalcTextSizeVertical(ref Vector2 pOut, ReadOnlySpan text) { fixed (Vector2* ppOut = &pOut) { fixed (byte* ptext = text) { CalcTextSizeVerticalNative((Vector2*)ppOut, (byte*)ptext); } } } /// /// To be documented. /// public static void CalcTextSizeVertical(ref Vector2 pOut, string text) { fixed (Vector2* ppOut = &pOut) { byte* pStr0 = null; int pStrSize0 = 0; if (text != null) { pStrSize0 = Utils.GetByteCountUTF8(text); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } CalcTextSizeVerticalNative((Vector2*)ppOut, pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static uint CalcTextColorNative(Vector4 bg) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[657])(bg); #else return (uint)((delegate* unmanaged[Cdecl])funcTable[657])(bg); #endif } /// /// To be documented. /// public static uint CalcTextColor(Vector4 bg) { uint ret = CalcTextColorNative(bg); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static uint CalcTextColorNative(uint bg) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[658])(bg); #else return (uint)((delegate* unmanaged[Cdecl])funcTable[658])(bg); #endif } /// /// To be documented. /// public static uint CalcTextColor(uint bg) { uint ret = CalcTextColorNative(bg); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static uint CalcHoverColorNative(uint col) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[659])(col); #else return (uint)((delegate* unmanaged[Cdecl])funcTable[659])(col); #endif } /// /// To be documented. /// public static uint CalcHoverColor(uint col) { uint ret = CalcHoverColorNative(col); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ClampLabelPosNative(Vector2* pOut, Vector2 pos, Vector2 size, Vector2 min, Vector2 max) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[660])(pOut, pos, size, min, max); #else ((delegate* unmanaged[Cdecl])funcTable[660])((nint)pOut, pos, size, min, max); #endif } /// /// To be documented. /// public static Vector2 ClampLabelPos(Vector2 pos, Vector2 size, Vector2 min, Vector2 max) { Vector2 ret; ClampLabelPosNative(&ret, pos, size, min, max); return ret; } /// /// To be documented. /// public static void ClampLabelPos(Vector2* pOut, Vector2 pos, Vector2 size, Vector2 min, Vector2 max) { ClampLabelPosNative(pOut, pos, size, min, max); } /// /// To be documented. /// public static void ClampLabelPos(ref Vector2 pOut, Vector2 pos, Vector2 size, Vector2 min, Vector2 max) { fixed (Vector2* ppOut = &pOut) { ClampLabelPosNative((Vector2*)ppOut, pos, size, min, max); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static uint GetColormapColorU32Native(int idx, ImPlotColormap cmap) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[661])(idx, cmap); #else return (uint)((delegate* unmanaged[Cdecl])funcTable[661])(idx, cmap); #endif } /// /// To be documented. /// public static uint GetColormapColorU32(int idx, ImPlotColormap cmap) { uint ret = GetColormapColorU32Native(idx, cmap); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static uint NextColormapColorU32Native() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[662])(); #else return (uint)((delegate* unmanaged[Cdecl])funcTable[662])(); #endif } /// /// To be documented. /// public static uint NextColormapColorU32() { uint ret = NextColormapColorU32Native(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static uint SampleColormapU32Native(float t, ImPlotColormap cmap) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[663])(t, cmap); #else return (uint)((delegate* unmanaged[Cdecl])funcTable[663])(t, cmap); #endif } /// /// To be documented. /// public static uint SampleColormapU32(float t, ImPlotColormap cmap) { uint ret = SampleColormapU32Native(t, cmap); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void RenderColorBarNative(uint* colors, int size, ImDrawList* drawList, ImRect bounds, byte vert, byte reversed, byte continuous) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[664])(colors, size, drawList, bounds, vert, reversed, continuous); #else ((delegate* unmanaged[Cdecl])funcTable[664])((nint)colors, size, (nint)drawList, bounds, vert, reversed, continuous); #endif } /// /// To be documented. /// public static void RenderColorBar(uint* colors, int size, ImDrawListPtr drawList, ImRect bounds, bool vert, bool reversed, bool continuous) { RenderColorBarNative(colors, size, drawList, bounds, vert ? (byte)1 : (byte)0, reversed ? (byte)1 : (byte)0, continuous ? (byte)1 : (byte)0); } /// /// To be documented. /// public static void RenderColorBar(uint* colors, int size, ref ImDrawList drawList, ImRect bounds, bool vert, bool reversed, bool continuous) { fixed (ImDrawList* pdrawList = &drawList) { RenderColorBarNative(colors, size, (ImDrawList*)pdrawList, bounds, vert ? (byte)1 : (byte)0, reversed ? (byte)1 : (byte)0, continuous ? (byte)1 : (byte)0); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double NiceNumNative(double x, byte round) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[665])(x, round); #else return (double)((delegate* unmanaged[Cdecl])funcTable[665])(x, round); #endif } /// /// To be documented. /// public static double NiceNum(double x, bool round) { double ret = NiceNumNative(x, round ? (byte)1 : (byte)0); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static int OrderOfMagnitudeNative(double val) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[666])(val); #else return (int)((delegate* unmanaged[Cdecl])funcTable[666])(val); #endif } /// /// To be documented. /// public static int OrderOfMagnitude(double val) { int ret = OrderOfMagnitudeNative(val); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static int OrderToPrecisionNative(int order) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[667])(order); #else return (int)((delegate* unmanaged[Cdecl])funcTable[667])(order); #endif } /// /// To be documented. /// public static int OrderToPrecision(int order) { int ret = OrderToPrecisionNative(order); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static int PrecisionNative(double val) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[668])(val); #else return (int)((delegate* unmanaged[Cdecl])funcTable[668])(val); #endif } /// /// To be documented. /// public static int Precision(double val) { int ret = PrecisionNative(val); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static double RoundToNative(double val, int prec) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[669])(val, prec); #else return (double)((delegate* unmanaged[Cdecl])funcTable[669])(val, prec); #endif } /// /// To be documented. /// public static double RoundTo(double val, int prec) { double ret = RoundToNative(val, prec); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void IntersectionNative(Vector2* pOut, Vector2 a1, Vector2 a2, Vector2 b1, Vector2 b2) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[670])(pOut, a1, a2, b1, b2); #else ((delegate* unmanaged[Cdecl])funcTable[670])((nint)pOut, a1, a2, b1, b2); #endif } /// /// To be documented. /// public static Vector2 Intersection(Vector2 a1, Vector2 a2, Vector2 b1, Vector2 b2) { Vector2 ret; IntersectionNative(&ret, a1, a2, b1, b2); return ret; } /// /// To be documented. /// public static void Intersection(Vector2* pOut, Vector2 a1, Vector2 a2, Vector2 b1, Vector2 b2) { IntersectionNative(pOut, a1, a2, b1, b2); } /// /// To be documented. /// public static void Intersection(ref Vector2 pOut, Vector2 a1, Vector2 a2, Vector2 b1, Vector2 b2) { fixed (Vector2* ppOut = &pOut) { IntersectionNative((Vector2*)ppOut, a1, a2, b1, b2); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void FillRangeNative(ImVector* buffer, int n, float vmin, float vmax) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl]*, int, float, float, void>)funcTable[671])(buffer, n, vmin, vmax); #else ((delegate* unmanaged[Cdecl])funcTable[671])((nint)buffer, n, vmin, vmax); #endif } /// /// To be documented. /// public static void FillRange(ImVector* buffer, int n, float vmin, float vmax) { FillRangeNative(buffer, n, vmin, vmax); } /// /// To be documented. /// public static void FillRange(ref ImVector buffer, int n, float vmin, float vmax) { fixed (ImVector* pbuffer = &buffer) { FillRangeNative((ImVector*)pbuffer, n, vmin, vmax); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void FillRangeNative(ImVector* buffer, int n, double vmin, double vmax) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl]*, int, double, double, void>)funcTable[672])(buffer, n, vmin, vmax); #else ((delegate* unmanaged[Cdecl])funcTable[672])((nint)buffer, n, vmin, vmax); #endif } /// /// To be documented. /// public static void FillRange(ImVector* buffer, int n, double vmin, double vmax) { FillRangeNative(buffer, n, vmin, vmax); } /// /// To be documented. /// public static void FillRange(ref ImVector buffer, int n, double vmin, double vmax) { fixed (ImVector* pbuffer = &buffer) { FillRangeNative((ImVector*)pbuffer, n, vmin, vmax); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void FillRangeNative(ImVector* buffer, int n, sbyte vmin, sbyte vmax) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl]*, int, sbyte, sbyte, void>)funcTable[673])(buffer, n, vmin, vmax); #else ((delegate* unmanaged[Cdecl])funcTable[673])((nint)buffer, n, vmin, vmax); #endif } /// /// To be documented. /// public static void FillRange(ImVector* buffer, int n, sbyte vmin, sbyte vmax) { FillRangeNative(buffer, n, vmin, vmax); } /// /// To be documented. /// public static void FillRange(ref ImVector buffer, int n, sbyte vmin, sbyte vmax) { fixed (ImVector* pbuffer = &buffer) { FillRangeNative((ImVector*)pbuffer, n, vmin, vmax); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void FillRangeNative(ImVector* buffer, int n, byte vmin, byte vmax) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl]*, int, byte, byte, void>)funcTable[674])(buffer, n, vmin, vmax); #else ((delegate* unmanaged[Cdecl])funcTable[674])((nint)buffer, n, vmin, vmax); #endif } /// /// To be documented. /// public static void FillRange(ImVector* buffer, int n, byte vmin, byte vmax) { FillRangeNative(buffer, n, vmin, vmax); } /// /// To be documented. /// public static void FillRange(ref ImVector buffer, int n, byte vmin, byte vmax) { fixed (ImVector* pbuffer = &buffer) { FillRangeNative((ImVector*)pbuffer, n, vmin, vmax); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void FillRangeNative(ImVector* buffer, int n, short vmin, short vmax) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl]*, int, short, short, void>)funcTable[675])(buffer, n, vmin, vmax); #else ((delegate* unmanaged[Cdecl])funcTable[675])((nint)buffer, n, vmin, vmax); #endif } /// /// To be documented. /// public static void FillRange(ImVector* buffer, int n, short vmin, short vmax) { FillRangeNative(buffer, n, vmin, vmax); } /// /// To be documented. /// public static void FillRange(ref ImVector buffer, int n, short vmin, short vmax) { fixed (ImVector* pbuffer = &buffer) { FillRangeNative((ImVector*)pbuffer, n, vmin, vmax); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void FillRangeNative(ImVector* buffer, int n, ushort vmin, ushort vmax) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl]*, int, ushort, ushort, void>)funcTable[676])(buffer, n, vmin, vmax); #else ((delegate* unmanaged[Cdecl])funcTable[676])((nint)buffer, n, vmin, vmax); #endif } /// /// To be documented. /// public static void FillRange(ImVector* buffer, int n, ushort vmin, ushort vmax) { FillRangeNative(buffer, n, vmin, vmax); } /// /// To be documented. /// public static void FillRange(ref ImVector buffer, int n, ushort vmin, ushort vmax) { fixed (ImVector* pbuffer = &buffer) { FillRangeNative((ImVector*)pbuffer, n, vmin, vmax); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void FillRangeNative(ImVector* buffer, int n, int vmin, int vmax) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl]*, int, int, int, void>)funcTable[677])(buffer, n, vmin, vmax); #else ((delegate* unmanaged[Cdecl])funcTable[677])((nint)buffer, n, vmin, vmax); #endif } /// /// To be documented. /// public static void FillRange(ImVector* buffer, int n, int vmin, int vmax) { FillRangeNative(buffer, n, vmin, vmax); } /// /// To be documented. /// public static void FillRange(ref ImVector buffer, int n, int vmin, int vmax) { fixed (ImVector* pbuffer = &buffer) { FillRangeNative((ImVector*)pbuffer, n, vmin, vmax); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void FillRangeNative(ImVector* buffer, int n, uint vmin, uint vmax) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl]*, int, uint, uint, void>)funcTable[678])(buffer, n, vmin, vmax); #else ((delegate* unmanaged[Cdecl])funcTable[678])((nint)buffer, n, vmin, vmax); #endif } /// /// To be documented. /// public static void FillRange(ImVector* buffer, int n, uint vmin, uint vmax) { FillRangeNative(buffer, n, vmin, vmax); } /// /// To be documented. /// public static void FillRange(ref ImVector buffer, int n, uint vmin, uint vmax) { fixed (ImVector* pbuffer = &buffer) { FillRangeNative((ImVector*)pbuffer, n, vmin, vmax); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void FillRangeNative(ImVector* buffer, int n, long vmin, long vmax) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl]*, int, long, long, void>)funcTable[679])(buffer, n, vmin, vmax); #else ((delegate* unmanaged[Cdecl])funcTable[679])((nint)buffer, n, vmin, vmax); #endif } /// /// To be documented. /// public static void FillRange(ImVector* buffer, int n, long vmin, long vmax) { FillRangeNative(buffer, n, vmin, vmax); } /// /// To be documented. /// public static void FillRange(ref ImVector buffer, int n, long vmin, long vmax) { fixed (ImVector* pbuffer = &buffer) { FillRangeNative((ImVector*)pbuffer, n, vmin, vmax); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void FillRangeNative(ImVector* buffer, int n, ulong vmin, ulong vmax) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl]*, int, ulong, ulong, void>)funcTable[680])(buffer, n, vmin, vmax); #else ((delegate* unmanaged[Cdecl])funcTable[680])((nint)buffer, n, vmin, vmax); #endif } /// /// To be documented. /// public static void FillRange(ImVector* buffer, int n, ulong vmin, ulong vmax) { FillRangeNative(buffer, n, vmin, vmax); } /// /// To be documented. /// public static void FillRange(ref ImVector buffer, int n, ulong vmin, ulong vmax) { fixed (ImVector* pbuffer = &buffer) { FillRangeNative((ImVector*)pbuffer, n, vmin, vmax); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void CalculateBinsNative(float* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[681])(values, count, meth, range, binsOut, widthOut); #else ((delegate* unmanaged[Cdecl])funcTable[681])((nint)values, count, meth, range, (nint)binsOut, (nint)widthOut); #endif } /// /// To be documented. /// public static void CalculateBins(float* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) { CalculateBinsNative(values, count, meth, range, binsOut, widthOut); } /// /// To be documented. /// public static void CalculateBins(ref float values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) { fixed (float* pvalues = &values) { CalculateBinsNative((float*)pvalues, count, meth, range, binsOut, widthOut); } } /// /// To be documented. /// public static void CalculateBins(float* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) { fixed (int* pbinsOut = &binsOut) { CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, widthOut); } } /// /// To be documented. /// public static void CalculateBins(ref float values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) { fixed (float* pvalues = &values) { fixed (int* pbinsOut = &binsOut) { CalculateBinsNative((float*)pvalues, count, meth, range, (int*)pbinsOut, widthOut); } } } /// /// To be documented. /// public static void CalculateBins(float* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) { fixed (double* pwidthOut = &widthOut) { CalculateBinsNative(values, count, meth, range, binsOut, (double*)pwidthOut); } } /// /// To be documented. /// public static void CalculateBins(ref float values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) { fixed (float* pvalues = &values) { fixed (double* pwidthOut = &widthOut) { CalculateBinsNative((float*)pvalues, count, meth, range, binsOut, (double*)pwidthOut); } } } /// /// To be documented. /// public static void CalculateBins(float* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) { fixed (int* pbinsOut = &binsOut) { fixed (double* pwidthOut = &widthOut) { CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); } } } /// /// To be documented. /// public static void CalculateBins(ref float values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) { fixed (float* pvalues = &values) { fixed (int* pbinsOut = &binsOut) { fixed (double* pwidthOut = &widthOut) { CalculateBinsNative((float*)pvalues, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); } } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void CalculateBinsNative(double* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[682])(values, count, meth, range, binsOut, widthOut); #else ((delegate* unmanaged[Cdecl])funcTable[682])((nint)values, count, meth, range, (nint)binsOut, (nint)widthOut); #endif } /// /// To be documented. /// public static void CalculateBins(double* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) { CalculateBinsNative(values, count, meth, range, binsOut, widthOut); } /// /// To be documented. /// public static void CalculateBins(ref double values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) { fixed (double* pvalues = &values) { CalculateBinsNative((double*)pvalues, count, meth, range, binsOut, widthOut); } } /// /// To be documented. /// public static void CalculateBins(double* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) { fixed (int* pbinsOut = &binsOut) { CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, widthOut); } } /// /// To be documented. /// public static void CalculateBins(ref double values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) { fixed (double* pvalues = &values) { fixed (int* pbinsOut = &binsOut) { CalculateBinsNative((double*)pvalues, count, meth, range, (int*)pbinsOut, widthOut); } } } /// /// To be documented. /// public static void CalculateBins(double* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) { fixed (double* pwidthOut = &widthOut) { CalculateBinsNative(values, count, meth, range, binsOut, (double*)pwidthOut); } } /// /// To be documented. /// public static void CalculateBins(ref double values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) { fixed (double* pvalues = &values) { fixed (double* pwidthOut = &widthOut) { CalculateBinsNative((double*)pvalues, count, meth, range, binsOut, (double*)pwidthOut); } } } /// /// To be documented. /// public static void CalculateBins(double* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) { fixed (int* pbinsOut = &binsOut) { fixed (double* pwidthOut = &widthOut) { CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); } } } /// /// To be documented. /// public static void CalculateBins(ref double values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) { fixed (double* pvalues = &values) { fixed (int* pbinsOut = &binsOut) { fixed (double* pwidthOut = &widthOut) { CalculateBinsNative((double*)pvalues, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); } } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void CalculateBinsNative(sbyte* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[683])(values, count, meth, range, binsOut, widthOut); #else ((delegate* unmanaged[Cdecl])funcTable[683])((nint)values, count, meth, range, (nint)binsOut, (nint)widthOut); #endif } /// /// To be documented. /// public static void CalculateBins(sbyte* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) { CalculateBinsNative(values, count, meth, range, binsOut, widthOut); } /// /// To be documented. /// public static void CalculateBins(sbyte* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) { fixed (int* pbinsOut = &binsOut) { CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, widthOut); } } /// /// To be documented. /// public static void CalculateBins(sbyte* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) { fixed (double* pwidthOut = &widthOut) { CalculateBinsNative(values, count, meth, range, binsOut, (double*)pwidthOut); } } /// /// To be documented. /// public static void CalculateBins(sbyte* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) { fixed (int* pbinsOut = &binsOut) { fixed (double* pwidthOut = &widthOut) { CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void CalculateBinsNative(byte* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[684])(values, count, meth, range, binsOut, widthOut); #else ((delegate* unmanaged[Cdecl])funcTable[684])((nint)values, count, meth, range, (nint)binsOut, (nint)widthOut); #endif } /// /// To be documented. /// public static void CalculateBins(byte* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) { CalculateBinsNative(values, count, meth, range, binsOut, widthOut); } /// /// To be documented. /// public static void CalculateBins(byte* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) { fixed (int* pbinsOut = &binsOut) { CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, widthOut); } } /// /// To be documented. /// public static void CalculateBins(byte* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) { fixed (double* pwidthOut = &widthOut) { CalculateBinsNative(values, count, meth, range, binsOut, (double*)pwidthOut); } } /// /// To be documented. /// public static void CalculateBins(byte* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) { fixed (int* pbinsOut = &binsOut) { fixed (double* pwidthOut = &widthOut) { CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void CalculateBinsNative(short* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[685])(values, count, meth, range, binsOut, widthOut); #else ((delegate* unmanaged[Cdecl])funcTable[685])((nint)values, count, meth, range, (nint)binsOut, (nint)widthOut); #endif } /// /// To be documented. /// public static void CalculateBins(short* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) { CalculateBinsNative(values, count, meth, range, binsOut, widthOut); } /// /// To be documented. /// public static void CalculateBins(short* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) { fixed (int* pbinsOut = &binsOut) { CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, widthOut); } } /// /// To be documented. /// public static void CalculateBins(short* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) { fixed (double* pwidthOut = &widthOut) { CalculateBinsNative(values, count, meth, range, binsOut, (double*)pwidthOut); } } /// /// To be documented. /// public static void CalculateBins(short* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) { fixed (int* pbinsOut = &binsOut) { fixed (double* pwidthOut = &widthOut) { CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void CalculateBinsNative(ushort* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[686])(values, count, meth, range, binsOut, widthOut); #else ((delegate* unmanaged[Cdecl])funcTable[686])((nint)values, count, meth, range, (nint)binsOut, (nint)widthOut); #endif } /// /// To be documented. /// public static void CalculateBins(ushort* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) { CalculateBinsNative(values, count, meth, range, binsOut, widthOut); } /// /// To be documented. /// public static void CalculateBins(ushort* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) { fixed (int* pbinsOut = &binsOut) { CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, widthOut); } } /// /// To be documented. /// public static void CalculateBins(ushort* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) { fixed (double* pwidthOut = &widthOut) { CalculateBinsNative(values, count, meth, range, binsOut, (double*)pwidthOut); } } /// /// To be documented. /// public static void CalculateBins(ushort* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) { fixed (int* pbinsOut = &binsOut) { fixed (double* pwidthOut = &widthOut) { CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void CalculateBinsNative(int* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[687])(values, count, meth, range, binsOut, widthOut); #else ((delegate* unmanaged[Cdecl])funcTable[687])((nint)values, count, meth, range, (nint)binsOut, (nint)widthOut); #endif } /// /// To be documented. /// public static void CalculateBins(int* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) { CalculateBinsNative(values, count, meth, range, binsOut, widthOut); } /// /// To be documented. /// public static void CalculateBins(int* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) { fixed (int* pbinsOut = &binsOut) { CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, widthOut); } } /// /// To be documented. /// public static void CalculateBins(int* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) { fixed (double* pwidthOut = &widthOut) { CalculateBinsNative(values, count, meth, range, binsOut, (double*)pwidthOut); } } /// /// To be documented. /// public static void CalculateBins(int* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) { fixed (int* pbinsOut = &binsOut) { fixed (double* pwidthOut = &widthOut) { CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void CalculateBinsNative(uint* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[688])(values, count, meth, range, binsOut, widthOut); #else ((delegate* unmanaged[Cdecl])funcTable[688])((nint)values, count, meth, range, (nint)binsOut, (nint)widthOut); #endif } /// /// To be documented. /// public static void CalculateBins(uint* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) { CalculateBinsNative(values, count, meth, range, binsOut, widthOut); } /// /// To be documented. /// public static void CalculateBins(uint* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) { fixed (int* pbinsOut = &binsOut) { CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, widthOut); } } /// /// To be documented. /// public static void CalculateBins(uint* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) { fixed (double* pwidthOut = &widthOut) { CalculateBinsNative(values, count, meth, range, binsOut, (double*)pwidthOut); } } /// /// To be documented. /// public static void CalculateBins(uint* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) { fixed (int* pbinsOut = &binsOut) { fixed (double* pwidthOut = &widthOut) { CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void CalculateBinsNative(long* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[689])(values, count, meth, range, binsOut, widthOut); #else ((delegate* unmanaged[Cdecl])funcTable[689])((nint)values, count, meth, range, (nint)binsOut, (nint)widthOut); #endif } /// /// To be documented. /// public static void CalculateBins(long* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) { CalculateBinsNative(values, count, meth, range, binsOut, widthOut); } /// /// To be documented. /// public static void CalculateBins(long* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) { fixed (int* pbinsOut = &binsOut) { CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, widthOut); } } /// /// To be documented. /// public static void CalculateBins(long* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) { fixed (double* pwidthOut = &widthOut) { CalculateBinsNative(values, count, meth, range, binsOut, (double*)pwidthOut); } } /// /// To be documented. /// public static void CalculateBins(long* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) { fixed (int* pbinsOut = &binsOut) { fixed (double* pwidthOut = &widthOut) { CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void CalculateBinsNative(ulong* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[690])(values, count, meth, range, binsOut, widthOut); #else ((delegate* unmanaged[Cdecl])funcTable[690])((nint)values, count, meth, range, (nint)binsOut, (nint)widthOut); #endif } /// /// To be documented. /// public static void CalculateBins(ulong* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) { CalculateBinsNative(values, count, meth, range, binsOut, widthOut); } /// /// To be documented. /// public static void CalculateBins(ulong* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) { fixed (int* pbinsOut = &binsOut) { CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, widthOut); } } /// /// To be documented. /// public static void CalculateBins(ulong* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) { fixed (double* pwidthOut = &widthOut) { CalculateBinsNative(values, count, meth, range, binsOut, (double*)pwidthOut); } } /// /// To be documented. /// public static void CalculateBins(ulong* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) { fixed (int* pbinsOut = &binsOut) { fixed (double* pwidthOut = &widthOut) { CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte IsLeapYearNative(int year) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[691])(year); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[691])(year); #endif } /// /// To be documented. /// public static bool IsLeapYear(int year) { byte ret = IsLeapYearNative(year); return ret != 0; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static int GetDaysInMonthNative(int year, int month) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[692])(year, month); #else return (int)((delegate* unmanaged[Cdecl])funcTable[692])(year, month); #endif } /// /// To be documented. /// public static int GetDaysInMonth(int year, int month) { int ret = GetDaysInMonthNative(year, month); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void MkGmtTimeNative(ImPlotTime* pOut, Tm* ptm) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[693])(pOut, ptm); #else ((delegate* unmanaged[Cdecl])funcTable[693])((nint)pOut, (nint)ptm); #endif } /// /// To be documented. /// public static ImPlotTime MkGmtTime(Tm* ptm) { ImPlotTime ret; MkGmtTimeNative(&ret, ptm); return ret; } /// /// To be documented. /// public static void MkGmtTime(ImPlotTimePtr pOut, Tm* ptm) { MkGmtTimeNative(pOut, ptm); } /// /// To be documented. /// public static void MkGmtTime(ref ImPlotTime pOut, Tm* ptm) { fixed (ImPlotTime* ppOut = &pOut) { MkGmtTimeNative((ImPlotTime*)ppOut, ptm); } } /// /// To be documented. /// public static ImPlotTime MkGmtTime(ref Tm ptm) { fixed (Tm* pptm = &ptm) { ImPlotTime ret; MkGmtTimeNative(&ret, (Tm*)pptm); return ret; } } /// /// To be documented. /// public static void MkGmtTime(ImPlotTimePtr pOut, ref Tm ptm) { fixed (Tm* pptm = &ptm) { MkGmtTimeNative(pOut, (Tm*)pptm); } } /// /// To be documented. /// public static void MkGmtTime(ref ImPlotTime pOut, ref Tm ptm) { fixed (ImPlotTime* ppOut = &pOut) { fixed (Tm* pptm = &ptm) { MkGmtTimeNative((ImPlotTime*)ppOut, (Tm*)pptm); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static Tm* GetGmtTimeNative(ImPlotTime t, Tm* ptm) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[694])(t, ptm); #else return (Tm*)((delegate* unmanaged[Cdecl])funcTable[694])(t, (nint)ptm); #endif } /// /// To be documented. /// public static Tm* GetGmtTime(ImPlotTime t, Tm* ptm) { Tm* ret = GetGmtTimeNative(t, ptm); return ret; } /// /// To be documented. /// public static Tm* GetGmtTime(ImPlotTime t, ref Tm ptm) { fixed (Tm* pptm = &ptm) { Tm* ret = GetGmtTimeNative(t, (Tm*)pptm); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void MkLocTimeNative(ImPlotTime* pOut, Tm* ptm) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[695])(pOut, ptm); #else ((delegate* unmanaged[Cdecl])funcTable[695])((nint)pOut, (nint)ptm); #endif } /// /// To be documented. /// public static ImPlotTime MkLocTime(Tm* ptm) { ImPlotTime ret; MkLocTimeNative(&ret, ptm); return ret; } /// /// To be documented. /// public static void MkLocTime(ImPlotTimePtr pOut, Tm* ptm) { MkLocTimeNative(pOut, ptm); } /// /// To be documented. /// public static void MkLocTime(ref ImPlotTime pOut, Tm* ptm) { fixed (ImPlotTime* ppOut = &pOut) { MkLocTimeNative((ImPlotTime*)ppOut, ptm); } } /// /// To be documented. /// public static ImPlotTime MkLocTime(ref Tm ptm) { fixed (Tm* pptm = &ptm) { ImPlotTime ret; MkLocTimeNative(&ret, (Tm*)pptm); return ret; } } /// /// To be documented. /// public static void MkLocTime(ImPlotTimePtr pOut, ref Tm ptm) { fixed (Tm* pptm = &ptm) { MkLocTimeNative(pOut, (Tm*)pptm); } } /// /// To be documented. /// public static void MkLocTime(ref ImPlotTime pOut, ref Tm ptm) { fixed (ImPlotTime* ppOut = &pOut) { fixed (Tm* pptm = &ptm) { MkLocTimeNative((ImPlotTime*)ppOut, (Tm*)pptm); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static Tm* GetLocTimeNative(ImPlotTime t, Tm* ptm) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[696])(t, ptm); #else return (Tm*)((delegate* unmanaged[Cdecl])funcTable[696])(t, (nint)ptm); #endif } /// /// To be documented. /// public static Tm* GetLocTime(ImPlotTime t, Tm* ptm) { Tm* ret = GetLocTimeNative(t, ptm); return ret; } /// /// To be documented. /// public static Tm* GetLocTime(ImPlotTime t, ref Tm ptm) { fixed (Tm* pptm = &ptm) { Tm* ret = GetLocTimeNative(t, (Tm*)pptm); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void MakeTimeNative(ImPlotTime* pOut, int year, int month, int day, int hour, int min, int sec, int us) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[697])(pOut, year, month, day, hour, min, sec, us); #else ((delegate* unmanaged[Cdecl])funcTable[697])((nint)pOut, year, month, day, hour, min, sec, us); #endif } /// /// To be documented. /// public static ImPlotTime MakeTime(int year) { ImPlotTime ret; MakeTimeNative(&ret, year, (int)(0), (int)(1), (int)(0), (int)(0), (int)(0), (int)(0)); return ret; } /// /// To be documented. /// public static ImPlotTime MakeTime(int year, int month) { ImPlotTime ret; MakeTimeNative(&ret, year, month, (int)(1), (int)(0), (int)(0), (int)(0), (int)(0)); return ret; } /// /// To be documented. /// public static void MakeTime(ImPlotTimePtr pOut, int year) { MakeTimeNative(pOut, year, (int)(0), (int)(1), (int)(0), (int)(0), (int)(0), (int)(0)); } /// /// To be documented. /// public static ImPlotTime MakeTime(int year, int month, int day) { ImPlotTime ret; MakeTimeNative(&ret, year, month, day, (int)(0), (int)(0), (int)(0), (int)(0)); return ret; } /// /// To be documented. /// public static void MakeTime(ImPlotTimePtr pOut, int year, int month) { MakeTimeNative(pOut, year, month, (int)(1), (int)(0), (int)(0), (int)(0), (int)(0)); } /// /// To be documented. /// public static ImPlotTime MakeTime(int year, int month, int day, int hour) { ImPlotTime ret; MakeTimeNative(&ret, year, month, day, hour, (int)(0), (int)(0), (int)(0)); return ret; } /// /// To be documented. /// public static void MakeTime(ImPlotTimePtr pOut, int year, int month, int day) { MakeTimeNative(pOut, year, month, day, (int)(0), (int)(0), (int)(0), (int)(0)); } /// /// To be documented. /// public static ImPlotTime MakeTime(int year, int month, int day, int hour, int min) { ImPlotTime ret; MakeTimeNative(&ret, year, month, day, hour, min, (int)(0), (int)(0)); return ret; } /// /// To be documented. /// public static void MakeTime(ImPlotTimePtr pOut, int year, int month, int day, int hour) { MakeTimeNative(pOut, year, month, day, hour, (int)(0), (int)(0), (int)(0)); } /// /// To be documented. /// public static ImPlotTime MakeTime(int year, int month, int day, int hour, int min, int sec) { ImPlotTime ret; MakeTimeNative(&ret, year, month, day, hour, min, sec, (int)(0)); return ret; } /// /// To be documented. /// public static void MakeTime(ImPlotTimePtr pOut, int year, int month, int day, int hour, int min) { MakeTimeNative(pOut, year, month, day, hour, min, (int)(0), (int)(0)); } /// /// To be documented. /// public static ImPlotTime MakeTime(int year, int month, int day, int hour, int min, int sec, int us) { ImPlotTime ret; MakeTimeNative(&ret, year, month, day, hour, min, sec, us); return ret; } /// /// To be documented. /// public static void MakeTime(ImPlotTimePtr pOut, int year, int month, int day, int hour, int min, int sec, int us) { MakeTimeNative(pOut, year, month, day, hour, min, sec, us); } /// /// To be documented. /// public static void MakeTime(ImPlotTimePtr pOut, int year, int month, int day, int hour, int min, int sec) { MakeTimeNative(pOut, year, month, day, hour, min, sec, (int)(0)); } /// /// To be documented. /// public static void MakeTime(ref ImPlotTime pOut, int year, int month, int day, int hour, int min, int sec, int us) { fixed (ImPlotTime* ppOut = &pOut) { MakeTimeNative((ImPlotTime*)ppOut, year, month, day, hour, min, sec, us); } } /// /// To be documented. /// public static void MakeTime(ref ImPlotTime pOut, int year, int month, int day, int hour, int min, int sec) { fixed (ImPlotTime* ppOut = &pOut) { MakeTimeNative((ImPlotTime*)ppOut, year, month, day, hour, min, sec, (int)(0)); } } /// /// To be documented. /// public static void MakeTime(ref ImPlotTime pOut, int year, int month, int day, int hour, int min) { fixed (ImPlotTime* ppOut = &pOut) { MakeTimeNative((ImPlotTime*)ppOut, year, month, day, hour, min, (int)(0), (int)(0)); } } /// /// To be documented. /// public static void MakeTime(ref ImPlotTime pOut, int year, int month, int day, int hour) { fixed (ImPlotTime* ppOut = &pOut) { MakeTimeNative((ImPlotTime*)ppOut, year, month, day, hour, (int)(0), (int)(0), (int)(0)); } } /// /// To be documented. /// public static void MakeTime(ref ImPlotTime pOut, int year, int month, int day) { fixed (ImPlotTime* ppOut = &pOut) { MakeTimeNative((ImPlotTime*)ppOut, year, month, day, (int)(0), (int)(0), (int)(0), (int)(0)); } } /// /// To be documented. /// public static void MakeTime(ref ImPlotTime pOut, int year, int month) { fixed (ImPlotTime* ppOut = &pOut) { MakeTimeNative((ImPlotTime*)ppOut, year, month, (int)(1), (int)(0), (int)(0), (int)(0), (int)(0)); } } /// /// To be documented. /// public static void MakeTime(ref ImPlotTime pOut, int year) { fixed (ImPlotTime* ppOut = &pOut) { MakeTimeNative((ImPlotTime*)ppOut, year, (int)(0), (int)(1), (int)(0), (int)(0), (int)(0), (int)(0)); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static int GetYearNative(ImPlotTime t) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[698])(t); #else return (int)((delegate* unmanaged[Cdecl])funcTable[698])(t); #endif } /// /// To be documented. /// public static int GetYear(ImPlotTime t) { int ret = GetYearNative(t); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void AddTimeNative(ImPlotTime* pOut, ImPlotTime t, ImPlotTimeUnit unit, int count) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[699])(pOut, t, unit, count); #else ((delegate* unmanaged[Cdecl])funcTable[699])((nint)pOut, t, unit, count); #endif } /// /// To be documented. /// public static ImPlotTime AddTime(ImPlotTime t, ImPlotTimeUnit unit, int count) { ImPlotTime ret; AddTimeNative(&ret, t, unit, count); return ret; } /// /// To be documented. /// public static void AddTime(ImPlotTimePtr pOut, ImPlotTime t, ImPlotTimeUnit unit, int count) { AddTimeNative(pOut, t, unit, count); } /// /// To be documented. /// public static void AddTime(ref ImPlotTime pOut, ImPlotTime t, ImPlotTimeUnit unit, int count) { fixed (ImPlotTime* ppOut = &pOut) { AddTimeNative((ImPlotTime*)ppOut, t, unit, count); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void FloorTimeNative(ImPlotTime* pOut, ImPlotTime t, ImPlotTimeUnit unit) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[700])(pOut, t, unit); #else ((delegate* unmanaged[Cdecl])funcTable[700])((nint)pOut, t, unit); #endif } /// /// To be documented. /// public static ImPlotTime FloorTime(ImPlotTime t, ImPlotTimeUnit unit) { ImPlotTime ret; FloorTimeNative(&ret, t, unit); return ret; } /// /// To be documented. /// public static void FloorTime(ImPlotTimePtr pOut, ImPlotTime t, ImPlotTimeUnit unit) { FloorTimeNative(pOut, t, unit); } /// /// To be documented. /// public static void FloorTime(ref ImPlotTime pOut, ImPlotTime t, ImPlotTimeUnit unit) { fixed (ImPlotTime* ppOut = &pOut) { FloorTimeNative((ImPlotTime*)ppOut, t, unit); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void CeilTimeNative(ImPlotTime* pOut, ImPlotTime t, ImPlotTimeUnit unit) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[701])(pOut, t, unit); #else ((delegate* unmanaged[Cdecl])funcTable[701])((nint)pOut, t, unit); #endif } /// /// To be documented. /// public static ImPlotTime CeilTime(ImPlotTime t, ImPlotTimeUnit unit) { ImPlotTime ret; CeilTimeNative(&ret, t, unit); return ret; } /// /// To be documented. /// public static void CeilTime(ImPlotTimePtr pOut, ImPlotTime t, ImPlotTimeUnit unit) { CeilTimeNative(pOut, t, unit); } /// /// To be documented. /// public static void CeilTime(ref ImPlotTime pOut, ImPlotTime t, ImPlotTimeUnit unit) { fixed (ImPlotTime* ppOut = &pOut) { CeilTimeNative((ImPlotTime*)ppOut, t, unit); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void RoundTimeNative(ImPlotTime* pOut, ImPlotTime t, ImPlotTimeUnit unit) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[702])(pOut, t, unit); #else ((delegate* unmanaged[Cdecl])funcTable[702])((nint)pOut, t, unit); #endif } /// /// To be documented. /// public static ImPlotTime RoundTime(ImPlotTime t, ImPlotTimeUnit unit) { ImPlotTime ret; RoundTimeNative(&ret, t, unit); return ret; } /// /// To be documented. /// public static void RoundTime(ImPlotTimePtr pOut, ImPlotTime t, ImPlotTimeUnit unit) { RoundTimeNative(pOut, t, unit); } /// /// To be documented. /// public static void RoundTime(ref ImPlotTime pOut, ImPlotTime t, ImPlotTimeUnit unit) { fixed (ImPlotTime* ppOut = &pOut) { RoundTimeNative((ImPlotTime*)ppOut, t, unit); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void CombineDateTimeNative(ImPlotTime* pOut, ImPlotTime datePart, ImPlotTime timePart) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[703])(pOut, datePart, timePart); #else ((delegate* unmanaged[Cdecl])funcTable[703])((nint)pOut, datePart, timePart); #endif } /// /// To be documented. /// public static ImPlotTime CombineDateTime(ImPlotTime datePart, ImPlotTime timePart) { ImPlotTime ret; CombineDateTimeNative(&ret, datePart, timePart); return ret; } /// /// To be documented. /// public static void CombineDateTime(ImPlotTimePtr pOut, ImPlotTime datePart, ImPlotTime timePart) { CombineDateTimeNative(pOut, datePart, timePart); } /// /// To be documented. /// public static void CombineDateTime(ref ImPlotTime pOut, ImPlotTime datePart, ImPlotTime timePart) { fixed (ImPlotTime* ppOut = &pOut) { CombineDateTimeNative((ImPlotTime*)ppOut, datePart, timePart); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static int FormatTimeNative(ImPlotTime t, byte* buffer, int size, ImPlotTimeFmt fmt, byte use24HrClk) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[704])(t, buffer, size, fmt, use24HrClk); #else return (int)((delegate* unmanaged[Cdecl])funcTable[704])(t, (nint)buffer, size, fmt, use24HrClk); #endif } /// /// To be documented. /// public static int FormatTime(ImPlotTime t, byte* buffer, int size, ImPlotTimeFmt fmt, bool use24HrClk) { int ret = FormatTimeNative(t, buffer, size, fmt, use24HrClk ? (byte)1 : (byte)0); return ret; } /// /// To be documented. /// public static int FormatTime(ImPlotTime t, ref byte buffer, int size, ImPlotTimeFmt fmt, bool use24HrClk) { fixed (byte* pbuffer = &buffer) { int ret = FormatTimeNative(t, (byte*)pbuffer, size, fmt, use24HrClk ? (byte)1 : (byte)0); return ret; } } /// /// To be documented. /// public static int FormatTime(ImPlotTime t, ref string buffer, int size, ImPlotTimeFmt fmt, bool use24HrClk) { byte* pStr0 = null; int pStrSize0 = 0; if (buffer != null) { pStrSize0 = Utils.GetByteCountUTF8(buffer); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(buffer, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } int ret = FormatTimeNative(t, pStr0, size, fmt, use24HrClk ? (byte)1 : (byte)0); buffer = Utils.DecodeStringUTF8(pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static int FormatDateNative(ImPlotTime t, byte* buffer, int size, ImPlotDateFmt fmt, byte useIso8601) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[705])(t, buffer, size, fmt, useIso8601); #else return (int)((delegate* unmanaged[Cdecl])funcTable[705])(t, (nint)buffer, size, fmt, useIso8601); #endif } /// /// To be documented. /// public static int FormatDate(ImPlotTime t, byte* buffer, int size, ImPlotDateFmt fmt, bool useIso8601) { int ret = FormatDateNative(t, buffer, size, fmt, useIso8601 ? (byte)1 : (byte)0); return ret; } /// /// To be documented. /// public static int FormatDate(ImPlotTime t, ref byte buffer, int size, ImPlotDateFmt fmt, bool useIso8601) { fixed (byte* pbuffer = &buffer) { int ret = FormatDateNative(t, (byte*)pbuffer, size, fmt, useIso8601 ? (byte)1 : (byte)0); return ret; } } /// /// To be documented. /// public static int FormatDate(ImPlotTime t, ref string buffer, int size, ImPlotDateFmt fmt, bool useIso8601) { byte* pStr0 = null; int pStrSize0 = 0; if (buffer != null) { pStrSize0 = Utils.GetByteCountUTF8(buffer); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(buffer, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } int ret = FormatDateNative(t, pStr0, size, fmt, useIso8601 ? (byte)1 : (byte)0); buffer = Utils.DecodeStringUTF8(pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static int FormatDateTimeNative(ImPlotTime t, byte* buffer, int size, ImPlotDateTimeSpec fmt) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[706])(t, buffer, size, fmt); #else return (int)((delegate* unmanaged[Cdecl])funcTable[706])(t, (nint)buffer, size, fmt); #endif } /// /// To be documented. /// public static int FormatDateTime(ImPlotTime t, byte* buffer, int size, ImPlotDateTimeSpec fmt) { int ret = FormatDateTimeNative(t, buffer, size, fmt); return ret; } /// /// To be documented. /// public static int FormatDateTime(ImPlotTime t, ref byte buffer, int size, ImPlotDateTimeSpec fmt) { fixed (byte* pbuffer = &buffer) { int ret = FormatDateTimeNative(t, (byte*)pbuffer, size, fmt); return ret; } } /// /// To be documented. /// public static int FormatDateTime(ImPlotTime t, ref string buffer, int size, ImPlotDateTimeSpec fmt) { byte* pStr0 = null; int pStrSize0 = 0; if (buffer != null) { pStrSize0 = Utils.GetByteCountUTF8(buffer); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(buffer, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } int ret = FormatDateTimeNative(t, pStr0, size, fmt); buffer = Utils.DecodeStringUTF8(pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte ShowDatePickerNative(byte* id, int* level, ImPlotTime* t, ImPlotTime* t1, ImPlotTime* t2) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[707])(id, level, t, t1, t2); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[707])((nint)id, (nint)level, (nint)t, (nint)t1, (nint)t2); #endif } /// /// To be documented. /// public static bool ShowDatePicker(byte* id, int* level, ImPlotTimePtr t, ImPlotTimePtr t1, ImPlotTimePtr t2) { byte ret = ShowDatePickerNative(id, level, t, t1, t2); return ret != 0; } /// /// To be documented. /// public static bool ShowDatePicker(byte* id, int* level, ImPlotTimePtr t, ImPlotTimePtr t1) { byte ret = ShowDatePickerNative(id, level, t, t1, (ImPlotTime*)(((void*)0))); return ret != 0; } /// /// To be documented. /// public static bool ShowDatePicker(byte* id, int* level, ImPlotTimePtr t) { byte ret = ShowDatePickerNative(id, level, t, (ImPlotTime*)(((void*)0)), (ImPlotTime*)(((void*)0))); return ret != 0; } /// /// To be documented. /// public static bool ShowDatePicker(ref byte id, int* level, ImPlotTimePtr t, ImPlotTimePtr t1, ImPlotTimePtr t2) { fixed (byte* pid = &id) { byte ret = ShowDatePickerNative((byte*)pid, level, t, t1, t2); return ret != 0; } } /// /// To be documented. /// public static bool ShowDatePicker(ref byte id, int* level, ImPlotTimePtr t, ImPlotTimePtr t1) { fixed (byte* pid = &id) { byte ret = ShowDatePickerNative((byte*)pid, level, t, t1, (ImPlotTime*)(((void*)0))); return ret != 0; } } /// /// To be documented. /// public static bool ShowDatePicker(ref byte id, int* level, ImPlotTimePtr t) { fixed (byte* pid = &id) { byte ret = ShowDatePickerNative((byte*)pid, level, t, (ImPlotTime*)(((void*)0)), (ImPlotTime*)(((void*)0))); return ret != 0; } } /// /// To be documented. /// public static bool ShowDatePicker(ReadOnlySpan id, int* level, ImPlotTimePtr t, ImPlotTimePtr t1, ImPlotTimePtr t2) { fixed (byte* pid = id) { byte ret = ShowDatePickerNative((byte*)pid, level, t, t1, t2); return ret != 0; } } /// /// To be documented. /// public static bool ShowDatePicker(ReadOnlySpan id, int* level, ImPlotTimePtr t, ImPlotTimePtr t1) { fixed (byte* pid = id) { byte ret = ShowDatePickerNative((byte*)pid, level, t, t1, (ImPlotTime*)(((void*)0))); return ret != 0; } } /// /// To be documented. /// public static bool ShowDatePicker(ReadOnlySpan id, int* level, ImPlotTimePtr t) { fixed (byte* pid = id) { byte ret = ShowDatePickerNative((byte*)pid, level, t, (ImPlotTime*)(((void*)0)), (ImPlotTime*)(((void*)0))); return ret != 0; } } /// /// To be documented. /// public static bool ShowDatePicker(string id, int* level, ImPlotTimePtr t, ImPlotTimePtr t1, ImPlotTimePtr t2) { byte* pStr0 = null; int pStrSize0 = 0; if (id != null) { pStrSize0 = Utils.GetByteCountUTF8(id); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = ShowDatePickerNative(pStr0, level, t, t1, t2); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool ShowDatePicker(string id, int* level, ImPlotTimePtr t, ImPlotTimePtr t1) { byte* pStr0 = null; int pStrSize0 = 0; if (id != null) { pStrSize0 = Utils.GetByteCountUTF8(id); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = ShowDatePickerNative(pStr0, level, t, t1, (ImPlotTime*)(((void*)0))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool ShowDatePicker(string id, int* level, ImPlotTimePtr t) { byte* pStr0 = null; int pStrSize0 = 0; if (id != null) { pStrSize0 = Utils.GetByteCountUTF8(id); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte ret = ShowDatePickerNative(pStr0, level, t, (ImPlotTime*)(((void*)0)), (ImPlotTime*)(((void*)0))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } /// /// To be documented. /// public static bool ShowDatePicker(byte* id, ref int level, ImPlotTimePtr t, ImPlotTimePtr t1, ImPlotTimePtr t2) { fixed (int* plevel = &level) { byte ret = ShowDatePickerNative(id, (int*)plevel, t, t1, t2); return ret != 0; } } /// /// To be documented. /// public static bool ShowDatePicker(byte* id, ref int level, ImPlotTimePtr t, ImPlotTimePtr t1) { fixed (int* plevel = &level) { byte ret = ShowDatePickerNative(id, (int*)plevel, t, t1, (ImPlotTime*)(((void*)0))); return ret != 0; } } /// /// To be documented. /// public static bool ShowDatePicker(byte* id, ref int level, ImPlotTimePtr t) { fixed (int* plevel = &level) { byte ret = ShowDatePickerNative(id, (int*)plevel, t, (ImPlotTime*)(((void*)0)), (ImPlotTime*)(((void*)0))); return ret != 0; } } /// /// To be documented. /// public static bool ShowDatePicker(ref byte id, ref int level, ImPlotTimePtr t, ImPlotTimePtr t1, ImPlotTimePtr t2) { fixed (byte* pid = &id) { fixed (int* plevel = &level) { byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, t1, t2); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(ref byte id, ref int level, ImPlotTimePtr t, ImPlotTimePtr t1) { fixed (byte* pid = &id) { fixed (int* plevel = &level) { byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, t1, (ImPlotTime*)(((void*)0))); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(ref byte id, ref int level, ImPlotTimePtr t) { fixed (byte* pid = &id) { fixed (int* plevel = &level) { byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, (ImPlotTime*)(((void*)0)), (ImPlotTime*)(((void*)0))); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ImPlotTimePtr t, ImPlotTimePtr t1, ImPlotTimePtr t2) { fixed (byte* pid = id) { fixed (int* plevel = &level) { byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, t1, t2); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ImPlotTimePtr t, ImPlotTimePtr t1) { fixed (byte* pid = id) { fixed (int* plevel = &level) { byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, t1, (ImPlotTime*)(((void*)0))); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ImPlotTimePtr t) { fixed (byte* pid = id) { fixed (int* plevel = &level) { byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, (ImPlotTime*)(((void*)0)), (ImPlotTime*)(((void*)0))); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(string id, ref int level, ImPlotTimePtr t, ImPlotTimePtr t1, ImPlotTimePtr t2) { byte* pStr0 = null; int pStrSize0 = 0; if (id != null) { pStrSize0 = Utils.GetByteCountUTF8(id); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (int* plevel = &level) { byte ret = ShowDatePickerNative(pStr0, (int*)plevel, t, t1, t2); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool ShowDatePicker(string id, ref int level, ImPlotTimePtr t, ImPlotTimePtr t1) { byte* pStr0 = null; int pStrSize0 = 0; if (id != null) { pStrSize0 = Utils.GetByteCountUTF8(id); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (int* plevel = &level) { byte ret = ShowDatePickerNative(pStr0, (int*)plevel, t, t1, (ImPlotTime*)(((void*)0))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool ShowDatePicker(string id, ref int level, ImPlotTimePtr t) { byte* pStr0 = null; int pStrSize0 = 0; if (id != null) { pStrSize0 = Utils.GetByteCountUTF8(id); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (int* plevel = &level) { byte ret = ShowDatePickerNative(pStr0, (int*)plevel, t, (ImPlotTime*)(((void*)0)), (ImPlotTime*)(((void*)0))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool ShowDatePicker(byte* id, int* level, ref ImPlotTime t, ImPlotTimePtr t1, ImPlotTimePtr t2) { fixed (ImPlotTime* pt = &t) { byte ret = ShowDatePickerNative(id, level, (ImPlotTime*)pt, t1, t2); return ret != 0; } } /// /// To be documented. /// public static bool ShowDatePicker(byte* id, int* level, ref ImPlotTime t, ImPlotTimePtr t1) { fixed (ImPlotTime* pt = &t) { byte ret = ShowDatePickerNative(id, level, (ImPlotTime*)pt, t1, (ImPlotTime*)(((void*)0))); return ret != 0; } } /// /// To be documented. /// public static bool ShowDatePicker(byte* id, int* level, ref ImPlotTime t) { fixed (ImPlotTime* pt = &t) { byte ret = ShowDatePickerNative(id, level, (ImPlotTime*)pt, (ImPlotTime*)(((void*)0)), (ImPlotTime*)(((void*)0))); return ret != 0; } } /// /// To be documented. /// public static bool ShowDatePicker(ref byte id, int* level, ref ImPlotTime t, ImPlotTimePtr t1, ImPlotTimePtr t2) { fixed (byte* pid = &id) { fixed (ImPlotTime* pt = &t) { byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, t1, t2); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(ref byte id, int* level, ref ImPlotTime t, ImPlotTimePtr t1) { fixed (byte* pid = &id) { fixed (ImPlotTime* pt = &t) { byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, t1, (ImPlotTime*)(((void*)0))); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(ref byte id, int* level, ref ImPlotTime t) { fixed (byte* pid = &id) { fixed (ImPlotTime* pt = &t) { byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, (ImPlotTime*)(((void*)0)), (ImPlotTime*)(((void*)0))); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(ReadOnlySpan id, int* level, ref ImPlotTime t, ImPlotTimePtr t1, ImPlotTimePtr t2) { fixed (byte* pid = id) { fixed (ImPlotTime* pt = &t) { byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, t1, t2); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(ReadOnlySpan id, int* level, ref ImPlotTime t, ImPlotTimePtr t1) { fixed (byte* pid = id) { fixed (ImPlotTime* pt = &t) { byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, t1, (ImPlotTime*)(((void*)0))); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(ReadOnlySpan id, int* level, ref ImPlotTime t) { fixed (byte* pid = id) { fixed (ImPlotTime* pt = &t) { byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, (ImPlotTime*)(((void*)0)), (ImPlotTime*)(((void*)0))); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(string id, int* level, ref ImPlotTime t, ImPlotTimePtr t1, ImPlotTimePtr t2) { byte* pStr0 = null; int pStrSize0 = 0; if (id != null) { pStrSize0 = Utils.GetByteCountUTF8(id); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ImPlotTime* pt = &t) { byte ret = ShowDatePickerNative(pStr0, level, (ImPlotTime*)pt, t1, t2); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool ShowDatePicker(string id, int* level, ref ImPlotTime t, ImPlotTimePtr t1) { byte* pStr0 = null; int pStrSize0 = 0; if (id != null) { pStrSize0 = Utils.GetByteCountUTF8(id); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ImPlotTime* pt = &t) { byte ret = ShowDatePickerNative(pStr0, level, (ImPlotTime*)pt, t1, (ImPlotTime*)(((void*)0))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool ShowDatePicker(string id, int* level, ref ImPlotTime t) { byte* pStr0 = null; int pStrSize0 = 0; if (id != null) { pStrSize0 = Utils.GetByteCountUTF8(id); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ImPlotTime* pt = &t) { byte ret = ShowDatePickerNative(pStr0, level, (ImPlotTime*)pt, (ImPlotTime*)(((void*)0)), (ImPlotTime*)(((void*)0))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool ShowDatePicker(byte* id, ref int level, ref ImPlotTime t, ImPlotTimePtr t1, ImPlotTimePtr t2) { fixed (int* plevel = &level) { fixed (ImPlotTime* pt = &t) { byte ret = ShowDatePickerNative(id, (int*)plevel, (ImPlotTime*)pt, t1, t2); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(byte* id, ref int level, ref ImPlotTime t, ImPlotTimePtr t1) { fixed (int* plevel = &level) { fixed (ImPlotTime* pt = &t) { byte ret = ShowDatePickerNative(id, (int*)plevel, (ImPlotTime*)pt, t1, (ImPlotTime*)(((void*)0))); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(byte* id, ref int level, ref ImPlotTime t) { fixed (int* plevel = &level) { fixed (ImPlotTime* pt = &t) { byte ret = ShowDatePickerNative(id, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)(((void*)0)), (ImPlotTime*)(((void*)0))); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(ref byte id, ref int level, ref ImPlotTime t, ImPlotTimePtr t1, ImPlotTimePtr t2) { fixed (byte* pid = &id) { fixed (int* plevel = &level) { fixed (ImPlotTime* pt = &t) { byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, t1, t2); return ret != 0; } } } } /// /// To be documented. /// public static bool ShowDatePicker(ref byte id, ref int level, ref ImPlotTime t, ImPlotTimePtr t1) { fixed (byte* pid = &id) { fixed (int* plevel = &level) { fixed (ImPlotTime* pt = &t) { byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, t1, (ImPlotTime*)(((void*)0))); return ret != 0; } } } } /// /// To be documented. /// public static bool ShowDatePicker(ref byte id, ref int level, ref ImPlotTime t) { fixed (byte* pid = &id) { fixed (int* plevel = &level) { fixed (ImPlotTime* pt = &t) { byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)(((void*)0)), (ImPlotTime*)(((void*)0))); return ret != 0; } } } } /// /// To be documented. /// public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ref ImPlotTime t, ImPlotTimePtr t1, ImPlotTimePtr t2) { fixed (byte* pid = id) { fixed (int* plevel = &level) { fixed (ImPlotTime* pt = &t) { byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, t1, t2); return ret != 0; } } } } /// /// To be documented. /// public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ref ImPlotTime t, ImPlotTimePtr t1) { fixed (byte* pid = id) { fixed (int* plevel = &level) { fixed (ImPlotTime* pt = &t) { byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, t1, (ImPlotTime*)(((void*)0))); return ret != 0; } } } } /// /// To be documented. /// public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ref ImPlotTime t) { fixed (byte* pid = id) { fixed (int* plevel = &level) { fixed (ImPlotTime* pt = &t) { byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)(((void*)0)), (ImPlotTime*)(((void*)0))); return ret != 0; } } } } /// /// To be documented. /// public static bool ShowDatePicker(string id, ref int level, ref ImPlotTime t, ImPlotTimePtr t1, ImPlotTimePtr t2) { byte* pStr0 = null; int pStrSize0 = 0; if (id != null) { pStrSize0 = Utils.GetByteCountUTF8(id); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (int* plevel = &level) { fixed (ImPlotTime* pt = &t) { byte ret = ShowDatePickerNative(pStr0, (int*)plevel, (ImPlotTime*)pt, t1, t2); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(string id, ref int level, ref ImPlotTime t, ImPlotTimePtr t1) { byte* pStr0 = null; int pStrSize0 = 0; if (id != null) { pStrSize0 = Utils.GetByteCountUTF8(id); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (int* plevel = &level) { fixed (ImPlotTime* pt = &t) { byte ret = ShowDatePickerNative(pStr0, (int*)plevel, (ImPlotTime*)pt, t1, (ImPlotTime*)(((void*)0))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(string id, ref int level, ref ImPlotTime t) { byte* pStr0 = null; int pStrSize0 = 0; if (id != null) { pStrSize0 = Utils.GetByteCountUTF8(id); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (int* plevel = &level) { fixed (ImPlotTime* pt = &t) { byte ret = ShowDatePickerNative(pStr0, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)(((void*)0)), (ImPlotTime*)(((void*)0))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(byte* id, int* level, ImPlotTimePtr t, ref ImPlotTime t1, ImPlotTimePtr t2) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative(id, level, t, (ImPlotTime*)pt1, t2); return ret != 0; } } /// /// To be documented. /// public static bool ShowDatePicker(byte* id, int* level, ImPlotTimePtr t, ref ImPlotTime t1) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative(id, level, t, (ImPlotTime*)pt1, (ImPlotTime*)(((void*)0))); return ret != 0; } } /// /// To be documented. /// public static bool ShowDatePicker(ref byte id, int* level, ImPlotTimePtr t, ref ImPlotTime t1, ImPlotTimePtr t2) { fixed (byte* pid = &id) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative((byte*)pid, level, t, (ImPlotTime*)pt1, t2); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(ref byte id, int* level, ImPlotTimePtr t, ref ImPlotTime t1) { fixed (byte* pid = &id) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative((byte*)pid, level, t, (ImPlotTime*)pt1, (ImPlotTime*)(((void*)0))); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(ReadOnlySpan id, int* level, ImPlotTimePtr t, ref ImPlotTime t1, ImPlotTimePtr t2) { fixed (byte* pid = id) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative((byte*)pid, level, t, (ImPlotTime*)pt1, t2); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(ReadOnlySpan id, int* level, ImPlotTimePtr t, ref ImPlotTime t1) { fixed (byte* pid = id) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative((byte*)pid, level, t, (ImPlotTime*)pt1, (ImPlotTime*)(((void*)0))); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(string id, int* level, ImPlotTimePtr t, ref ImPlotTime t1, ImPlotTimePtr t2) { byte* pStr0 = null; int pStrSize0 = 0; if (id != null) { pStrSize0 = Utils.GetByteCountUTF8(id); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative(pStr0, level, t, (ImPlotTime*)pt1, t2); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool ShowDatePicker(string id, int* level, ImPlotTimePtr t, ref ImPlotTime t1) { byte* pStr0 = null; int pStrSize0 = 0; if (id != null) { pStrSize0 = Utils.GetByteCountUTF8(id); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative(pStr0, level, t, (ImPlotTime*)pt1, (ImPlotTime*)(((void*)0))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool ShowDatePicker(byte* id, ref int level, ImPlotTimePtr t, ref ImPlotTime t1, ImPlotTimePtr t2) { fixed (int* plevel = &level) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative(id, (int*)plevel, t, (ImPlotTime*)pt1, t2); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(byte* id, ref int level, ImPlotTimePtr t, ref ImPlotTime t1) { fixed (int* plevel = &level) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative(id, (int*)plevel, t, (ImPlotTime*)pt1, (ImPlotTime*)(((void*)0))); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(ref byte id, ref int level, ImPlotTimePtr t, ref ImPlotTime t1, ImPlotTimePtr t2) { fixed (byte* pid = &id) { fixed (int* plevel = &level) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, (ImPlotTime*)pt1, t2); return ret != 0; } } } } /// /// To be documented. /// public static bool ShowDatePicker(ref byte id, ref int level, ImPlotTimePtr t, ref ImPlotTime t1) { fixed (byte* pid = &id) { fixed (int* plevel = &level) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, (ImPlotTime*)pt1, (ImPlotTime*)(((void*)0))); return ret != 0; } } } } /// /// To be documented. /// public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ImPlotTimePtr t, ref ImPlotTime t1, ImPlotTimePtr t2) { fixed (byte* pid = id) { fixed (int* plevel = &level) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, (ImPlotTime*)pt1, t2); return ret != 0; } } } } /// /// To be documented. /// public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ImPlotTimePtr t, ref ImPlotTime t1) { fixed (byte* pid = id) { fixed (int* plevel = &level) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, (ImPlotTime*)pt1, (ImPlotTime*)(((void*)0))); return ret != 0; } } } } /// /// To be documented. /// public static bool ShowDatePicker(string id, ref int level, ImPlotTimePtr t, ref ImPlotTime t1, ImPlotTimePtr t2) { byte* pStr0 = null; int pStrSize0 = 0; if (id != null) { pStrSize0 = Utils.GetByteCountUTF8(id); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (int* plevel = &level) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative(pStr0, (int*)plevel, t, (ImPlotTime*)pt1, t2); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(string id, ref int level, ImPlotTimePtr t, ref ImPlotTime t1) { byte* pStr0 = null; int pStrSize0 = 0; if (id != null) { pStrSize0 = Utils.GetByteCountUTF8(id); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (int* plevel = &level) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative(pStr0, (int*)plevel, t, (ImPlotTime*)pt1, (ImPlotTime*)(((void*)0))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(byte* id, int* level, ref ImPlotTime t, ref ImPlotTime t1, ImPlotTimePtr t2) { fixed (ImPlotTime* pt = &t) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative(id, level, (ImPlotTime*)pt, (ImPlotTime*)pt1, t2); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(byte* id, int* level, ref ImPlotTime t, ref ImPlotTime t1) { fixed (ImPlotTime* pt = &t) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative(id, level, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)(((void*)0))); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(ref byte id, int* level, ref ImPlotTime t, ref ImPlotTime t1, ImPlotTimePtr t2) { fixed (byte* pid = &id) { fixed (ImPlotTime* pt = &t) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, (ImPlotTime*)pt1, t2); return ret != 0; } } } } /// /// To be documented. /// public static bool ShowDatePicker(ref byte id, int* level, ref ImPlotTime t, ref ImPlotTime t1) { fixed (byte* pid = &id) { fixed (ImPlotTime* pt = &t) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)(((void*)0))); return ret != 0; } } } } /// /// To be documented. /// public static bool ShowDatePicker(ReadOnlySpan id, int* level, ref ImPlotTime t, ref ImPlotTime t1, ImPlotTimePtr t2) { fixed (byte* pid = id) { fixed (ImPlotTime* pt = &t) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, (ImPlotTime*)pt1, t2); return ret != 0; } } } } /// /// To be documented. /// public static bool ShowDatePicker(ReadOnlySpan id, int* level, ref ImPlotTime t, ref ImPlotTime t1) { fixed (byte* pid = id) { fixed (ImPlotTime* pt = &t) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)(((void*)0))); return ret != 0; } } } } /// /// To be documented. /// public static bool ShowDatePicker(string id, int* level, ref ImPlotTime t, ref ImPlotTime t1, ImPlotTimePtr t2) { byte* pStr0 = null; int pStrSize0 = 0; if (id != null) { pStrSize0 = Utils.GetByteCountUTF8(id); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ImPlotTime* pt = &t) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative(pStr0, level, (ImPlotTime*)pt, (ImPlotTime*)pt1, t2); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(string id, int* level, ref ImPlotTime t, ref ImPlotTime t1) { byte* pStr0 = null; int pStrSize0 = 0; if (id != null) { pStrSize0 = Utils.GetByteCountUTF8(id); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ImPlotTime* pt = &t) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative(pStr0, level, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)(((void*)0))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(byte* id, ref int level, ref ImPlotTime t, ref ImPlotTime t1, ImPlotTimePtr t2) { fixed (int* plevel = &level) { fixed (ImPlotTime* pt = &t) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative(id, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)pt1, t2); return ret != 0; } } } } /// /// To be documented. /// public static bool ShowDatePicker(byte* id, ref int level, ref ImPlotTime t, ref ImPlotTime t1) { fixed (int* plevel = &level) { fixed (ImPlotTime* pt = &t) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative(id, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)(((void*)0))); return ret != 0; } } } } /// /// To be documented. /// public static bool ShowDatePicker(ref byte id, ref int level, ref ImPlotTime t, ref ImPlotTime t1, ImPlotTimePtr t2) { fixed (byte* pid = &id) { fixed (int* plevel = &level) { fixed (ImPlotTime* pt = &t) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)pt1, t2); return ret != 0; } } } } } /// /// To be documented. /// public static bool ShowDatePicker(ref byte id, ref int level, ref ImPlotTime t, ref ImPlotTime t1) { fixed (byte* pid = &id) { fixed (int* plevel = &level) { fixed (ImPlotTime* pt = &t) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)(((void*)0))); return ret != 0; } } } } } /// /// To be documented. /// public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ref ImPlotTime t, ref ImPlotTime t1, ImPlotTimePtr t2) { fixed (byte* pid = id) { fixed (int* plevel = &level) { fixed (ImPlotTime* pt = &t) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)pt1, t2); return ret != 0; } } } } } /// /// To be documented. /// public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ref ImPlotTime t, ref ImPlotTime t1) { fixed (byte* pid = id) { fixed (int* plevel = &level) { fixed (ImPlotTime* pt = &t) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)(((void*)0))); return ret != 0; } } } } } /// /// To be documented. /// public static bool ShowDatePicker(string id, ref int level, ref ImPlotTime t, ref ImPlotTime t1, ImPlotTimePtr t2) { byte* pStr0 = null; int pStrSize0 = 0; if (id != null) { pStrSize0 = Utils.GetByteCountUTF8(id); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (int* plevel = &level) { fixed (ImPlotTime* pt = &t) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative(pStr0, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)pt1, t2); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } } /// /// To be documented. /// public static bool ShowDatePicker(string id, ref int level, ref ImPlotTime t, ref ImPlotTime t1) { byte* pStr0 = null; int pStrSize0 = 0; if (id != null) { pStrSize0 = Utils.GetByteCountUTF8(id); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (int* plevel = &level) { fixed (ImPlotTime* pt = &t) { fixed (ImPlotTime* pt1 = &t1) { byte ret = ShowDatePickerNative(pStr0, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)(((void*)0))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } } /// /// To be documented. /// public static bool ShowDatePicker(byte* id, int* level, ImPlotTimePtr t, ImPlotTimePtr t1, ref ImPlotTime t2) { fixed (ImPlotTime* pt2 = &t2) { byte ret = ShowDatePickerNative(id, level, t, t1, (ImPlotTime*)pt2); return ret != 0; } } /// /// To be documented. /// public static bool ShowDatePicker(ref byte id, int* level, ImPlotTimePtr t, ImPlotTimePtr t1, ref ImPlotTime t2) { fixed (byte* pid = &id) { fixed (ImPlotTime* pt2 = &t2) { byte ret = ShowDatePickerNative((byte*)pid, level, t, t1, (ImPlotTime*)pt2); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(ReadOnlySpan id, int* level, ImPlotTimePtr t, ImPlotTimePtr t1, ref ImPlotTime t2) { fixed (byte* pid = id) { fixed (ImPlotTime* pt2 = &t2) { byte ret = ShowDatePickerNative((byte*)pid, level, t, t1, (ImPlotTime*)pt2); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(string id, int* level, ImPlotTimePtr t, ImPlotTimePtr t1, ref ImPlotTime t2) { byte* pStr0 = null; int pStrSize0 = 0; if (id != null) { pStrSize0 = Utils.GetByteCountUTF8(id); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ImPlotTime* pt2 = &t2) { byte ret = ShowDatePickerNative(pStr0, level, t, t1, (ImPlotTime*)pt2); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } /// /// To be documented. /// public static bool ShowDatePicker(byte* id, ref int level, ImPlotTimePtr t, ImPlotTimePtr t1, ref ImPlotTime t2) { fixed (int* plevel = &level) { fixed (ImPlotTime* pt2 = &t2) { byte ret = ShowDatePickerNative(id, (int*)plevel, t, t1, (ImPlotTime*)pt2); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(ref byte id, ref int level, ImPlotTimePtr t, ImPlotTimePtr t1, ref ImPlotTime t2) { fixed (byte* pid = &id) { fixed (int* plevel = &level) { fixed (ImPlotTime* pt2 = &t2) { byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, t1, (ImPlotTime*)pt2); return ret != 0; } } } } /// /// To be documented. /// public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ImPlotTimePtr t, ImPlotTimePtr t1, ref ImPlotTime t2) { fixed (byte* pid = id) { fixed (int* plevel = &level) { fixed (ImPlotTime* pt2 = &t2) { byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, t1, (ImPlotTime*)pt2); return ret != 0; } } } } /// /// To be documented. /// public static bool ShowDatePicker(string id, ref int level, ImPlotTimePtr t, ImPlotTimePtr t1, ref ImPlotTime t2) { byte* pStr0 = null; int pStrSize0 = 0; if (id != null) { pStrSize0 = Utils.GetByteCountUTF8(id); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (int* plevel = &level) { fixed (ImPlotTime* pt2 = &t2) { byte ret = ShowDatePickerNative(pStr0, (int*)plevel, t, t1, (ImPlotTime*)pt2); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(byte* id, int* level, ref ImPlotTime t, ImPlotTimePtr t1, ref ImPlotTime t2) { fixed (ImPlotTime* pt = &t) { fixed (ImPlotTime* pt2 = &t2) { byte ret = ShowDatePickerNative(id, level, (ImPlotTime*)pt, t1, (ImPlotTime*)pt2); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(ref byte id, int* level, ref ImPlotTime t, ImPlotTimePtr t1, ref ImPlotTime t2) { fixed (byte* pid = &id) { fixed (ImPlotTime* pt = &t) { fixed (ImPlotTime* pt2 = &t2) { byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, t1, (ImPlotTime*)pt2); return ret != 0; } } } } /// /// To be documented. /// public static bool ShowDatePicker(ReadOnlySpan id, int* level, ref ImPlotTime t, ImPlotTimePtr t1, ref ImPlotTime t2) { fixed (byte* pid = id) { fixed (ImPlotTime* pt = &t) { fixed (ImPlotTime* pt2 = &t2) { byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, t1, (ImPlotTime*)pt2); return ret != 0; } } } } /// /// To be documented. /// public static bool ShowDatePicker(string id, int* level, ref ImPlotTime t, ImPlotTimePtr t1, ref ImPlotTime t2) { byte* pStr0 = null; int pStrSize0 = 0; if (id != null) { pStrSize0 = Utils.GetByteCountUTF8(id); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ImPlotTime* pt = &t) { fixed (ImPlotTime* pt2 = &t2) { byte ret = ShowDatePickerNative(pStr0, level, (ImPlotTime*)pt, t1, (ImPlotTime*)pt2); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(byte* id, ref int level, ref ImPlotTime t, ImPlotTimePtr t1, ref ImPlotTime t2) { fixed (int* plevel = &level) { fixed (ImPlotTime* pt = &t) { fixed (ImPlotTime* pt2 = &t2) { byte ret = ShowDatePickerNative(id, (int*)plevel, (ImPlotTime*)pt, t1, (ImPlotTime*)pt2); return ret != 0; } } } } /// /// To be documented. /// public static bool ShowDatePicker(ref byte id, ref int level, ref ImPlotTime t, ImPlotTimePtr t1, ref ImPlotTime t2) { fixed (byte* pid = &id) { fixed (int* plevel = &level) { fixed (ImPlotTime* pt = &t) { fixed (ImPlotTime* pt2 = &t2) { byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, t1, (ImPlotTime*)pt2); return ret != 0; } } } } } /// /// To be documented. /// public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ref ImPlotTime t, ImPlotTimePtr t1, ref ImPlotTime t2) { fixed (byte* pid = id) { fixed (int* plevel = &level) { fixed (ImPlotTime* pt = &t) { fixed (ImPlotTime* pt2 = &t2) { byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, t1, (ImPlotTime*)pt2); return ret != 0; } } } } } /// /// To be documented. /// public static bool ShowDatePicker(string id, ref int level, ref ImPlotTime t, ImPlotTimePtr t1, ref ImPlotTime t2) { byte* pStr0 = null; int pStrSize0 = 0; if (id != null) { pStrSize0 = Utils.GetByteCountUTF8(id); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (int* plevel = &level) { fixed (ImPlotTime* pt = &t) { fixed (ImPlotTime* pt2 = &t2) { byte ret = ShowDatePickerNative(pStr0, (int*)plevel, (ImPlotTime*)pt, t1, (ImPlotTime*)pt2); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } } /// /// To be documented. /// public static bool ShowDatePicker(byte* id, int* level, ImPlotTimePtr t, ref ImPlotTime t1, ref ImPlotTime t2) { fixed (ImPlotTime* pt1 = &t1) { fixed (ImPlotTime* pt2 = &t2) { byte ret = ShowDatePickerNative(id, level, t, (ImPlotTime*)pt1, (ImPlotTime*)pt2); return ret != 0; } } } /// /// To be documented. /// public static bool ShowDatePicker(ref byte id, int* level, ImPlotTimePtr t, ref ImPlotTime t1, ref ImPlotTime t2) { fixed (byte* pid = &id) { fixed (ImPlotTime* pt1 = &t1) { fixed (ImPlotTime* pt2 = &t2) { byte ret = ShowDatePickerNative((byte*)pid, level, t, (ImPlotTime*)pt1, (ImPlotTime*)pt2); return ret != 0; } } } } /// /// To be documented. /// public static bool ShowDatePicker(ReadOnlySpan id, int* level, ImPlotTimePtr t, ref ImPlotTime t1, ref ImPlotTime t2) { fixed (byte* pid = id) { fixed (ImPlotTime* pt1 = &t1) { fixed (ImPlotTime* pt2 = &t2) { byte ret = ShowDatePickerNative((byte*)pid, level, t, (ImPlotTime*)pt1, (ImPlotTime*)pt2); return ret != 0; } } } } /// /// To be documented. /// public static bool ShowDatePicker(string id, int* level, ImPlotTimePtr t, ref ImPlotTime t1, ref ImPlotTime t2) { byte* pStr0 = null; int pStrSize0 = 0; if (id != null) { pStrSize0 = Utils.GetByteCountUTF8(id); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ImPlotTime* pt1 = &t1) { fixed (ImPlotTime* pt2 = &t2) { byte ret = ShowDatePickerNative(pStr0, level, t, (ImPlotTime*)pt1, (ImPlotTime*)pt2); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret != 0; } } } } }